php-src/sapi/cli/config.m4
Sascha Schumann 9d9d39a0de Please welcome the new build system.
If you encounter any problems, please make sure to email sas@php.net
directly.

An introduction can be found on

http://schumann.cx/buildv5.txt
2002-03-07 14:20:02 +00:00

27 lines
452 B
Plaintext

dnl
dnl $Id$
dnl
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]
)
if test "$PHP_SAPI_CLI" != "no"; then
INSTALL_CLI="\$(INSTALL) -m 0755 sapi/cli/php \$(INSTALL_ROOT)\$(bindir)/php"
PHP_SUBST(INSTALL_CLI)
else
PHP_DISABLE_CLI
fi
AC_MSG_RESULT($PHP_SAPI_CLI)