From a19aa9747e0168002fb92d8b7146a91272afa5d6 Mon Sep 17 00:00:00 2001
From: adilger <adilger>
Date: Mon, 15 Aug 2005 21:02:18 +0000
Subject: [PATCH] Branch b1_4 Allow tests to optionally be built with cray
 portals. b=7117 r=bogl

---
 build/autoconf/lustre-build.m4 | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/build/autoconf/lustre-build.m4 b/build/autoconf/lustre-build.m4
index a21f108891..2b3ffe9168 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])
 ])
 
-- 
GitLab