php-src/sapi/cli/config.m4

24 lines
444 B
Plaintext
Raw Normal View History

dnl
dnl $Id$
dnl
AC_MSG_CHECKING(for CLI build)
2002-01-24 17:55:13 +00:00
AC_ARG_ENABLE(cli,
[ --disable-cli Disable building CLI version of PHP
(this forces --without-pear).],
2002-01-24 17:55:13 +00:00
[
PHP_SAPI_CLI=$enableval
],[
PHP_SAPI_CLI=yes
])
2002-01-24 17:55:13 +00:00
if test "$PHP_SAPI_CLI" != "no"; then
INSTALL_CLI="\$(INSTALL) -m 0755 sapi/cli/php \$(INSTALL_ROOT)\$(bindir)/php"
PHP_SUBST(INSTALL_CLI)
2002-01-24 17:55:13 +00:00
else
PHP_DISABLE_CLI
fi
AC_MSG_RESULT($PHP_SAPI_CLI)