GCC 3.0 Release Criteria
Philipp Thomas
pthomas@suse.de
Sun Apr 30 11:33:00 GMT 2000
* Mark Mitchell (mark@codesourcery.com) [20000430 08:58]:
> If you submit a patch that contains your current patch (making
> --enable-nls) the default, but that also makes sure that we're not
> cross-compiling, or Canadian cross-compiling, then I'll approve it.
Like so ?
Also note that I don't have write privileges, so someone else needs to check
this in.
2000-04-30 Philipp Thomas <pthomas@suse.de>
* configure.in: Enable NLS support by default if not
cross-compiling.
* configure: Regenerate.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/configure.in,v
retrieving revision 1.364
diff -u -p -r1.364 configure.in
--- configure.in 2000/04/30 11:17:13 1.364
+++ configure.in 2000/04/30 18:20:50
@@ -4027,10 +4027,17 @@ AC_SUBST(VERSION)
ALL_LINGUAS="en_UK"
-# NLS support is still experimental, so disable it by default for now.
+# Enable NLS support by default
AC_ARG_ENABLE(nls,
- [ --enable-nls use Native Language Support (disabled by default)],
- , enable_nls=no)
+ [ --enable-nls use Native Language Support (default yes if not cross compiling)],
+ , enable_nls=yes)
+
+# if cross compiling, disable NLS support.
+# It's not worth the trouble, at least for now.
+if test "${build}" != "${host}" -o "${build}" != "${target}" -o "${host}" != "${target}"
+then
+ enable_nls=no
+fi
AM_GNU_GETTEXT
XGETTEXT="AWK='$AWK' \$(SHELL) \$(top_srcdir)/exgettext $XGETTEXT"
More information about the Gcc-patches
mailing list