diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-10 20:07:50 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-10 20:07:50 +0000 |
commit | 0091de3c2b5a7dcca2e3774c5ec1f3d92e988ebb (patch) | |
tree | 8f5d713bed3e3e3ffdce3d1ec3c8c4e6792024be /gcc/configure.ac | |
parent | f5cfa40206ef61cecab14e624f380e4cbbf7c0de (diff) | |
download | gcc-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 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 48f3c99c0cd..981ac0460ba 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -913,6 +913,12 @@ AC_C_BIGENDIAN # Checks for C++ headers # ---------------------- +dnl Autoconf will give an error in the configure script if there is no +dnl C++ preprocessor. Hack to prevent that. +m4_pushdef([AC_MSG_ERROR], m4_defn([AC_MSG_WARN]))[]dnl +AC_PROG_CXXCPP +m4_popdef([AC_MSG_ERROR])[]dnl + AC_LANG_PUSH(C++) AC_CHECK_HEADERS(unordered_map) @@ -3867,8 +3873,8 @@ gcc_GAS_CHECK_FEATURE([.lcomm with alignment], gcc_cv_as_lcomm_with_alignment, [Define if your assembler supports .lcomm with an alignment field.])]) AC_ARG_ENABLE(gnu-unique-object, - [ --enable-gnu-unique-object enable the use of the @gnu_unique_object ELF extension on - glibc systems], + [AS_HELP_STRING([--enable-gnu-unique-object], + [enable the use of the @gnu_unique_object ELF extension on glibc systems])], [case $enable_gnu_unique_object in yes | no) ;; *) AC_MSG_ERROR(['$enable_gnu_unique_object' is an invalid value for --enable-gnu-unique-object. @@ -4776,6 +4782,18 @@ if test x"$enable_plugin" = x"yes"; then AC_DEFINE(ENABLE_PLUGIN, 1, [Define to enable plugin support.]) fi + +AC_ARG_ENABLE(libquadmath-support, +[AS_HELP_STRING([--disable-libquadmath-support], + [disable libquadmath support for Fortran])], +ENABLE_LIBQUADMATH_SUPPORT=$enableval, +ENABLE_LIBQUADMATH_SUPPORT=yes) +if test "${ENABLE_LIBQUADMATH_SUPPORT}" != "no" ; then + AC_DEFINE(ENABLE_LIBQUADMATH_SUPPORT, 1, + [Define to 1 to enable libquadmath support]) +fi + + # Configure the subdirectories # AC_CONFIG_SUBDIRS($subdirs) |