cvs: peardoc /peardoc2 configure.in

From: Date: Mon, 13 Jan 2003 22:27:49 +0000
Subject: cvs: peardoc /peardoc2 configure.in
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-257@lists.php.net to get a copy of this message
tuupola Mon Jan 13 17:27:49 2003 EDT Modified files: /peardoc/peardoc2 configure.in Log: * also search of onsgmls. Die if neither onsgmls, nsgmls nor nsgmls.exe is found. # tested on Solaris. Someone with windows build enviroment should probably test this too. Index: peardoc/peardoc2/configure.in diff -u peardoc/peardoc2/configure.in:1.2 peardoc/peardoc2/configure.in:1.3 --- peardoc/peardoc2/configure.in:1.2 Sun Oct 13 05:56:54 2002 +++ peardoc/peardoc2/configure.in Mon Jan 13 17:27:49 2003 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.2 2002/10/13 09:56:54 mj Exp $ +dnl $Id: configure.in,v 1.3 2003/01/13 22:27:49 tuupola Exp $ AC_INIT(global.ent) @@ -244,9 +244,9 @@ AC_MSG_CHECKING(for jade in phpdoc-tools) if test -e ../phpdoc-tools/jade/jade.exe ; then JADEPATH=../phpdoc-tools/jade/jade.exe - AC_MSG_RESULT("yes") + AC_MSG_RESULT(yes) else - AC_MSG_RESULT("no") + AC_MSG_RESULT(no) AC_MSG_ERROR(unable to locate either Jade or OpenJade) fi else @@ -256,11 +256,26 @@ JADEPATH=$OPENJADECHK fi -dnl Search for nsgmls (for win32 plug&pray) -if test -e ../phpdoc-tools/jade/nsgmls.exe ; then - NSGMLSCMD=../phpdoc-tools/jade/nsgmls.exe +dnl Search for onsgmls (from OpenSP) +AC_PATH_PROG(ONSGMLSCHK, "onsgmls", no) +if test $ONSGMLSCHK = "no"; then + dnl ongsmls not found, look for nsgmls + AC_PATH_PROG(NSGMLSCHK, "nsgmls", no) + if test $NSGMLSCHK = "no"; then + dnl Search for nsgmls (for win32 plug&pray) + AC_MSG_CHECKING(for nsgml in phpdoc-tools) + if test -e ../phpdoc-tools/jade/nsgmls.exe ; then + NSGMLSCMD=../phpdoc-tools/jade/nsgmls.exe + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + AC_MSG_ERROR(unable to locate either nsgmls or onsgmls) + fi + else + NSGMLSCMD=$NSGMLSCHK + fi else - NSGMLSCMD=nsgmls + NSGMLSCMD=$ONSGMLSCHK fi HTMLHELP_ENCODING=$ENCODING

« previous php.pear.doc (#257) next »