cvs: php4 /sapi/cli config.m4

From: Date: Sun, 14 Apr 2002 03:57:59 +0000
Subject: cvs: php4 /sapi/cli config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11128@lists.php.net to get a copy of this message
sniper Sat Apr 13 23:57:59 2002 EDT Modified files: /php4/sapi/cli config.m4 Log: Make it possible to actually disable the CLI.. Index: php4/sapi/cli/config.m4 diff -u php4/sapi/cli/config.m4:1.4 php4/sapi/cli/config.m4:1.5 --- php4/sapi/cli/config.m4:1.4 Thu Mar 7 09:19:51 2002 +++ php4/sapi/cli/config.m4 Sat Apr 13 23:57:59 2002 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.4 2002/03/07 14:19:51 sas Exp $ +dnl $Id: config.m4,v 1.5 2002/04/14 03:57:59 sniper Exp $ dnl AC_MSG_CHECKING(for CLI build) @@ -7,14 +7,10 @@ AC_ARG_ENABLE(cli, [ --disable-cli Disable building CLI version of PHP.], [ - if test "$enable_cli" != "no"; then - PHP_SAPI_CLI=yes - else - PHP_SAPI_CLI=no - fi -], -[PHP_SAPI_CLI=yes] -) + PHP_SAPI_CLI=$enableval +],[ + PHP_SAPI_CLI=yes +]) if test "$PHP_SAPI_CLI" != "no"; then INSTALL_CLI="\$(INSTALL) -m 0755 sapi/cli/php \$(INSTALL_ROOT)\$(bindir)/php"

« previous php.cvs (#11128) next »