[llvm-commits] CVS: llvm/configure

John Criswell criswell at cs.uiuc.edu
Thu Jul 31 11:46:01 PDT 2003


Changes in directory llvm:

configure updated: 1.11 -> 1.12

---
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/configure
diff -u llvm/configure:1.11 llvm/configure:1.12
--- llvm/configure:1.11	Tue Jul 29 14:11:46 2003
+++ llvm/configure	Thu Jul 31 11:45:35 2003
@@ -22079,10 +22079,16 @@
 
 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=.
 





More information about the llvm-commits mailing list