2 dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
3 dnl This file is free software, distributed under the terms of the GNU
4 dnl General Public License. As a special exception to the GNU General
5 dnl Public License, this file may be distributed as part of a program
6 dnl that contains a configuration script generated by Autoconf, under
7 dnl the same distribution terms as the rest of that program.
11 AC_REQUIRE([gl_PREREQ_XSTRTOL])
12 AC_REQUIRE([gl_PREREQ_XSTRTOUL])
15 # Prerequisites of lib/xstrtol.h.
16 AC_DEFUN([gl_PREREQ_XSTRTOL_H],
18 AC_REQUIRE([gl_AC_TYPE_INTMAX_T])
19 AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
22 # Prerequisites of lib/xstrtol.c.
23 AC_DEFUN([gl_PREREQ_XSTRTOL],
25 AC_REQUIRE([gl_PREREQ_XSTRTOL_H])
26 AC_REQUIRE([AC_HEADER_STDC])
27 AC_CHECK_FUNCS_ONCE(isascii)
28 AC_CHECK_DECLS([strtoimax, strtoumax])
31 # Prerequisites of lib/xstrtoul.c.
32 AC_DEFUN([gl_PREREQ_XSTRTOUL],
34 AC_REQUIRE([gl_PREREQ_XSTRTOL])