diff --git a/build/autoconf/lustre-build.m4 b/build/autoconf/lustre-build.m4 index a21f1088919e915134a1032d0acb850149b65818..2b3ffe9168102a5d8faef5da3c23ecd37fddf882 100644 --- a/build/autoconf/lustre-build.m4 +++ b/build/autoconf/lustre-build.m4 @@ -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]) ])