#35644 [Opn->Csd]: ./configure switch --with-config-file-scan-dir is without help text
ID: 35644
Updated by: sniper@php.net
Reported By: invisible at hidden-city dot net
-Status: Open
+Status: Closed
Bug Type: *Configuration Issues
PHP Version: 5.1.1
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-12-12 13:12:27] invisible at hidden-city dot net
The possible solution I tried localy was to change configure.in from:
---------------
PHP_ARG_WITH(config-file-scan-dir,[directory to be scanned for
configuration files],
[ --with-config-file-scan-dir=PATH ], DEFAULT, no)-
if test "$PHP_CONFIG_FILE_SCAN_DIR" = "DEFAULT"; then
PHP_CONFIG_FILE_SCAN_DIR=
fi
---------------
to:
---------------
PHP_ARG_WITH(config-file-scan-dir,[directory to be scanned for
configuration files],
[ --with-config-file-scan-dir=PATH
Directory to be scanned for configuration
files
], DEFAULT, no)
if test "$PHP_CONFIG_FILE_SCAN_DIR" = "DEFAULT"; then
PHP_CONFIG_FILE_SCAN_DIR=
fi
---------------
I know it's ugly but it works after running autoconf...
------------------------------------------------------------------------
[2005-12-12 13:06:53] invisible at hidden-city dot net
Description:
------------
when you do configure --help doesn't provide help text for
--with-config-file-scan-dir option.
Reproduce code:
---------------
simple ./configure --help
Expected result:
----------------
when you do configure --help the relevant part shows up as:
--with-config-file-path=PATH
Set the path in which to look for php.ini
PREFIX/lib
--with-config-file-scan-dir=PATH
Directory to be scanned for configuration files
--enable-safe-mode
Enable safe mode by default
Actual result:
--------------
when you do configure --help the relevant part shows up as:
--with-config-file-path=PATH
Set the path in which to look for php.ini
[PREFIX/lib]
--with-config-file-scan-dir=PATH
--enable-safe-mode Enable safe mode by default
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35644&edit=1
Thread (3 messages)