From 6b116e8b961573d02543045cb46e8359867f7477 Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Sun, 21 Oct 2001 15:12:23 +0000 Subject: [PATCH] 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 --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.in b/configure.in index 0c45250c..49c104bc 100644 --- a/configure.in +++ b/configure.in @@ -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