diff options
author | James Henstridge <james@daa.com.au> | 2000-02-25 23:44:00 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 2000-02-25 23:44:00 +0000 |
commit | 518c5b50f9235134c14ee7c8456fcb49b687213b (patch) | |
tree | 2f91cf0b3e0385d84e2bff4efbb2fbc8571b1e44 | |
parent | 47a44fec3371fd00d068377d205677d47a273e4c (diff) | |
download | shared-mime-info-518c5b50f9235134c14ee7c8456fcb49b687213b.tar.gz |
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. This patch is the same as the one applied to
HEAD.
svn path=/branches/gnome-libs-1-0/; revision=1150
-rw-r--r-- | macros/ChangeLog | 7 | ||||
-rw-r--r-- | macros/gnome-gettext.m4 | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog index 74dfc3cc..5fd38fa2 100644 --- a/macros/ChangeLog +++ b/macros/ChangeLog @@ -1,3 +1,10 @@ +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. This patch is the same as the one applied to + HEAD. + 1999-09-26 Jody Goldberg <jgoldberg@home.com> * compiler-flags.m4 : Remove -Wpointer-arith. It generates large diff --git a/macros/gnome-gettext.m4 b/macros/gnome-gettext.m4 index 1dac989c..3ebd6d41 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 |