From: foobar Date: Sun, 29 Sep 2002 22:24:20 +0000 (+0000) Subject: Possible fix for #19290 X-Git-Tag: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003~81 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=350340241ca37124855aa61e95169ca516e321ed;p=php Possible fix for #19290 --- diff --git a/sapi/nsapi/config.m4 b/sapi/nsapi/config.m4 index db6231c814..6a556dbe6f 100644 --- a/sapi/nsapi/config.m4 +++ b/sapi/nsapi/config.m4 @@ -22,7 +22,7 @@ if test "$PHP_NSAPI" != "no"; then AC_CHECK_HEADERS([$NSAPI_INCLUDE/nsapi.h]) fi if test -d $PHP_NSAPI/plugins/include ; then - NSAPI_INC_DIR="$NSAPI_INCLUDE" + test -n "$NSAPI_INCLUDE" && NSAPI_INC_DIR="-I$NSAPI_INCLUDE" NSAPI_INCLUDE="$PHP_NSAPI/plugins/include" AC_MSG_RESULT(iPlanet/4.x style) AC_CHECK_HEADERS([$NSAPI_INCLUDE/nsapi.h]) @@ -31,7 +31,8 @@ if test "$PHP_NSAPI" != "no"; then 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) + + PHP_EVAL_INCLINE($NSAPI_INCLUDE) PHP_BUILD_THREAD_SAFE AC_DEFINE(HAVE_NSAPI,1,[Whether you have a Netscape Server]) PHP_SELECT_SAPI(nsapi, shared, nsapi.c)