summaryrefslogtreecommitdiff
path: root/sapi/nsapi
diff options
context:
space:
mode:
authorDan Kalowsky <kalowsky@php.net>2002-08-08 05:52:15 +0000
committerDan Kalowsky <kalowsky@php.net>2002-08-08 05:52:15 +0000
commit9b7cc763006904206f8b8eaa79a9b1865318288e (patch)
tree048420e093d66c1040da2a2ea0b57aa92f2d4e93 /sapi/nsapi
parent6ad0dbf5fab686ed7f684bafe18886579588b1e0 (diff)
downloadphp-git-9b7cc763006904206f8b8eaa79a9b1865318288e.tar.gz
fix for bug #18794, not checking for actual files
Diffstat (limited to 'sapi/nsapi')
-rw-r--r--sapi/nsapi/config.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/sapi/nsapi/config.m4 b/sapi/nsapi/config.m4
index b7af1be4da..f09ef1dd09 100644
--- a/sapi/nsapi/config.m4
+++ b/sapi/nsapi/config.m4
@@ -19,11 +19,13 @@ if test "$PHP_NSAPI" != "no"; then
if test -d $PHP_NSAPI/include ; 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
AC_MSG_RESULT(iPlanet/4.x style)
+ AC_CHECK_HEADERS([$NSAPI_INCLUDE/nsapi.h])
else
- AC_MSG_ERROR(Please check you have nsapi.h in either DIR/include or DIR/plugins/include)
+ 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_BUILD_THREAD_SAFE