fix up check of LINGUAS variable so that we don't get problems when
authorJames Henstridge <james@daa.com.au>
Fri, 25 Feb 2000 23:33:55 +0000 (23:33 +0000)
committerJames Henstridge <jamesh@src.gnome.org>
Fri, 25 Feb 2000 23:33:55 +0000 (23:33 +0000)
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=1126

macros/ChangeLog
macros/gnome-gettext.m4

index 780a403..bb93c28 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-02-22  Martin Baulig  <martin@home-of-linux.org>
 
        * autogen.sh: Don't run libtoolize when `NO_LIBTOOLIZE' is set.
index 1dac989..3ebd6d4 100644 (file)
@@ -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