Mercurial > mplayer.hg
comparison configure @ 35163:5e11b54c9212
Change tremor check so it fails on old incompatible versions
which we do not support.
Patch by Carl Eugen.
author | reimar |
---|---|
date | Sun, 21 Oct 2012 10:10:57 +0000 |
parents | 101333b48b4e |
children | b924f0df5a1d |
comparison
equal
deleted
inserted
replaced
35162:69b82f839935 | 35163:5e11b54c9212 |
---|---|
6317 echores "$_toolame" | 6317 echores "$_toolame" |
6318 | 6318 |
6319 echocheck "OggVorbis support" | 6319 echocheck "OggVorbis support" |
6320 if test "$_tremor" = auto; then | 6320 if test "$_tremor" = auto; then |
6321 _tremor=no | 6321 _tremor=no |
6322 statement_check tremor/ivorbiscodec.h 'vorbis_packet_blocksize(0, 0)' -logg -lvorbisidec && _tremor=yes && _libvorbis=no | 6322 statement_check tremor/ivorbiscodec.h 'vorbis_synthesis(0, 0)' -logg -lvorbisidec && _tremor=yes && _libvorbis=no |
6323 fi | 6323 fi |
6324 if test "$_libvorbis" = auto; then | 6324 if test "$_libvorbis" = auto; then |
6325 _libvorbis=no | 6325 _libvorbis=no |
6326 for vorbislibs in '-lvorbisenc -lvorbis -logg' '-lvorbis -logg' ; do | 6326 for vorbislibs in '-lvorbisenc -lvorbis -logg' '-lvorbis -logg' ; do |
6327 statement_check vorbis/vorbisenc.h 'vorbis_encode_ctl(0, 0, 0); ogg_stream_clear(0)' $vorbislibs && _libvorbis=yes && break | 6327 statement_check vorbis/vorbisenc.h 'vorbis_encode_ctl(0, 0, 0); ogg_stream_clear(0)' $vorbislibs && _libvorbis=yes && break |