From: Dan Kalowsky Date: Sun, 8 Sep 2002 18:13:56 +0000 (+0000) Subject: Fix for bug #19290 X-Git-Tag: RELEASE_0_91~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7dd7d39385d21ec48a283ecc1e11bbe5195f3b20;p=php Fix for bug #19290 # Untested --- diff --git a/sapi/nsapi/config.m4 b/sapi/nsapi/config.m4 index dd4ef483b9..db6231c814 100644 --- a/sapi/nsapi/config.m4 +++ b/sapi/nsapi/config.m4 @@ -22,9 +22,11 @@ if test "$PHP_NSAPI" != "no"; then AC_CHECK_HEADERS([$NSAPI_INCLUDE/nsapi.h]) fi if test -d $PHP_NSAPI/plugins/include ; then - NSAPI_INCLUDE="$NSAPI_INCLUDE -I$PHP_NSAPI/plugins/include" + NSAPI_INC_DIR="$NSAPI_INCLUDE" + NSAPI_INCLUDE="$PHP_NSAPI/plugins/include" AC_MSG_RESULT(iPlanet/4.x style) AC_CHECK_HEADERS([$NSAPI_INCLUDE/nsapi.h]) + NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE" 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)