Whamcloud - gitweb
Patch for tinderbox
authoramrutjoshi <amrutjoshi>
Thu, 24 Oct 2002 15:51:18 +0000 (15:51 +0000)
committeramrutjoshi <amrutjoshi>
Thu, 24 Oct 2002 15:51:18 +0000 (15:51 +0000)
lustre/configure.in

index 79484ec..c40124e 100644 (file)
@@ -64,14 +64,12 @@ AC_ARG_ENABLE(portalsdir, [  --enable-portalsdir=[path] (deprecated) set path to
 PORTALS=$enable_portalsdir
 AC_SUBST(PORTALS)
 
-portalslib_def=$enable_portalsdir
+portalslib_def=$enable_portalsdir/linux/utils
 AC_ARG_WITH(portalslib, [  --with-portalslib=[path] set path to Portals library (default=../portals/linux/utils)], enable_portalslib=$withval)
 AC_ARG_ENABLE(portalslib, [  --enable-portalslib=[path] (deprecated) set path to Portals lib (default=../portals/linux/utils)],, enable_portalslib=$portalslib_def)
 
 
-if test -z "$enable_portalslib"; then
-       PORTALSLIB=$enable_portalslib/linux/utils
-else
+if ! test -z "$enable_portalslib"; then
        PORTALSLIB=${enable_portalslib}
 fi