Mercurial > mplayer.hg
comparison configure @ 11330:a974c00c779d
Removed temporary .cpp file used during the Matroska test. Updated the libebml and libmatroska requirements to at least v0.6.0 for both. There have been changes in the lacing code, and users WILL come and complain why mplayer, linked against older versions, will have issues playing newer files.
author | mosu |
---|---|
date | Thu, 30 Oct 2003 14:57:06 +0000 |
parents | 39eb2c97f3c9 |
children | dce7219bed77 |
comparison
equal
deleted
inserted
replaced
11329:9165908f87d3 | 11330:a974c00c779d |
---|---|
4372 _nocodecmodules="libtheora $_nocodecmodules" | 4372 _nocodecmodules="libtheora $_nocodecmodules" |
4373 fi | 4373 fi |
4374 echores "$_theora" | 4374 echores "$_theora" |
4375 | 4375 |
4376 | 4376 |
4377 echocheck "Matroska support (0.5.0 or later)" | 4377 echocheck "Matroska support (0.6.0 or later)" |
4378 if test "$_matroska" != no ; then | 4378 if test "$_matroska" != no ; then |
4379 _matroska=no | 4379 _matroska=no |
4380 _TMPC=$TMPC | 4380 _TMPC=$TMPC |
4381 TMPC=${TMPC}pp | 4381 TMPC=${TMPC}pp |
4382 cat > $TMPC << EOF | 4382 cat > $TMPC << EOF |
4383 #include <ebml/EbmlVersion.h> | 4383 #include <ebml/EbmlVersion.h> |
4384 #include <matroska/KaxVersion.h> | 4384 #include <matroska/KaxVersion.h> |
4385 | 4385 |
4386 #if LIBEBML_VERSION < 000500 | 4386 #if LIBEBML_VERSION < 000600 |
4387 #error libebml is too old | 4387 #error libebml is too old |
4388 #endif | 4388 #endif |
4389 | 4389 |
4390 #if LIBMATROSKA_VERSION < 000500 | 4390 #if LIBMATROSKA_VERSION < 000600 |
4391 #error libmatroska is too old | 4391 #error libmatroska is too old |
4392 #endif | 4392 #endif |
4393 | 4393 |
4394 int main(void) { return 0; } | 4394 int main(void) { return 0; } |
4395 EOF | 4395 EOF |
4400 cc_check -lmatroska -lebml -lstdc++ && _matroska=yes | 4400 cc_check -lmatroska -lebml -lstdc++ && _matroska=yes |
4401 if test "$_matroska" = no ; then | 4401 if test "$_matroska" = no ; then |
4402 _inc_extra=$_saved_inc_extra | 4402 _inc_extra=$_saved_inc_extra |
4403 fi | 4403 fi |
4404 fi | 4404 fi |
4405 rm ${TMPC} > /dev/null 2> /dev/null | |
4405 TMPC=$_TMPC | 4406 TMPC=$_TMPC |
4406 fi | 4407 fi |
4407 if test "$_matroska" = yes ; then | 4408 if test "$_matroska" = yes ; then |
4408 _def_matroska='#define HAVE_MATROSKA 1' | 4409 _def_matroska='#define HAVE_MATROSKA 1' |
4409 _inputmodules="matroska $_inputmodules" | 4410 _inputmodules="matroska $_inputmodules" |