diff options
author | Brad King <brad.king@kitware.com> | 2002-09-10 14:02:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-09-10 14:02:58 (GMT) |
commit | c2cdd8f8d35d933c5857fda761f8778e6961f861 (patch) | |
tree | 517291ea74160d69ee2c3b8078abd3802b8cb9a3 /configure.in | |
parent | e500dd4b779594cdc391c9e016fde1131e901316 (diff) | |
download | CMake-c2cdd8f8d35d933c5857fda761f8778e6961f861.zip CMake-c2cdd8f8d35d933c5857fda761f8778e6961f861.tar.gz CMake-c2cdd8f8d35d933c5857fda761f8778e6961f861.tar.bz2 |
ERR: AC_SUBST replaced with AC_DEFINE. Needed to get configure script to correctly setup cmConfigure.h.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/configure.in b/configure.in index 6f1a039..57db2a4 100644 --- a/configure.in +++ b/configure.in @@ -133,13 +133,12 @@ if test $ac_cv_prog_gxx = no; then ],,[ AC_MSG_RESULT(yes) ],[ - CMAKE_NO_ANSI_STREAM_HEADERS=1 + AC_DEFINE(CMAKE_NO_ANSI_STREAM_HEADERS) AC_MSG_RESULT(no) ]) AC_LANG_RESTORE CXXFLAGS="$CXXFLAGS_ORIG" fi -AC_SUBST(CMAKE_NO_ANSI_STREAM_HEADERS) # check non-g++ compilers to see if they have std::stringstream CXXFLAGS_ORIG="$CXXFLAGS" @@ -152,12 +151,11 @@ AC_TRY_COMPILE([ ],,[ AC_MSG_RESULT(yes) ],[ -CMAKE_NO_ANSI_STRING_STREAM=1 +AC_DEFINE(CMAKE_NO_ANSI_STRING_STREAM) AC_MSG_RESULT(no) ]) AC_LANG_RESTORE CXXFLAGS="$CXXFLAGS_ORIG" -AC_SUBST(CMAKE_NO_ANSI_STRING_STREAM) # check to see if stl is in the std namespace if test $ac_cv_prog_gxx = no; then @@ -172,13 +170,12 @@ if test $ac_cv_prog_gxx = no; then ],,[ AC_MSG_RESULT(yes) ],[ - CMAKE_NO_STD_NAMESPACE=1 + AC_DEFINE(CMAKE_NO_STD_NAMESPACE) AC_MSG_RESULT(no) ]) AC_LANG_RESTORE CXXFLAGS="$CXXFLAGS_ORIG" fi -AC_SUBST(CMAKE_NO_STD_NAMESPACE) # check to see if for scoping is supported if test $ac_cv_prog_gxx = no; then @@ -192,13 +189,12 @@ if test $ac_cv_prog_gxx = no; then ],,[ AC_MSG_RESULT(yes) ],[ - CMAKE_NO_ANSI_FOR_SCOPE=1 + AC_DEFINE(CMAKE_NO_ANSI_FOR_SCOPE) AC_MSG_RESULT(no) ]) AC_LANG_RESTORE CXXFLAGS="$CXXFLAGS_ORIG" fi -AC_SUBST(CMAKE_NO_ANSI_FOR_SCOPE) # find make to use to build cmake, prefer gmake AC_PATH_PROGS(RUNMAKE, gmake make) |