summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorgabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-17 13:06:03 +0000
committergabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-17 13:06:03 +0000
commitc895e2436bdedaed1c7c9fb5a2ec410d5eb5c176 (patch)
treef522c1b9f1cf521fe74ec485985ac49ce57b67f7 /configure
parent4923b022eb47c0a587e9cb57fd4ab9742d3945e4 (diff)
downloadmpv-c895e2436bdedaed1c7c9fb5a2ec410d5eb5c176.tar.bz2
mpv-c895e2436bdedaed1c7c9fb5a2ec410d5eb5c176.tar.xz
patch by "Andriy N. Gritsenko" <andrej@lucky.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9452 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 36a1828102..2e139163b8 100755
--- a/configure
+++ b/configure
@@ -293,6 +293,10 @@ EOF
done # for parm in ...
+# set up LANGUAGES
+test "$LINGUAS" || LINGUAS=`cd DOCS;/bin/ls -d ??` 2>/dev/null
+LANGUAGES=`echo $LINGUAS | sed 's/en//g' | sed 's/^ *//'`
+
# 1st pass checking for vital options
_install=install
_ranlib=ranlib
@@ -4808,6 +4812,7 @@ cat > config.mak << EOF
LANG = C
LINGUAS = $LINGUAS
+LANGUAGES = $LANGUAGES
TARGET_OS = $system_name
DESTDIR =
prefix = \$(DESTDIR)$_prefix