changeset 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 2c33f492ff1f
children 47808d1fca5a
files configure
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Aug 03 10:17:35 2009 +0000
+++ b/configure	Mon Aug 03 13:51:33 2009 +0000
@@ -2838,8 +2838,9 @@
 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"