Mercurial > mplayer.hg
comparison configure @ 29431:8a6f2cda5f12
Make sure that unavailable message languages are not accepted.
patch by Samuli Suominen, ssuominen unk fi
author | diego |
---|---|
date | Mon, 03 Aug 2009 13:51:33 +0000 |
parents | 0556a31731b1 |
children | 1abc7bcda064 |
comparison
equal
deleted
inserted
replaced
29430:2c33f492ff1f | 29431:8a6f2cda5f12 |
---|---|
2836 done | 2836 done |
2837 language_man=$tmp_language_man | 2837 language_man=$tmp_language_man |
2838 test -z "$language_man" && language_man=en | 2838 test -z "$language_man" && language_man=en |
2839 | 2839 |
2840 for lang in $language_msg ; do | 2840 for lang in $language_msg ; do |
2841 test -f "help/help_mp-${lang}.h" && language_msg=$lang && break | 2841 test -f "help/help_mp-${lang}.h" && tmp_language_msg=$lang && break |
2842 done | 2842 done |
2843 language_msg=$tmp_language_msg | |
2843 test -z "$language_msg" && language_msg=en | 2844 test -z "$language_msg" && language_msg=en |
2844 _mp_help="help/help_mp-${language_msg}.h" | 2845 _mp_help="help/help_mp-${language_msg}.h" |
2845 echores "messages: $language_msg - man pages: $language_man - documentation: $language_doc" | 2846 echores "messages: $language_msg - man pages: $language_man - documentation: $language_doc" |
2846 | 2847 |
2847 | 2848 |