Whamcloud - gitweb
Branch b1_4
authoradilger <adilger>
Mon, 15 Aug 2005 21:02:18 +0000 (21:02 +0000)
committeradilger <adilger>
Mon, 15 Aug 2005 21:02:18 +0000 (21:02 +0000)
Allow tests to optionally be built with cray portals.
b=7117
r=bogl

build/autoconf/lustre-build.m4

index a21f108..2b3ffe9 100644 (file)
@@ -263,10 +263,14 @@ AC_DEFUN([LB_CONFIG_TESTS],
 AC_ARG_ENABLE([tests],
        AC_HELP_STRING([--disable-tests],
                        [disable building of Lustre tests]),
-       [],[enable_tests='yes'])
-if test x$cray_portals = xyes ; then
-       enable_tests='no'
-fi
+       [],
+       [
+               if test x$cray_portals = xyes ; then
+                       enable_tests='no'
+               else
+                       enable_tests='yes'
+               fi
+       ])
 AC_MSG_RESULT([$enable_tests])
 ])