Time to work on helping the Gnome Doc project, first step is reintegrating
the SGML DocBook parser in libxml2 distrib:
- DOCBparser.c DOCBparser.h testDocbook.c configure.in Makefile.am
xmlversion.h.in: started (re)integrating the DocBook SGML parser.
- SAX.[ch]: cleanup and updates for DocBook
- debugXML.c parser.h tree.[ch] valid.c xpath.c: small macro or
ex SGML identifier changes
- valid.c: removed a static unused function.
Daniel
diff --git a/configure.in b/configure.in
index fb02848..b7e368f 100644
--- a/configure.in
+++ b/configure.in
@@ -235,9 +235,9 @@
if test "${with_mem_debug}" = "" ; then
with_mem_debug="yes"
fi
-dnl if test "${with_docbook}" = "" ; then
-dnl with_docbook="yes"
-dnl fi
+ if test "${with_docbook}" = "" ; then
+ with_docbook="yes"
+ fi
if test "${with_xptr}" = "" ; then
with_xptr="yes"
fi
@@ -297,6 +297,19 @@
AC_SUBST(WITH_HTML)
AC_SUBST(HTML_OBJ)
+AC_ARG_WITH(docbook, [ --with-docbook Add Docbook SGML support (off)])
+if test "$with_docbook" = "yes" ; then
+ echo Enabling Docbook support
+ WITH_DOCB=1
+ DOCB_OBJ="DOCBparser.o"
+else
+ WITH_DOCB=0
+ DOCB_OBJ=
+fi
+AC_SUBST(WITH_DOCB)
+AC_SUBST(DOCB_OBJ)
+
+
AC_ARG_WITH(xpath, [ --with-xpath Add the XPATH support (on)])
if test "$with_xpath" = "no" ; then
echo Disabling XPATH support