diff options
author | Philipp Thomas <pthomas@suse.de> | 2000-06-24 06:48:43 +0000 |
---|---|---|
committer | Philipp Thomas <pthomas@gcc.gnu.org> | 2000-06-24 06:48:43 +0000 |
commit | 47f0185696327994023fb7ceec89ed992f1ca2f2 (patch) | |
tree | 694606885486b13b22a9240f965aed2052ff61c9 /gcc/aclocal.m4 | |
parent | 81ef1479590b169b10a93e7e7d4fbaaa4af2b4a4 (diff) | |
download | gcc-47f0185696327994023fb7ceec89ed992f1ca2f2.tar.gz |
aclocal.m4 (AM_GNU_GETTEXT): If LINGUAS isn't set, build all catalogs specified in ALL_LINGUAS.
2000-06-24 Philipp Thomas <pthomas@suse.de>
* aclocal.m4(AM_GNU_GETTEXT): If LINGUAS isn't set, build
all catalogs specified in ALL_LINGUAS.
* configure: Rebuilt.
From-SVN: r34674
Diffstat (limited to 'gcc/aclocal.m4')
-rw-r--r-- | gcc/aclocal.m4 | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4 index 19a1f637e89..23369432e7d 100644 --- a/gcc/aclocal.m4 +++ b/gcc/aclocal.m4 @@ -512,13 +512,17 @@ strdup __argz_count __argz_stringify __argz_next]) LINGUAS= else AC_MSG_CHECKING(for catalogs to be installed) - NEW_LINGUAS= - for lang in $ALL_LINGUAS; do - case " $LINGUAS " in - *" $lang "*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; - esac - done - LINGUAS=$NEW_LINGUAS + if test "x$LINGUAS" = "x"; then + LINGUAS=$ALL_LINGUAS + else + NEW_LINGUAS= + for lang in $ALL_LINGUAS; do + case " $LINGUAS " in + *" $lang "*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; + esac + done + LINGUAS=$NEW_LINGUAS + fi AC_MSG_RESULT($LINGUAS) fi |