summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-10 20:07:50 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-10 20:07:50 +0000
commit0091de3c2b5a7dcca2e3774c5ec1f3d92e988ebb (patch)
tree8f5d713bed3e3e3ffdce3d1ec3c8c4e6792024be /configure
parentf5cfa40206ef61cecab14e624f380e4cbbf7c0de (diff)
downloadgcc-0091de3c2b5a7dcca2e3774c5ec1f3d92e988ebb.tar.gz
2010-12-10 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 167697 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@167699 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure33
1 files changed, 33 insertions, 0 deletions
diff --git a/configure b/configure
index a6faa1e6ab6..cc1641affce 100755
--- a/configure
+++ b/configure
@@ -742,6 +742,8 @@ enable_option_checking
with_build_libsubdir
enable_gold
enable_ld
+enable_libquadmath
+enable_libquadmath_support
enable_libada
enable_libssp
enable_build_with_cxx
@@ -1453,6 +1455,9 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-gold[=ARG] build gold [ARG={default,yes,no}]
--enable-ld[=ARG] build ld [ARG={default,yes,no}]
+ --disable-libquadmath do not build libquadmath directory
+ --disable-libquadmath-support
+ disable libquadmath support for Fortran
--enable-libada build libada directory
--enable-libssp build libssp directory
--enable-build-with-cxx build with C++ compiler instead of C compiler
@@ -2992,6 +2997,31 @@ case "${host}" in
esac
+# Check whether --enable-libquadmath was given.
+if test "${enable_libquadmath+set}" = set; then :
+ enableval=$enable_libquadmath; ENABLE_LIBQUADMATH=$enableval
+else
+ ENABLE_LIBQUADMATH=yes
+fi
+
+if test "${ENABLE_LIBQUADMATH}" = "no" ; then
+ noconfigdirs="$noconfigdirs target-libquadmath"
+fi
+
+
+# Check whether --enable-libquadmath-support was given.
+if test "${enable_libquadmath_support+set}" = set; then :
+ enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
+else
+ ENABLE_LIBQUADMATH_SUPPORT=yes
+fi
+
+enable_libquadmath_support=
+if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
+ enable_libquadmath_support=no
+fi
+
+
# Check whether --enable-libada was given.
if test "${enable_libada+set}" = set; then :
enableval=$enable_libada; ENABLE_LIBADA=$enableval
@@ -3025,6 +3055,9 @@ no)
# Make sure we get it printed in the list of not supported target libs.
# Don't disable libffi, though, other languages use it.
noconfigdirs="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
+ # Clear libgcj_saved so that even if java is enabled libffi won't be
+ # built.
+ libgcj_saved=
;;
esac