diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-22 17:40:49 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-22 17:40:49 (GMT) |
commit | b5b4c0eb5ce272d82695c5c50383c3084fe6e2d6 (patch) | |
tree | f9178ba322865cfd40693457f72e4132721f056e /configure | |
parent | beaa7dc1c84a58063f72c54559ecf0b2b45de45c (diff) | |
download | CMake-b5b4c0eb5ce272d82695c5c50383c3084fe6e2d6.zip CMake-b5b4c0eb5ce272d82695c5c50383c3084fe6e2d6.tar.gz CMake-b5b4c0eb5ce272d82695c5c50383c3084fe6e2d6.tar.bz2 |
use cxxflags in test builds
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1035,7 +1035,7 @@ echo "configure:1034: 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 cat >> confdefs.h <<\EOF @@ -1048,15 +1048,14 @@ fi # check to see if stl is in the std namespace if test $ac_cv_prog_gxx = no; then - echo "******" echo $ac_n "checking ansi standard namespace support ""... $ac_c" 1>&6 -echo "configure:1054: checking ansi standard namespace support " >&5 +echo "configure:1053: checking ansi standard namespace support " >&5 rm -rf conftest.* cat > conftest.cc <<! #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 cat >> confdefs.h <<\EOF |