diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-08-03 13:51:33 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-08-03 13:51:33 +0000 |
commit | 01b4e4429e0c4a16f9d0af665085aa8421cca099 (patch) | |
tree | c8ef12c56d2a36b8e1407c7678dcff321864e9f0 /configure | |
parent | 6e79a56592d029e0727332fd1b01514eac80ec45 (diff) | |
download | mpv-01b4e4429e0c4a16f9d0af665085aa8421cca099.tar.bz2 mpv-01b4e4429e0c4a16f9d0af665085aa8421cca099.tar.xz |
Make sure that unavailable message languages are not accepted.
patch by Samuli Suominen, ssuominen unk fi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29473 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2838,8 +2838,9 @@ language_man=$tmp_language_man test -z "$language_man" && language_man=en for lang in $language_msg ; do - test -f "help/help_mp-${lang}.h" && language_msg=$lang && break + test -f "help/help_mp-${lang}.h" && tmp_language_msg=$lang && break done +language_msg=$tmp_language_msg test -z "$language_msg" && language_msg=en _mp_help="help/help_mp-${language_msg}.h" echores "messages: $language_msg - man pages: $language_man - documentation: $language_doc" |