diff options
author | foobar <sniper@php.net> | 2002-04-14 03:57:59 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2002-04-14 03:57:59 +0000 |
commit | 7c2811e1ab1eea7f73d1ddf8c257a9493a91f49b (patch) | |
tree | 7765d2d6e9dcc415409682d8fcd45962392894f1 /sapi/cli/config.m4 | |
parent | cd0b3ea491b15bce5de0c9669cc86165e36bcb76 (diff) | |
download | php-git-7c2811e1ab1eea7f73d1ddf8c257a9493a91f49b.tar.gz |
Make it possible to actually disable the CLI..
Diffstat (limited to 'sapi/cli/config.m4')
-rw-r--r-- | sapi/cli/config.m4 | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sapi/cli/config.m4 b/sapi/cli/config.m4 index 724c759de7..4b5086c17c 100644 --- a/sapi/cli/config.m4 +++ b/sapi/cli/config.m4 @@ -7,14 +7,10 @@ AC_MSG_CHECKING(for CLI build) 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" |