[xiph-cvs] cvs commit: icecast configure.in
Jack Moffitt
jack at xiph.org
Sun Oct 21 08:12:23 PDT 2001
jack 01/10/21 08:12:23
Modified: . configure.in
Log:
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.
Revision Changes Path
1.6 +4 -0 icecast/configure.in
Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/icecast/configure.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- configure.in 2001/10/21 14:19:39 1.5
+++ configure.in 2001/10/21 15:12:23 1.6
@@ -90,7 +90,11 @@
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
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list