diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-21 22:55:41 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-21 22:55:41 +0000 |
commit | 282d8c166f5da5b23fb60f21d45ef9db441220ed (patch) | |
tree | d98028942c575d2d903eff843e309257b02bca98 /autoconf | |
parent | 7f44f6a8d96922a13c80d852401df157e1486b6e (diff) | |
download | external_llvm-282d8c166f5da5b23fb60f21d45ef9db441220ed.zip external_llvm-282d8c166f5da5b23fb60f21d45ef9db441220ed.tar.gz external_llvm-282d8c166f5da5b23fb60f21d45ef9db441220ed.tar.bz2 |
Add a new variable, LLVMGCCLIBEXEC to get the libexec directory where the
cc1 and cc1plus executables live.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 22718e1..9526d07 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -743,6 +743,8 @@ if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then AC_SUBST(LLVMCC1PLUS,$llvmcc1pluspath) llvmgccdir=`echo "$llvmcc1path" | sed 's,/libexec/.*,,'` AC_SUBST(LLVMGCCDIR,$llvmgccdir) + llvmgcclibexec=`echo "$llvmcc1path" | sed 's,/cc1,,'` + AC_SUBST(LLVMGCCLIBEXEC,$llvmgcclibexec) llvmgccversion=[`"$LLVMGCC" -dumpversion 2>&1 | sed 's/^\([0-9.]*\).*/\1/'`] llvmgccmajvers=[`echo $llvmgccversion | sed 's/^\([0-9]\).*/\1/'`] AC_SUBST(LLVMGCC_VERSION,$llvmgccversion) |