Message ID | e121033a-fa16-415f-a9f4-91210915dae1@BAMAIL02.ba.imgtec.org |
---|---|
State | New |
Headers | show |
On 30 October 2013 17:17, Steve Ellcey wrote: > > Tested with both my canadian cross build and a standard cross build > targetting mips-mti-elf. > > OK for checkin? Yes, thanks.
diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index dd13b01..22fc840 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -195,6 +195,12 @@ GLIBCXX_CHECK_S_ISREG_OR_S_IFREG AC_CHECK_HEADERS(sys/uio.h) GLIBCXX_CHECK_WRITEV +# Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1 +# so that the check is done with the C compiler (not C++). +# Checking with C++ can break a canadian cross build if either +# file does not exist in C but does in C++. +AC_CHECK_HEADERS(fenv.h complex.h) + # For C99 support to TR1. GLIBCXX_CHECK_C99_TR1