forked from OSchip/llvm-project
Get paths to cc1 and cc1plus by asking llvm-gcc, and AC_SUBST them.
llvm-svn: 10901
This commit is contained in:
parent
6073c44a7f
commit
423cecaded
llvm/autoconf
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue