Use an all-permissive copyright notice, recommended by RMS.
[gnulib.git] / m4 / xstrtol.m4
1 # xstrtol.m4 serial 5
2 dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
6
7 AC_DEFUN([gl_XSTRTOL],
8 [
9   AC_REQUIRE([gl_PREREQ_XSTRTOL])
10   AC_REQUIRE([gl_PREREQ_XSTRTOUL])
11 ])
12
13 # Prerequisites of lib/xstrtol.h.
14 AC_DEFUN([gl_PREREQ_XSTRTOL_H],
15 [
16   AC_REQUIRE([gl_AC_TYPE_INTMAX_T])
17   AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
18 ])
19
20 # Prerequisites of lib/xstrtol.c.
21 AC_DEFUN([gl_PREREQ_XSTRTOL],
22 [
23   AC_REQUIRE([gl_PREREQ_XSTRTOL_H])
24   AC_REQUIRE([AC_HEADER_STDC])
25   AC_CHECK_FUNCS_ONCE(isascii)
26   AC_CHECK_DECLS([strtoimax, strtoumax])
27 ])
28
29 # Prerequisites of lib/xstrtoul.c.
30 AC_DEFUN([gl_PREREQ_XSTRTOUL],
31 [
32   AC_REQUIRE([gl_PREREQ_XSTRTOL])
33 ])