mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
9d9d39a0de
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
27 lines
452 B
Plaintext
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)
|