diff options
-rw-r--r-- | macros/ChangeLog | 7 | ||||
-rw-r--r-- | macros/gnome-gettext.m4 | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog index 6ae0cbd740..6eed5083f3 100644 --- a/macros/ChangeLog +++ b/macros/ChangeLog @@ -1,3 +1,8 @@ +1999-02-15 Timur Bakeyev <mc@bat.ru> + + * gnome-gettext.m4: Work around a bug in BSDI's native sh, which in- + correctly expands ${LINGUAS=$ALL_LINGUAS}. Switched to if/fi variant. + 1999-02-15 Chris Lahey <clahey@umich.edu> * gnome-print-check.m4: Copied this from libhnj/libhnj.m4. Almost @@ -31,7 +36,7 @@ $(MACROS), autogen.sh, gnome-common.m4 and a newly created gnome-macros.dep in `$(datadir)/aclocal/gnome'. -Sun Jan 24 03:59:32 1999 Timur Bakeyev <mc@bat.ru> +1999-01-24 Timur Bakeyev <mc@bat.ru> * gnome-pthread-check.m4: Add recognition of 2 more libraries - pthreads and pthread-support build in libc (as on BSDI). 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 |