mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03:00
applying patch from Peter Jacobi to added ISO-8859-x encoding support when
* encoding.c: applying patch from Peter Jacobi to added ISO-8859-x encoding support when iconv is not available * configure.in include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in: added the glue needed at the configure level and made it the default for Windows Daniel
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
Wed Jul 30 11:08:21 EDT 2003 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* encoding.c: applying patch from Peter Jacobi to added
|
||||||
|
ISO-8859-x encoding support when iconv is not available
|
||||||
|
* configure.in include/libxml/xmlversion.h.in
|
||||||
|
include/libxml/xmlwin32version.h.in: added the glue needed
|
||||||
|
at the configure level and made it the default for Windows
|
||||||
|
|
||||||
Tue Jul 29 16:43:48 EDT 2003 Daniel Veillard <daniel@veillard.com>
|
Tue Jul 29 16:43:48 EDT 2003 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* python/generator.py python/libxml.c python/libxml2class.txt:
|
* python/generator.py python/libxml.c python/libxml2class.txt:
|
||||||
|
11
configure.in
11
configure.in
@ -649,6 +649,17 @@ M_LIBS="-lm"
|
|||||||
XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
|
XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
|
||||||
AC_SUBST(WITH_ICONV)
|
AC_SUBST(WITH_ICONV)
|
||||||
|
|
||||||
|
WITH_ISO8859X=1
|
||||||
|
AC_ARG_WITH(iso8859x,
|
||||||
|
[ --with-iso8859x add ISO8859X support if no iconv (on)])
|
||||||
|
if test "$WITH_ICONV" != "1" ; then
|
||||||
|
if test "$with_iso8859x" = "no" ; then
|
||||||
|
echo Disabling ISO8859X support
|
||||||
|
WITH_ISO8859X=0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
AC_SUBST(WITH_ISO8859X)
|
||||||
|
|
||||||
AC_ARG_WITH(schemas,
|
AC_ARG_WITH(schemas,
|
||||||
[ --with-schemas add experimental Schemas/RelaxNG support (on)])
|
[ --with-schemas add experimental Schemas/RelaxNG support (on)])
|
||||||
if test "$with_schemas" = "no" ; then
|
if test "$with_schemas" = "no" ; then
|
||||||
|
1068
encoding.c
1068
encoding.c
File diff suppressed because it is too large
Load Diff
@ -171,6 +171,15 @@ extern void xmlCheckVersion(int version);
|
|||||||
#define LIBXML_ICONV_ENABLED
|
#define LIBXML_ICONV_ENABLED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* LIBXML_ISO8859X_ENABLED:
|
||||||
|
*
|
||||||
|
* Whether ISO-8859-* support is made available in case iconv is not
|
||||||
|
*/
|
||||||
|
#if @WITH_ISO8859X@
|
||||||
|
#define LIBXML_ISO8859X_ENABLED
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* LIBXML_DEBUG_ENABLED:
|
* LIBXML_DEBUG_ENABLED:
|
||||||
*
|
*
|
||||||
|
@ -166,6 +166,15 @@ extern void xmlCheckVersion(int version);
|
|||||||
#define LIBXML_ICONV_ENABLED
|
#define LIBXML_ICONV_ENABLED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* LIBXML_ISO8859X_ENABLED:
|
||||||
|
*
|
||||||
|
* Whether ISO-8859-* support is made available in case iconv is not
|
||||||
|
*/
|
||||||
|
#if 1
|
||||||
|
#define LIBXML_ISO8859X_ENABLED
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* LIBXML_DEBUG_ENABLED:
|
* LIBXML_DEBUG_ENABLED:
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user