diff options
-rw-r--r-- | acinclude.m4 | 9 | ||||
-rw-r--r-- | configure.in | 16 |
2 files changed, 25 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 468fa0e47b..c63db812b8 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -5,6 +5,15 @@ dnl This file contains local autoconf functions. sinclude(dynlib.m4) dnl +dnl Separator into the configure --help display. +dnl +AC_DEFUN(PHP_HELP_SEPARATOR,[ +AC_ARG_ENABLE([],[ +$1 +],[]) +]) + +dnl dnl PHP_TARGET_RDYNAMIC dnl dnl Checks whether -rdynamic is supported by the compiler. This diff --git a/configure.in b/configure.in index 297091d320..82a4cf93cf 100644 --- a/configure.in +++ b/configure.in @@ -141,6 +141,7 @@ sinclude(Zend/Zend.m4) sinclude(TSRM/tsrm.m4) divert(2) +PHP_HELP_SEPARATOR([SAPI modules:]) PTHREADS_CHECK @@ -467,6 +468,7 @@ if test $ac_cv_type_in_addr_t = no; then fi divert(4) +PHP_HELP_SEPARATOR([General settings:]) PHP_ARG_ENABLE(debug, whether to include debugging symbols, [ --enable-debug Compile with debugging symbols.], no) @@ -637,6 +639,17 @@ AC_CHECK_LIB(crypt, crypt, [ ]) divert(5) +PHP_HELP_SEPARATOR([Extensions: + + --with-EXTENSION=[shared[,PATH]] + + NOTE: Not all extensions can be build as 'shared'. + + Example: --with-foobar=shared,/usr/local/foobar/ + + o Builds the foobar extension as shared extension. + o foobar package install prefix is /usr/local/foobar/ +]) PHP_CONFIGURE_PART(Configuring extensions) @@ -645,6 +658,9 @@ esyscmd(./scripts/config-stubs ext) PHP_FAST_OUTPUT(sapi/$PHP_SAPI/Makefile) + +PHP_HELP_SEPARATOR([Other settings:]) + AC_MSG_CHECKING([whether to enable versioning]) AC_ARG_ENABLE(versioning, [ --enable-versioning Export only required symbols. |