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

John Criswell criswell at cs.uiuc.edu
Tue Sep 30 11:18:01 PDT 2003


Changes in directory reopt/autoconf:

configure.ac updated: 1.3 -> 1.4

---
Log message:

Added dynamic configuration of default LLVM source root directory.



---
Diffs of the changes:

Index: reopt/autoconf/configure.ac
diff -u reopt/autoconf/configure.ac:1.3 reopt/autoconf/configure.ac:1.4
--- reopt/autoconf/configure.ac:1.3	Tue Sep 30 10:31:12 2003
+++ reopt/autoconf/configure.ac	Tue Sep 30 11:17:48 2003
@@ -83,7 +83,7 @@
 dnl **************************************************************************
 
 dnl Location of LLVM source code
-AC_ARG_WITH(llvmsrc,AC_HELP_STRING([--with-llvmsrc],[Location of LLVM Source Code]),AC_SUBST(LLVM_SRC,[$withval]),AC_SUBST(LLVM_SRC,[/home/vadve/${USER}/llvm]))
+AC_ARG_WITH(llvmsrc,AC_HELP_STRING([--with-llvmsrc],[Location of LLVM Source Code]),AC_SUBST(LLVM_SRC,[$withval]),AC_SUBST(LLVM_SRC,[`cd ${srcdir}/../..; pwd`]))
 
 dnl Location of LLVM object code
 AC_ARG_WITH(llvmobj,AC_HELP_STRING([--with-llvmobj],[Location of LLVM Object Code]),AC_SUBST(LLVM_OBJ,[$withval]),AC_SUBST(LLVM_OBJ,[`cd ../..; pwd`]))





More information about the llvm-commits mailing list