mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-28 12:35:36 +08:00
(gl_INTTOSTR): Use AC_LIBSOURCES to list the required source files.
This commit is contained in:
parent
1beb06ed13
commit
eda701b536
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user