[llvm-commits] CVS: llvm/autoconf/configure.ac
Reid Spencer
reid at x10sys.com
Tue May 16 01:53:46 PDT 2006
Changes in directory llvm/autoconf:
configure.ac updated: 1.225 -> 1.226
---
Log message:
Make sure to default ${prefix} to /usr/local if the user didn't specify it.
This assists with getting around configure's late binding values so that
our LLVM variables don't end up with a "NONE" prefix.
---
Diffs of the changes: (+3 -0)
configure.ac | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.225 llvm/autoconf/configure.ac:1.226
--- llvm/autoconf/configure.ac:1.225 Sun May 14 17:18:28 2006
+++ llvm/autoconf/configure.ac Tue May 16 03:53:32 2006
@@ -632,6 +632,9 @@
# Translate the various configuration directories and other basic
# information into substitutions that will end up in Makefile.config.in
# that these configured values can be used by the makefiles
+if test "${prefix}" == "NONE" ; then
+ prefix="/usr/local"
+fi
eval LLVM_PREFIX="${prefix}";
eval LLVM_BINDIR="${prefix}/bin";
eval LLVM_LIBDIR="${prefix}/lib";
More information about the llvm-commits
mailing list