aboutsummaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-29 15:37:57 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-29 15:37:57 +0000
commit3acdc630961e708288506af5674b6e672c0054de (patch)
tree5903b2086c715346b765d793275e7eebf29d4f42 /autoconf
parent290bec5c15ac7ed4536f5979e9f9562a3ab88f15 (diff)
For 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 7039e5d644..0ffdb28741 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -757,7 +757,8 @@ AC_CACHE_CHECK([whether llvm-gcc is sane],[llvm_cv_llvmgcc_sanity],
[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