mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Possible fix for #19290
This commit is contained in:
parent
7f18442882
commit
350340241c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user