From 398288f236e43127b1b75f5588d0c5b91fbaeb5b Mon Sep 17 00:00:00 2001 From: Dan Kalowsky Date: Wed, 14 Aug 2002 16:39:26 +0000 Subject: [PATCH] Fix for Bug #18794, and probably various others with nsapi --- sapi/nsapi/config.m4 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sapi/nsapi/config.m4 b/sapi/nsapi/config.m4 index f09ef1dd09..666d067a78 100644 --- a/sapi/nsapi/config.m4 +++ b/sapi/nsapi/config.m4 @@ -20,11 +20,13 @@ if test "$PHP_NSAPI" != "no"; then NSAPI_INCLUDE=$PHP_NSAPI/include AC_MSG_RESULT(Netscape-Enterprise/3.x style) AC_CHECK_HEADERS([$NSAPI_INCLUDE/nsapi.h]) - elif test -d $PHP_NSAPI/plugins/include ; then - NSAPI_INCLUDE=$PHP_NSAPI/plugins/include + fi + if test -d $PHP_NSAPI/plugins/include ; then + NSAPI_INCLUDE="$NSAPI_INCLUDE $PHP_NSAPI/plugins/include" AC_MSG_RESULT(iPlanet/4.x style) AC_CHECK_HEADERS([$NSAPI_INCLUDE/nsapi.h]) - else + fi + if test "$NSAPI_INCLUDE" = ""; then AC_MSG_ERROR(Please check you have nsapi.h in either $PHP_NSAPI/include or $PHP_NSAPI/plugins/include) fi PHP_ADD_INCLUDE($NSAPI_INCLUDE) -- 2.50.1