cvs: phpdoc / configure.php

From: Date: Thu, 24 Jan 2008 12:14:41 +0000
Subject: cvs: phpdoc / configure.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-1069@lists.php.net to get a copy of this message
gwynne Thu Jan 24 12:14:41 2008 UTC Modified files: /phpdoc configure.php Log: PHD might not be executable when specified as build.php http://cvs.php.net/viewvc.cgi/phpdoc/configure.php?r1=1.24&r2=1.25&diff_format=u Index: phpdoc/configure.php diff -u phpdoc/configure.php:1.24 phpdoc/configure.php:1.25 --- phpdoc/configure.php:1.24 Thu Jan 24 05:59:15 2008 +++ phpdoc/configure.php Thu Jan 24 12:14:41 2008 @@ -17,11 +17,11 @@ | Authors: Dave Barr <dave@php.net> | +----------------------------------------------------------------------+ - $Id: configure.php,v 1.24 2008/01/24 05:59:15 gwynne Exp $ + $Id: configure.php,v 1.25 2008/01/24 12:14:41 gwynne Exp $ */ error_reporting(E_ALL); -$cvs_id = '$Id: configure.php,v 1.24 2008/01/24 05:59:15 gwynne Exp $'; +$cvs_id = '$Id: configure.php,v 1.25 2008/01/24 12:14:41 gwynne Exp $'; echo "configure.php: $cvs_id\n"; @@ -369,8 +369,8 @@ if ($ac['PHD'] == '') { checkerror("Could not find a PHD executable. Use --with-phd=/path/to/phd."); } -if (!file_exists($ac['PHD']) || !is_executable($ac['PHD'])) { - checkerror("PHD executable is invalid. Use --with-phd=/path/to/phd."); +if (!file_exists($ac['PHD']) && !is_readable($ac['PHD'])) { + checkerror("PHD file is invalid. Use --with-phd=/path/to/phd."); } $ac['PHD'] = abspath($ac['PHD']); checkvalue($ac['PHD']);

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