]> granicus.if.org Git - php/commitdiff
MFH, builds and reportadly re-enables nsapi support
authorDan Kalowsky <kalowsky@php.net>
Sat, 17 Aug 2002 16:25:33 +0000 (16:25 +0000)
committerDan Kalowsky <kalowsky@php.net>
Sat, 17 Aug 2002 16:25:33 +0000 (16:25 +0000)
sapi/nsapi/config.m4

index 1f4664d5b442f5f5fec67f8f3c96d0b57261839b..5925361ad9476a8f8535e8c45ba1d738ec4983e3 100644 (file)
@@ -19,12 +19,16 @@ 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)
-  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])