sync gettext .m4 files from gettext
authorKarl Berry <karl@freefriends.org>
Tue, 7 Apr 2015 16:46:17 +0000 (09:46 -0700)
committerKarl Berry <karl@freefriends.org>
Tue, 7 Apr 2015 16:46:17 +0000 (09:46 -0700)
12 files changed:
ChangeLog
config/srclist.txt
config/srclistvars.sh
m4/codeset.m4
m4/gettext.m4
m4/iconv.m4
m4/intl.m4
m4/intldir.m4
m4/intlmacosx.m4
m4/lcmessage.m4
m4/nls.m4
m4/po.m4

index bca02d7196b2d6270e94ae8ea2b6f461f2b97933..be92f08a4db7a453a476ec8d2ec449442e32f734 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2015-04-07  Karl Berry  <karl@gnu.org>
+
+       * config/srclistvars.sh (GETTEXT): new definition.
+       * config/srclist.txt: use it for gettext .m4 files.
+       Thread starting at http://lists.gnu.org/archive/html/bug-gnulib/201
+       and confirmed at http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00146.html
+       and continuing into April.
+
 2015-04-07  Daiki Ueno  <ueno@gnu.org>
 
        uniname/uniname-tests: fix failure due to alias
index e5621cd35104dfe676405e09b4f2cf6f0a274f65..ea4630764eb57bf2af24b77c70a9833b29ca17b2 100644 (file)
@@ -3,38 +3,38 @@
 
 $GNUCONFIG/config.guess                build-aux
 $GNUCONFIG/config.sub          build-aux
-#
+
 $AUTOMAKE/lib/ar-lib           build-aux
 $AUTOMAKE/lib/compile          build-aux
 $AUTOMAKE/lib/depcomp          build-aux
 $AUTOMAKE/lib/install-sh       build-aux
 $AUTOMAKE/lib/mdate-sh         build-aux
 $AUTOMAKE/lib/mkinstalldirs    build-aux
-#
+
 $TEXINFOSRC/doc/texinfo.tex            build-aux
-#
+
 # we generate INSTALL from this via a rule in doc/Makefile.
 $AUTOCONF/doc/install.texi     doc
-#
+
 $GNUSTANDARDS/maintain.texi    doc
 $GNUSTANDARDS/standards.texi   doc
 $GNUSTANDARDS/make-stds.texi   doc
 $GNUSTANDARDS/gnu-oids.texi    doc
 $GNUSTANDARDS/fdl.texi         doc
-#
+
 $GNUWWWLICENSES/lgpl-3.0.txt                   doc/COPYING.LESSERv3
 $GNUWWWLICENSES/old-licenses/lgpl-2.1.txt      doc/COPYING.LESSERv2
 $GNUWWWLICENSES/gpl-3.0.txt                    doc/COPYINGv3
 $GNUWWWLICENSES/old-licenses/gpl-2.0.txt       doc/COPYINGv2
 $GNUWWWLICENSES/old-licenses/lgpl-2.1.texi     doc
 $GNUWWWLICENSES/old-licenses/gpl-2.0.texi      doc
-# no longer used or maintained and fails @acronym checks
+# no longer modified and fails @acronym checks
 #$GNUWWWLICENSES/old-licenses/fdl-1.2.texi     doc
 $GNUWWWLICENSES/agpl-3.0.texi                  doc
 $GNUWWWLICENSES/fdl-1.3.texi                   doc
 $GNUWWWLICENSES/gpl-3.0.texi                   doc
 $GNUWWWLICENSES/lgpl-3.0.texi                  doc
-#
+
 # The official forms for contributors to fill out, mentioned in maintain.
 $GNUORG/conditions.text                                doc/Copyright
 $GNUORG/Copyright/request-assign.changes       doc/Copyright
@@ -49,6 +49,21 @@ $GNUORG/disclaim.manual                              doc/Copyright
 $GNUORG/disclaim.changes.manual                        doc/Copyright
 $GNUORG/disclaim.program                       doc/Copyright
 
