summaryrefslogtreecommitdiff
path: root/gcc/aclocal.m4
diff options
context:
space:
mode:
authorpthomas <pthomas@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-31 17:46:30 +0000
committerpthomas <pthomas@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-31 17:46:30 +0000
commitc5ab9ed25f36efca6a8a5ff771b2e58c95374bcb (patch)
tree7186bd33dacc24adceef53b912b388cc89c3acc1 /gcc/aclocal.m4
parentc87435c8f259f7a056f44cc7b911749710e86e7c (diff)
downloadgcc-c5ab9ed25f36efca6a8a5ff771b2e58c95374bcb.tar.gz
gcc:
* configure.in (enable-nls): Enable if build == host, i.e. when not building a canadian cross compiler. (enable-maintainer-mode): Added for use with i18n. * aclocal.m4 (AM_GNU_GETTEXT): Only build catalogs that are a cross section of ALL_LINGUAS and LINGUAS. * configure: Rebuild. gcc/po: * Makefile.in.in: Create compiled catalogs in objdir, not srcdir. Create gcc.pot and cat-tbl-id.c only in maintainer mode. * gcc.pot: Generated and checked in. * cat-tbl-id.c: Generated and checked in. * stamp-cat-id: Generated and checked in. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34303 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/aclocal.m4')
-rw-r--r--gcc/aclocal.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4
index 7de3d38e4a5..3d7ee94ce91 100644
--- a/gcc/aclocal.m4
+++ b/gcc/aclocal.m4
@@ -513,9 +513,9 @@ 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
- case "$ALL_LINGUAS" in
- *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
+ for lang in $ALL_LINGUAS; do
+ case " $LINGUAS " in
+ *" $lang "*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
esac
done
LINGUAS=$NEW_LINGUAS