cvs: phpdoc / configure.in

From: Date: Fri, 11 Apr 2003 19:23:54 +0000
Subject: cvs: phpdoc / configure.in
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969352554@lists.php.net to get a copy of this message
goba Fri Apr 11 15:23:54 2003 EDT Modified files: /phpdoc configure.in Log: Adding support for onsgmls, so it works without any tools from jclark.com. Openjade and onsgmls now can really be used as jade / nsgmls replacements. Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.182 phpdoc/configure.in:1.183 --- phpdoc/configure.in:1.182 Wed Mar 19 12:19:34 2003 +++ phpdoc/configure.in Fri Apr 11 15:23:54 2003 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.182 2003/03/19 17:19:34 hholzgra Exp $ +dnl $Id: configure.in,v 1.183 2003/04/11 19:23:54 goba Exp $ dnl autoconf initialisation AC_INIT() @@ -80,7 +80,7 @@ dnl }}} -dnl {{{ check for the OpenJade DSSSL parser +dnl {{{ check for the Jade or OpenJade DSSSL parser dnl use given argument, if any, else search in path @@ -132,10 +132,10 @@ dnl }}} -dnl {{{ check for nsgmls +dnl {{{ check for nsgmls or onsgmls AC_ARG_WITH(nsgmls, -[ --with-nsgmls=PATH look for nsgmls executable],[ +[ --with-nsgmls=PATH look for nsgmls or onsgmls executable],[ if test $withval != "yes"; then AC_MSG_CHECKING([for nsgmls]) if test -x $withval; then @@ -152,7 +152,12 @@ NSGMLS=../phpdoc-tools/jade/nsgmls.exe AC_MSG_RESULT($NSGMLS) else - AC_PATH_PROG(NSGMLS,"nsgmls",no) + AC_PATH_PROG(ONSGMLS,"onsgmls",no) + if test $ONSGMLS = "no"; then + AC_PATH_PROG(NSGMLS,"nsgmls",no) + else + NSGMLS=$ONSGMLS + fi fi fi ],[ @@ -161,12 +166,17 @@ NSGMLS=../phpdoc-tools/jade/nsgmls.exe AC_MSG_RESULT($NSGMLS) else - AC_PATH_PROG(NSGMLS,"nsgmls",no) + AC_PATH_PROG(ONSGMLS,"onsgmls",no) + if test $ONSGMLS = "no"; then + AC_PATH_PROG(NSGMLS,"nsgmls",no) + else + NSGMLS=$ONSGMLS + fi fi ] ) if test $NSGMLS = "no"; then - AC_MSG_ERROR([can't find nsgmls]) + AC_MSG_ERROR([can't find nsgmls or onsgmls]) fi AC_SUBST(NSGMLS)

« previous php.doc (#969352554) next »