Get paths to cc1 and cc1plus by asking llvm-gcc, and AC_SUBST them.

llvm-svn: 10901
This commit is contained in:
Brian Gaeke 2004-01-16 21:31:22 +00:00
parent 6073c44a7f
commit 423cecaded
1 changed files with 4 additions and 0 deletions
llvm/autoconf

View File

@ -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"