projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f50a04
)
Get paths to cc1 and cc1plus by asking llvm-gcc, and AC_SUBST them.
author
Brian Gaeke
<gaeke@uiuc.edu>
Fri, 16 Jan 2004 21:31:22 +0000
(21:31 +0000)
committer
Brian Gaeke
<gaeke@uiuc.edu>
Fri, 16 Jan 2004 21:31:22 +0000
(21:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10901
91177308
-0d34-0410-b5e6-
96231b3b80d8
autoconf/configure.ac
patch
|
blob
|
history
diff --git
a/autoconf/configure.ac
b/autoconf/configure.ac
index d9177a4f0d261fbd0363b9f1d721fff0b2065e84..369d26064faf67e0563794309beda3b7cfd4d5a1 100644
(file)
--- a/
autoconf/configure.ac
+++ b/
autoconf/configure.ac
@@
-360,6
+360,10
@@
then
LLVM_GCC_SANE=yes
fi
rm conftest.c
+ llvmcc1path=`"$LLVM_GCC_CHECK" --print-prog-name=cc1`
+ AC_SUBST(LLVMCC1,$llvmcc1path)
+ llvmcc1pluspath=`"$LLVM_GCC_CHECK" --print-prog-name=cc1plus`
+ AC_SUBST(LLVMCC1PLUS,$llvmcc1pluspath)
fi
AC_MSG_RESULT($LLVM_GCC_SANE)
if test "$LLVM_GCC_SANE" = "no"