sniper Sun Sep 29 18:24:21 2002 EDT Modified files: /php4/sapi/nsapi config.m4 Log: Possible fix for #19290 Index: php4/sapi/nsapi/config.m4 diff -u php4/sapi/nsapi/config.m4:1.15 php4/sapi/nsapi/config.m4:1.16 --- php4/sapi/nsapi/config.m4:1.15 Sun Sep 8 14:13:56 2002 +++ php4/sapi/nsapi/config.m4 Sun Sep 29 18:24:20 2002 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.15 2002/09/08 18:13:56 kalowsky Exp $ +dnl $Id: config.m4,v 1.16 2002/09/29 22:24:20 sniper Exp $ dnl AC_MSG_CHECKING(for NSAPI support) @@ -22,7 +22,7 @@ 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 "$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)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php