[llvm-commits] CVS: llvm/configure

Reid Spencer reid at x10sys.com
Fri Nov 3 11:49:32 PST 2006



Changes in directory llvm:

configure updated: 1.252 -> 1.253
---
Log message:

Make the huge_val test run a C++ program not C


---
Diffs of the changes:  (+6 -6)

 configure |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)


Index: llvm/configure
diff -u llvm/configure:1.252 llvm/configure:1.253
--- llvm/configure:1.252	Fri Nov  3 12:04:08 2006
+++ llvm/configure	Fri Nov  3 13:49:16 2006
@@ -29183,13 +29183,13 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
 
-    ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+    ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    CPPFLAGS=-pedantic
+    CXXFLAGS=-pedantic
     if test "$cross_compiling" = yes; then
   ac_cv_huge_val_sanity=yes
 else






More information about the llvm-commits mailing list