Mercurial > mplayer.hg
comparison configure @ 29320:c02c70fd1b08
cosmetics: Drop leading underscore from _language* variables.
author | diego |
---|---|
date | Sun, 14 Jun 2009 13:25:54 +0000 |
parents | e4b546806804 |
children | e98825540790 |
comparison
equal
deleted
inserted
replaced
29319:e4b546806804 | 29320:c02c70fd1b08 |
---|---|
692 _tga=yes | 692 _tga=yes |
693 _directfb=auto | 693 _directfb=auto |
694 _zr=auto | 694 _zr=auto |
695 _bl=no | 695 _bl=no |
696 _largefiles=yes | 696 _largefiles=yes |
697 #_language=en | 697 #language=en |
698 _shm=auto | 698 _shm=auto |
699 _linux_devfs=no | 699 _linux_devfs=no |
700 _charset="UTF-8" | 700 _charset="UTF-8" |
701 _dynamic_plugins=no | 701 _dynamic_plugins=no |
702 _crash_debug=no | 702 _crash_debug=no |
848 ;; | 848 ;; |
849 --charset=*) | 849 --charset=*) |
850 _charset=$(echo $ac_option | cut -d '=' -f 2) | 850 _charset=$(echo $ac_option | cut -d '=' -f 2) |
851 ;; | 851 ;; |
852 --language-msg=*) | 852 --language-msg=*) |
853 _language_msg=$(echo $ac_option | cut -d '=' -f 2) | 853 language_msg=$(echo $ac_option | cut -d '=' -f 2) |
854 ;; | 854 ;; |
855 --language=*) | 855 --language=*) |
856 _language=$(echo $ac_option | cut -d '=' -f 2) | 856 language=$(echo $ac_option | cut -d '=' -f 2) |
857 ;; | 857 ;; |
858 | 858 |
859 --enable-static) | 859 --enable-static) |
860 _ld_static='-static' | 860 _ld_static='-static' |
861 ;; | 861 ;; |
2791 fi | 2791 fi |
2792 echores "$_langinfo" | 2792 echores "$_langinfo" |
2793 | 2793 |
2794 | 2794 |
2795 echocheck "language" | 2795 echocheck "language" |
2796 test -z "$_language" && _language=$LINGUAS | 2796 test -z "$language" && language=$LINGUAS |
2797 test -z "$_language_msg" && _language_msg=$LINGUAS | 2797 test -z "$language_msg" && language_msg=$LINGUAS |
2798 _language=$(echo $_language | tr , " ") | 2798 language=$(echo $language | tr , " ") |
2799 _language_msg=$(echo $_language_msg | tr , " ") | 2799 language_msg=$(echo $language_msg | tr , " ") |
2800 if $(echo $_language | grep -q all) ; then | 2800 if $(echo $language | grep -q all) ; then |
2801 doc_lang=en ; doc_langs=$doc_lang_all | 2801 doc_lang=en ; doc_langs=$doc_lang_all |
2802 man_lang=en ; man_langs=$man_lang_all | 2802 man_lang=en ; man_langs=$man_lang_all |
2803 else | 2803 else |
2804 for lang in $_language ; do | 2804 for lang in $language ; do |
2805 if test -d DOCS/man/$lang ; then | 2805 if test -d DOCS/man/$lang ; then |
2806 tmp_man_langs="$tmp_man_langs $lang" | 2806 tmp_man_langs="$tmp_man_langs $lang" |
2807 fi | 2807 fi |
2808 if test -d DOCS/xml/$lang ; then | 2808 if test -d DOCS/xml/$lang ; then |
2809 tmp_doc_langs="$tmp_doc_langs $lang" | 2809 tmp_doc_langs="$tmp_doc_langs $lang" |
2810 fi | 2810 fi |
2811 done | 2811 done |
2812 man_langs=$tmp_man_langs | 2812 man_langs=$tmp_man_langs |
2813 doc_langs=$tmp_man_langs | 2813 doc_langs=$tmp_man_langs |
2814 for lang in $_language_msg ; do | 2814 for lang in $language_msg ; do |
2815 if test -f "help/help_mp-${lang}.h" ; then | 2815 if test -f "help/help_mp-${lang}.h" ; then |
2816 msg_lang=$lang | 2816 msg_lang=$lang |
2817 break | 2817 break |
2818 else | 2818 else |
2819 echo ${_echo_n} "$lang not found, ${_echo_c}" | 2819 echo ${_echo_n} "$lang not found, ${_echo_c}" |
2820 _language_msg=$(echo $_language_msg | sed "s/$lang *//") | 2820 language_msg=$(echo $language_msg | sed "s/$lang *//") |
2821 fi | 2821 fi |
2822 done | 2822 done |
2823 fi | 2823 fi |
2824 test -z "$doc_langs" && doc_langs=en | 2824 test -z "$doc_langs" && doc_langs=en |
2825 test -z "$man_langs" && man_langs=en | 2825 test -z "$man_langs" && man_langs=en |