~ubuntu-branches/ubuntu/raring/findutils/raring

« back to all changes in this revision

Viewing changes to gnulib/m4/xstrtol.m4

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2005-07-04 11:37:37 UTC
  • mto: (11.1.1 lenny) (1.1.10 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20050704113737-oxfumqxsqgfz5gay
Tags: upstream-4.2.22
ImportĀ upstreamĀ versionĀ 4.2.22

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# xstrtol.m4 serial 1
2
 
dnl Copyright (C) 2002 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.
 
1
#serial 7
 
2
dnl Copyright (C) 2002, 2003, 2004, 2005 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.
8
6
 
9
7
AC_DEFUN([gl_XSTRTOL],
10
8
[
 
9
  AC_LIBSOURCES([xstrtol.c, xstrtol.h, xstrtoul.c, intprops.h])
 
10
  AC_LIBOBJ([xstrtol])
 
11
  AC_LIBOBJ([xstrtoul])
 
12
 
11
13
  AC_REQUIRE([gl_PREREQ_XSTRTOL])
12
14
  AC_REQUIRE([gl_PREREQ_XSTRTOUL])
13
15
])
15
17
# Prerequisites of lib/xstrtol.h.
16
18
AC_DEFUN([gl_PREREQ_XSTRTOL_H],
17
19
[
18
 
  AC_REQUIRE([jm_AC_TYPE_INTMAX_T])
19
 
  AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
 
20
  AC_REQUIRE([gl_AC_TYPE_INTMAX_T])
 
21
  AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
20
22
])
21
23
 
22
24
# Prerequisites of lib/xstrtol.c.
24
26
[
25
27
  AC_REQUIRE([gl_PREREQ_XSTRTOL_H])
26
28
  AC_REQUIRE([AC_HEADER_STDC])
27
 
  AC_CHECK_HEADERS_ONCE(limits.h string.h)
28
29
  AC_CHECK_FUNCS_ONCE(isascii)
29
 
  AC_CHECK_DECLS_ONCE(strtol strtoul)
30
30
  AC_CHECK_DECLS([strtoimax, strtoumax])
31
31
])
32
32