From e6783d68485efb3b4e0c764a1d3e4f2f520c47b6 Mon Sep 17 00:00:00 2001 From: liangzhen Date: Fri, 16 Sep 2005 04:12:40 +0000 Subject: [PATCH] Fix problem of build ptllnd. --- lnet/autoconf/lustre-lnet.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lnet/autoconf/lustre-lnet.m4 b/lnet/autoconf/lustre-lnet.m4 index 696a269..a2ed8ad 100644 --- a/lnet/autoconf/lustre-lnet.m4 +++ b/lnet/autoconf/lustre-lnet.m4 @@ -83,9 +83,9 @@ fi # configure support for Portals # AC_DEFUN([LN_CONFIG_PTLLND], -[AC_MSG_CHECKING([for Portals API headers]) +[AC_MSG_CHECKING([for ptllnd]) -if test $PORTALS -o test $LUSTRE_PORTALS ; then +if test ! "x$PORTALS" = "x" -o ! "x$LUSTRE_PORTALS" = "x" ; then AC_MSG_RESULT([yes]) PTLLND="ptllnd" if test $PORTALS ; then @@ -98,7 +98,7 @@ else AC_MSG_RESULT([no]) PTLLND="" PTLLNDCPPFLAGS="" - AC_MSG_RESULT([no]) + AC_MSG_RESULT([no portals is configured]) fi AC_SUBST(PTLLNDCPPFLAGS) AC_SUBST(PTLLND) -- 1.8.3.1