Commit c3f75a85 authored by giles's avatar giles

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.

svn path=/icecast/trunk/m4/; revision=10307
parent 60638204
......@@ -49,8 +49,11 @@ else
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"
AC_TRY_LINK_FUNC(theora_packet_isheader, [xt_have_theora="yes"],
[xt_have_theora="newer version required"])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment