X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fstrtoumax.m4;h=197858712f8a496aa8604886fae089c8605c8b6b;hb=b28236b5d096f190b3d1d9724bfa871029729831;hp=5a2d569a77025e2d479866bd711a5ff27736f3ed;hpb=1dbb5967ee7e786d08d728e6f53f3b67026c1e7a;p=gnulib.git diff --git a/m4/strtoumax.m4 b/m4/strtoumax.m4 index 5a2d569a7..197858712 100644 --- a/m4/strtoumax.m4 +++ b/m4/strtoumax.m4 @@ -1,10 +1,8 @@ -# strtoumax.m4 serial 2 -dnl Copyright (C) 2002-2003 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 -dnl Public License, this file may be distributed as part of a program -dnl that contains a configuration script generated by Autoconf, under -dnl the same distribution terms as the rest of that program. +# strtoumax.m4 serial 5 +dnl Copyright (C) 2002, 2003, 2004 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. AC_DEFUN([gl_FUNC_STRTOUMAX], [ @@ -31,9 +29,7 @@ AC_DEFUN([gl_FUNC_STRTOUMAX], # Prerequisites of lib/strtoumax.c. AC_DEFUN([gl_PREREQ_STRTOUMAX], [ - jm_AC_TYPE_UINTMAX_T - AC_CHECK_HEADERS_ONCE(stdlib.h) - AC_CHECK_DECLS_ONCE(strtoul) + gl_AC_TYPE_UINTMAX_T AC_CHECK_DECLS(strtoull) - AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) + AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG]) ])