cvs: php4 /sapi/nsapi config.m4 /sapi/pi3web config.m4

From: Date: Sun, 18 Jun 2000 15:30:55 +0000
Subject: cvs: php4 /sapi/nsapi config.m4 /sapi/pi3web config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-355@lists.php.net to get a copy of this message
sas Sun Jun 18 08:30:55 2000 EDT Modified files: /php4/sapi/nsapi config.m4 /php4/sapi/pi3web config.m4 Log: Cosmetic cleanups Index: php4/sapi/nsapi/config.m4 diff -u php4/sapi/nsapi/config.m4:1.6 php4/sapi/nsapi/config.m4:1.7 --- php4/sapi/nsapi/config.m4:1.6 Wed May 31 06:15:58 2000 +++ php4/sapi/nsapi/config.m4 Sun Jun 18 08:30:55 2000 @@ -1,8 +1,8 @@ -dnl ## $Id: config.m4,v 1.6 2000/05/31 13:15:58 sas Exp $ -*- sh -*- +dnl ## $Id: config.m4,v 1.7 2000/06/18 15:30:55 sas Exp $ -*- sh -*- AC_MSG_CHECKING(for NSAPI support) AC_ARG_WITH(nsapi, -[ --with-nsapi=DIR Specify path to the installed Netscape],[ +[ --with-nsapi=DIR Specify path to the installed Netscape],[ PHP_NSAPI=$withval ],[ PHP_NSAPI=no Index: php4/sapi/pi3web/config.m4 diff -u php4/sapi/pi3web/config.m4:1.1 php4/sapi/pi3web/config.m4:1.2 --- php4/sapi/pi3web/config.m4:1.1 Sat Jun 17 05:06:09 2000 +++ php4/sapi/pi3web/config.m4 Sun Jun 18 08:30:55 2000 @@ -1,17 +1,15 @@ -RESULT=no -AC_MSG_CHECKING(for Pi3Web Support) -AC_ARG_WITH(pi3web, -[ --with-pi3web=DIR Build PHP as an module for use with Pi3Web.], -[ - if test "$withval" = "yes"; then +PHP_ARG_WITH(pi3web,for Pi3Web Support, +[ --with-pi3web=DIR Build PHP as a module for use with Pi3Web.]) + +if test "$PHP_PI3WEB" != "no"; then + if test "$PHP_PI3WEB" = "yes"; then PI3PATH=../.. # the default else - PI3PATH=$withval + PI3PATH=$PHP_PI3WEB fi - pwd test -f "$PI3PATH/PiAPI/PiAPI.h" || AC_MSG_ERROR(Unable to find PiAPI.h in $PI3PATH/PiAPI) PHP_BUILD_THREAD_SAFE - AC_DEFINE(WITH_PI3WEB,1,[ ]) + AC_DEFINE(WITH_PI3WEB,1,[whether you want Pi3Web support]) AC_ADD_INCLUDE($PI3PATH/PiAPI) AC_ADD_INCLUDE($PI3PATH/Pi2API) AC_ADD_INCLUDE($PI3PATH/Pi3API) @@ -19,9 +17,7 @@ PHP_SAPI=pi3web PHP_BUILD_SHARED INSTALL_IT="\$(SHELL) \$(srcdir)/install-sh -m 0755 $SAPI_SHARED $PI3PATH/bin/" - RESULT=yes -]) -AC_MSG_RESULT($RESULT) +fi dnl ## Local Variables: dnl ## tab-width: 4

« previous php.cvs (#355) next »