[llvm-commits] CVS: llvm/autoconf/configure.ac

Reid Spencer reid at x10sys.com
Thu Mar 29 08:38:14 PDT 2007



Changes in directory llvm/autoconf:

configure.ac updated: 1.266 -> 1.267
---
Log message:

For PR1283: http://llvm.org/PR1283 :
Change the llvm-gcc sanity check to look for "target datalayout" instead
of "implementation". The implementation keyword is no longer generated
by llvm or llvm-gcc.


---
Diffs of the changes:  (+2 -1)

 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.266 llvm/autoconf/configure.ac:1.267
--- llvm/autoconf/configure.ac:1.266	Wed Mar 21 16:38:25 2007
+++ llvm/autoconf/configure.ac	Thu Mar 29 10:37:57 2007
@@ -757,7 +757,8 @@
 [llvm_cv_llvmgcc_sanity="no"
 if test -x "$LLVMGCC" ; then
   cp /dev/null conftest.c
-  "$LLVMGCC" -emit-llvm -S -o - conftest.c | grep implementation > /dev/null 2>&1
+  "$LLVMGCC" -emit-llvm -S -o - conftest.c | \
+      grep 'target datalayout =' > /dev/null 2>&1
   if test $? -eq 0 ; then
     llvm_cv_llvmgcc_sanity="yes"
   fi






More information about the llvm-commits mailing list