X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fstrtoimax.m4;h=914e180bc38fcd756877b264befbcd2daf564f1e;hb=f919324aee68ab32b44e12dd697d60c96f9aae86;hp=7a338f2aa89c376c4326d1442b9a2c804f3bae16;hpb=1dbb5967ee7e786d08d728e6f53f3b67026c1e7a;p=gnulib.git diff --git a/m4/strtoimax.m4 b/m4/strtoimax.m4 index 7a338f2aa..914e180bc 100644 --- a/m4/strtoimax.m4 +++ b/m4/strtoimax.m4 @@ -1,10 +1,8 @@ -# strtoimax.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. +# strtoimax.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_STRTOIMAX], [ @@ -31,9 +29,7 @@ AC_DEFUN([gl_FUNC_STRTOIMAX], # Prerequisites of lib/strtoimax.c. AC_DEFUN([gl_PREREQ_STRTOIMAX], [ - jm_AC_TYPE_INTMAX_T - AC_CHECK_HEADERS_ONCE(stdlib.h) - AC_CHECK_DECLS_ONCE(strtol) + gl_AC_TYPE_INTMAX_T AC_CHECK_DECLS(strtoll) - AC_REQUIRE([jm_AC_TYPE_LONG_LONG]) + AC_REQUIRE([gl_AC_TYPE_LONG_LONG]) ])