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

karl at motherfish-iii.xiph.org karl at motherfish-iii.xiph.org
Fri Dec 3 12:16:01 PST 2004


Author: karl
Date: 2004-12-03 12:16:00 -0800 (Fri, 03 Dec 2004)
New Revision: 8330

Modified:
   icecast/trunk/m4/theora.m4
Log:
make sure we have a recent theora lib


Modified: icecast/trunk/m4/theora.m4
===================================================================
--- icecast/trunk/m4/theora.m4	2004-12-03 19:07:48 UTC (rev 8329)
+++ icecast/trunk/m4/theora.m4	2004-12-03 20:16:00 UTC (rev 8330)
@@ -49,8 +49,8 @@
   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_decode_header, [xt_have_theora="yes"],
-          [xt_have_theora="old version"])
+  AC_TRY_LINK_FUNC(theora_packet_isheader, [xt_have_theora="yes"],
+          [xt_have_theora="newer version required"])
 
   LIBS="$ac_save_LIBS"
   LDFLAGS="$ac_save_LDFLAGS"
@@ -64,7 +64,7 @@
     THEORA_CFLAGS=""
     THEORA_LDFLAGS=""
     THEORA_LIBS=""
-    AC_MSG_WARN([$xt_have_theora])
+    AC_MSG_RESULT([$xt_have_theora])
     $2
   fi
 fi



More information about the commits mailing list