summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-03 13:51:33 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-03 13:51:33 +0000
commit01b4e4429e0c4a16f9d0af665085aa8421cca099 (patch)
treec8ef12c56d2a36b8e1407c7678dcff321864e9f0 /configure
parent6e79a56592d029e0727332fd1b01514eac80ec45 (diff)
downloadmpv-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-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index df11ce4bc5..03d92c9253 100755
--- a/configure
+++ b/configure
@@ -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"