aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-gettext.m4
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2000-02-26 07:33:55 +0800
committerJames Henstridge <jamesh@src.gnome.org>2000-02-26 07:33:55 +0800
commit59d2deddc74713097251e0b2c0eb48f078f78268 (patch)
treeadfa63b9e27dfea4e35ceb20dccecafc0692a790 /macros/gnome-gettext.m4
parent6efd6e1755816b196ddaf3e10e2558fd90aff378 (diff)
downloadgsoc2013-evolution-59d2deddc74713097251e0b2c0eb48f078f78268.tar
gsoc2013-evolution-59d2deddc74713097251e0b2c0eb48f078f78268.tar.gz
gsoc2013-evolution-59d2deddc74713097251e0b2c0eb48f078f78268.tar.bz2
gsoc2013-evolution-59d2deddc74713097251e0b2c0eb48f078f78268.tar.lz
gsoc2013-evolution-59d2deddc74713097251e0b2c0eb48f078f78268.tar.xz
gsoc2013-evolution-59d2deddc74713097251e0b2c0eb48f078f78268.tar.zst
gsoc2013-evolution-59d2deddc74713097251e0b2c0eb48f078f78268.zip
fix up check of LINGUAS variable so that we don't get problems when
2000-02-26 James Henstridge <james@daa.com.au> * gnome-gettext.m4: fix up check of LINGUAS variable so that we don't get problems when LINGUAS contains `en' and ALL_LINGUAS contains `en_GB' for instance. svn path=/trunk/; revision=1938
Diffstat (limited to 'macros/gnome-gettext.m4')
-rw-r--r--macros/gnome-gettext.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/gnome-gettext.m4 b/macros/gnome-gettext.m4
index 1dac989cbb..3ebd6d41bc 100644
--- a/macros/gnome-gettext.m4
+++ b/macros/gnome-gettext.m4
@@ -249,7 +249,7 @@ strdup __argz_count __argz_stringify __argz_next])
fi
for lang in $LINGUAS; do
case "$ALL_LINGUAS" in
- *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
+ *\ $lang\ *|$lang\ *|*\ $lang) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
esac
done
LINGUAS=$NEW_LINGUAS