aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-gettext.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/gnome-gettext.m4')
-rw-r--r--macros/gnome-gettext.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/macros/gnome-gettext.m4 b/macros/gnome-gettext.m4
index d811177c1e..1dac989cbb 100644
--- a/macros/gnome-gettext.m4
+++ b/macros/gnome-gettext.m4
@@ -244,7 +244,10 @@ strdup __argz_count __argz_stringify __argz_next])
else
AC_MSG_CHECKING(for catalogs to be installed)
NEW_LINGUAS=
- for lang in ${LINGUAS=$ALL_LINGUAS}; do
+ if test "x$LINGUAS" = "x"; then
+ LINGUAS=$ALL_LINGUAS
+ fi
+ for lang in $LINGUAS; do
case "$ALL_LINGUAS" in
*$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
esac