Commit 6b116e8b authored by Jack Moffitt's avatar Jack Moffitt

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
parent 71da57a4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment