From: Brian Gaeke Date: Fri, 16 Jan 2004 21:31:22 +0000 (+0000) Subject: Get paths to cc1 and cc1plus by asking llvm-gcc, and AC_SUBST them. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d05e39d6a64db0d2261b519642c193d61f1f9502;p=oota-llvm.git Get paths to cc1 and cc1plus by asking llvm-gcc, and AC_SUBST them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10901 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/autoconf/configure.ac b/autoconf/configure.ac index d9177a4f0d2..369d26064fa 100644 --- 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"