summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-02-11 20:27:16 +0000
committerJim Meyering <jim@meyering.net>2005-02-11 20:27:16 +0000
commiteda701b536892703ddd20218a156b8a7f5d5a168 (patch)
tree66bebb7a5a9cf5a422361a73789dd3272410cdb9 /m4
parent1beb06ed13f659873baa14c4bf6b58c9eac2a13c (diff)
downloadcoreutils-eda701b536892703ddd20218a156b8a7f5d5a168.tar.xz
(gl_INTTOSTR): Use AC_LIBSOURCES to list the required source files.
Diffstat (limited to 'm4')
-rw-r--r--m4/inttostr.m415
1 files changed, 13 insertions, 2 deletions
diff --git a/m4/inttostr.m4 b/m4/inttostr.m4
index b1aabad46..639dd3245 100644
--- a/m4/inttostr.m4
+++ b/m4/inttostr.m4
@@ -1,11 +1,22 @@
-# inttostr.m4 serial 3
-dnl Copyright (C) 2004 Free Software Foundation, Inc.
+# inttostr.m4 serial 4
+dnl Copyright (C) 2004, 2005 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_INTTOSTR],
[
+ AC_LIBSOURCES([inttostr.c, inttostr.h])
+
+ dnl We don't technically need to list the following .c files, since their
+ dnl functions are named in the AC_LIBOBJ calls, but this is an unusual
+ dnl module and it seems a little clearer to do so.
+ AC_LIBSOURCES([imaxtostr.c, offtostr.c, umaxtostr.c])
+
+ AC_LIBOBJ([imaxtostr])
+ AC_LIBOBJ([offtostr])
+ AC_LIBOBJ([umaxtostr])
+
gl_PREREQ_INTTOSTR
gl_PREREQ_IMAXTOSTR
gl_PREREQ_OFFTOSTR