Whamcloud - gitweb
LU-13485 build: Parallel build configure cache fixes
[fs/lustre-release.git] / lustre / autoconf / lustre-core.m4
index 3948f0c..b359045 100644 (file)
@@ -359,7 +359,7 @@ AC_SUBST(TEST_JOBS)
 
 AC_ARG_VAR([TEST_DIR],
     [location of temporary parallel configure tests (defaults to $PWD/lb2)])
-       TEST_DIR=${TEST_DIR:-$PWD/_lpb}
+       TEST_DIR=${TEST_DIR:-${ac_pwd}/_lpb}
 AC_SUBST(TEST_DIR)
 
 AS_IF([test "x$enable_gss" != xno], [