bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/4] inttypes: omit now-redundant strtoimax and strtoumax work


From: Paul Eggert
Subject: [PATCH 2/4] inttypes: omit now-redundant strtoimax and strtoumax work
Date: Mon, 25 Apr 2011 21:59:08 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

* m4/inttypes.m4 (gl_INTTYPES_H): Do not check for strtoimax and
strtoumax decls; gl_FUNC_STRTOIMAX and gl_FUNC_STRTOUMAX now do this.
---
 ChangeLog      |    4 ++++
 m4/inttypes.m4 |   16 +---------------
 2 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 791cf67..d37667b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2011-04-25  Paul Eggert  <address@hidden>
 
+       inttypes: omit now-redundant strtoimax and strtoumax work
+       * m4/inttypes.m4 (gl_INTTYPES_H): Do not check for strtoimax and
+       strtoumax decls; gl_FUNC_STRTOIMAX and gl_FUNC_STRTOUMAX now do this.
+
        strtoimax, strtoumax: simplify, port to HP-UX 11.00 64-bit
        This supports apps that need pointers to strtoimax and strtoumax,
        and ports to HP-UX 11.00 64.bit, which has macros that expand to
diff --git a/m4/inttypes.m4 b/m4/inttypes.m4
index 1b76c69..99a6071 100644
--- a/m4/inttypes.m4
+++ b/m4/inttypes.m4
@@ -1,4 +1,4 @@
-# inttypes.m4 serial 21
+# inttypes.m4 serial 22
 dnl Copyright (C) 2006-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -12,8 +12,6 @@ AC_DEFUN([gl_INTTYPES_H],
   AC_REQUIRE([gl_STDINT_H])
   AC_REQUIRE([gt_INTTYPES_PRI])
   AC_CHECK_HEADERS_ONCE([inttypes.h])
-  AC_CHECK_DECLS_ONCE([strtoimax])
-  AC_CHECK_DECLS_ONCE([strtoumax])
 
   dnl Override <inttypes.h> always, so that the portability warnings work.
   AC_REQUIRE([gl_INTTYPES_H_DEFAULTS])
@@ -60,18 +58,6 @@ AC_DEFUN([gl_INTTYPES_H],
   fi
   AC_SUBST([PRIPTR_PREFIX])
 
-  if test "$ac_cv_have_decl_strtoimax" = yes; then
-    HAVE_DECL_STRTOIMAX=1
-  else
-    HAVE_DECL_STRTOIMAX=0
-  fi
-
-  if test "$ac_cv_have_decl_strtoumax" = yes; then
-    HAVE_DECL_STRTOUMAX=1
-  else
-    HAVE_DECL_STRTOUMAX=0
-  fi
-
   gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION(
     [INT32_MAX_LT_INTMAX_MAX],
     [defined INT32_MAX && defined INTMAX_MAX],
-- 
1.7.4.4





reply via email to

[Prev in Thread] Current Thread [Next in Thread]