cvs: php4(PHP_4_2_0) /sapi/nsapi config.m4
| From: | Dan Kalowsky | Date: | Sat, 17 Aug 2002 16:25:33 +0000 |
| Subject: | cvs: php4(PHP_4_2_0) /sapi/nsapi config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13439@lists.php.net to get a copy of this message | ||
kalowsky Sat Aug 17 12:25:33 2002 EDT
Modified files: (Branch: PHP_4_2_0)
/php4/sapi/nsapi config.m4
Log:
MFH, builds and reportadly re-enables nsapi support
Index: php4/sapi/nsapi/config.m4
diff -u php4/sapi/nsapi/config.m4:1.10 php4/sapi/nsapi/config.m4:1.10.2.1
--- php4/sapi/nsapi/config.m4:1.10 Fri Nov 30 14:01:31 2001
+++ php4/sapi/nsapi/config.m4 Sat Aug 17 12:25:33 2002
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.10 2001/11/30 19:01:31 sniper Exp $
+dnl $Id: config.m4,v 1.10.2.1 2002/08/17 16:25:33 kalowsky Exp $
dnl
AC_MSG_CHECKING(for NSAPI support)
@@ -19,12 +19,16 @@
if test -d $PHP_NSAPI/include ; then
NSAPI_INCLUDE=$PHP_NSAPI/include
AC_MSG_RESULT(Netscape-Enterprise/3.x style)
- elif test -d $PHP_NSAPI/plugins/include ; then
+ fi
+ if test -d $PHP_NSAPI/plugins/include ; then
NSAPI_INCLUDE=$PHP_NSAPI/plugins/include
AC_MSG_RESULT(iPlanet/4.x style)
- else
+ fi
+
+ if test "$NSAPI_INCLUDE" = ""; then
AC_MSG_ERROR(Please check you have nsapi.h in either DIR/include or DIR/plugins/include)
fi
+
PHP_ADD_INCLUDE($NSAPI_INCLUDE)
PHP_BUILD_THREAD_SAFE
AC_DEFINE(HAVE_NSAPI,1,[Whether you have a Netscape Server])