Răsfoiți Sursa

*** empty log message ***

Bill Hoffman 24 ani în urmă
părinte
comite
2858689d6d
2 a modificat fișierele cu 6 adăugiri și 6 ștergeri
  1. 3 3
      configure
  2. 3 3
      configure.in

+ 3 - 3
configure

@@ -990,7 +990,7 @@ echo "configure:989: checking ansi standard C++ stream headers " >&5
   cat > conftest.cc <<!
 #include <iostream>
 !
-  if test -z "`${CXX} $CMAKE_ANSI_CFLAGS $CXXFLAGS $CPPFLAGS  -c conftest.cc 2>&1`"; then
+  if test -z "`${CXX} $CMAKE_ANSI_CXXFLAGS $CXXFLAGS $CPPFLAGS  -c conftest.cc 2>&1`"; then
     echo "$ac_t""yes" 1>&6
   else
     cat >> confdefs.h <<\EOF
@@ -1010,7 +1010,7 @@ echo "configure:1008: checking ansi standard namespace support " >&5
 #include <list>
 void foo() { std::list<int> l; }
 !
-  if test -z "`${CXX} $CMAKE_ANSI_CFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
+  if test -z "`${CXX} $CMAKE_ANSI_CXXFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
     echo "$ac_t""yes" 1>&6
   else
     cat >> confdefs.h <<\EOF
@@ -1029,7 +1029,7 @@ echo "configure:1028: checking ansi for scope support " >&5
   cat > conftest.cc <<!
 void foo() { for(int i;;); for(int i;;); }
 !
-  if test -z "`${CXX} $CMAKE_ANSI_CFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
+  if test -z "`${CXX} $CMAKE_ANSI_CXXFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
     echo "$ac_t""yes" 1>&6
   else
     cat >> confdefs.h <<\EOF

+ 3 - 3
configure.in

@@ -104,7 +104,7 @@ if test $ac_cv_prog_gxx = no; then
   cat > conftest.cc <<!
 #include <iostream>
 !
-  if test -z "`${CXX} $CMAKE_ANSI_CFLAGS $CXXFLAGS $CPPFLAGS  -c conftest.cc 2>&1`"; then
+  if test -z "`${CXX} $CMAKE_ANSI_CXXFLAGS $CXXFLAGS $CPPFLAGS  -c conftest.cc 2>&1`"; then
     echo "$ac_t""yes" 1>&6
   else
     AC_DEFINE(CMAKE_NO_ANSI_STREAM_HEADERS)
@@ -120,7 +120,7 @@ if test $ac_cv_prog_gxx = no; then
 #include <list>
 void foo() { std::list<int> l; }
 !
-  if test -z "`${CXX} $CMAKE_ANSI_CFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
+  if test -z "`${CXX} $CMAKE_ANSI_CXXFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
     echo "$ac_t""yes" 1>&6
   else
     AC_DEFINE(CMAKE_NO_STD_NAMESPACE)
@@ -135,7 +135,7 @@ if test $ac_cv_prog_gxx = no; then
   cat > conftest.cc <<!
 void foo() { for(int i;;); for(int i;;); }
 !
-  if test -z "`${CXX} $CMAKE_ANSI_CFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
+  if test -z "`${CXX} $CMAKE_ANSI_CXXFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
     echo "$ac_t""yes" 1>&6
   else
     AC_DEFINE(CMAKE_NO_ANSI_FOR_SCOPE)