diff options
author | Dan Kalowsky <kalowsky@php.net> | 2002-08-14 16:39:26 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2002-08-14 16:39:26 +0000 |
commit | 398288f236e43127b1b75f5588d0c5b91fbaeb5b (patch) | |
tree | 1826036f5c533b332ef04089faa0d4778759f3c7 /sapi/nsapi | |
parent | 38a6873f20df331a73fb16bb3c6a641c0f70ddd6 (diff) | |
download | php-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.m4 | 8 |
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) |