+# Although gettext-runtime/m4 has other .m4 files, they are maintained
+# in gnulib.
+$GETTEXT/gettext-runtime/m4/codeset.m4         m4
+$GETTEXT/gettext-runtime/m4/gettext.m4         m4
+$GETTEXT/gettext-runtime/m4/iconv.m4           m4
+$GETTEXT/gettext-runtime/m4/intl.m4            m4
+$GETTEXT/gettext-runtime/m4/intldir.m4         m4
+$GETTEXT/gettext-runtime/m4/intlmacosx.m4      m4
+$GETTEXT/gettext-runtime/m4/lcmessage.m4       m4
+$GETTEXT/gettext-runtime/m4/nls.m4             m4
+$GETTEXT/gettext-runtime/m4/po.m4              m4
+
+# \f
+# All below here commented out in forlorn hope of future syncs.
+
 # new argp not in glibc yet --13feb06.
 #$LIBCSRC/argp/argp-ba.c                       lib gpl
 #$LIBCSRC/argp/argp-eexst.c            lib gpl
index 4756d5637388f5ee2149362377e621d19d2a8a29..b7e8d33e9437d5a7eaa76ffe80728a46886ab5ce 100644 (file)
@@ -1,8 +1,7 @@
 # Variables for srclist-update and srclist.txt.
-# Will change for each user.
+# Will likely change for each user.
 
-# Copyright (C) 2002, 2003, 2004 2005, 2006, 2008
-# Free Software Foundation, Inc.
+# Copyright 2002-2015 Free Software Foundation, Inc.
 
 # This file is free software: you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -21,6 +20,7 @@
 case $LOGNAME in
 karl)
   : ${ACLOCAL=/usr/local/gnu/share/aclocal}
+  : ${GETTEXT=/usr/local/gnu/src/dist-gettext}
   : ${GNUBIN=/usr/local/gnu/bin}
   : ${GNUORG=$HOME/gnu/gnuorg}
   : ${GNUWWWLICENSES=$HOME/gnu/www/www/licenses}
index 1c52ffc1be16d1e3408f085cb2d062b3779ef13b..d7de8d67e0d2c0a70dcdb911f6ac7893d2c3bca4 100644 (file)
@@ -1,5 +1,5 @@
 # codeset.m4 serial 5 (gettext-0.18.2)
-dnl Copyright (C) 2000-2002, 2006, 2008-2015 Free Software Foundation, Inc.
+dnl Copyright (C) 2000-2002, 2006, 2008-2014 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.
index ce5f5ea93a5b438017154fed8f5b48c440df17e2..be247bf7b88860d0f565884bd192d44f6e23e9ec 100644 (file)
@@ -1,5 +1,5 @@
 # gettext.m4 serial 66 (gettext-0.18.2)
-dnl Copyright (C) 1995-2015 Free Software Foundation, Inc.
+dnl Copyright (C) 1995-2014 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.
index 5a6c29bd8960adc3dc658d7a1ad9c3bf526fb780..4e37363156620d7b2dd33996846464ae3a3c4b2c 100644 (file)
@@ -1,5 +1,5 @@
 # iconv.m4 serial 19 (gettext-0.18.2)
-dnl Copyright (C) 2000-2002, 2007-2015 Free Software Foundation, Inc.
+dnl Copyright (C) 2000-2002, 2007-2014 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.
index 24e7ed938920bc478220015b4593ba1b955d3829..0c29ad0df8e312a12bade9faa525bbe6acc542be 100644 (file)
@@ -1,5 +1,5 @@
-# intl.m4 serial 27 (gettext-0.18.3)
-dnl Copyright (C) 1995-2015 Free Software Foundation, Inc.
+# intl.m4 serial 28 (gettext-0.19)
+dnl Copyright (C) 1995-2014 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.
@@ -42,6 +42,8 @@ AC_DEFUN([AM_INTL_SUBDIR],
   AC_REQUIRE([gl_XSIZE])dnl
   AC_REQUIRE([gl_FCNTL_O_FLAGS])dnl
   AC_REQUIRE([gt_INTL_MACOSX])dnl
+  AC_REQUIRE([gl_EXTERN_INLINE])dnl
+  AC_REQUIRE([gt_GL_ATTRIBUTE])dnl
 
   dnl Support for automake's --enable-silent-rules.
   case "$enable_silent_rules" in
@@ -240,8 +242,7 @@ AC_DEFUN([gt_INTL_SUBDIR_CORE],
 
   dnl intl/plural.c is generated from intl/plural.y. It requires bison,
   dnl because plural.y uses bison specific features. It requires at least
-  dnl bison-1.26 because earlier versions generate a plural.c that doesn't
-  dnl compile.
+  dnl bison-2.7 for %define api.pure.
   dnl bison is only needed for the maintainer (who touches plural.y). But in
   dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
   dnl the rule in general Makefile. Now, some people carelessly touch the
@@ -258,7 +259,7 @@ changequote(<<,>>)dnl
     ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
     case $ac_prog_version in
       '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
-      1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
+      2.[7-9]* | [3-9].*)
 changequote([,])dnl
          ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
       *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
@@ -269,3 +270,29 @@ changequote([,])dnl
     INTLBISON=:
   fi
 ])
