Commit 402adb57 authored by Andre Pang's avatar Andre Pang

* configure.ac: Require libtheora 1.0alpha4

parent 53e64f4a
...@@ -2425,7 +2425,7 @@ AC_ARG_ENABLE(theora, ...@@ -2425,7 +2425,7 @@ AC_ARG_ENABLE(theora,
if test "${enable_theora}" = "yes" if test "${enable_theora}" = "yes"
then then
AC_CHECK_HEADERS(theora/theora.h, [ AC_CHECK_HEADERS(theora/theora.h, [
AC_CHECK_LIB(theora, theora_granule_time, [ AC_CHECK_LIB(theora, theora_packet_iskeyframe, [
if test "${SYS}" = "mingw32"; then if test "${SYS}" = "mingw32"; then
VLC_ADD_PLUGINS([theora]) VLC_ADD_PLUGINS([theora])
else else
...@@ -2433,7 +2433,7 @@ then ...@@ -2433,7 +2433,7 @@ then
fi fi
theora_libs="-ltheora -logg" theora_libs="-ltheora -logg"
VLC_ADD_LDFLAGS([theora],[${theora_libs}]) ],[ VLC_ADD_LDFLAGS([theora],[${theora_libs}]) ],[
AC_MSG_ERROR([libtheora doesn't appear to be installed on you system. AC_MSG_ERROR([libtheora >= 1.0alpha4 doesn't appear to be installed on your system.
You also need to check that you have a libogg posterior to the 1.0 release.])], You also need to check that you have a libogg posterior to the 1.0 release.])],
[-logg]) [-logg])
]) ])
......
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