1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

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
This commit is contained in:
giles 2005-10-26 21:18:19 +00:00
parent 6063820441
commit c3f75a858d

View File

@ -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"