[llvm-commits] CVS: llvm/autoconf/configure.ac
John Criswell
criswell at cs.uiuc.edu
Thu Jul 31 11:46:06 PDT 2003
Changes in directory llvm/autoconf:
configure.ac updated: 1.3 -> 1.4
---
Log message:
Changed the default location of OBJ_ROOT to follow these rules:
1. If USER is defined and localhome/$USER is a directory, set OBJ_ROOT
to /localhome/$USER
2. Otherwise, set OBJ_ROOT to .
This should hopefully fix the nightly tester.
---
Diffs of the changes:
Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.3 llvm/autoconf/configure.ac:1.4
--- llvm/autoconf/configure.ac:1.3 Tue Jul 29 14:11:50 2003
+++ llvm/autoconf/configure.ac Thu Jul 31 11:45:37 2003
@@ -311,9 +311,14 @@
AC_ARG_WITH(purify,AC_HELP_STRING([--with-purify],[Location of purify program]),AC_SUBST(PURIFY,[$withval]))
dnl Location for placing object files and built programs, libraries, etc
-if test -d /localhome
+if test ${USER}
then
- AC_SUBST(OBJROOT,[/localhome/$USER])
+ if test -d /localhome/${USER}
+ then
+ AC_SUBST(OBJROOT,[/localhome/${USER}])
+ else
+ AC_SUBST(OBJROOT,[.])
+ fi
else
AC_SUBST(OBJROOT,[.])
fi
More information about the llvm-commits
mailing list