2 dnl Copyright (C) 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.
7 AC_DEFUN([gl_INTTOSTR],
9 AC_LIBSOURCES([inttostr.c, inttostr.h, intprops.h])
11 dnl We don't technically need to list the following .c files, since their
12 dnl functions are named in the AC_LIBOBJ calls, but this is an unusual
13 dnl module and it seems a little clearer to do so.
14 AC_LIBSOURCES([imaxtostr.c, offtostr.c, umaxtostr.c])
16 AC_LIBOBJ([imaxtostr])
18 AC_LIBOBJ([umaxtostr])
26 # Prerequisites of lib/inttostr.h.
27 AC_DEFUN([gl_PREREQ_INTTOSTR], [
28 AC_REQUIRE([gl_AC_TYPE_INTMAX_T])
29 AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
30 AC_REQUIRE([AC_TYPE_OFF_T])
34 # Prerequisites of lib/imaxtostr.c.
35 AC_DEFUN([gl_PREREQ_IMAXTOSTR], [:])
37 # Prerequisites of lib/offtostr.c.
38 AC_DEFUN([gl_PREREQ_OFFTOSTR], [:])
40 # Prerequisites of lib/umaxtostr.c.
41 AC_DEFUN([gl_PREREQ_UMAXTOSTR], [:])