diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-20 17:56:38 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-20 17:56:38 (GMT) |
commit | adbae91cb5a5cb4cd33df273dd977791406ec339 (patch) | |
tree | 6bf114389890b3be2ba49e3c189bb67d5b5f8d6e /Templates/configure.in | |
parent | 7715b382fe71932aa36333659b7a2311008d0f06 (diff) | |
download | CMake-adbae91cb5a5cb4cd33df273dd977791406ec339.zip CMake-adbae91cb5a5cb4cd33df273dd977791406ec339.tar.gz CMake-adbae91cb5a5cb4cd33df273dd977791406ec339.tar.bz2 |
ENH: fix cmake so it can boot strap itself better
Diffstat (limited to 'Templates/configure.in')
-rw-r--r-- | Templates/configure.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Templates/configure.in b/Templates/configure.in index 21fcb10..a89ce30 100644 --- a/Templates/configure.in +++ b/Templates/configure.in @@ -520,10 +520,11 @@ if test $ac_cv_prog_gxx = no; then if test -z "`${CXX} -c conftest.cc 2>&1`"; then echo "$ac_t""yes" 1>&6 else - AC_DEFINE(CMAKE_NO_STD_NAMESPACE) + CMAKE_NO_STD_NAMESPACE="1" echo "$ac_t""no" 1>&6 fi fi +AC_SUBST(CMAKE_NO_STD_NAMESPACE) # check to see if stl is in the std namespace if test $ac_cv_prog_gxx = no; then @@ -537,10 +538,11 @@ void foo() { std::list<int> l; } if test -z "`${CXX} -c conftest.cc 2>&1`"; then echo "$ac_t""yes" 1>&6 else - AC_DEFINE(CMAKE_NO_ANSI_STREAM_HEADERS) + CMAKE_NO_ANSI_STREAM_HEADERS="1" echo "$ac_t""no" 1>&6 fi fi +AC_SUBST(CMAKE_NO_ANSI_STREAM_HEADERS) if test "$CC" = "gcc" -o `$CC -v 2>&1 | grep -c gcc` != "0" ; then |