From 77a4da633987f49c8b9b4cb9c9ac8e5e3f82c778 Mon Sep 17 00:00:00 2001 From: Timur Bakeyev Date: Mon, 15 Feb 1999 17:58:31 +0000 Subject: BSDI's shell fix.. 1999-02-15 Timur Bakeyev * gnome-gettext.m4: Work around a bug in BSDI's native sh, which in- correctly expands ${LINGUAS=$ALL_LINGUAS}. Switched to if/fi variant. svn path=/trunk/; revision=665 --- macros/ChangeLog | 7 ++++++- macros/gnome-gettext.m4 | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'macros') 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 + + * 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 * 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 +1999-01-24 Timur Bakeyev * 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 -- cgit v1.2.3