From d59eb3357b7e87d74604c9159b7ef019fcb1726b Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 6 Aug 2002 22:22:52 +0000 Subject: [PATCH] added extra check for working XML LIBS flags Original commit message from CVS: added extra check for working XML LIBS flags --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index a9a063e..b1400d1 100644 --- a/configure.ac +++ b/configure.ac @@ -143,6 +143,13 @@ fi AC_SUBST(LIBXML_PKG) AC_SUBST(XML_LIBS) AC_SUBST(XML_CFLAGS) +dnl XML_LIBS might pull in -lz without zlib actually being on the system, so +dnl try if you can compile with these LIBS +if test "x$HAVE_LIBXML2" = "xyes"; then + AC_CHECK_LIB(xml2, xmlNewDoc, [], + [AC_MSG_ERROR([You might be missing zlib development stuff])], + $XML_LIBS) +fi dnl popt checks GST_CHECK_LIBHEADER(POPT, popt, poptStrippedArgv,, popt.h, POPT_LIBS="-lpopt", -- 2.7.4