php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35644 ./configure switch --with-config-file-scan-dir is without help text
Submitted: 2005-12-12 13:06 UTC Modified: 2005-12-12 13:21 UTC
From: invisible at hidden-city dot net Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 5.1.1 OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: invisible at hidden-city dot net
New email:
PHP Version: OS:

 

 [2005-12-12 13:06 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-12 13:12 UTC] 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:21 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 08 05:01:27 2024 UTC