|
@@ -311,7 +311,7 @@ ac_includes_default="\
|
|
|
# include <unistd.h>
|
|
|
#endif"
|
|
|
|
|
|
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CPPUNIT_CONFIG CPPUNIT_CFLAGS CPPUNIT_LIBS localedir CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB YACC LIBGNUTLS_CONFIG LIBGNUTLS_CFLAGS LIBGNUTLS_LIBS LIBGCRYPT_CONFIG LIBGCRYPT_CFLAGS LIBGCRYPT_LIBS OPENSSL_LIBS OPENSSL_CFLAGS ALLOCA CPP EGREP MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os GLIBC21 LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LIBOBJS LTLIBOBJS'
|
|
|
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CPPUNIT_CONFIG CPPUNIT_CFLAGS CPPUNIT_LIBS localedir CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB YACC XML2_CONFIG XML_CPPFLAGS XML_LIBS LIBGNUTLS_CONFIG LIBGNUTLS_CFLAGS LIBGNUTLS_LIBS LIBGCRYPT_CONFIG LIBGCRYPT_CFLAGS LIBGCRYPT_LIBS OPENSSL_LIBS OPENSSL_CFLAGS ALLOCA CPP EGREP MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os GLIBC21 LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LIBOBJS LTLIBOBJS'
|
|
|
ac_subst_files=''
|
|
|
|
|
|
# Initialize some variables set by options.
|
|
@@ -863,6 +863,7 @@ Optional Features:
|
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|
|
--disable-dependency-tracking speeds up one-time build
|
|
|
--enable-dependency-tracking do not reject slow dependency extractors
|
|
|
+ --disable-xmltest Do not try to compile and run a test LIBXML program
|
|
|
--disable-nls do not use Native Language Support
|
|
|
--disable-rpath do not hardcode runtime library paths
|
|
|
|
|
@@ -873,6 +874,9 @@ Optional Packages:
|
|
|
--with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
|
|
|
--with-gnutls use gnutls library if installed. Default: yes
|
|
|
--with-openssl use openssl library if installed. Default: yes
|
|
|
+ --with-libxml2 use libxml2 library if installed. Default: yes
|
|
|
+ --with-xml-prefix=PFX Prefix where libxml is installed (optional)
|
|
|
+ --with-xml-exec-prefix=PFX Exec prefix where libxml is installed (optional)
|
|
|
--with-libgnutls-prefix=PFX Prefix where libgnutls is installed (optional)
|
|
|
--with-libgcrypt-prefix=PFX
|
|
|
prefix where LIBGCRYPT is installed (optional)
|
|
@@ -1934,6 +1938,14 @@ else
|
|
|
with_openssl=yes
|
|
|
fi;
|
|
|
|
|
|
+# Check whether --with-libxml2 or --without-libxml2 was given.
|
|
|
+if test "${with_libxml2+set}" = set; then
|
|
|
+ withval="$with_libxml2"
|
|
|
+ with_libxml2=$enableval
|
|
|
+else
|
|
|
+ with_libxml2=yes
|
|
|
+fi;
|
|
|
+
|
|
|
|
|
|
# Checks for programs.
|
|
|
ac_ext=cc
|
|
@@ -3696,8 +3708,321 @@ test -n "$YACC" || YACC="yacc"
|
|
|
|
|
|
|
|
|
# Checks for libraries.
|
|
|
-if test "x$with_gnutls" = "xyes"; then
|
|
|
+if test "x$with_libxml2" = "xyes"; then
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+# Check whether --with-xml-prefix or --without-xml-prefix was given.
|
|
|
+if test "${with_xml_prefix+set}" = set; then
|
|
|
+ withval="$with_xml_prefix"
|
|
|
+ xml_config_prefix="$withval"
|
|
|
+else
|
|
|
+ xml_config_prefix=""
|
|
|
+fi;
|
|
|
+
|
|
|
+# Check whether --with-xml-exec-prefix or --without-xml-exec-prefix was given.
|
|
|
+if test "${with_xml_exec_prefix+set}" = set; then
|
|
|
+ withval="$with_xml_exec_prefix"
|
|
|
+ xml_config_exec_prefix="$withval"
|
|
|
+else
|
|
|
+ xml_config_exec_prefix=""
|
|
|
+fi;
|
|
|
+# Check whether --enable-xmltest or --disable-xmltest was given.
|
|
|
+if test "${enable_xmltest+set}" = set; then
|
|
|
+ enableval="$enable_xmltest"
|
|
|
+
|
|
|
+else
|
|
|
+ enable_xmltest=yes
|
|
|
+fi;
|
|
|
+
|
|
|
+ if test x$xml_config_exec_prefix != x ; then
|
|
|
+ xml_config_args="$xml_config_args"
|
|
|
+ if test x${XML2_CONFIG+set} != xset ; then
|
|
|
+ XML2_CONFIG=$xml_config_exec_prefix/bin/xml2-config
|
|
|
+ fi
|
|
|
+ fi
|
|
|
+ if test x$xml_config_prefix != x ; then
|
|
|
+ xml_config_args="$xml_config_args --prefix=$xml_config_prefix"
|
|
|
+ if test x${XML2_CONFIG+set} != xset ; then
|
|
|
+ XML2_CONFIG=$xml_config_prefix/bin/xml2-config
|
|
|
+ fi
|
|
|
+ fi
|
|
|
+
|
|
|
+ # Extract the first word of "xml2-config", so it can be a program name with args.
|
|
|
+set dummy xml2-config; ac_word=$2
|
|
|
+echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
|
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
|
+if test "${ac_cv_path_XML2_CONFIG+set}" = set; then
|
|
|
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
+else
|
|
|
+ case $XML2_CONFIG in
|
|
|
+ [\\/]* | ?:[\\/]*)
|
|
|
+ ac_cv_path_XML2_CONFIG="$XML2_CONFIG" # Let the user override the test with a path.
|
|
|
+ ;;
|
|
|
+ *)
|
|
|
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
+for as_dir in $PATH
|
|
|
+do
|
|
|
+ IFS=$as_save_IFS
|
|
|
+ test -z "$as_dir" && as_dir=.
|
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
+ ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
|
|
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
+ break 2
|
|
|
+ fi
|
|
|
+done
|
|
|
+done
|
|
|
+
|
|
|
+ test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG="no"
|
|
|
+ ;;
|
|
|
+esac
|
|
|
+fi
|
|
|
+XML2_CONFIG=$ac_cv_path_XML2_CONFIG
|
|
|
+
|
|
|
+if test -n "$XML2_CONFIG"; then
|
|
|
+ echo "$as_me:$LINENO: result: $XML2_CONFIG" >&5
|
|
|
+echo "${ECHO_T}$XML2_CONFIG" >&6
|
|
|
+else
|
|
|
+ echo "$as_me:$LINENO: result: no" >&5
|
|
|
+echo "${ECHO_T}no" >&6
|
|
|
+fi
|
|
|
+
|
|
|
+ min_xml_version=2.6.26
|
|
|
+ echo "$as_me:$LINENO: checking for libxml - version >= $min_xml_version" >&5
|
|
|
+echo $ECHO_N "checking for libxml - version >= $min_xml_version... $ECHO_C" >&6
|
|
|
+ no_xml=""
|
|
|
+ if test "$XML2_CONFIG" = "no" ; then
|
|
|
+ no_xml=yes
|
|
|
+ else
|
|
|
+ XML_CPPFLAGS=`$XML2_CONFIG $xml_config_args --cflags`
|
|
|
+ XML_LIBS=`$XML2_CONFIG $xml_config_args --libs`
|
|
|
+ xml_config_major_version=`$XML2_CONFIG $xml_config_args --version | \
|
|
|
+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
|
|
|
+ xml_config_minor_version=`$XML2_CONFIG $xml_config_args --version | \
|
|
|
+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
|
|
|
+ xml_config_micro_version=`$XML2_CONFIG $xml_config_args --version | \
|
|
|
+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
|
|
|
+ if test "x$enable_xmltest" = "xyes" ; then
|
|
|
+ ac_save_CPPFLAGS="$CPPFLAGS"
|
|
|
+ ac_save_LIBS="$LIBS"
|
|
|
+ CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
|
|
|
+ LIBS="$XML_LIBS $LIBS"
|
|
|
+ rm -f conf.xmltest
|
|
|
+ if test "$cross_compiling" = yes; then
|
|
|
+ echo $ac_n "cross compiling; assumed OK... $ac_c"
|
|
|
+else
|
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
+/* confdefs.h. */
|
|
|
+_ACEOF
|
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
+/* end confdefs.h. */
|
|
|
+
|
|
|
+#include <stdlib.h>
|
|
|
+#include <stdio.h>
|
|
|
+#include <string.h>
|
|
|
+#include <libxml/xmlversion.h>
|
|
|
+
|
|
|
+int
|
|
|
+main()
|
|
|
+{
|
|
|
+ int xml_major_version, xml_minor_version, xml_micro_version;
|
|
|
+ int major, minor, micro;
|
|
|
+ char *tmp_version;
|
|
|
+
|
|
|
+ system("touch conf.xmltest");
|
|
|
+
|
|
|
+ /* Capture xml2-config output via autoconf/configure variables */
|
|
|
+ /* HP/UX 9 (%@#!) writes to sscanf strings */
|
|
|
+ tmp_version = (char *)strdup("$min_xml_version");
|
|
|
+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
|
|
+ printf("%s, bad version string from xml2-config\n", "$min_xml_version");
|
|
|
+ exit(1);
|
|
|
+ }
|
|
|
+ free(tmp_version);
|
|
|
+
|
|
|
+ /* Capture the version information from the header files */
|
|
|
+ tmp_version = (char *)strdup(LIBXML_DOTTED_VERSION);
|
|
|
+ if (sscanf(tmp_version, "%d.%d.%d", &xml_major_version, &xml_minor_version, &xml_micro_version) != 3) {
|
|
|
+ printf("%s, bad version string from libxml includes\n", "LIBXML_DOTTED_VERSION");
|
|
|
+ exit(1);
|
|
|
+ }
|
|
|
+ free(tmp_version);
|
|
|
+
|
|
|
+ /* Compare xml2-config output to the libxml headers */
|
|
|
+ if ((xml_major_version != $xml_config_major_version) ||
|
|
|
+ (xml_minor_version != $xml_config_minor_version) ||
|
|
|
+ (xml_micro_version != $xml_config_micro_version))
|
|
|
+ {
|
|
|
+ printf("*** libxml header files (version %d.%d.%d) do not match\n",
|
|
|
+ xml_major_version, xml_minor_version, xml_micro_version);
|
|
|
+ printf("*** xml2-config (version %d.%d.%d)\n",
|
|
|
+ $xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version);
|
|
|
+ return 1;
|
|
|
+ }
|
|
|
+/* Compare the headers to the library to make sure we match */
|
|
|
+ /* Less than ideal -- doesn't provide us with return value feedback,
|
|
|
+ * only exits if there's a serious mismatch between header and library.
|
|
|
+ */
|
|
|
+ LIBXML_TEST_VERSION;
|
|
|
+
|
|
|
+ /* Test that the library is greater than our minimum version */
|
|
|
+ if ((xml_major_version > major) ||
|
|
|
+ ((xml_major_version == major) && (xml_minor_version > minor)) ||
|
|
|
+ ((xml_major_version == major) && (xml_minor_version == minor) &&
|
|
|
+ (xml_micro_version >= micro)))
|
|
|
+ {
|
|
|
+ return 0;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
|
|
|
+ xml_major_version, xml_minor_version, xml_micro_version);
|
|
|
+ printf("*** You need a version of libxml newer than %d.%d.%d. The latest version of\n",
|
|
|
+ major, minor, micro);
|
|
|
+ printf("*** libxml is always available from ftp://ftp.xmlsoft.org.\n");
|
|
|
+ printf("***\n");
|
|
|
+ printf("*** If you have already installed a sufficiently new version, this error\n");
|
|
|
+ printf("*** probably means that the wrong copy of the xml2-config shell script is\n");
|
|
|
+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
|
|
+ printf("*** of LIBXML, but you can also set the XML2_CONFIG environment to point to the\n");
|
|
|
+ printf("*** correct copy of xml2-config. (In this case, you will have to\n");
|
|
|
+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
|
|
+ printf("*** so that the correct libraries are found at run-time))\n");
|
|
|
+ }
|
|
|
+ return 1;
|
|
|
+}
|
|
|
+
|
|
|
+_ACEOF
|
|
|
+rm -f conftest$ac_exeext
|
|
|
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
|
+ (eval $ac_link) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; }; then
|
|
|
+ :
|
|
|
+else
|
|
|
+ echo "$as_me: program exited with status $ac_status" >&5
|
|
|
+echo "$as_me: failed program was:" >&5
|
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
+
|
|
|
+( exit $ac_status )
|
|
|
+no_xml=yes
|
|
|
+fi
|
|
|
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
|
+fi
|
|
|
+ CPPFLAGS="$ac_save_CPPFLAGS"
|
|
|
+ LIBS="$ac_save_LIBS"
|
|
|
+ fi
|
|
|
+ fi
|
|
|
+
|
|
|
+ if test "x$no_xml" = x ; then
|
|
|
+ echo "$as_me:$LINENO: result: yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&5
|
|
|
+echo "${ECHO_T}yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&6
|
|
|
+ have_libxml2=yes
|
|
|
+ else
|
|
|
+ echo "$as_me:$LINENO: result: no" >&5
|
|
|
+echo "${ECHO_T}no" >&6
|
|
|
+ if test "$XML2_CONFIG" = "no" ; then
|
|
|
+ echo "*** The xml2-config script installed by LIBXML could not be found"
|
|
|
+ echo "*** If libxml was installed in PREFIX, make sure PREFIX/bin is in"
|
|
|
+ echo "*** your path, or set the XML2_CONFIG environment variable to the"
|
|
|
+ echo "*** full path to xml2-config."
|
|
|
+ else
|
|
|
+ if test -f conf.xmltest ; then
|
|
|
+ :
|
|
|
+ else
|
|
|
+ echo "*** Could not run libxml test program, checking why..."
|
|
|
+ CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
|
|
|
+ LIBS="$LIBS $XML_LIBS"
|
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
+/* confdefs.h. */
|
|
|
+_ACEOF
|
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
+/* end confdefs.h. */
|
|
|
|
|
|
+#include <libxml/xmlversion.h>
|
|
|
+#include <stdio.h>
|
|
|
+
|
|
|
+int
|
|
|
+main ()
|
|
|
+{
|
|
|
+ LIBXML_TEST_VERSION; return 0;
|
|
|
+ ;
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+_ACEOF
|
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
|
+ (eval $ac_link) 2>conftest.er1
|
|
|
+ ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); } &&
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest$ac_exeext'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; }; then
|
|
|
+ echo "*** The test program compiled, but did not run. This usually means"
|
|
|
+ echo "*** that the run-time linker is not finding LIBXML or finding the wrong"
|
|
|
+ echo "*** version of LIBXML. If it is not finding LIBXML, you'll need to set your"
|
|
|
+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
|
|
+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
|
|
+ echo "*** is required on your system"
|
|
|
+ echo "***"
|
|
|
+ echo "*** If you have an old version installed, it is best to remove it, although"
|
|
|
+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
|
|
+else
|
|
|
+ echo "$as_me: failed program was:" >&5
|
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
+
|
|
|
+ echo "*** The test program failed to compile or link. See the file config.log for the"
|
|
|
+ echo "*** exact error that occured. This usually means LIBXML was incorrectly installed"
|
|
|
+ echo "*** or that you have moved LIBXML since it was installed. In the latter case, you"
|
|
|
+ echo "*** may want to edit the xml2-config script: $XML2_CONFIG"
|
|
|
+fi
|
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
|
+ CPPFLAGS="$ac_save_CPPFLAGS"
|
|
|
+ LIBS="$ac_save_LIBS"
|
|
|
+ fi
|
|
|
+ fi
|
|
|
+
|
|
|
+ XML_CPPFLAGS=""
|
|
|
+ XML_LIBS=""
|
|
|
+ :
|
|
|
+ fi
|
|
|
+
|
|
|
+
|
|
|
+ rm -f conf.xmltest
|
|
|
+
|
|
|
+ if test "x$have_libxml2" = "xyes"; then
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
+#define HAVE_LIBXML2 1
|
|
|
+_ACEOF
|
|
|
+
|
|
|
+ fi
|
|
|
+fi
|
|
|
+
|
|
|
+if test "x$with_gnutls" = "xyes"; then
|
|
|
|
|
|
# Check whether --with-libgnutls-prefix or --without-libgnutls-prefix was given.
|
|
|
if test "${with_libgnutls_prefix+set}" = set; then
|
|
@@ -4292,6 +4617,14 @@ CPPFLAGS=$CPPFLAGS_save
|
|
|
|
|
|
fi
|
|
|
|
|
|
+if test "x$have_libxml2" = "xyes"; then
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
+#define ENABLE_METALINK 1
|
|
|
+_ACEOF
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
if test "x$have_libgnutls" = "xyes" || test "x$have_openssl" = "xyes"; then
|
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@@ -11853,6 +12186,9 @@ s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
|
|
|
s,@RANLIB@,$RANLIB,;t t
|
|
|
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
|
|
s,@YACC@,$YACC,;t t
|
|
|
+s,@XML2_CONFIG@,$XML2_CONFIG,;t t
|
|
|
+s,@XML_CPPFLAGS@,$XML_CPPFLAGS,;t t
|
|
|
+s,@XML_LIBS@,$XML_LIBS,;t t
|
|
|
s,@LIBGNUTLS_CONFIG@,$LIBGNUTLS_CONFIG,;t t
|
|
|
s,@LIBGNUTLS_CFLAGS@,$LIBGNUTLS_CFLAGS,;t t
|
|
|
s,@LIBGNUTLS_LIBS@,$LIBGNUTLS_LIBS,;t t
|