cvs: php4 / acinclude.m4 configure.in
| From: | Jani Taskinen | Date: | Sat, 01 Dec 2001 00:59:44 +0000 |
| Subject: | cvs: php4 / acinclude.m4 configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8343@lists.php.net to get a copy of this message | ||
sniper Fri Nov 30 19:59:44 2001 EDT
Modified files:
/php4 acinclude.m4 configure.in
Log:
This makes the configure --help output more readable.
Index: php4/acinclude.m4
diff -u php4/acinclude.m4:1.142 php4/acinclude.m4:1.143
--- php4/acinclude.m4:1.142 Thu Sep 6 16:55:22 2001
+++ php4/acinclude.m4 Fri Nov 30 19:59:43 2001
@@ -1,8 +1,17 @@
-dnl $Id: acinclude.m4,v 1.142 2001/09/06 20:55:22 sniper Exp $
+dnl $Id: acinclude.m4,v 1.143 2001/12/01 00:59:43 sniper Exp $
dnl
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
Index: php4/configure.in
diff -u php4/configure.in:1.281 php4/configure.in:1.282
--- php4/configure.in:1.281 Fri Nov 16 12:31:13 2001
+++ php4/configure.in Fri Nov 30 19:59:43 2001
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.281 2001/11/16 17:31:13 dreid Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.282 2001/12/01 00:59:43 sniper Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -141,6 +141,7 @@
sinclude(TSRM/tsrm.m4)
divert(2)
+PHP_HELP_SEPARATOR([SAPI modules:])
PTHREADS_CHECK
@@ -467,6 +468,7 @@
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 @@
])
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)
@@ -644,6 +657,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,