From 46dfbd717e23b838d8a0019cddc53955e282ea9f Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Wed, 11 Jul 2012 09:20:19 +1200 Subject: Remove obsolete AM_GNU_GETTEXT information from docs --- doc/I18N-HOWTO | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/doc/I18N-HOWTO b/doc/I18N-HOWTO index 36c14d0..466719e 100644 --- a/doc/I18N-HOWTO +++ b/doc/I18N-HOWTO @@ -50,7 +50,7 @@ int main (void) { AM_INIT_AUTOMAKE($PACKAGE, $VERSION) to configure.in, just after AC_INIT - Change AC_CONFIG_HEADER to AM_CONFIG_HEADER as well. + Change AC_CONFIG_HEADERS to AM_CONFIG_HEADER as well. If you have an empty AC_CONFIG_FILES macro, then comment that, or automake will fail in the next step. @@ -92,13 +92,7 @@ int main (void) { The gettext macros need to be added after the initial checks. Putting them after the checks for library functions is a good idea. - IT_PROG_INTLTOOL(0.26) - - AM_GNU_GETTEXT([external]) # Only one of these two macro calls - AM_GLIB_GNU_GETTEXT # is needed to set up your project - - ALL_LINGUAS="da nl" # Internationalization, means there is - # a .po file for danish and dutch. + IT_PROG_INTLTOOL(0.50.0) AC_OUTPUT( Makefile @@ -111,19 +105,6 @@ int main (void) { Please require the latest intltool that exists. Intltool releases are pretty stable and often only contains bugfixes. - AM_GNU_GETTEXT adds native language support to automake, together - with a compile option. - - AM_GNU_GETTEXT will check for additional required functions and - programs and will finally create po/POTFILES during configure. - - Instead of AM_GNU_GETTEXT you can use AM_GLIB_GNU_GETTEXT, which - will do a few less things than AM_GNU_GETTEXT, but does more than - enough for what intltool needs to work. - - You do NOT need to use both AM_GNU_GETTEXT and AM_GLIB_GNU_GETTEXT - together though. Only one of them will suffice. - The text domain is identified by PACKAGE. We will need to add a few functions later on to helloworld.c that will use this #define'd variable. @@ -135,9 +116,6 @@ int main (void) { da nl - NOTE: These used to be in configure.{in,ac} in the ALL_LINGUAS - variable. This is deprecated since gettext 0.11 - 9. Run aclocal to make sure that the necessary autoconf and automake macros -- cgit v1.2.1