hholzgra Sat Jan 5 14:52:11 2002 EDT
Modified files:
/phpdoc configure.in
Log:
added more folding hooks
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.92 phpdoc/configure.in:1.93
--- phpdoc/configure.in:1.92 Sat Jan 5 14:41:07 2002
+++ phpdoc/configure.in Sat Jan 5 14:52:11 2002
@@ -1,9 +1,8 @@
-dnl $Id: configure.in,v 1.92 2002/01/05 19:41:07 hholzgra Exp $
+dnl $Id: configure.in,v 1.93 2002/01/05 19:52:11 hholzgra Exp $
dnl autoconf initialisation
AC_INIT()
-
dnl {{{ check for support programs
dnl {{{ check for PHP
@@ -130,9 +129,9 @@
dnl }}}
+dnl {{{ check for DocBook stuff
-
-
+dnl {{{ check for docbook DTD
dnl AC_MSG_CHECKING(for DocBook doctype)
dnl check_catalog_files() {
@@ -167,7 +166,12 @@
DOCBOOK_DOCTYPE="-//Norman Walsh//DTD DocBk XML V1.4//EN"
AC_SUBST(DOCBOOK_DOCTYPE)
+dnl }}}
+
+dnl {{{ check for DSSSL stylesheets
+
AC_MSG_CHECKING(for docbook.dsl)
+
AC_ARG_WITH(dsssl,
[ --with-dsssl=[DIR] Look for DSSSL stylesheets in the specified directory],
[
@@ -215,9 +219,15 @@
AC_MSG_ERROR(WARNING!!! DSSSL NOT FOUND - WON'T WORK THIS WAY)
fi
AC_SUBST(DOCBOOK_HTML)
+
AC_SUBST(DOCBOOK_PRINT)
+dnl }}}
+
+dnl {{{ check for XSLT stylesheets
+
AC_MSG_CHECKING(for docbook.xsl)
+
AC_ARG_WITH(xsl,
[ --with-xsl=[URI] Look for XSL stylesheets at the specified URI],
[
@@ -254,8 +264,17 @@
AC_SUBST(DOCBOOKXSL_BIGHTML)
AC_SUBST(DOCBOOKXSL_HTML)
AC_SUBST(DOCBOOKXSL_HTMLHELP)
+
AC_SUBST(DOCBOOKXSL_PRINT)
+dnl }}}
+
+dnl }}}
+
+dnl {{{ check for additional docs and sources
+
+dnl {{{ check for PHP sourcecode
+
AC_MSG_CHECKING(for PHP source path)
AC_ARG_WITH(source,
[ --with-source=[DIR] Look at the specified source directory],
@@ -271,9 +290,15 @@
AC_MSG_RESULT($PHP_SOURCE)
AC_SUBST(PHP_SOURCE)
PHP_BUILD_DATE=`date`
+
AC_SUBST(PHP_BUILD_DATE)
+dnl }}}
+
+dnl {{{ check for ZendEngine API documentation to include
+
AC_MSG_CHECKING(for ZendAPI)
+
AC_ARG_WITH(zendapi,
[ --with-zendapi=[DIR] Look for ZendAPI documentation in the specified
directory],
[
@@ -297,10 +322,18 @@
ZEND_FIGURES=""
fi
])
+
AC_MSG_RESULT($ZENDAPI)
AC_SUBST(ZEND_FIGURES)
+dnl }}}
+
+dnl }}}
+
+dnl {{{ language specific stuff
+
AC_MSG_CHECKING(for language)
+
AC_ARG_WITH(lang,
[ --with-lang=LANG Choose a language to work with],
[
@@ -365,6 +398,7 @@
AC_SUBST(PAPER_TYPE)
AC_SUBST(PDF_PAPER_TYPE)
+
dnl localize order of number and element name
dnl in some headers autogenerated by jade
case "$LANG" in
@@ -373,6 +407,7 @@
esac
AC_SUBST(NUMBER_FIRST)
+
dnl optionaly reduce margins to save some trees life
AC_MSG_CHECKING(for treesaving)
AC_ARG_WITH(treesaving,
@@ -471,8 +506,12 @@
esac
AC_SUBST(SP_OPTIONS)
+
AC_SUBST(HTMLHELP_ENCODING)
+dnl }}}
+
+dnl {{{ check for catalog files
dnl Do something smart to find catalog-files
CATALOG=""
@@ -506,10 +545,9 @@
AC_SUBST(CATALOG)
+dnl }}}
-
-dnl keep in one line for win32
-AC_OUTPUT(Makefile version.ent common.dsl howto.dsl html.dsl html-locale.dsl
install.dsl print.dsl phpweb.dsl quickref.dsl manual.xml html.xsl bightml.xsl
print.xsl htmlhelp.xsl)
+dnl {{{ check for some common sources of trouble
dnl sanity checks for SuSE 6.x
if test -e /usr/share/sgml/docbk30/docbook.dcl
@@ -543,6 +581,14 @@
fi
fi
+dnl }}}
+
+dnl {{{ generate output files
+
+dnl keep in one line for win32
+AC_OUTPUT(Makefile version.ent common.dsl howto.dsl html.dsl html-locale.dsl
+install.dsl print.dsl phpweb.dsl quickref.dsl manual.xml html.xsl bightml.xsl
+print.xsl htmlhelp.xsl)
+
+dnl {{{ generate additional entity file for translation support
dnl check for files and translations, create chapter entities
echo creating chapters.ent
@@ -578,4 +624,11 @@
echo "<!ENTITY global.function-index SYSTEM \"$srcdir/funcindex.xml\">" >>
chapters.ent
chmod a-w chapters.ent
+
+dnl }}}
+
+dnl }}}
+
+
+