[xiph-cvs] cvs commit: ices configure.in

Jack Moffitt jack at xiph.org
Sun Oct 21 08:14:23 PDT 2001



jack        01/10/21 08:14:23

  Modified:    .        configure.in
  Log:
  AC_CHECK_FUNC is stupid.  I can't take a parameter for what libs to
  check, so the global variable LIBS must be set.  Added a save/restore
  for the call.

Revision  Changes    Path
1.7       +4 -0      ices/configure.in

Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/ices/configure.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- configure.in	2001/10/21 14:29:25	1.6
+++ configure.in	2001/10/21 15:14:23	1.7
@@ -102,7 +102,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