summaryrefslogtreecommitdiff
path: root/sapi/cli
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/cli')
-rw-r--r--sapi/cli/config.m410
1 files changed, 4 insertions, 6 deletions
diff --git a/sapi/cli/config.m4 b/sapi/cli/config.m4
index 0d2558eb83..917d45fad1 100644
--- a/sapi/cli/config.m4
+++ b/sapi/cli/config.m4
@@ -1,5 +1,3 @@
-dnl config.m4 for sapi cli
-
PHP_ARG_ENABLE([cli],,
[AS_HELP_STRING([--disable-cli],
[Disable building CLI version of PHP (this forces --without-pear)])],
@@ -26,10 +24,10 @@ AC_MSG_CHECKING(for CLI build)
if test "$PHP_CLI" != "no"; then
PHP_ADD_MAKEFILE_FRAGMENT($abs_srcdir/sapi/cli/Makefile.frag)
- dnl Set filename
+ dnl Set filename.
SAPI_CLI_PATH=sapi/cli/php
- dnl Select SAPI
+ dnl Select SAPI.
PHP_SELECT_SAPI(cli, program, php_cli.c php_http_parser.c php_cli_server.c ps_title.c php_cli_process_title.c, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1, '$(SAPI_CLI_PATH)')
case $host_alias in
@@ -48,11 +46,11 @@ if test "$PHP_CLI" != "no"; then
;;
esac
- dnl Set executable for tests
+ dnl Set executable for tests.
PHP_EXECUTABLE="\$(top_builddir)/\$(SAPI_CLI_PATH)"
PHP_SUBST(PHP_EXECUTABLE)
- dnl Expose to Makefile
+ dnl Expose to Makefile.
PHP_SUBST(SAPI_CLI_PATH)
PHP_SUBST(BUILD_CLI)