mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
fixed issue with the xmlDocGetRootElement test and non-/usr/lib installs of libxml
Original commit message from CVS: fixed issue with the xmlDocGetRootElement test and non-/usr/lib installs of libxml
This commit is contained in:
parent
826969025e
commit
60be08c066
1 changed files with 3 additions and 2 deletions
|
@ -178,10 +178,11 @@ AC_PATH_PROG(XML_CONFIG, xml-config, no)
|
|||
if test x$XML_CONFIG = xno; then
|
||||
AC_MSG_ERROR(Couldn't find xml-config)
|
||||
fi
|
||||
AC_CHECK_LIB(xml, xmlDocGetRootElement, ,
|
||||
[ AC_MSG_ERROR(Need version 1.8.1 or better of libxml) ])
|
||||
XML_LIBS=`xml-config --libs`
|
||||
XML_CFLAGS=`xml-config --cflags`
|
||||
AC_CHECK_LIB(xml, xmlDocGetRootElement, ,
|
||||
[ AC_MSG_ERROR(Need version 1.8.1 or better of libxml) ],
|
||||
$XML_LIBS)
|
||||
AC_SUBST(XML_LIBS)
|
||||
AC_SUBST(XML_CFLAGS)
|
||||
CORE_LIBS="$CORE_LIBS $XML_LIBS"
|
||||
|
|
Loading…
Reference in a new issue