leszek Sun Feb 8 07:58:13 2004 EDT
Modified files: /phpdoc configure.in Log: - new option allowing to set php.ini file path http://cvs.php.net/diff.php/phpdoc/configure.in?r1=1.199&r2=1.200&ty=u Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.199 phpdoc/configure.in:1.200 --- phpdoc/configure.in:1.199 Tue Aug 12 07:37:38 2003 +++ phpdoc/configure.in Sun Feb 8 07:58:13 2004 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.199 2003/08/12 11:37:38 derick Exp $ +dnl $Id: configure.in,v 1.200 2004/02/08 12:58:13 leszek Exp $ dnl autoconf initialisation AC_INIT() @@ -80,6 +80,22 @@ dnl }}} +dnl {{{ +AC_MSG_CHECKING(for php.ini path) +AC_ARG_WITH(inipath, +[ --with-inipath=PATH specify path to php.ini file (default: ./scripts)], +[ + AC_MSG_RESULT([$withval]) + INIPATH="$withval" +],[ + AC_MSG_RESULT([./scripts]) + INIPATH="./scripts" +]) + +AC_SUBST(INIPATH) + +dnl }}} + dnl {{{ check for the Jade or OpenJade DSSSL parser dnl use given argument, if any, else search in path @@ -778,11 +794,11 @@ then dnl create entity mapping file supporting Zend, CHM and other specialities - $PHP -c ./scripts -q ./scripts/file-entities.php + $PHP -c $INIPATH -q ./scripts/file-entities.php dnl create missing-entities.ent and missing-ids.xml rm -f entities/missing* - $PHP -c ./scripts -q ./scripts/missing-entities.php + $PHP -c $INIPATH -q ./scripts/missing-entities.php else