+
+dnl Copies _GL_UNUSED and _GL_ATTRIBUTE_PURE definitions from
+dnl gnulib-common.m4 as a fallback, if the project isn't using Gnulib.
+AC_DEFUN([gt_GL_ATTRIBUTE], [
+  m4_ifndef([gl_[]COMMON],
+    AH_VERBATIM([gt_gl_attribute],
+[/* Define as a marker that can be attached to declarations that might not
+    be used.  This helps to reduce warnings, such as from
+    GCC -Wunused-parameter.  */
+#ifndef _GL_UNUSED
+# if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
+#  define _GL_UNUSED __attribute__ ((__unused__))
+# else
+#  define _GL_UNUSED
+# endif
+#endif
+
+/* The __pure__ attribute was added in gcc 2.96.  */
+#ifndef _GL_ATTRIBUTE_PURE
+# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
+#  define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
+# else
+#  define _GL_ATTRIBUTE_PURE /* empty */
+# endif
+#endif
+]))])
index 11641483811e8bc9ea79dfb19bb333166d009f35..73b672a576864378bf9be74652f32d86953d0cef 100644 (file)
@@ -1,5 +1,5 @@
 # intldir.m4 serial 2 (gettext-0.18)
-dnl Copyright (C) 2006, 2009-2015 Free Software Foundation, Inc.
+dnl Copyright (C) 2006, 2009-2014 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.
index 0d8d2988c9b6cf78e9aaf1b8be9afb589e9b5462..8a045f6a295781c3c08e38df8d053e30011b65f1 100644 (file)
@@ -1,5 +1,5 @@
 # intlmacosx.m4 serial 5 (gettext-0.18.2)
-dnl Copyright (C) 2004-2015 Free Software Foundation, Inc.
+dnl Copyright (C) 2004-2014 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.
index 2fcce61be849ad12a68f61c29b9f1b6aaabca470..7470ec5973ad7e98438b1786153ce76505583c05 100644 (file)
@@ -1,5 +1,5 @@
 # lcmessage.m4 serial 7 (gettext-0.18.2)
-dnl Copyright (C) 1995-2002, 2004-2005, 2008-2015 Free Software Foundation,
+dnl Copyright (C) 1995-2002, 2004-2005, 2008-2014 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
index 33d66c188d325a8aea3f32e60c2066988938e168..53cdc8be8becc87942a1fcd7ea1ef088f98d81ac 100644 (file)
--- a/m4/nls.m4
+++ b/m4/nls.m4
@@ -1,5 +1,5 @@
 # nls.m4 serial 5 (gettext-0.18)
-dnl Copyright (C) 1995-2003, 2005-2006, 2008-2015 Free Software Foundation,
+dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
index 203c3f98b6478d3b47cc63e8952bf33b10ef4f4d..43012dca1b403d6b6fddbbde35b4449f5caa7191 100644 (file)
--- a/m4/po.m4
+++ b/m4/po.m4
@@ -1,5 +1,5 @@
-# po.m4 serial 23 (gettext-0.18.3)
-dnl Copyright (C) 1995-2015 Free Software Foundation, Inc.
+# po.m4 serial 24 (gettext-0.19)
+dnl Copyright (C) 1995-2014 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.
@@ -30,7 +30,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
 
   dnl Release version of the gettext macros. This is used to ensure that
   dnl the gettext macros and po/Makefile.in.in are in sync.
-  AC_SUBST([GETTEXT_MACRO_VERSION], [0.18])
+  AC_SUBST([GETTEXT_MACRO_VERSION], [0.19])
 
   dnl Perform the following tests also if --disable-nls has been given,
   dnl because they are needed for "make dist" to work.