summaryrefslogtreecommitdiff
path: root/sapi/cli
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-05-12 18:43:03 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-05-12 18:43:03 +0200
commit75fb74860da7decd94432a4d211795310308a4a8 (patch)
treea4a7a4755150cf43bca6c4f7d075ce67e1c4ade2 /sapi/cli
parente96c776bd5d03d3042e9b1c91d395ebf81741540 (diff)
downloadphp-git-75fb74860da7decd94432a4d211795310308a4a8.tar.gz
Normalize comments in *nix build system m4 files
Normalization include: - Use dnl for everything that can be ommitted when configure is built in favor of the shell comment character # which is visible in the output. - Line length normalized to 80 columns - Dots for most of the one line sentences - Macro definitions include similar pattern header comments now
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)