[xiph-commits] r10307 - icecast/trunk/m4

giles at svn.xiph.org giles at svn.xiph.org
Wed Oct 26 14:18:19 PDT 2005


Author: giles
Date: 2005-10-26 14:18:19 -0700 (Wed, 26 Oct 2005)
New Revision: 10307

Modified:
   icecast/trunk/m4/theora.m4
Log:
Don't test for the required libtheora version if the generic link 
failed. Corrects an erroneous version error when in fact the library
wasn't found at all. Bug #719.


Modified: icecast/trunk/m4/theora.m4
===================================================================
--- icecast/trunk/m4/theora.m4	2005-10-26 20:58:35 UTC (rev 10306)
+++ icecast/trunk/m4/theora.m4	2005-10-26 21:18:19 UTC (rev 10307)
@@ -49,8 +49,11 @@
   AC_MSG_CHECKING([for libtheora])
   AC_TRY_LINK_FUNC(theora_decode_header, [xt_have_theora="yes"],
           [xt_have_theora="Not found"])
-  AC_TRY_LINK_FUNC(theora_packet_isheader, [xt_have_theora="yes"],
+  if test "x$xt_have_theora" = "xyes"
+  then
+    AC_TRY_LINK_FUNC(theora_packet_isheader, [xt_have_theora="yes"],
           [xt_have_theora="newer version required"])
+  fi
 
   LIBS="$ac_save_LIBS"
   LDFLAGS="$ac_save_LDFLAGS"



More information about the commits mailing list