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:
parent
71da57a472
commit
6b116e8b96
@ -90,7 +90,11 @@ if test -n "$XMLCONFIG"
|
|||||||
then
|
then
|
||||||
XML_LIBS="`$XMLCONFIG --libs`"
|
XML_LIBS="`$XMLCONFIG --libs`"
|
||||||
CPPFLAGS="$CPPFLAGS `$XMLCONFIG --cflags`"
|
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])])
|
AC_CHECK_FUNC(xmlParseFile,, [AC_MSG_ERROR([There was a problem linking with libxml])])
|
||||||
|
LIBS="$save_LIBS"
|
||||||
|
save_LIBS=
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([xml-config could not be found])
|
AC_MSG_ERROR([xml-config could not be found])
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user