cvs: phpdoc / configure.php

From: Date: Mon, 16 Jun 2008 02:50:08 +0000
Subject: cvs: phpdoc / configure.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-1785@lists.php.net to get a copy of this message
philip Mon Jun 16 02:50:08 2008 UTC Modified files: /phpdoc configure.php Log: Added the magical --disable-segfault-error option. # Although it will still eventually segfault... using this will help debug the XML # Temporary measure :) http://cvs.php.net/viewvc.cgi/phpdoc/configure.php?r1=1.53&r2=1.54&diff_format=u Index: phpdoc/configure.php diff -u phpdoc/configure.php:1.53 phpdoc/configure.php:1.54 --- phpdoc/configure.php:1.53 Mon Jun 9 11:52:11 2008 +++ phpdoc/configure.php Mon Jun 16 02:50:08 2008 @@ -19,11 +19,11 @@ | Gwynne Raskind <gwynne@php.net> | +----------------------------------------------------------------------+ - $Id: configure.php,v 1.53 2008/06/09 11:52:11 rquadling Exp $ + $Id: configure.php,v 1.54 2008/06/16 02:50:08 philip Exp $ */ error_reporting(E_ALL); -$cvs_id = '$Id: configure.php,v 1.53 2008/06/09 11:52:11 rquadling Exp $'; +$cvs_id = '$Id: configure.php,v 1.54 2008/06/16 02:50:08 philip Exp $'; echo "configure.php: $cvs_id\n"; @@ -51,6 +51,7 @@ --enable-chm Enable Windows HTML Help Edition pages [{$acd['CHMENABLED']}] --enable-internals Include internals documentation [{$acd['INTERNALSENABLED']}] --enable-xml-details Enable detailed XML error messages [{$acd['DETAILED_ERRORMSG']}] + --disable-segfault-error LIBXML may segfault with broken XML, use this if it does [{$acd['SEGFAULT_ERROR']}] --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']}] @@ -251,6 +252,7 @@ 'FORCE_DOM_SAVE' => 'no', 'PARTIAL' => 'no', 'DETAILED_ERRORMSG' => 'no', + 'SEGFAULT_ERROR' => 'yes', // Junk to make the old scripts (file-entities.php and missing-entities.php) cooperative 'PHP_SOURCE' => 'no', @@ -356,6 +358,10 @@ case 'xml-details': $ac['DETAILED_ERRORMSG'] = $v; break; + + case 'segfault-error': + $ac['SEGFAULT_ERROR'] = $v; + break; default: echo "WARNING: Unknown option '{$o}'!\n"; @@ -497,7 +503,9 @@ echo "Loading and parsing manual.xml... "; flush(STDOUT); -libxml_use_internal_errors(true); +if ($ac['SEGFAULT_ERROR'] === 'yes') { + libxml_use_internal_errors(true); +} $dom = new DOMDocument(); $compact = defined('LIBXML_COMPACT') ? LIBXML_COMPACT : 0;

« previous php.doc.cvs (#1785) next »