mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
added extra check for working XML LIBS flags
Original commit message from CVS: added extra check for working XML LIBS flags
This commit is contained in:
parent
7df70e760f
commit
d59eb3357b
1 changed files with 7 additions and 0 deletions
|
@ -143,6 +143,13 @@ fi
|
||||||
AC_SUBST(LIBXML_PKG)
|
AC_SUBST(LIBXML_PKG)
|
||||||
AC_SUBST(XML_LIBS)
|
AC_SUBST(XML_LIBS)
|
||||||
AC_SUBST(XML_CFLAGS)
|
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
|
dnl popt checks
|
||||||
GST_CHECK_LIBHEADER(POPT, popt, poptStrippedArgv,, popt.h, POPT_LIBS="-lpopt",
|
GST_CHECK_LIBHEADER(POPT, popt, poptStrippedArgv,, popt.h, POPT_LIBS="-lpopt",
|
||||||
|
|
Loading…
Reference in a new issue