From fafaa40a1c32c971556886a79da9e56c69344c4d Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Fri, 26 Feb 2021 08:56:19 +0900 Subject: [PATCH] correctly handle the lack of --with-pmix option --- config/x_ac_pmix.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/x_ac_pmix.m4 b/config/x_ac_pmix.m4 index fa3b96836892..e858c5c82ed4 100644 --- a/config/x_ac_pmix.m4 +++ b/config/x_ac_pmix.m4 @@ -15,7 +15,7 @@ AC_DEFUN([X_AC_PMIX], [ [AC_MSG_ERROR([--enable-pmix-bootstrap and --without-pmix are incompatible options])]) pmix_cppflags= - AS_IF([test "x$with_pmix" != "xyes"], + AS_IF([test "x$with_pmix" != "xyes" && test "x$with_pmix" != "x"], [CPPFLAGS_save=$CPPFLAGS CPPFLAGS="-I$with_pmix $CPPFLAGS"]) AC_CHECK_HEADERS([pmix.h], [pmix_support=1], [pmix_support=0])