mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-01-03 14:56:34 -05: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:
parent
6063820441
commit
c3f75a858d
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user