diff options
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) |