From 01b4e4429e0c4a16f9d0af665085aa8421cca099 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 3 Aug 2009 13:51:33 +0000 Subject: [PATCH] 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 --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"