+2010-03-28 Bruno Haible <bruno@clisp.org>
+
+ * NEWS: Deprecate the use of AM_GNU_GETTEXT with 'no-libtool' argument
+ and 'gettextize --intl'.
+
2010-03-28 Bruno Haible <bruno@clisp.org>
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add fnmatch, remove
* The po/Makevars file has a new field MSGMERGE_OPTIONS, that can be used
to adjust msgmerge's operation.
+* The use of the macro AM_GNU_GETTEXT without 'external' argument and the
+ --intl option of the gettextize program are deprecated and will be removed
+ in the next release. Instead of including the intl sources in your package,
+ we suggest making the libintl library an (optional) prerequisite of your
+ package.
+
* Updated the meaning of 'gcc-internal-format' to match GCC 4.3.
* Installation options:
+2010-03-28 Bruno Haible <bruno@clisp.org>
+
+ * gettext.m4 (AM_GNU_GETTEXT): Emit a warning if the first argument is
+ empty or 'no-libtool'.
+
2009-12-26 Bruno Haible <bruno@clisp.org>
* intl.m4 (gt_INTL_SUBDIR_CORE): Don't check for NL_LOCALE_NAME macro.
-# gettext.m4 serial 62 (gettext-0.18)
-dnl Copyright (C) 1995-2009 Free Software Foundation, Inc.
+# gettext.m4 serial 63 (gettext-0.18)
+dnl Copyright (C) 1995-2010 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl Authors:
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
-dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006.
+dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006, 2008-2010.
dnl Macro to add for using GNU gettext.
ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
[errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
])])])])])
+ ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old],
+ [AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])])
ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
[errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
])])])])
+2010-03-28 Bruno Haible <bruno@clisp.org>
+
+ * gettexize.in: Warn about use of --intl option.
+ (func_usage): Mark it as deprecated.
+ (func_version): Bump copyright year.
+
2009-12-25 Bruno Haible <bruno@clisp.org>
* gettextize.in (m4filelist): Add fcntl-o.m4 instead of fcntl_h.m4 to
#! /bin/sh
#
-# Copyright (C) 1995-1998, 2000-2009 Free Software Foundation, Inc.
+# Copyright (C) 1995-1998, 2000-2010 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
--help print this help and exit
--version print version information and exit
-f, --force force writing of new files even if old exist
- --intl install libintl in a subdirectory
+ --intl install libintl in a subdirectory (deprecated)
--po-dir=DIR specify directory with PO files
--no-changelog don't update or create ChangeLog files
--symlink make symbolic links instead of copying files
func_version ()
{
echo "$progname (GNU $package) $version"
- echo "Copyright (C) 1995-1998, 2000-2009 Free Software Foundation, Inc.
+ echo "Copyright (C) 1995-1998, 2000-2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law."
test -n "$podirs" || podirs="po"
}
+# Warn about deprecated options.
+if test -n "$intldir"; then
+ echo "gettextize: warning: the option '--intl' is deprecated and will be removed" 1>&2
+fi
+
# Command-line argument processing.
# Analyzes the remaining arguments.
# Sets the variables