summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-11-09 14:22:10 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:14:20 +0200
commit9c1d57b026ac6e4afa7450bf7fb40657c19d02e3 (patch)
tree8a8c31dc2eea9261a3ec00725171601c14564183
parent785e48c4729c5a40fc37cb1413d8207ec42dbee3 (diff)
downloadexternal_gettext-9c1d57b026ac6e4afa7450bf7fb40657c19d02e3.zip
external_gettext-9c1d57b026ac6e4afa7450bf7fb40657c19d02e3.tar.gz
external_gettext-9c1d57b026ac6e4afa7450bf7fb40657c19d02e3.tar.bz2
New module 'libxml'.
-rw-r--r--gnulib-local/ChangeLog101
-rw-r--r--gnulib-local/Makefile.am95
-rw-r--r--gnulib-local/m4/libxml.m4196
-rw-r--r--gnulib-local/modules/libxml500
4 files changed, 892 insertions, 0 deletions
diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog
index 1b34233..3c1aae9 100644
--- a/gnulib-local/ChangeLog
+++ b/gnulib-local/ChangeLog
@@ -1,5 +1,106 @@
2006-11-05 Bruno Haible <bruno@clisp.org>
+ Include libxml2 as a fallback.
+ * modules/libxml: New file.
+ * m4/libxml.m4: New file.
+ * lib/libxml/elfgcchack.h: New empty file.
+ * lib/libxml/xmlversion_.h: New file, from libxml2-2.6.27 with
+ modifications.
+ * lib/libxml/libxml.h: New file, from libxml2-2.6.27.
+ * lib/libxml/COPYING: New file, from libxml2-2.6.27.
+ * lib/libxml/DOCBparser.c: New file, from libxml2-2.6.27.
+ * lib/libxml/DOCBparser_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/HTMLparser.c: New file, from libxml2-2.6.27.
+ * lib/libxml/HTMLparser_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/HTMLtree.c: New file, from libxml2-2.6.27.
+ * lib/libxml/HTMLtree_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/SAX.c: New file, from libxml2-2.6.27.
+ * lib/libxml/SAX2.c: New file, from libxml2-2.6.27.
+ * lib/libxml/SAX2_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/SAX_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/c14n.c: New file, from libxml2-2.6.27.
+ * lib/libxml/c14n_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/catalog.c: New file, from libxml2-2.6.27.
+ * lib/libxml/catalog_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/chvalid.c: New file, from libxml2-2.6.27.
+ * lib/libxml/chvalid_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/debugXML.c: New file, from libxml2-2.6.27.
+ * lib/libxml/debugXML_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/dict.c: New file, from libxml2-2.6.27.
+ * lib/libxml/dict_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/encoding.c: New file, from libxml2-2.6.27.
+ * lib/libxml/encoding_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/entities.c: New file, from libxml2-2.6.27.
+ * lib/libxml/entities_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/error.c: New file, from libxml2-2.6.27.
+ * lib/libxml/globals.c: New file, from libxml2-2.6.27.
+ * lib/libxml/globals_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/hash.c: New file, from libxml2-2.6.27.
+ * lib/libxml/hash_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/legacy.c: New file, from libxml2-2.6.27.
+ * lib/libxml/list.c: New file, from libxml2-2.6.27.
+ * lib/libxml/list_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/nanoftp.c: New file, from libxml2-2.6.27.
+ * lib/libxml/nanoftp_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/nanohttp.c: New file, from libxml2-2.6.27.
+ * lib/libxml/nanohttp_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/parser.c: New file, from libxml2-2.6.27.
+ * lib/libxml/parserInternals.c: New file, from libxml2-2.6.27.
+ * lib/libxml/parserInternals_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/parser_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/pattern.c: New file, from libxml2-2.6.27.
+ * lib/libxml/pattern_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/relaxng.c: New file, from libxml2-2.6.27.
+ * lib/libxml/relaxng_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/schemasInternals_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/schematron.c: New file, from libxml2-2.6.27.
+ * lib/libxml/schematron_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/threads.c: New file, from libxml2-2.6.27.
+ * lib/libxml/threads_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/tree.c: New file, from libxml2-2.6.27.
+ * lib/libxml/tree_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/uri.c: New file, from libxml2-2.6.27.
+ * lib/libxml/uri_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/valid.c: New file, from libxml2-2.6.27.
+ * lib/libxml/valid_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xinclude.c: New file, from libxml2-2.6.27.
+ * lib/libxml/xinclude_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xlink.c: New file, from libxml2-2.6.27.
+ * lib/libxml/xlink_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlIO.c: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlIO_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlautomata_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlerror_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlexports_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlmemory.c: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlmemory_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlmodule.c: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlmodule_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlreader.c: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlreader_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlregexp.c: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlregexp_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlsave.c: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlsave_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlschemas.c: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlschemas_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlschemastypes.c: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlschemastypes_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlstring.c: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlstring_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlunicode.c: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlunicode_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlwriter.c: New file, from libxml2-2.6.27.
+ * lib/libxml/xmlwriter_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xpath.c: New file, from libxml2-2.6.27.
+ * lib/libxml/xpathInternals_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xpath_.h: New file, from libxml2-2.6.27.
+ * lib/libxml/xpointer.c: New file, from libxml2-2.6.27.
+ * lib/libxml/xpointer_.h: New file, from libxml2-2.6.27.
+ * Makefile.am (EXTRA_DIST): Add the new files.
+
+2006-11-05 Bruno Haible <bruno@clisp.org>
+
* modules/term-ostream: New file.
* m4/term-ostream.m4: New file.
* lib/term-ostream.oo.h: New file.
diff --git a/gnulib-local/Makefile.am b/gnulib-local/Makefile.am
index c0bba7e..dcc38cc 100644
--- a/gnulib-local/Makefile.am
+++ b/gnulib-local/Makefile.am
@@ -57,6 +57,99 @@ lib/html-ostream.oo.h \
lib/iconv-ostream.oo.c \
lib/iconv-ostream.oo.h \
lib/javacomp.c.diff \
+lib/libxml/COPYING \
+lib/libxml/DOCBparser.c \
+lib/libxml/DOCBparser_.h \
+lib/libxml/HTMLparser.c \
+lib/libxml/HTMLparser_.h \
+lib/libxml/HTMLtree.c \
+lib/libxml/HTMLtree_.h \
+lib/libxml/SAX.c \
+lib/libxml/SAX2.c \
+lib/libxml/SAX2_.h \
+lib/libxml/SAX_.h \
+lib/libxml/c14n.c \
+lib/libxml/c14n_.h \
+lib/libxml/catalog.c \
+lib/libxml/catalog_.h \
+lib/libxml/chvalid.c \
+lib/libxml/chvalid_.h \
+lib/libxml/debugXML.c \
+lib/libxml/debugXML_.h \
+lib/libxml/dict.c \
+lib/libxml/dict_.h \
+lib/libxml/elfgcchack.h \
+lib/libxml/encoding.c \
+lib/libxml/encoding_.h \
+lib/libxml/entities.c \
+lib/libxml/entities_.h \
+lib/libxml/error.c \
+lib/libxml/globals.c \
+lib/libxml/globals_.h \
+lib/libxml/hash.c \
+lib/libxml/hash_.h \
+lib/libxml/legacy.c \
+lib/libxml/libxml.h \
+lib/libxml/list.c \
+lib/libxml/list_.h \
+lib/libxml/nanoftp.c \
+lib/libxml/nanoftp_.h \
+lib/libxml/nanohttp.c \
+lib/libxml/nanohttp_.h \
+lib/libxml/parser.c \
+lib/libxml/parser_.h \
+lib/libxml/parserInternals.c \
+lib/libxml/parserInternals_.h \
+lib/libxml/pattern.c \
+lib/libxml/pattern_.h \
+lib/libxml/relaxng.c \
+lib/libxml/relaxng_.h \
+lib/libxml/schemasInternals_.h \
+lib/libxml/schematron.c \
+lib/libxml/schematron_.h \
+lib/libxml/threads.c \
+lib/libxml/threads_.h \
+lib/libxml/tree.c \
+lib/libxml/tree_.h \
+lib/libxml/uri.c \
+lib/libxml/uri_.h \
+lib/libxml/valid.c \
+lib/libxml/valid_.h \
+lib/libxml/xinclude.c \
+lib/libxml/xinclude_.h \
+lib/libxml/xlink.c \
+lib/libxml/xlink_.h \
+lib/libxml/xmlIO.c \
+lib/libxml/xmlIO_.h \
+lib/libxml/xmlautomata_.h \
+lib/libxml/xmlerror_.h \
+lib/libxml/xmlexports_.h \
+lib/libxml/xmlmemory.c \
+lib/libxml/xmlmemory_.h \
+lib/libxml/xmlmodule.c \
+lib/libxml/xmlmodule_.h \
+lib/libxml/xmlreader.c \
+lib/libxml/xmlreader_.h \
+lib/libxml/xmlregexp.c \
+lib/libxml/xmlregexp_.h \
+lib/libxml/xmlsave.c \
+lib/libxml/xmlsave_.h \
+lib/libxml/xmlschemas.c \
+lib/libxml/xmlschemas_.h \
+lib/libxml/xmlschemastypes.c \
+lib/libxml/xmlschemastypes_.h \
+lib/libxml/xmlstring.c \
+lib/libxml/xmlstring_.h \
+lib/libxml/xmlunicode.c \
+lib/libxml/xmlunicode_.h \
+lib/libxml/xmlversion_.h \
+lib/libxml/xmlwriter.c \
+lib/libxml/xmlwriter_.h \
+lib/libxml/xpath.c \
+lib/libxml/xpath_.h \
+lib/libxml/xpathInternals_.h \
+lib/libxml/xpointer.c \
+lib/libxml/xpointer_.h \
lib/linebreak.c.diff \
lib/memory-ostream.oo.c \
lib/memory-ostream.oo.h \
@@ -90,6 +183,7 @@ m4/ChangeLog.1 \
m4/exitfail.m4.diff \
m4/gcj.m4 \
m4/hard-locale.m4.diff \
+m4/libxml.m4 \
m4/java.m4 \
m4/quotearg.m4.diff \
m4/quote.m4.diff \
@@ -118,6 +212,7 @@ modules/html-ostream \
modules/iconv-ostream \
modules/java \
modules/javacomp.diff \
+modules/libxml \
modules/memory-ostream \
modules/moo \
modules/ostream \
diff --git a/gnulib-local/m4/libxml.m4 b/gnulib-local/m4/libxml.m4
new file mode 100644
index 0000000..e8084fa
--- /dev/null
+++ b/gnulib-local/m4/libxml.m4
@@ -0,0 +1,196 @@
+# libxml.m4 serial 1 (gettext-0.16.1)
+dnl Copyright (C) 2006 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+
+AC_DEFUN([gl_LIBXML],
+[
+ AC_REQUIRE([AM_ICONV_LINK])
+
+ AC_MSG_CHECKING([whether included libxml is requested])
+ AC_ARG_WITH([included-libxml],
+ [ --with-included-libxml use the libxml2 included here],
+ [gl_cv_libxml_force_included=$withval],
+ [gl_cv_libxml_force_included=no])
+ AC_MSG_RESULT([$gl_cv_libxml_force_included])
+
+ gl_cv_libxml_use_included="$gl_cv_libxml_force_included"
+ LIBXML=
+ LTLIBXML=
+ INCXML=
+ if test "$gl_cv_libxml_use_included" != yes; then
+ dnl Figure out whether we can use a preinstalled libxml2, or have to use
+ dnl the included one.
+ AC_CACHE_VAL([gl_cv_libxml], [
+ gl_cv_libxml=no
+ gl_cv_LIBXML=
+ gl_cv_LTLIBXML=
+ gl_cv_INCXML=
+ gl_save_LIBS="$LIBS"
+ LIBS="$LIBS $LIBICONV"
+ dnl Search for libxml2 and define LIBXML2, LTLIBXML2 and INCXML2
+ dnl accordingly.
+ dnl Don't use xml2-config nor pkg-config, since it doesn't work when
+ dnl cross-compiling or when the C compiler in use is different from the
+ dnl one that built the library.
+ AC_LIB_LINKFLAGS_BODY([xml2])
+ LIBS="$gl_save_LIBS $LIBXML2 $LIBICONV"
+ AC_TRY_LINK([#include <libxml/xmlversion.h>],
+ [xmlCheckVersion (0);],
+ [gl_cv_libxml=yes
+ gl_cv_LIBXML="$LIBXML2 $LIBICONV"
+ gl_cv_LTLIBXML="$LTLIBXML2 $LTLIBICONV"
+ ])
+ if test "$gl_cv_libxml" != yes; then
+ gl_save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS $INCXML2"
+ AC_TRY_LINK([#include <libxml/xmlversion.h>],
+ [xmlCheckVersion (0);],
+ [gl_cv_libxml=yes
+ gl_cv_LIBXML="$LIBXML2 $LIBICONV"
+ gl_cv_LTLIBXML="$LTLIBXML2 $LTLIBICONV"
+ gl_cv_INCXML="$INCXML2"
+ ])
+ if test "$gl_cv_libxml" != yes; then
+ dnl Often the include files are installed in /usr/include/libxml2.
+ AC_TRY_LINK([#include <libxml2/libxml/xmlversion.h>],
+ [xmlCheckVersion (0);],
+ [gl_ABSOLUTE_HEADER([libxml2/libxml/xmlversion.h])
+ libxml2_include_dir=`echo "$gl_cv_absolute_libxml2_libxml_xmlversion_h" | sed -e 's,.libxml.xmlversion\.h$,,'`
+ if test -d "$libxml2_include_dir"; then
+ gl_cv_libxml=yes
+ gl_cv_LIBXML="$LIBXML2 $LIBICONV"
+ gl_cv_LTLIBXML="$LTLIBXML2 $LTLIBICONV"
+ gl_cv_INCXML="-I$libxml2_include_dir"
+ fi
+ ])
+ fi
+ CPPFLAGS="$gl_save_CPPFLAGS"
+ fi
+ LIBS="$gl_save_LIBS"
+ ])
+ AC_MSG_CHECKING([for libxml])
+ AC_MSG_RESULT([gl_cv_libxml])
+ if test $gl_cv_libxml = yes; then
+ LIBXML="$gl_cv_LIBXML"
+ LTLIBXML="$gl_cv_LTLIBXML"
+ INCXML="$gl_cv_INCXML"
+ else
+ gl_cv_libxml_use_included=yes
+ fi
+ fi
+ AC_SUBST([LIBXML])
+ AC_SUBST([LTLIBXML])
+ AC_SUBST([INCXML])
+ AC_MSG_CHECKING([whether to use the included libxml])
+ AC_MSG_RESULT([$gl_cv_libxml_use_included])
+
+ if test "$gl_cv_libxml_use_included" = yes; then
+ LIBXML_H=
+ LIBXML_H="$LIBXML_H libxml/DOCBparser.h"
+ LIBXML_H="$LIBXML_H libxml/HTMLparser.h"
+ LIBXML_H="$LIBXML_H libxml/HTMLtree.h"
+ LIBXML_H="$LIBXML_H libxml/SAX2.h"
+ LIBXML_H="$LIBXML_H libxml/SAX.h"
+ LIBXML_H="$LIBXML_H libxml/c14n.h"
+ LIBXML_H="$LIBXML_H libxml/catalog.h"
+ LIBXML_H="$LIBXML_H libxml/chvalid.h"
+ LIBXML_H="$LIBXML_H libxml/debugXML.h"
+ LIBXML_H="$LIBXML_H libxml/dict.h"
+ LIBXML_H="$LIBXML_H libxml/encoding.h"
+ LIBXML_H="$LIBXML_H libxml/entities.h"
+ LIBXML_H="$LIBXML_H libxml/globals.h"
+ LIBXML_H="$LIBXML_H libxml/hash.h"
+ LIBXML_H="$LIBXML_H libxml/list.h"
+ LIBXML_H="$LIBXML_H libxml/nanoftp.h"
+ LIBXML_H="$LIBXML_H libxml/nanohttp.h"
+ LIBXML_H="$LIBXML_H libxml/parser.h"
+ LIBXML_H="$LIBXML_H libxml/parserInternals.h"
+ LIBXML_H="$LIBXML_H libxml/pattern.h"
+ LIBXML_H="$LIBXML_H libxml/relaxng.h"
+ LIBXML_H="$LIBXML_H libxml/schemasInternals.h"
+ LIBXML_H="$LIBXML_H libxml/schematron.h"
+ LIBXML_H="$LIBXML_H libxml/threads.h"
+ LIBXML_H="$LIBXML_H libxml/tree.h"
+ LIBXML_H="$LIBXML_H libxml/uri.h"
+ LIBXML_H="$LIBXML_H libxml/valid.h"
+ LIBXML_H="$LIBXML_H libxml/xinclude.h"
+ LIBXML_H="$LIBXML_H libxml/xlink.h"
+ LIBXML_H="$LIBXML_H libxml/xmlIO.h"
+ LIBXML_H="$LIBXML_H libxml/xmlautomata.h"
+ LIBXML_H="$LIBXML_H libxml/xmlerror.h"
+ LIBXML_H="$LIBXML_H libxml/xmlexports.h"
+ LIBXML_H="$LIBXML_H libxml/xmlmemory.h"
+ LIBXML_H="$LIBXML_H libxml/xmlmodule.h"
+ LIBXML_H="$LIBXML_H libxml/xmlreader.h"
+ LIBXML_H="$LIBXML_H libxml/xmlregexp.h"
+ LIBXML_H="$LIBXML_H libxml/xmlsave.h"
+ LIBXML_H="$LIBXML_H libxml/xmlschemas.h"
+ LIBXML_H="$LIBXML_H libxml/xmlschemastypes.h"
+ LIBXML_H="$LIBXML_H libxml/xmlstring.h"
+ LIBXML_H="$LIBXML_H libxml/xmlunicode.h"
+ LIBXML_H="$LIBXML_H libxml/xmlversion.h"
+ LIBXML_H="$LIBXML_H libxml/xmlwriter.h"
+ LIBXML_H="$LIBXML_H libxml/xpath.h"
+ LIBXML_H="$LIBXML_H libxml/xpathInternals.h"
+ LIBXML_H="$LIBXML_H libxml/xpointer.h"
+ AC_LIBOBJ([libxml/DOCBparser])
+ AC_LIBOBJ([libxml/HTMLparser])
+ AC_LIBOBJ([libxml/HTMLtree])
+ AC_LIBOBJ([libxml/SAX])
+ AC_LIBOBJ([libxml/SAX2])
+ AC_LIBOBJ([libxml/c14n])
+ AC_LIBOBJ([libxml/catalog])
+ AC_LIBOBJ([libxml/chvalid])
+ AC_LIBOBJ([libxml/debugXML])
+ AC_LIBOBJ([libxml/dict])
+ AC_LIBOBJ([libxml/encoding])
+ AC_LIBOBJ([libxml/entities])
+ AC_LIBOBJ([libxml/error])
+ AC_LIBOBJ([libxml/globals])
+ AC_LIBOBJ([libxml/hash])
+ AC_LIBOBJ([libxml/legacy])
+ AC_LIBOBJ([libxml/list])
+ AC_LIBOBJ([libxml/nanoftp])
+ AC_LIBOBJ([libxml/nanohttp])
+ AC_LIBOBJ([libxml/parser])
+ AC_LIBOBJ([libxml/parserInternals])
+ AC_LIBOBJ([libxml/pattern])
+ AC_LIBOBJ([libxml/relaxng])
+ AC_LIBOBJ([libxml/schematron])
+ AC_LIBOBJ([libxml/threads])
+ AC_LIBOBJ([libxml/tree])
+ AC_LIBOBJ([libxml/uri])
+ AC_LIBOBJ([libxml/valid])
+ AC_LIBOBJ([libxml/xinclude])
+ AC_LIBOBJ([libxml/xlink])
+ AC_LIBOBJ([libxml/xmlIO])
+ AC_LIBOBJ([libxml/xmlmemory])
+ AC_LIBOBJ([libxml/xmlmodule])
+ AC_LIBOBJ([libxml/xmlreader])
+ AC_LIBOBJ([libxml/xmlregexp])
+ AC_LIBOBJ([libxml/xmlsave])
+ AC_LIBOBJ([libxml/xmlschemas])
+ AC_LIBOBJ([libxml/xmlschemastypes])
+ AC_LIBOBJ([libxml/xmlstring])
+ AC_LIBOBJ([libxml/xmlunicode])
+ AC_LIBOBJ([libxml/xmlwriter])
+ AC_LIBOBJ([libxml/xpath])
+ AC_LIBOBJ([libxml/xpointer])
+ AC_CHECK_HEADERS([arpa/inet.h arpa/nameser.h ctype.h dlfcn.h dl.h errno.h \
+ fcntl.h float.h limits.h malloc.h math.h netdb.h \
+ netinet/in.h resolv.h signal.h stdlib.h string.h \
+ strings.h sys/select.h sys/socket.h sys/stat.h \
+ sys/time.h sys/types.h time.h unistd.h])
+ AC_CHECK_FUNCS([dlopen getaddrinfo localtime shlload stat _stat strftime \
+ va_copy __va_copy])
+ dnl Don't bother checking for pthread.h and other multithread facilities.
+ dnl Don't bother checking for zlib.h and how to link with libz.
+ else
+ LIBXML_H=
+ fi
+ AC_SUBST([LIBXML_H])
+])
diff --git a/gnulib-local/modules/libxml b/gnulib-local/modules/libxml
new file mode 100644
index 0000000..8934bec
--- /dev/null
+++ b/gnulib-local/modules/libxml
@@ -0,0 +1,500 @@
+Description:
+Substitute for libxml2 version 2.6.27.
+
+Files:
+lib/libxml/COPYING
+lib/libxml/DOCBparser.c
+lib/libxml/DOCBparser_.h
+lib/libxml/HTMLparser.c
+lib/libxml/HTMLparser_.h
+lib/libxml/HTMLtree.c
+lib/libxml/HTMLtree_.h
+lib/libxml/SAX.c
+lib/libxml/SAX2.c
+lib/libxml/SAX2_.h
+lib/libxml/SAX_.h
+lib/libxml/c14n.c
+lib/libxml/c14n_.h
+lib/libxml/catalog.c
+lib/libxml/catalog_.h
+lib/libxml/chvalid.c
+lib/libxml/chvalid_.h
+lib/libxml/debugXML.c
+lib/libxml/debugXML_.h
+lib/libxml/dict.c
+lib/libxml/dict_.h
+lib/libxml/elfgcchack.h
+lib/libxml/encoding.c
+lib/libxml/encoding_.h
+lib/libxml/entities.c
+lib/libxml/entities_.h
+lib/libxml/error.c
+lib/libxml/globals.c
+lib/libxml/globals_.h
+lib/libxml/hash.c
+lib/libxml/hash_.h
+lib/libxml/legacy.c
+lib/libxml/libxml.h
+lib/libxml/list.c
+lib/libxml/list_.h
+lib/libxml/nanoftp.c
+lib/libxml/nanoftp_.h
+lib/libxml/nanohttp.c
+lib/libxml/nanohttp_.h
+lib/libxml/parser.c
+lib/libxml/parser_.h
+lib/libxml/parserInternals.c
+lib/libxml/parserInternals_.h
+lib/libxml/pattern.c
+lib/libxml/pattern_.h
+lib/libxml/relaxng.c
+lib/libxml/relaxng_.h
+lib/libxml/schemasInternals_.h
+lib/libxml/schematron.c
+lib/libxml/schematron_.h
+lib/libxml/threads.c
+lib/libxml/threads_.h
+lib/libxml/tree.c
+lib/libxml/tree_.h
+lib/libxml/uri.c
+lib/libxml/uri_.h
+lib/libxml/valid.c
+lib/libxml/valid_.h
+lib/libxml/xinclude.c
+lib/libxml/xinclude_.h
+lib/libxml/xlink.c
+lib/libxml/xlink_.h
+lib/libxml/xmlIO.c
+lib/libxml/xmlIO_.h
+lib/libxml/xmlautomata_.h
+lib/libxml/xmlerror_.h
+lib/libxml/xmlexports_.h
+lib/libxml/xmlmemory.c
+lib/libxml/xmlmemory_.h
+lib/libxml/xmlmodule.c
+lib/libxml/xmlmodule_.h
+lib/libxml/xmlreader.c
+lib/libxml/xmlreader_.h
+lib/libxml/xmlregexp.c
+lib/libxml/xmlregexp_.h
+lib/libxml/xmlsave.c
+lib/libxml/xmlsave_.h
+lib/libxml/xmlschemas.c
+lib/libxml/xmlschemas_.h
+lib/libxml/xmlschemastypes.c
+lib/libxml/xmlschemastypes_.h
+lib/libxml/xmlstring.c
+lib/libxml/xmlstring_.h
+lib/libxml/xmlunicode.c
+lib/libxml/xmlunicode_.h
+lib/libxml/xmlversion_.h
+lib/libxml/xmlwriter.c
+lib/libxml/xmlwriter_.h
+lib/libxml/xpath.c
+lib/libxml/xpath_.h
+lib/libxml/xpathInternals_.h
+lib/libxml/xpointer.c
+lib/libxml/xpointer_.h
+m4/libxml.m4
+m4/absolute-header.m4
+
+Depends-on:
+iconv
+
+configure.ac:
+gl_LIBXML
+
+Makefile.am:
+BUILT_SOURCES += $(LIBXML_H)
+
+libxml/DOCBparser.h: libxml/DOCBparser_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/DOCBparser_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/HTMLparser.h: libxml/HTMLparser_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/HTMLparser_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/HTMLtree.h: libxml/HTMLtree_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/HTMLtree_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/SAX.h: libxml/SAX_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/SAX_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/SAX2.h: libxml/SAX2_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/SAX2_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/c14n.h: libxml/c14n_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/c14n_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/catalog.h: libxml/catalog_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/catalog_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/chvalid.h: libxml/chvalid_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/chvalid_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/debugXML.h: libxml/debugXML_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/debugXML_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/dict.h: libxml/dict_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/dict_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/encoding.h: libxml/encoding_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/encoding_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/entities.h: libxml/entities_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/entities_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/globals.h: libxml/globals_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/globals_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/hash.h: libxml/hash_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/hash_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/list.h: libxml/list_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/list_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/nanoftp.h: libxml/nanoftp_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/nanoftp_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/nanohttp.h: libxml/nanohttp_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/nanohttp_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/parser.h: libxml/parser_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/parser_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/parserInternals.h: libxml/parserInternals_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/parserInternals_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/pattern.h: libxml/pattern_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/pattern_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/relaxng.h: libxml/relaxng_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/relaxng_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/schemasInternals.h: libxml/schemasInternals_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/schemasInternals_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/schematron.h: libxml/schematron_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/schematron_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/threads.h: libxml/threads_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/threads_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/tree.h: libxml/tree_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/tree_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/uri.h: libxml/uri_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/uri_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/valid.h: libxml/valid_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/valid_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xinclude.h: libxml/xinclude_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xinclude_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xlink.h: libxml/xlink_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xlink_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xmlIO.h: libxml/xmlIO_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xmlIO_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xmlautomata.h: libxml/xmlautomata_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xmlautomata_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xmlerror.h: libxml/xmlerror_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xmlerror_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xmlexports.h: libxml/xmlexports_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xmlexports_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xmlmemory.h: libxml/xmlmemory_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xmlmemory_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xmlmodule.h: libxml/xmlmodule_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xmlmodule_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xmlreader.h: libxml/xmlreader_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xmlreader_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xmlregexp.h: libxml/xmlregexp_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xmlregexp_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xmlsave.h: libxml/xmlsave_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xmlsave_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xmlschemas.h: libxml/xmlschemas_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xmlschemas_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xmlschemastypes.h: libxml/xmlschemastypes_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xmlschemastypes_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xmlstring.h: libxml/xmlstring_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xmlstring_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xmlunicode.h: libxml/xmlunicode_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xmlunicode_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xmlversion.h: libxml/xmlversion_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xmlversion_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xmlwriter.h: libxml/xmlwriter_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xmlwriter_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xpath.h: libxml/xpath_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xpath_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xpathInternals.h: libxml/xpathInternals_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xpathInternals_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+libxml/xpointer.h: libxml/xpointer_.h
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/libxml/xpointer_.h; \
+ } > $@-t
+ mv -f $@-t $@
+
+MOSTLYCLEANFILES += \
+ libxml/DOCBparser.h \
+ libxml/HTMLparser.h \
+ libxml/HTMLtree.h \
+ libxml/SAX.h \
+ libxml/SAX2.h \
+ libxml/c14n.h \
+ libxml/catalog.h \
+ libxml/chvalid.h \
+ libxml/debugXML.h \
+ libxml/dict.h \
+ libxml/encoding.h \
+ libxml/entities.h \
+ libxml/globals.h \
+ libxml/hash.h \
+ libxml/list.h \
+ libxml/nanoftp.h \
+ libxml/nanohttp.h \
+ libxml/parser.h \
+ libxml/parserInternals.h \
+ libxml/pattern.h \
+ libxml/relaxng.h \
+ libxml/schemasInternals.h \
+ libxml/schematron.h \
+ libxml/threads.h \
+ libxml/tree.h \
+ libxml/uri.h \
+ libxml/valid.h \
+ libxml/xinclude.h \
+ libxml/xlink.h \
+ libxml/xmlIO.h \
+ libxml/xmlautomata.h \
+ libxml/xmlerror.h \
+ libxml/xmlexports.h \
+ libxml/xmlmemory.h \
+ libxml/xmlmodule.h \
+ libxml/xmlreader.h \
+ libxml/xmlregexp.h \
+ libxml/xmlsave.h \
+ libxml/xmlschemas.h \
+ libxml/xmlschemastypes.h \
+ libxml/xmlstring.h \
+ libxml/xmlunicode.h \
+ libxml/xmlversion.h \
+ libxml/xmlwriter.h \
+ libxml/xpath.h \
+ libxml/xpathInternals.h \
+ libxml/xpointer.h
+MOSTLYCLEANFILES += libxml/*.h-t libxml/*.$(OBJEXT) libxml/*.lo
+
+clean: clean-libxml
+clean-libxml:
+ rm -rf libxml/.libs libxml/_libs
+
+Include:
+#include <libxml/DOCBparser.h>
+#include <libxml/HTMLparser.h>
+#include <libxml/HTMLtree.h>
+#include <libxml/SAX.h>
+#include <libxml/SAX2.h>
+#include <libxml/c14n.h>
+#include <libxml/catalog.h>
+#include <libxml/chvalid.h>
+#include <libxml/debugXML.h>
+#include <libxml/dict.h>
+#include <libxml/encoding.h>
+#include <libxml/entities.h>
+#include <libxml/globals.h>
+#include <libxml/hash.h>
+#include <libxml/list.h>
+#include <libxml/nanoftp.h>
+#include <libxml/nanohttp.h>
+#include <libxml/parser.h>
+#include <libxml/parserInternals.h>
+#include <libxml/pattern.h>
+#include <libxml/relaxng.h>
+#include <libxml/schemasInternals.h>
+#include <libxml/schematron.h>
+#include <libxml/threads.h>
+#include <libxml/tree.h>
+#include <libxml/uri.h>
+#include <libxml/valid.h>
+#include <libxml/xinclude.h>
+#include <libxml/xlink.h>
+#include <libxml/xmlIO.h>
+#include <libxml/xmlautomata.h>
+#include <libxml/xmlerror.h>
+#include <libxml/xmlexports.h>
+#include <libxml/xmlmemory.h>
+#include <libxml/xmlmodule.h>
+#include <libxml/xmlreader.h>
+#include <libxml/xmlregexp.h>
+#include <libxml/xmlsave.h>
+#include <libxml/xmlschemas.h>
+#include <libxml/xmlschemastypes.h>
+#include <libxml/xmlstring.h>
+#include <libxml/xmlunicode.h>
+#include <libxml/xmlversion.h>
+#include <libxml/xmlwriter.h>
+#include <libxml/xpath.h>
+#include <libxml/xpathInternals.h>
+#include <libxml/xpointer.h>
+
+License:
+LGPL
+
+Maintainer:
+libxml2
+