summaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-07 16:52:32 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-07 16:52:32 +0000
commit7b98997175b29f66c39bea4649bb93613bd7537e (patch)
tree5c165a896893f947d57b5147fce8fe2dd36400e4 /libstdc++-v3/configure
parent891e309693dbbf1ddddcf11d50f9bfbc0b3350ce (diff)
downloadgcc-7b98997175b29f66c39bea4649bb93613bd7537e.tar.gz
2005-06-07 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex tests. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100713 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-xlibstdc++-v3/configure7
1 files changed, 1 insertions, 6 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 42a611141be..1d36c95ffc1 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -6715,14 +6715,10 @@ _ACEOF
fi
- # Check for the existence of <complex.h> complex functions.
+ # Check for the existence of <complex.h> complex math functions.
# This is necessary even though libstdc++ uses the builtin versions
# of these functions, because if the builtin cannot be used, a reference
# to the library function is emitted.
- # In addition, need to explicitly specify "C" compilation for this
- # one, or else the backwards C++ <complex.h> include will be selected.
- save_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -x c"
for ac_header in complex.h
do
@@ -6964,7 +6960,6 @@ ac_c99_complex=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
- CXXFLAGS="$save_CXXFLAGS"
echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
echo "${ECHO_T}$ac_c99_complex" >&6
if test x"$ac_c99_complex" = x"yes"; then