[llvm-commits] CVS: llvm/configure

Reid Spencer reid at x10sys.com
Tue May 16 01:53:47 PDT 2006



Changes in directory llvm:

configure updated: 1.228 -> 1.229
---
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 |    3 +++
 1 files changed, 3 insertions(+)


Index: llvm/configure
diff -u llvm/configure:1.228 llvm/configure:1.229
--- llvm/configure:1.228	Sun May 14 17:18:28 2006
+++ llvm/configure	Tue May 16 03:53:32 2006
@@ -30739,6 +30739,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