cosmetics: Drop leading underscore from _language* variables.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29362 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2009-06-14 13:25:54 +00:00
parent 4a034d1f80
commit ee57be5389
1 changed files with 11 additions and 11 deletions

22
configure vendored
View File

@ -694,7 +694,7 @@ _directfb=auto
_zr=auto _zr=auto
_bl=no _bl=no
_largefiles=yes _largefiles=yes
#_language=en #language=en
_shm=auto _shm=auto
_linux_devfs=no _linux_devfs=no
_charset="UTF-8" _charset="UTF-8"
@ -850,10 +850,10 @@ for ac_option do
_charset=$(echo $ac_option | cut -d '=' -f 2) _charset=$(echo $ac_option | cut -d '=' -f 2)
;; ;;
--language-msg=*) --language-msg=*)
_language_msg=$(echo $ac_option | cut -d '=' -f 2) language_msg=$(echo $ac_option | cut -d '=' -f 2)
;; ;;
--language=*) --language=*)
_language=$(echo $ac_option | cut -d '=' -f 2) language=$(echo $ac_option | cut -d '=' -f 2)
;; ;;
--enable-static) --enable-static)
@ -2793,15 +2793,15 @@ echores "$_langinfo"
echocheck "language" echocheck "language"
test -z "$_language" && _language=$LINGUAS test -z "$language" && language=$LINGUAS
test -z "$_language_msg" && _language_msg=$LINGUAS test -z "$language_msg" && language_msg=$LINGUAS
_language=$(echo $_language | tr , " ") language=$(echo $language | tr , " ")
_language_msg=$(echo $_language_msg | tr , " ") language_msg=$(echo $language_msg | tr , " ")
if $(echo $_language | grep -q all) ; then if $(echo $language | grep -q all) ; then
doc_lang=en ; doc_langs=$doc_lang_all doc_lang=en ; doc_langs=$doc_lang_all
man_lang=en ; man_langs=$man_lang_all man_lang=en ; man_langs=$man_lang_all
else else
for lang in $_language ; do for lang in $language ; do
if test -d DOCS/man/$lang ; then if test -d DOCS/man/$lang ; then
tmp_man_langs="$tmp_man_langs $lang" tmp_man_langs="$tmp_man_langs $lang"
fi fi
@ -2811,13 +2811,13 @@ else
done done
man_langs=$tmp_man_langs man_langs=$tmp_man_langs
doc_langs=$tmp_man_langs doc_langs=$tmp_man_langs
for lang in $_language_msg ; do for lang in $language_msg ; do
if test -f "help/help_mp-${lang}.h" ; then if test -f "help/help_mp-${lang}.h" ; then
msg_lang=$lang msg_lang=$lang
break break
else else
echo ${_echo_n} "$lang not found, ${_echo_c}" echo ${_echo_n} "$lang not found, ${_echo_c}"
_language_msg=$(echo $_language_msg | sed "s/$lang *//") language_msg=$(echo $language_msg | sed "s/$lang *//")
fi fi
done done
fi fi