Commits

Ralph Castain committed 2ff64fa

fix configury

Comments (0)

Files changed (1)

orte/config/orte_check_alps.m4

 	# save the CPPFLAGS so we can check for alps/apInfo.h without adding $with_alps/include to the global path
 	orte_check_alps_$1_save_CPPFLAGS="$CPPFLAGS"
 
-	if test "$with_alps" != "no" ; then
+	if test "$with_alps" == "no" -o -z "$with_alps" ; then
+           orte_check_alps_happy="no"
+        else
            # Only need to do these tests once (this macro is invoked
            # from multiple different components' configure.m4 scripts
 
                           AC_MSG_ERROR([Cannot continue])])
                fi
            fi
-        else
-            orte_check_alps_happy="no"
 	fi
     fi