blob: 724c759de72640cf8ef311fd058b375e84c83b04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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)
|