Mercurial > mplayer.hg
diff configure @ 8362:b5478134c853
optional (compile-time switch) subtitles-sorting feature
patch by Salvatore Falco <sfalco@studenti.ing.uniroma1.it>
author | arpi |
---|---|
date | Thu, 05 Dec 2002 00:05:57 +0000 |
parents | 6dd42a044681 |
children | cb1aaa93d9e0 |
line wrap: on
line diff
--- a/configure Thu Dec 05 00:03:35 2002 +0000 +++ b/configure Thu Dec 05 00:05:57 2002 +0000 @@ -154,6 +154,7 @@ --enable-new-conf Enable new config stuff [disabled] --enable-menu Enable osd menu support (need new config) [disabled] --enable-qtx-codecs Enable Quicktime codecs [disabled] + --disable-sortsub Disable subtitles sorting [enabled] Codecs: --enable-gif enable gif89a output support [autodetect] @@ -1029,6 +1030,7 @@ _new_conf=no _menu=no _qtx_codecs=no +_sortsub=yes for ac_option do case "$ac_option" in @@ -1221,6 +1223,9 @@ --enable-qtx-codecs) _qtx_codecs=yes ;; --disable-qtx-codecs) _qtx_codecs=no ;; + --enable-sortsub) _sortsub=yes ;; + --disable-sortsub) _sortsub=no ;; + --language=*) LINGUAS=`echo $ac_option | cut -d '=' -f 2` ;; @@ -4329,6 +4334,14 @@ fi echores "$_qtx_codecs" +echocheck "Subtitles sorting" +if test "$_sortsub" = yes ; then + _def_sortsub='#define USE_SORTSUB 1' +else + _def_sortsub='#undef USE_SORTSUB' +fi +echores "$_sortsub" + # --------------- GUI specific tests begin ------------------- echocheck "GUI" echo "$_gui" @@ -5081,6 +5094,9 @@ /* enables / disables osd menu */ $_def_menu +/* enables / disables subtitles sorting */ +$_def_sortsub + /* Extension defines */ $_def_3dnow // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.) $_def_3dnowex // only define if you have 3DNOWEX (AMD Athlon, etc.)