summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2011-02-15 16:33:27 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-02-15 16:33:27 +0200
commitac443f6fd5400cd38592d2c55b03540f8b8f7144 (patch)
treee9bb7441ab42cd543be8b39117f61b235aef2997 /configure
parent685bbb5734014ac6efece02d7df757fb4a942cbb (diff)
downloadmpv-ac443f6fd5400cd38592d2c55b03540f8b8f7144.tar.bz2
mpv-ac443f6fd5400cd38592d2c55b03540f8b8f7144.tar.xz
configure: use LINGUAS environment variable for messages
Previously the default with --enable-translation was to install all language files if --language-msg was not explicitly specified. Change the default to the languages set with the --language option or LINGUAS environment variable if those are set; if neither is set then the default is still to install all message languages.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 12b842c82d..1d24c408d4 100755
--- a/configure
+++ b/configure
@@ -2764,6 +2764,7 @@ echocheck "language"
test -z "$language" && language=$LINGUAS
test -z "$language_doc" && language_doc=$language
test -z "$language_man" && language_man=$language
+test -z "$language_msg" && language_msg=$language
test -z "$language_msg" && language_msg="all"
language_doc=$(echo $language_doc | tr , " ")
language_man=$(echo $language_man | tr , " ")