Commit 50fbfd44 authored by giles's avatar giles
Browse files

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 4af7370a
......@@ -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"
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"
......
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