summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-07-31 16:45:37 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-07-31 16:45:37 +0000
commit54ac8b11a1106303ba2a1c0a01174ac38d1ff3f6 (patch)
treedb6b8c7f5f4e84fbc4e2ad4f1880f2e7bfbccbba /configure
parent6058fd35896ca24f00d81e587e5a6c73f828fae3 (diff)
downloadllvm-54ac8b11a1106303ba2a1c0a01174ac38d1ff3f6.tar.gz
llvm-54ac8b11a1106303ba2a1c0a01174ac38d1ff3f6.tar.bz2
llvm-54ac8b11a1106303ba2a1c0a01174ac38d1ff3f6.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 8 insertions, 2 deletions
diff --git a/configure b/configure
index ec697bec0e..af7852c9a0 100755
--- a/configure
+++ b/configure
@@ -22079,10 +22079,16 @@ if test "${with_purify+set}" = set; then
fi;
-if test -d /localhome
+if test ${USER}
then
- OBJROOT=/localhome/$USER
+ if test -d /localhome/${USER}
+ then
+ OBJROOT=/localhome/${USER}
+
+ else
+ OBJROOT=.
+ fi
else
OBJROOT=.