cvs: php4 /sapi/nsapi config.m4
| From: | Dan Kalowsky | Date: | Thu, 08 Aug 2002 05:52:15 +0000 |
| Subject: | cvs: php4 /sapi/nsapi config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13205@lists.php.net to get a copy of this message | ||
kalowsky Thu Aug 8 01:52:15 2002 EDT
Modified files:
/php4/sapi/nsapi config.m4
Log:
fix for bug #18794, not checking for actual files
Index: php4/sapi/nsapi/config.m4
diff -u php4/sapi/nsapi/config.m4:1.11 php4/sapi/nsapi/config.m4:1.12
--- php4/sapi/nsapi/config.m4:1.11 Thu Mar 7 09:19:53 2002
+++ php4/sapi/nsapi/config.m4 Thu Aug 8 01:52:15 2002
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.11 2002/03/07 14:19:53 sas Exp $
+dnl $Id: config.m4,v 1.12 2002/08/08 05:52:15 kalowsky Exp $
dnl
AC_MSG_CHECKING(for NSAPI support)
@@ -19,11 +19,13 @@
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