]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Minor changes.
authorBruno Haible <bruno@clisp.org>
Tue, 14 Jan 2003 13:20:19 +0000 (13:20 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:08:55 +0000 (12:08 +0200)
m4/ChangeLog
m4/inttypes_h.m4
m4/stdint_h.m4
m4/uintmax_t.m4

index 884e489f4763770f1f114ee3c7a5f5fafc210778..fb70d33dfff4d7094d8bc9448a705b75db426b6e 100644 (file)
@@ -9,6 +9,15 @@
        two PO directories.
        Reported by Alexander Turbov <AVTurbov@gwise.eltech.ru>.
 
+2002-12-22  Bruno Haible  <bruno@clisp.org>
+
+       * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Whitespace change, takes
+       advantage of autoconf >= 2.52.
+       * stdint_h.m4 (jm_AC_HEADER_STDINT_H): Likewise.
+       * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Define HAVE_UINTMAX_T if
+       uintmax_t already exists. For consistency with HAVE_INTMAX_T, defined
+       by intmax.m4, needed by printf-parse.c.
+
 2002-12-07  Bruno Haible  <bruno@clisp.org>
 
        Switch to autoconf-2.57 and automake-1.7.2.
index 400a11184e5552d46b0083dec97e701e3a689686..4de409e1ee6d42e4cf38d34c62624ad62f1eec68 100644 (file)
@@ -1,4 +1,4 @@
-# inttypes_h.m4 serial 4 (gettext-0.11.4)
+# inttypes_h.m4 serial 5 (gettext-0.11.6)
 dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
@@ -22,7 +22,7 @@ AC_DEFUN([jm_AC_HEADER_INTTYPES_H],
     jm_ac_cv_header_inttypes_h=no)])
   if test $jm_ac_cv_header_inttypes_h = yes; then
     AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
-[Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
-   and declares uintmax_t. ])
+      [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
+       and declares uintmax_t. ])
   fi
 ])
index 4b5a4ac6021320882534bed4dc07ce673891fc9d..084b1574774cc2dc13c7b023216c196a3ee284d0 100644 (file)
@@ -1,4 +1,4 @@
-# stdint_h.m4 serial 2 (gettext-0.11.4)
+# stdint_h.m4 serial 3 (gettext-0.11.6)
 dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
@@ -22,7 +22,7 @@ AC_DEFUN([jm_AC_HEADER_STDINT_H],
     jm_ac_cv_header_stdint_h=no)])
   if test $jm_ac_cv_header_stdint_h = yes; then
     AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
-[Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
-   and declares uintmax_t. ])
+      [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
+       and declares uintmax_t. ])
   fi
 ])
index ec3a8b92245f231f9ad07db108b54d343e7b54cd..cbae572b7d5a9d1723ae636d9d743c0b0df48099 100644 (file)
@@ -1,4 +1,4 @@
-# uintmax_t.m4 serial 6 (gettext-0.11)
+# uintmax_t.m4 serial 7 (gettext-0.11.6)
 dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
@@ -10,8 +10,8 @@ dnl From Paul Eggert.
 
 AC_PREREQ(2.13)
 
-# Define uintmax_t to `unsigned long' or `unsigned long long'
-# if <inttypes.h> does not exist.
+# Define uintmax_t to 'unsigned long' or 'unsigned long long'
+# if it is not already defined in <stdint.h> or <inttypes.h>.
 
 AC_DEFUN([jm_AC_TYPE_UINTMAX_T],
 [
@@ -23,7 +23,10 @@ AC_DEFUN([jm_AC_TYPE_UINTMAX_T],
       && ac_type='unsigned long long' \
       || ac_type='unsigned long'
     AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
-  [Define to unsigned long or unsigned long long
-   if <inttypes.h> and <stdint.h> don't define.])
+      [Define to unsigned long or unsigned long long
+       if <stdint.h> and <inttypes.h> don't define.])
+  else
+    AC_DEFINE(HAVE_UINTMAX_T, 1,
+      [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.])
   fi
 ])