cvs: peardoc / configure.in
| From: | Martin Jansen | Date: | Fri, 16 Apr 2004 20:46:38 +0000 |
| Subject: | cvs: peardoc / configure.in | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3571@lists.php.net to get a copy of this message | ||
mj Fri Apr 16 16:46:38 2004 EDT
Modified files:
/peardoc configure.in
Log:
* Drop check for PHP source code directory
* Simplify version check for the PHP executable
* Correct indentation of DSSSL paths
http://cvs.php.net/diff.php/peardoc/configure.in?r1=1.5&r2=1.6&ty=u
Index: peardoc/configure.in
diff -u peardoc/configure.in:1.5 peardoc/configure.in:1.6
--- peardoc/configure.in:1.5 Mon Oct 27 16:30:41 2003
+++ peardoc/configure.in Fri Apr 16 16:46:38 2004
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.5 2003/10/27 21:30:41 thierry_bo Exp $
+dnl $Id: configure.in,v 1.6 2004/04/16 20:46:38 mj Exp $
AC_INIT(global.ent)
@@ -28,7 +28,7 @@
else
AC_MSG_CHECKING([php version])
PHPVERSION=
$PHP -qv
- if test "yes" = echo '<?php echo
phpversion()>3?"yes":"no"; ?>' | $PHP -q; then
+ if test "yes" = php -r 'echo phpversion() > 3 ? "yes" :
"no";'; then
AC_MSG_RESULT($PHPVERSION ok)
else
AC_MSG_RESULT($PHPVERSION)
@@ -80,8 +80,8 @@
fi
],[
for dir in \
- /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh \
- /usr/local/share/sgml/docbook/dsssl/modular \
+ /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh \
+ /usr/local/share/sgml/docbook/dsssl/modular \
/usr/lib/dsssl/stylesheets/docbook \
/usr/lib/dsssl/stylesheets/nwalsh-modular \
/usr/lib/dsssl/stylesheets/docbook \
@@ -93,7 +93,7 @@
/usr/share/sgml/docbkdsl \
/usr/share/sgml/stylesheets/docbook \
/usr/share/sgml/docbook-dsssl \
- /usr/share/sgml/docbook/*dsssl-stylesheets* \
+ /usr/share/sgml/docbook/*dsssl-stylesheets* \
/usr/local/lib/dsssl/stylesheets/docbook \
/usr/local/lib/dsssl/stylesheets/nwalsh-modular \
/usr/local/lib/sgml/stylesheets/docbook \
@@ -145,20 +145,6 @@
AC_SUBST(DOCBOOKXSL_HTML)
AC_SUBST(DOCBOOKXSL_HTMLHELP)
-AC_MSG_CHECKING(for PHP source path)
-AC_ARG_WITH(source,
-[ --with-source=[DIR] Look at the specified source directory],
-[
- if test -d "$withval" ; then
- PHP_SOURCE=$withval
- else
- PHP_SOURCE=../php4
- fi
-],[
- PHP_SOURCE=../php4
-])
-AC_MSG_RESULT($PHP_SOURCE)
-AC_SUBST(PHP_SOURCE)
PEAR_BUILD_DATE=date
AC_SUBST(PEAR_BUILD_DATE)