summaryrefslogtreecommitdiff
path: root/sapi/nsapi
diff options
context:
space:
mode:
authorDan Kalowsky <kalowsky@php.net>2002-08-14 16:39:26 +0000
committerDan Kalowsky <kalowsky@php.net>2002-08-14 16:39:26 +0000
commit398288f236e43127b1b75f5588d0c5b91fbaeb5b (patch)
tree1826036f5c533b332ef04089faa0d4778759f3c7 /sapi/nsapi
parent38a6873f20df331a73fb16bb3c6a641c0f70ddd6 (diff)
downloadphp-git-398288f236e43127b1b75f5588d0c5b91fbaeb5b.tar.gz
Fix for Bug #18794, and probably various others with nsapi
Diffstat (limited to 'sapi/nsapi')
-rw-r--r--sapi/nsapi/config.m48
1 files changed, 5 insertions, 3 deletions
diff --git a/sapi/nsapi/config.m4 b/sapi/nsapi/config.m4
index f09ef1dd09..666d067a78 100644
--- a/sapi/nsapi/config.m4
+++ b/sapi/nsapi/config.m4
@@ -20,11 +20,13 @@ if test "$PHP_NSAPI" != "no"; 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
+ fi
+ if test -d $PHP_NSAPI/plugins/include ; then
+ NSAPI_INCLUDE="$NSAPI_INCLUDE $PHP_NSAPI/plugins/include"
AC_MSG_RESULT(iPlanet/4.x style)
AC_CHECK_HEADERS([$NSAPI_INCLUDE/nsapi.h])
- else
+ fi
+ if test "$NSAPI_INCLUDE" = ""; then
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)