[llvm-commits] CVS: llvm/autoconf/configure.ac

Reid Spencer reid at x10sys.com
Thu Dec 21 14:56:00 PST 2006



Changes in directory llvm/autoconf:

configure.ac updated: 1.256 -> 1.257
---
Log message:

Add a new variable, LLVMGCCLIBEXEC to get the libexec directory where the
cc1 and cc1plus executables live.


---
Diffs of the changes:  (+2 -0)

 configure.ac |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.256 llvm/autoconf/configure.ac:1.257
--- llvm/autoconf/configure.ac:1.256	Sat Dec 16 16:07:52 2006
+++ llvm/autoconf/configure.ac	Thu Dec 21 16:55:41 2006
@@ -743,6 +743,8 @@
   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)






More information about the llvm-commits mailing list