# HG changeset patch # User diego # Date 1220291762 0 # Node ID 4a08c1c8a8a9f0a936702afa7a247c700b9bbe95 # Parent 158a04c991d6db4ea434597cd477a661aecb6632 Rename --enable-tremor-external option to --enable-tremor along with the corresponding variables. diff -r 158a04c991d6 -r 4a08c1c8a8a9 configure --- a/configure Mon Sep 01 17:48:45 2008 +0000 +++ b/configure Mon Sep 01 17:56:02 2008 +0000 @@ -301,7 +301,7 @@ in libavcodec [enabled] --disable-tremor-internal disable internal Tremor [enabled] --enable-tremor-low enable lower accuracy internal Tremor [disabled] - --enable-tremor-external enable external Tremor [autodetect] + --enable-tremor enable external Tremor [autodetect] --disable-libvorbis disable libvorbis support [autodetect] --disable-speex disable Speex support [autodetect] --enable-theora enable OggTheora libraries [autodetect] @@ -567,9 +567,9 @@ _mp3lame_lavc=auto _toolame=auto _twolame=auto +_tremor=auto _tremor_internal=yes _tremor_low=no -_tremor_external=auto _libvorbis=auto _speex=auto _theora=auto @@ -928,12 +928,12 @@ --disable-libvorbis) _libvorbis=no ;; --enable-speex) _speex=yes ;; --disable-speex) _speex=no ;; + --enable-tremor) _tremor=yes ;; + --disable-tremor) _tremor=no ;; --enable-tremor-internal) _tremor_internal=yes ;; --disable-tremor-internal) _tremor_internal=no ;; --enable-tremor-low) _tremor_low=yes ;; --disable-tremor-low) _tremor_low=no ;; - --enable-tremor-external) _tremor_external=yes ;; - --disable-tremor-external) _tremor_external=no ;; --enable-theora) _theora=yes ;; --disable-theora) _theora=no ;; --enable-mp3lib) _mp3lib=yes ;; @@ -5935,13 +5935,13 @@ echocheck "OggVorbis support" if test "$_tremor_internal" = yes; then _libvorbis=no -elif test "$_tremor_external" = auto; then - _tremor_external=no +elif test "$_tremor" = auto; then + _tremor=no cat > $TMPC << EOF #include int main(void) { vorbis_packet_blocksize(0,0); return 0; } EOF - cc_check -logg -lvorbisidec $_ld_lm && _tremor_external=yes && _libvorbis=no + cc_check -logg -lvorbisidec $_ld_lm && _tremor=yes && _libvorbis=no fi if test "$_libvorbis" = auto; then _libvorbis=no @@ -5961,7 +5961,7 @@ cflags_tremor_low="-D_LOW_ACCURACY_" _res_comment="internal low accuracy Tremor" fi -elif test "$_tremor_external" = yes ; then +elif test "$_tremor" = yes ; then _vorbis=yes _def_vorbis='#define CONFIG_OGGVORBIS 1' _def_tremor='#define CONFIG_TREMOR 1'