Lines Matching +full:- +full:- +full:disable +full:- +full:dtd +full:- +full:validation

19 if test -f CVS/Entries ; then
20 extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
24 LIBXML_VERSION_EXTRA="-CVS$extra"
26 else if test -d .svn ; then
31 LIBXML_VERSION_EXTRA="-SVN$extra"
33 else if test -d .git ; then
34 extra=`git describe 2>/dev/null | sed 's+LIBXML[[0-9.]]*-++'`
38 LIBXML_VERSION_EXTRA="-GIT$extra"
55 # Support silent build rules, requires at least automake-1.11. Disable
56 # by either passing --disable-silent-rules to configure or passing V=1
83 VERSION_SCRIPT_FLAGS=-Wl,--version-script=
86 *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
90 AM_CONDITIONAL([USE_VERSION_SCRIPT], [test -n "$VERSION_SCRIPT_FLAGS"])
105 [ --with-c14n add the Canonicalization support (on)])
107 [ --with-catalog add the Catalog support (on)])
109 [ --with-debug add the debugging module (on)])
111 [ --with-docbook add Docbook SGML support (on)])
113 [ --with-fexceptions add GCC flag -fexceptions for C++ exceptions (off)])
115 [ --with-ftp add the FTP support (on)])
117 [ --with-history add history support to xmllint shell(off)])
119 [ --with-html add the HTML support (on)])
121 AC_ARG_WITH(html-dir, AS_HELP_STRING([--with-html-dir=path],
125 AC_ARG_WITH(html-subdir, AS_HELP_STRING([--with-html-subdir=path],
126 [directory used under html-dir, default $PACKAGE-$VERSION/html]),
128 [HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"])
131 [ --with-http add the HTTP support (on)])
133 [ --with-iconv[[=DIR]] add ICONV support (on)])
135 [ --with-icu add ICU support (off)])
137 [ --with-iso8859x add ISO8859X support if no iconv (on)])
139 [ --with-legacy add deprecated APIs for compatibility (on)])
141 [ --with-mem-debug add the memory debugging module (off)])
143 [ --with-minimum build a minimally sized library (off)])
145 [ --with-output add the serialization support (on)])
147 [ --with-pattern add the xmlPattern selection interface (on)])
149 [ --with-push add the PUSH parser interfaces (on)])
151 [ --with-python[[=DIR]] build Python bindings if found])
153 [ --with-python-install-dir=DIR
156 [ --with-reader add the xmlReader parsing interface (on)])
158 [ --with-readline=DIR use readline in DIR],[
159 if test "$withval" != "no" -a "$withval" != "yes"; then
161 CPPFLAGS="${CPPFLAGS} -I$withval/include"
162 LDFLAGS="${LDFLAGS} -L$withval/lib"
166 [ --with-regexps add Regular Expressions support (on)])
168 [ --with-run-debug add the runtime debugging module (off)])
170 [ --with-sax1 add the older SAX1 interface (on)])
172 [ --with-schemas add Relax-NG and Schemas support (on)])
174 [ --with-schematron add Schematron support (on)])
176 [ --with-threads add multithread support(on)])
177 AC_ARG_WITH(thread-alloc,
178 [ --with-thread-alloc add per-thread memory(off)])
180 [ --with-tree add the DOM like tree manipulation APIs (on)])
182 [ --with-valid add the DTD validation support (on)])
184 [ --with-writer add the xmlWriter saving interface (on)])
186 [ --with-xinclude add the XInclude support (on)])
188 [ --with-xpath add the XPATH support (on)])
190 [ --with-xptr add the XPointer support (on)])
192 [ --with-modules add the dynamic modules support (on)])
194 [ --with-zlib[[=DIR]] use libz in DIR],[
195 if test "$withval" != "no" -a "$withval" != "yes"; then
197 CPPFLAGS="${CPPFLAGS} -I$withval/include"
198 LDFLAGS="${LDFLAGS} -L$withval/lib"
202 [ --with-lzma[[=DIR]] use liblzma in DIR],[
203 if test "$withval" != "no" -a "$withval" != "yes"; then
205 CPPFLAGS="${CPPFLAGS} -I$withval/include"
206 LDFLAGS="${LDFLAGS} -L$withval/lib"
210 [ --with-coverage build for code coverage with GCC (off)])
212 AC_ARG_ENABLE(rebuild-docs,
213 [ --enable-rebuild-docs[[=yes/no]] rebuild some generated docs [[default=no]]])
214 if test "$enable_rebuild_docs" = "yes" -a "$srcdir" != "."; then
217 AM_CONDITIONAL([REBUILD_DOCS], [test "$enable_rebuild_docs" = "yes" -o "$USER" = "veillard"])
394 # Don't run pkg-config if with_zlib contains a path.
396 # Try pkg-config first so that static linking works.
407 Z_CFLAGS="-I${Z_DIR}/include"
408 Z_LIBS="-L${Z_DIR}/lib -lz"
410 *-*-solaris*)
411 Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
415 Z_LIBS="-lz"
433 # Don't run pkg-config if with_lzma contains a path.
435 # Try pkg-config first so that static linking works.
441 # If pkg-config failed, fall back to AC_CHECK_LIB. This
449 LZMA_CFLAGS="-I${LZMA_DIR}/include"
450 LZMA_LIBS="-L${LZMA_DIR}/lib -llzma"
452 LZMA_LIBS="-llzma"
647 AC_ARG_ENABLE(ipv6, [ --enable-ipv6[[=yes/no]] enables compilation of IPv6 code [[default=yes]]],…
716 AC_CHECK_LIB($lib, getaddrinfo, [LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break])
735 XML_LIBDIR='-L${libdir}'
736 XML_INCLUDEDIR='-I${includedir}/libxml2'
751 hppa*-*-hpux* )
752 EXTRA_CFLAGS="${EXTRA_CFLAGS} -Wp,-H30000"
754 *-dec-osf* )
755 EXTRA_CFLAGS="${EXTRA_CFLAGS} -ieee"
757 alpha*-*-linux* )
758 EXTRA_CFLAGS="${EXTRA_CFLAGS} -ieee"
768 EXTRA_CFLAGS="${EXTRA_CFLAGS} -fexceptions"
772-pedantic -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -
774 EXTRA_CFLAGS="${EXTRA_CFLAGS} -Wno-long-long -Wno-format-extra-args -Wno-array-bounds"
776 alpha*-*-linux* )
777 EXTRA_CFLAGS="${EXTRA_CFLAGS} -mieee"
779 alpha*-*-osf* )
780 EXTRA_CFLAGS="${EXTRA_CFLAGS} -mieee"
785 *-*-solaris*)
786 XML_LIBDIR="${XML_LIBDIR} -R${libdir}"
788 hppa*-hp-mpeix)
791 *-*-mingw* | *-*-cygwin* | *-*-msvc* )
793 # need to add -DLIBXML_STATIC to EXTRA_CFLAGS in order for linking to
798 XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC"
799 EXTRA_CFLAGS="$EXTRA_CFLAGS -DLIBXML_STATIC"
815 if test -x "$with_python/bin/python"
820 if test -x "$with_python/python.exe"
825 if test -x "$with_python"
830 if test -x "$PYTHON"
833 with_python=`$PYTHON -c "import sys; print(sys.exec_prefix)"`
842 …PYTHON_VERSION=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_version())…
843 PYTHON_INCLUDES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_inc())"`
846 # PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib…
849 if test "$PYTHON_VERSION" != "" -a "$PYTHON_INCLUDES" = ""
851 if test -r $with_python/include/python$PYTHON_VERSION/Python.h
855 if test -r $prefix/include/python$PYTHON_VERSION/Python.h
859 if test -r /usr/include/python$PYTHON_VERSION/Python.h
863 if test -r $with_python/include/Python.h
877 if test "$PYTHON_VERSION" != "" -a "$PYTHON_SITE_PACKAGES" = ""
879 if test -d $libdir/python$PYTHON_VERSION/site-packages
881 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
883 if test -d $with_python/lib/site-packages
885 PYTHON_SITE_PACKAGES=$with_python/lib/site-packages
887 …PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib(…
892 PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`
913 *-*-cygwin*)
921 *-*-mingw*)
928 MODULE_PLATFORM_LIBS="-ldld"
932 MODULE_PLATFORM_LIBS="-ldl"
943 *-*-hpux* )
973 dnl (-Wunreachable-code)
975 if [[ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ]] || \
976 [[ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ]] || \
977 [[ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ]]
991-g -O -pedantic -W -Wformat -Wno-format-extra-args -Wunused -Wimplicit -Wreturn-type -Wswitch -Wco…
993 STATIC_BINARIES="-static"
994 dnl -Wcast-qual -ansi
1014 dnl Allow to enable/disable various pieces
1019 dnl Thread-related stuff
1039 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
1045 if test -z "$THREADS_W32"; then
1049 THREAD_LIBS="-lpthread"
1050 AC_DEFINE([HAVE_LIBPTHREAD], [], [Define if pthread library is there (-lpthread)])
1060 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS"
1064 GCC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
1066 GCC_MEDIUM=`echo ${GCC_VERSION} | sed 's+[[0-9]]*\.++' | sed 's+\..*++'`
1067 if test "${THREAD_LIBS}" = "-lpthread" ; then
1071 BASE_THREAD_LIBS="-lpthread"
1076 BASE_THREAD_LIBS="-lpthread"
1086 THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
1090 if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
1100 AM_CONDITIONAL([THREADS_W32],[test -n "$THREADS_W32"])
1111 AC_CHECK_LIB(${termlib}, tputs, [tcap="-l$termlib"])
1112 test -n "$tcap" && break
1117 RDL_LIBS="-lhistory"
1118 AC_DEFINE([HAVE_LIBHISTORY], [], [Define if history library is there (-lhistory)])]))
1121 RDL_LIBS="-lreadline $RDL_LIBS $tcap"
1122 … AC_DEFINE([HAVE_LIBREADLINE], [], [Define if readline library is there (-lreadline)])], , $tcap))
1123 if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then
1124 CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include"
1125 RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS"
1178 echo xmlReader requires Push interface - enabling it
1193 echo xmlWriter requires Push interface - enabling it
1197 echo xmlWriter requires Output interface - enabling it
1259 echo Disabling DTD validation support
1308 echo XPointer requires XPath support - enabling it
1326 echo C14N requires XPath support - enabling it
1345 echo XInclude requires XPath support - enabling it
1353 if test "$with_xptr" = "" -a "$with_xpath" = "no" ; then
1357 if test "$with_schematron" = "" -a "$with_xpath" = "no" ; then
1405 if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
1406 CPPFLAGS="${CPPFLAGS} -I$with_iconv/include"
1408 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include"
1409 ICONV_LIBS="-L$with_iconv/lib"
1421 AC_MSG_CHECKING(for iconv in -liconv)
1426 LIBS="${LIBS} -liconv"
1434 ICONV_LIBS="${ICONV_LIBS} -liconv"
1458 AC_MSG_RESULT([${xml_xxx:-
1471 *) M_LIBS="-lm"
1481 # Try pkg-config first so that static linking works.
1483 PKG_CHECK_MODULES([ICU],[icu-i18n],
1487 # If pkg-config failed, fall back to AC_CHECK_LIB. This
1491 ICU_CONFIG=icu-config
1492 if ${ICU_CONFIG} --cflags >/dev/null 2>&1
1494 ICU_LIBS=`${ICU_CONFIG} --ldflags`
1498 if test "$with_icu" != "yes" -a "$with_iconv" != "" ; then
1499 CPPFLAGS="${CPPFLAGS} -I$with_icu"
1501 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_icu"
1507 UConverter *utf = ucnv_open("UTF-8", NULL);],[
1511 AC_MSG_CHECKING(for icu in -licucore)
1516 LIBS="${LIBS} -licucore"
1519 UConverter *utf = ucnv_open("UTF-8", NULL);],[
1522 ICU_LIBS="${ICU_LIBS} -licucore"
1536 XML_LIBS="-lxml2 $Z_LIBS $LZMA_LIBS $THREAD_LIBS $ICONV_LIBS $ICU_LIBS $M_LIBS $LIBS"
1550 echo "Disabling Schemas/Relax-NG support"
1554 echo "Enabled Schemas/Relax-NG support"
1592 echo Disabling memory debug - cannot use mem-debug with thread-alloc!
1617 *-*-mingw*)
1618 CPPFLAGS="$CPPFLAGS -DWIN32"
1619 WIN32_EXTRA_LIBADD="-lws2_32"
1620 WIN32_EXTRA_LDFLAGS="-no-undefined"
1623 WIN32_EXTRA_PYTHON_LIBADD="-L${pythondir}/../../libs -lpython$(echo ${PYTHON_VERSION} | tr -d .)"
1626 *-*-cygwin*)
1627 CYGWIN_EXTRA_LDFLAGS="-no-undefined"
1630 CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
1644 dnl If you like to activate at run-time C99 compatible number output
1651 dnl AC_DEFINE([snprintf],[_snprintf],[Win32 Std C name mangling work-around])
1652 dnl AC_DEFINE([vsnprintf],[_vsnprintf],[Win32 Std C name mangling work-around])
1653 dnl and do not redefine those functions is C-source files.
1658 if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
1661 EXTRA_CFLAGS="$EXTRA_CFLAGS -fprofile-arcs -ftest-coverage"
1662 LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
1694 rm -f COPYING.LIB COPYING
1695 ln -s $srcdir/Copyright COPYING
1698 …kefile xstc/Makefile include/libxml/xmlversion.h libxml-2.0.pc libxml-2.0-uninstalled.pc libxml2-c…
1700 AC_CONFIG_FILES([xml2-config], [chmod +x xml2-config])