BUG: get the flags right
This commit is contained in:
parent
ce4f2718f2
commit
b817ee6596
5394
Templates/configure
vendored
5394
Templates/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -503,6 +503,7 @@ if test $ac_cv_prog_gxx = no; then
|
|||||||
fi
|
fi
|
||||||
AC_SUBST(CMAKE_TEMPLATE_FLAGS)
|
AC_SUBST(CMAKE_TEMPLATE_FLAGS)
|
||||||
|
|
||||||
|
|
||||||
# check no g++ compilers to see if they have the standard
|
# check no g++ compilers to see if they have the standard
|
||||||
# ansi stream files (without the .h)
|
# ansi stream files (without the .h)
|
||||||
if test $ac_cv_prog_gxx = no; then
|
if test $ac_cv_prog_gxx = no; then
|
||||||
@ -514,11 +515,11 @@ if test $ac_cv_prog_gxx = no; then
|
|||||||
if test -z "`${CXX} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
|
if test -z "`${CXX} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
|
||||||
echo "$ac_t""yes" 1>&6
|
echo "$ac_t""yes" 1>&6
|
||||||
else
|
else
|
||||||
CMAKE_NO_STD_NAMESPACE="1"
|
CMAKE_NO_ANSI_STREAM_HEADERS="1"
|
||||||
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
AC_SUBST(CMAKE_NO_STD_NAMESPACE)
|
AC_SUBST(CMAKE_NO_ANSI_STREAM_HEADERS)
|
||||||
|
|
||||||
# check to see if stl is in the std namespace
|
# check to see if stl is in the std namespace
|
||||||
if test $ac_cv_prog_gxx = no; then
|
if test $ac_cv_prog_gxx = no; then
|
||||||
@ -531,12 +532,11 @@ void foo() { std::list<int> l; }
|
|||||||
if test -z "`${CXX} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
|
if test -z "`${CXX} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
|
||||||
echo "$ac_t""yes" 1>&6
|
echo "$ac_t""yes" 1>&6
|
||||||
else
|
else
|
||||||
CMAKE_NO_ANSI_STREAM_HEADERS="1"
|
AC_DEFINE(CMAKE_NO_STD_NAMESPACE)
|
||||||
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
AC_SUBST(CMAKE_NO_ANSI_STREAM_HEADERS)
|
AC_SUBST(CMAKE_NO_STD_NAMESPACE)
|
||||||
|
|
||||||
|
|
||||||
# check to see if for scoping is supported
|
# check to see if for scoping is supported
|
||||||
if test $ac_cv_prog_gxx = no; then
|
if test $ac_cv_prog_gxx = no; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user