llvm.org GIT mirror llvm / 54ac8b1
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 John Criswell 17 years ago
2 changed file(s) with 17 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
310310 AC_ARG_WITH(purify,AC_HELP_STRING([--with-purify],[Location of purify program]),AC_SUBST(PURIFY,[$withval]))
311311
312312 dnl Location for placing object files and built programs, libraries, etc
313 if test -d /localhome
314 then
315 AC_SUBST(OBJROOT,[/localhome/$USER])
313 if test ${USER}
314 then
315 if test -d /localhome/${USER}
316 then
317 AC_SUBST(OBJROOT,[/localhome/${USER}])
318 else
319 AC_SUBST(OBJROOT,[.])
320 fi
316321 else
317322 AC_SUBST(OBJROOT,[.])
318323 fi
2207822078
2207922079 fi;
2208022080
22081 if test -d /localhome
22081 if test ${USER}
2208222082 then
22083 OBJROOT=/localhome/$USER
22084
22083 if test -d /localhome/${USER}
22084 then
22085 OBJROOT=/localhome/${USER}
22086
22087 else
22088 OBJROOT=.
22089
22090 fi
2208522091 else
2208622092 OBJROOT=.
2208722093