]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Ensure intmax_t gets defined in libasprintf.
authorBruno Haible <bruno@clisp.org>
Sat, 4 Jun 2011 15:29:31 +0000 (17:29 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 7 Jun 2011 21:39:50 +0000 (23:39 +0200)
ChangeLog
Makefile.am
autogen.sh
gettext-runtime/libasprintf/ChangeLog
gettext-runtime/libasprintf/configure.ac
gettext-runtime/m4/ChangeLog
gettext-runtime/m4/Makefile.am

index ae10a9dd2b7f55724447ddeae88aa02cc86618ff..361cd2bf85f8ab08f6e14bb85231d39e95514650 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-06-04  Bruno Haible  <bruno@clisp.org>
+
+       Ensure intmax_t gets defined in libasprintf.
+       * autogen.sh: Create gettext-runtime/m4/intmax_t.m4, copied from
+       gnulib.
+       * Makefile.am (distcheck-hook): Check also intmax_t.m4.
+
 2011-06-03  Bruno Haible  <bruno@clisp.org>
 
        * autogen.sh (GNULIB_MODULES_LIBASPRINTF): Add verify.
index cc9b18395cd272de299c1d51c88324c1ffb001f3..d555020ed69dbb9707bb2069231359a64da26d60 100644 (file)
@@ -53,6 +53,7 @@ distcheck-hook:
        cmp -s gettext-runtime/m4/intldir.m4 gettext-tools/gnulib-m4/intldir.m4
        cmp -s gettext-runtime/m4/intlmacosx.m4 gettext-tools/gnulib-m4/intlmacosx.m4
        cmp -s gettext-runtime/m4/intmax.m4 gettext-tools/gnulib-m4/intmax.m4
+       cmp -s gettext-runtime/m4/intmax_t.m4 gettext-tools/gnulib-m4/intmax_t.m4
        cmp -s gettext-runtime/m4/inttypes-pri.m4 gettext-tools/gnulib-m4/inttypes-pri.m4
        cmp -s gettext-runtime/m4/inttypes_h.m4 gettext-tools/gnulib-m4/inttypes_h.m4
        cmp -s gettext-runtime/m4/lcmessage.m4 gettext-tools/gnulib-m4/lcmessage.m4
index 60131871cdaa74cf922ab1d3179edce0c5086c3b..48aa5bcd636bb09c7e566106bbcc39619d7094f3 100755 (executable)
@@ -113,6 +113,7 @@ if ! $skip_gnulib; then
     '
     $GNULIB_TOOL --dir=gettext-runtime/libasprintf --source-base=. --m4-base=gnulib-m4 --lgpl=2 --makefile-name=Makefile.gnulib --libtool --local-dir=gnulib-local --local-symlink \
       --import $GNULIB_MODULES_LIBASPRINTF $GNULIB_MODULES_LIBASPRINTF_OTHER
+    $GNULIB_TOOL --copy-file m4/intmax_t.m4 gettext-runtime/m4/intmax_t.m4
     # In gettext-tools:
     GNULIB_MODULES_TOOLS_FOR_SRC='
       alloca-opt
index 7908646bb7d791d763e92b92aa54b6f47dfb32c5..066fcdb76fc50b15df05b415e4b7ecd625d1a151 100644 (file)
@@ -1,3 +1,8 @@
+2011-06-04  Bruno Haible  <bruno@clisp.org>
+
+       Ensure intmax_t gets defined in libasprintf.
+       * configure.ac: Invoke gl_AC_TYPE_INTMAX_T instead of gt_TYPE_INTMAX_T.
+
 2011-06-03  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.am (lib_asprintf_EXTRASOURCES): Add verify.h.
index 3735cd6717dd04ebcb466dc2b9a5bb8743cd22cb..1e0aa4aad47094877c9601e2d90ad2857575f310 100644 (file)
@@ -1,5 +1,5 @@
 dnl Configuration for the GNU libasprintf library
-dnl Copyright (C) 2002-2010 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2011 Free Software Foundation, Inc.
 dnl
 dnl This program is free software: you can redistribute it and/or modify
 dnl it under the terms of the GNU General Public License as published by
@@ -64,7 +64,7 @@ AC_CHECK_TYPE([ptrdiff_t], ,
   [AC_DEFINE([ptrdiff_t], [long],
      [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
   ])
-gt_TYPE_INTMAX_T
+gl_AC_TYPE_INTMAX_T
 gl_XSIZE
 
 dnl Checks for library functions.
index b3048739f8ae3f3cf75fa001ed041d68eb456273..7267059db2a2816eefa6ed1818928532ea5e8442 100644 (file)
@@ -1,3 +1,8 @@
+2011-06-04  Bruno Haible  <bruno@clisp.org>
+
+       Ensure intmax_t gets defined in libasprintf.
+       * Makefile.am (EXTRA_DIST): Add intmax_t.m4.
+
 2011-02-18  Eric Blake  <eblake@redhat.com>
 
        longlong: skip, rather than fail, on cross-compilation
index bf10c67b2aa7bf24c1df9c27f0e879a544ac3ceb..1e179777b15d4f2cd05a451ae00f502bd7e066ae 100644 (file)
@@ -14,6 +14,7 @@ intl.m4 \
 intldir.m4 \
 intlmacosx.m4 \
 intmax.m4 \
+intmax_t.m4 \
 inttypes-pri.m4 \
 inttypes_h.m4 \
 lcmessage.m4 \