cvs: phpdoc / configure.php /scripts php.ini
| From: | Hannes Magnusson | Date: | Wed, 07 Jan 2009 20:38:19 +0000 |
| Subject: | cvs: phpdoc / configure.php /scripts php.ini | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2973@lists.php.net to get a copy of this message | ||
bjori Wed Jan 7 20:38:19 2009 UTC
Removed files:
/phpdoc/scripts php.ini
Modified files:
/phpdoc configure.php
Log:
Nuke --with-inipath and the "default ini file", it is utterly useless -
and the default settings are a total wtf
http://cvs.php.net/viewvc.cgi/phpdoc/configure.php?r1=1.63&r2=1.64&diff_format=u
Index: phpdoc/configure.php
diff -u phpdoc/configure.php:1.63 phpdoc/configure.php:1.64
--- phpdoc/configure.php:1.63 Wed Jan 7 20:26:54 2009
+++ phpdoc/configure.php Wed Jan 7 20:38:19 2009
@@ -19,11 +19,11 @@
| Gwynne Raskind <gwynne@php.net> |
+----------------------------------------------------------------------+
- $Id: configure.php,v 1.63 2009/01/07 20:26:54 bjori Exp $
+ $Id: configure.php,v 1.64 2009/01/07 20:38:19 bjori Exp $
*/
error_reporting(E_ALL);
-$cvs_id = '$Id: configure.php,v 1.63 2009/01/07 20:26:54 bjori Exp $';
+$cvs_id = '$Id: configure.php,v 1.64 2009/01/07 20:38:19 bjori Exp $';
echo "configure.php: $cvs_id\n";
@@ -54,7 +54,6 @@
--disable-segfault-error LIBXML may segfault with broken XML, use this if it does
[{$acd['SEGFAULT_ERROR']}]
--disable-version-files Do not merge the extension specific version.xml files
--with-php=PATH Path to php CLI executable [detect]
- --with-inipath=PATH Path to php.ini file [@srcdir@/scripts]
--with-lang=LANG Language to build [{$acd['LANG']}]
--with-partial=ID Root ID to build [{$acd['PARTIAL']}]
@@ -239,7 +238,6 @@
'WORKDIR' => $srcdir,
'SRCDIR' => $srcdir,
'PHP' => '',
- 'INIPATH' => "{$srcdir}/scripts",
'CHMENABLED' => 'no',
'CHMONLY_INCL_BEGIN' => '<!--',
'CHMONLY_INCL_END' => '-->',
@@ -254,14 +252,13 @@
'HOWTO' => 'no',
// Junk to make the old scripts (file-entities.php and missing-entities.php) cooperative
- 'CYGWIN' => '0',
'NSGMLS' => 'no',
'SP_OPTIONS' => 'SP_ENCODING=XML SP_CHARSET_FIXED=YES',
); // }}}
$ac = $acd;
-$srcdir_dependant_settings = array( 'INIPATH', 'LANGDIR' );
+$srcdir_dependant_settings = array( 'LANGDIR' );
$overridden_settings = array();
foreach ($_SERVER['argv'] as $k => $opt) { // {{{
@@ -324,10 +321,6 @@
$ac['PHP'] = $v;
break;
- case 'inipath':
- $ac['INIPATH'] = $v;
- break;
-
case 'lang':
$ac['LANG'] = $v;
break;
@@ -400,15 +393,6 @@
$ac['PHP'] = abspath($ac['PHP']);
checkvalue($ac['PHP']);
-checking("for PHP INI path");
-if ($ac['INIPATH'] != '' && $ac['INIPATH'] != 'no')
{
- if (!file_exists($ac['INIPATH']) || !is_readable($ac['INIPATH'])) {
- checkerror("INI path doesn't exist or isn't readable.");
- }
- $ac['INIPATH'] = abspath($ac['INIPATH']);
-}
-checkvalue($ac['INIPATH']);
-
checking("for language to build");
if ($ac['LANG'] == '' || $ac['LANG'] == 'no') {
checkerror("Using '--with-lang=' or '--without-lang' is just going to
cause trouble.");
@@ -538,10 +522,9 @@
globbetyglob("{$ac['srcdir']}/scripts", 'make_scripts_executable');
-$ini = ($ac['INIPATH'] != '' && $ac['INIPATH'] !=
'no') ? " -c \"{$ac['INIPATH']}\"" : '';
$redir = ($ac['quiet'] == 'yes') ? " > /dev/null" : '';
-quietechorun("\"{$ac['PHP']}\"{$ini} -q
\"{$ac['srcdir']}/scripts/file-entities.php\"{$redir}");
+quietechorun("\"{$ac['PHP']}\" -q
\"{$ac['srcdir']}/scripts/file-entities.php\"{$redir}");
// just unlink() the two files we know need to be removed. if you update missing-entities.php,
update this
$missing_stuff = array(
@@ -559,7 +542,7 @@
}
// We don't need missing-entities to be run unless we're not rendering English
if ($ac['LANG'] != 'en') {
- quietechorun("\"{$ac['PHP']}\"{$ini} -q
\"{$ac['srcdir']}/scripts/missing-entities.php\"{$redir}");
+ quietechorun("\"{$ac['PHP']}\" -q
\"{$ac['srcdir']}/scripts/missing-entities.php\"{$redir}");
} else {
// Stick some empty data in there
file_put_contents("{$ac['srcdir']}/entities/missing-entities.ent",
'<'.'?xml version="1.0"
encoding="utf-8"?'.">\n");