diff options
author | Timur Bakeyev <mc@bat.ru> | 1999-02-16 01:58:31 +0800 |
---|---|---|
committer | Timur I. Bakeyev <timur@src.gnome.org> | 1999-02-16 01:58:31 +0800 |
commit | 77a4da633987f49c8b9b4cb9c9ac8e5e3f82c778 (patch) | |
tree | db9abae6df98b5d8d7d38fc560575384ffd1b022 /macros/gnome-gettext.m4 | |
parent | 7ecd4915dd0b3f8a4f5162fb1a18b42c05471bad (diff) | |
download | gsoc2013-evolution-77a4da633987f49c8b9b4cb9c9ac8e5e3f82c778.tar.gz gsoc2013-evolution-77a4da633987f49c8b9b4cb9c9ac8e5e3f82c778.tar.zst gsoc2013-evolution-77a4da633987f49c8b9b4cb9c9ac8e5e3f82c778.zip |
BSDI's shell fix..
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.
svn path=/trunk/; revision=665
Diffstat (limited to 'macros/gnome-gettext.m4')
-rw-r--r-- | macros/gnome-gettext.m4 | 5 |
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 |