From: Dan Kalowsky Date: Thu, 8 Aug 2002 05:52:15 +0000 (+0000) Subject: fix for bug #18794, not checking for actual files X-Git-Tag: php-4.3.0dev_zend2_alpha3~191 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b7cc763006904206f8b8eaa79a9b1865318288e;p=php fix for bug #18794, not checking for actual files --- 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