1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

AC_CHECK_FUNC is stupid. It needs the LIBS set already, and you can't pass

in a set of libs to use.  So we save/restore for the call.

svn path=/trunk/icecast/; revision=2233
This commit is contained in:
Jack Moffitt 2001-10-21 15:12:23 +00:00
parent 71da57a472
commit 6b116e8b96

View File

@ -90,7 +90,11 @@ if test -n "$XMLCONFIG"
then
XML_LIBS="`$XMLCONFIG --libs`"
CPPFLAGS="$CPPFLAGS `$XMLCONFIG --cflags`"
save_LIBS="$LIBS"
LIBS="$LIBS $XML_LIBS"
AC_CHECK_FUNC(xmlParseFile,, [AC_MSG_ERROR([There was a problem linking with libxml])])
LIBS="$save_LIBS"
save_LIBS=
else
AC_MSG_ERROR([xml-config could not be found])
fi