diff options
Diffstat (limited to 'Templates/configure')
-rwxr-xr-x | Templates/configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Templates/configure b/Templates/configure index 50f8686..522fb4a 100755 --- a/Templates/configure +++ b/Templates/configure @@ -2941,7 +2941,7 @@ echo "configure:2939: checking ansi standard C++ stream headers " >&5 cat > conftest.cc <<! #include <iostream> ! - if test -z "`${CXX} -c conftest.cc 2>&1`"; then + if test -z "`${CXX} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then echo "$ac_t""yes" 1>&6 else CMAKE_NO_STD_NAMESPACE="1" @@ -2960,7 +2960,7 @@ echo "configure:2958: checking ansi standard namespace support " >&5 #include <list> void foo() { std::list<int> l; } ! - if test -z "`${CXX} -c conftest.cc 2>&1`"; then + if test -z "`${CXX} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then echo "$ac_t""yes" 1>&6 else CMAKE_NO_ANSI_STREAM_HEADERS="1" |