summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-01-29 00:16:39 +0000
committerJim Meyering <jim@meyering.net>2005-01-29 00:16:39 +0000
commitdfc5ff02a0d941446222e3c9de9d2334699c4308 (patch)
tree5c3e4fe6ac56a88d361e0025398b51e56ce56aa8
parent72d7b860db8314b745b1e6ddc0d07698dc1777b0 (diff)
downloadcoreutils-dfc5ff02a0d941446222e3c9de9d2334699c4308.tar.xz
Use AC_LIBSOURCES to list corresponding source (.c, .h, .y) files
so that automake automatically knows to distribute those files. Use AC_LIBOBJ to ensure that automake automatically knows the names of always-compiled source files. Automake already knows the names of conditionally compiled ones, e.g., due to preexisting uses of AC_LIBOBJ and AC_REPLACE_FUNCS. [This is a start. Many still remain to be fixed...]
-rw-r--r--m4/ChangeLog24
-rw-r--r--m4/acl.m45
-rw-r--r--m4/backupfile.m47
-rw-r--r--m4/c-strtod.m410
-rw-r--r--m4/canon-host.m47
-rw-r--r--m4/canonicalize.m47
-rw-r--r--m4/cloexec.m47
-rw-r--r--m4/closeout.m47
-rw-r--r--m4/dirfd.m46
-rw-r--r--m4/dirname.m47
-rw-r--r--m4/exclude.m47
-rw-r--r--m4/exitfail.m47
-rw-r--r--m4/file-type.m47
-rw-r--r--m4/filemode.m47
-rw-r--r--m4/fpending.m46
-rw-r--r--m4/fsusage.m46
-rw-r--r--m4/getdate.m47
-rw-r--r--m4/getline.m46
-rw-r--r--m4/getpagesize.m46
-rw-r--r--m4/getpass.m46
-rw-r--r--m4/gettime.m47
-rw-r--r--m4/getugroups.m47
-rw-r--r--m4/group-member.m46
-rw-r--r--m4/hard-locale.m410
-rw-r--r--m4/hash.m47
-rw-r--r--m4/human.m47
-rw-r--r--m4/idcache.m47
-rw-r--r--m4/long-options.m48
-rw-r--r--m4/makepath.m47
-rw-r--r--m4/md5.m47
-rw-r--r--m4/memcoll.m47
-rw-r--r--m4/modechange.m47
-rw-r--r--m4/mountlist.m46
-rw-r--r--m4/nanosleep.m46
-rw-r--r--m4/path-concat.m47
-rw-r--r--m4/pathmax.m46
-rw-r--r--m4/physmem.m47
-rw-r--r--m4/posixtm.m47
-rw-r--r--m4/posixver.m47
-rw-r--r--m4/quote.m47
-rw-r--r--m4/quotearg.m47
-rw-r--r--m4/readtokens.m47
-rw-r--r--m4/readutmp.m47
-rw-r--r--m4/safe-read.m47
-rw-r--r--m4/safe-write.m47
-rw-r--r--m4/same.m47
-rw-r--r--m4/savedir.m47
-rw-r--r--m4/setenv.m46
-rw-r--r--m4/settime.m47
-rw-r--r--m4/sha1.m47
-rw-r--r--m4/sig2str.m46
-rw-r--r--m4/strdup.m46
-rw-r--r--m4/strftime.m45
-rw-r--r--m4/strndup.m46
-rw-r--r--m4/strverscmp.m46
-rw-r--r--m4/timespec.m46
-rw-r--r--m4/unlocked-io.m46
-rw-r--r--m4/userspec.m47
-rw-r--r--m4/utimecmp.m45
-rw-r--r--m4/utimens.m45
-rw-r--r--m4/xalloc.m47
-rw-r--r--m4/yesno.m47
62 files changed, 313 insertions, 120 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index 19e6a1b05..6658ab0a4 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,27 @@
+2005-01-29 Jim Meyering <jim@meyering.net>
+
+ Use AC_LIBSOURCES to list corresponding source (.c, .h, .y) files
+ so that automake automatically knows to distribute those files.
+ Use AC_LIBOBJ to ensure that automake automatically knows the
+ names of always-compiled source files. Automake already knows
+ the names of conditionally compiled ones, e.g., due to preexisting
+ uses of AC_LIBOBJ and AC_REPLACE_FUNCS.
+ [This is a start. Many still remain to be fixed...]
+
+ * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4:
+ * canonicalize.m4, cloexec.m4, closeout.m4, dirfd.m4, dirname.m4:
+ * exclude.m4, exitfail.m4, file-type.m4, filemode.m4, fpending.m4:
+ * fsusage.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4:
+ * gettime.m4, getugroups.m4, group-member.m4, hard-locale.m4:
+ * hash.m4, human.m4, idcache.m4, long-options.m4, makepath.m4:
+ * md5.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4:
+ * path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4:
+ * quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4:
+ * safe-write.m4, same.m4, savedir.m4, setenv.m4, settime.m4:
+ * sha1.m4, sig2str.m4, strdup.m4, strftime.m4, strndup.m4:
+ * strverscmp.m4, timespec.m4, unlocked-io.m4, userspec.m4:
+ * utimecmp.m4, utimens.m4, xalloc.m4, yesno.m4:
+
2005-01-27 Jim Meyering <jim@meyering.net>
* hash-pjw.m4 (gl_HASH_PJW): New file/macro.
diff --git a/m4/acl.m4 b/m4/acl.m4
index 7f6e4e575..b592dd471 100644
--- a/m4/acl.m4
+++ b/m4/acl.m4
@@ -1,6 +1,6 @@
# acl.m4 - check for access control list (ACL) primitives
-# Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -9,6 +9,9 @@
AC_DEFUN([AC_FUNC_ACL],
[
+ AC_LIBSOURCES([acl.c, acl.h])
+ AC_LIBOBJ([acl])
+
dnl Prerequisites of lib/acl.c.
AC_CHECK_HEADERS(sys/acl.h)
AC_CHECK_FUNCS(acl)
diff --git a/m4/backupfile.m4 b/m4/backupfile.m4
index 528b7a088..2390b5ddf 100644
--- a/m4/backupfile.m4
+++ b/m4/backupfile.m4
@@ -1,11 +1,14 @@
-# backupfile.m4 serial 6
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# backupfile.m4 serial 7
+dnl Copyright (C) 2002, 2003, 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_BACKUPFILE],
[
+ AC_LIBSOURCES([backupfile.c, backupfile.h])
+ AC_LIBOBJ([backupfile])
+
dnl Prerequisites of lib/backupfile.c.
AC_REQUIRE([AC_HEADER_DIRENT])
AC_REQUIRE([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO])
diff --git a/m4/c-strtod.m4 b/m4/c-strtod.m4
index 87ec19159..ffeb45884 100644
--- a/m4/c-strtod.m4
+++ b/m4/c-strtod.m4
@@ -1,6 +1,6 @@
-# c-strtod.m4 serial 5
+# c-strtod.m4 serial 6
-# Copyright (C) 2004 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -35,6 +35,9 @@ AC_DEFUN([gl_C99_STRTOLD],
AC_DEFUN([gl_C_STRTOD],
[
+ AC_LIBSOURCES([c-strtod.c, c-strtod.h])
+ AC_LIBOBJ([c-strtod])
+
dnl Prerequisites of lib/c-strtod.c.
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
:
@@ -42,6 +45,9 @@ AC_DEFUN([gl_C_STRTOD],
AC_DEFUN([gl_C_STRTOLD],
[
+ AC_LIBSOURCES([c-strtold.c, c-strtod.h])
+ AC_LIBOBJ([c-strtold])
+
dnl Prerequisites of lib/c-strtold.c.
AC_REQUIRE([gl_C_STRTOD])
AC_REQUIRE([gl_C99_STRTOLD])
diff --git a/m4/canon-host.m4 b/m4/canon-host.m4
index e59f8759b..1e1275ab3 100644
--- a/m4/canon-host.m4
+++ b/m4/canon-host.m4
@@ -1,11 +1,14 @@
-# canon-host.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# canon-host.m4 serial 6
+dnl Copyright (C) 2002, 2003, 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_CANON_HOST],
[
+ AC_LIBSOURCES([canon-host.c])
+ AC_LIBOBJ([canon-host])
+
dnl Prerequisites of lib/canon-host.c.
AC_CHECK_HEADERS_ONCE(unistd.h)
AC_CHECK_HEADERS(netdb.h sys/socket.h netinet/in.h arpa/inet.h)
diff --git a/m4/canonicalize.m4 b/m4/canonicalize.m4
index 182bda71f..13da998e4 100644
--- a/m4/canonicalize.m4
+++ b/m4/canonicalize.m4
@@ -1,6 +1,6 @@
-#serial 4
+#serial 5
-# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -9,6 +9,9 @@
AC_DEFUN([AC_FUNC_CANONICALIZE_FILE_NAME],
[
+ AC_LIBSOURCES([canonicalize.c, canonicalize.h])
+ AC_LIBOBJ([canonicalize])
+
AC_REQUIRE([AC_HEADER_STDC])
AC_CHECK_HEADERS(string.h sys/param.h stddef.h)
AC_CHECK_FUNCS(resolvepath canonicalize_file_name)
diff --git a/m4/cloexec.m4 b/m4/cloexec.m4
index ca0d6bcc1..f95320cc6 100644
--- a/m4/cloexec.m4
+++ b/m4/cloexec.m4
@@ -1,11 +1,14 @@
-# cloexec.m4 serial 2
-dnl Copyright (C) 2004 Free Software Foundation, Inc.
+# cloexec.m4 serial 3
+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_CLOEXEC],
[
+ AC_LIBSOURCES([cloexec.c, cloexec.h])
+ AC_LIBOBJ([cloexec])
+
dnl Prerequisites of lib/cloexec.c.
AC_CHECK_HEADERS_ONCE(fcntl.h unistd.h)
])
diff --git a/m4/closeout.m4 b/m4/closeout.m4
index cb51eb07c..8d3ead35f 100644
--- a/m4/closeout.m4
+++ b/m4/closeout.m4
@@ -1,11 +1,14 @@
-# closeout.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# closeout.m4 serial 4
+dnl Copyright (C) 2002, 2003, 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_CLOSEOUT],
[
+ AC_LIBSOURCES([closeout.c, closeout.h])
+ AC_LIBOBJ([closeout])
+
dnl Prerequisites of lib/closeout.c.
:
])
diff --git a/m4/dirfd.m4 b/m4/dirfd.m4
index 5e51ed2bf..db2a9a0ed 100644
--- a/m4/dirfd.m4
+++ b/m4/dirfd.m4
@@ -1,8 +1,8 @@
-#serial 9
+#serial 10
dnl Find out how to get the file descriptor associated with an open DIR*.
-# Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -11,6 +11,8 @@ dnl From Jim Meyering
AC_DEFUN([gl_FUNC_DIRFD],
[
+ AC_LIBSOURCES([dirfd.c, dirfd.h])
+
dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57.
AC_REQUIRE([AC_PROG_CPP])
AC_REQUIRE([AC_PROG_EGREP])
diff --git a/m4/dirname.m4 b/m4/dirname.m4
index 8b14184dc..e36937d8f 100644
--- a/m4/dirname.m4
+++ b/m4/dirname.m4
@@ -1,11 +1,14 @@
-# dirname.m4 serial 4
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# dirname.m4 serial 5
+dnl Copyright (C) 2002, 2003, 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_DIRNAME],
[
+ AC_LIBSOURCES([dirname.c, dirname.h])
+ AC_LIBOBJ([dirname])
+
dnl Prerequisites of lib/dirname.h.
AC_REQUIRE([gl_AC_DOS])
diff --git a/m4/exclude.m4 b/m4/exclude.m4
index 4d6e1b0ab..ecb0f54a6 100644
--- a/m4/exclude.m4
+++ b/m4/exclude.m4
@@ -1,11 +1,14 @@
-# exclude.m4 serial 4
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# exclude.m4 serial 5
+dnl Copyright (C) 2002, 2003, 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_EXCLUDE],
[
+ AC_LIBSOURCES([exclude.c, exclude.h])
+ AC_LIBOBJ([exclude])
+
dnl Prerequisites of lib/exclude.c.
AC_REQUIRE([AC_C_INLINE])
AC_REQUIRE([AC_HEADER_STDC])
diff --git a/m4/exitfail.m4 b/m4/exitfail.m4
index f25c64df8..5523676f1 100644
--- a/m4/exitfail.m4
+++ b/m4/exitfail.m4
@@ -1,11 +1,14 @@
-# exitfail.m4 serial 4
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# exitfail.m4 serial 5
+dnl Copyright (C) 2002, 2003, 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_EXITFAIL],
[
+ AC_LIBSOURCES([exitfail.c, exitfail.h])
+ AC_LIBOBJ([exitfail])
+
dnl No prerequisites of lib/exitfail.c.
:
])
diff --git a/m4/file-type.m4 b/m4/file-type.m4
index facbb4fd4..c7e1067fa 100644
--- a/m4/file-type.m4
+++ b/m4/file-type.m4
@@ -1,11 +1,14 @@
-# file-type.m4 serial 2
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# file-type.m4 serial 3
+dnl Copyright (C) 2002, 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_FILE_TYPE],
[
+ AC_LIBSOURCES([file-type.c, file-type.h])
+ AC_LIBOBJ([file-type])
+
dnl Prerequisites of lib/file-type.h.
AC_REQUIRE([AC_HEADER_STAT])
])
diff --git a/m4/filemode.m4 b/m4/filemode.m4
index 9eee98b7c..16783330d 100644
--- a/m4/filemode.m4
+++ b/m4/filemode.m4
@@ -1,11 +1,14 @@
-# filemode.m4 serial 2
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# filemode.m4 serial 3
+dnl Copyright (C) 2002, 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_FILEMODE],
[
+ AC_LIBSOURCES([filemode.c, filemode.h])
+ AC_LIBOBJ([filemode])
+
dnl Prerequisites of lib/filemode.c.
AC_REQUIRE([AC_HEADER_STAT])
])
diff --git a/m4/fpending.m4 b/m4/fpending.m4
index 25fc16728..87398b142 100644
--- a/m4/fpending.m4
+++ b/m4/fpending.m4
@@ -1,6 +1,6 @@
-#serial 5
+#serial 6
-# Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -15,6 +15,8 @@ dnl we have to grub around in the FILE struct.
AC_DEFUN([gl_FUNC_FPENDING],
[
+ AC_LIBSOURCES([__fpending.c, __fpending.h])
+
AC_CHECK_HEADERS(stdio_ext.h)
AC_REPLACE_FUNCS([__fpending])
fp_headers='
diff --git a/m4/fsusage.m4 b/m4/fsusage.m4
index 306d0efb3..2406a146a 100644
--- a/m4/fsusage.m4
+++ b/m4/fsusage.m4
@@ -1,7 +1,7 @@
-# fsusage.m4 serial 14
+# fsusage.m4 serial 15
# Obtaining file system usage information.
-# Copyright (C) 1997, 1998, 2000, 2001, 2003, 2004 Free Software
+# Copyright (C) 1997, 1998, 2000, 2001, 2003, 2004, 2005 Free Software
# Foundation, Inc.
#
# This file is free software; the Free Software Foundation
@@ -12,6 +12,8 @@
AC_DEFUN([gl_FSUSAGE],
[
+ AC_LIBSOURCES([fsusage.c, fsusage.h])
+
AC_CHECK_HEADERS_ONCE(sys/param.h)
AC_CHECK_HEADERS_ONCE(sys/vfs.h sys/fs_types.h)
AC_CHECK_HEADERS(sys/mount.h, [], [],
diff --git a/m4/getdate.m4 b/m4/getdate.m4
index 978cf5022..5b2f77f23 100644
--- a/m4/getdate.m4
+++ b/m4/getdate.m4
@@ -1,11 +1,14 @@
-# getdate.m4 serial 6
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# getdate.m4 serial 7
+dnl Copyright (C) 2002, 2003, 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_GETDATE],
[
+ AC_LIBSOURCES([getdate.h, getdate.y])
+ AC_LIBOBJ([getdate])
+
dnl Prerequisites of lib/getdate.h.
AC_REQUIRE([AM_STDBOOL_H])
AC_REQUIRE([gl_TIMESPEC])
diff --git a/m4/getline.m4 b/m4/getline.m4
index 2b5aaabcd..983f26146 100644
--- a/m4/getline.m4
+++ b/m4/getline.m4
@@ -1,6 +1,6 @@
-# getline.m4 serial 11
+# getline.m4 serial 12
-dnl Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software
+dnl Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005 Free Software
dnl Foundation, Inc.
dnl
dnl This file is free software; the Free Software Foundation
@@ -15,6 +15,8 @@ dnl have a function by that name in -linet that doesn't have anything
dnl to do with the function we need.
AC_DEFUN([AM_FUNC_GETLINE],
[
+ AC_LIBSOURCES([getline.c, getline.h])
+
dnl Persuade glibc <stdio.h> to declare getline() and getdelim().
AC_REQUIRE([AC_GNU_SOURCE])
diff --git a/m4/getpagesize.m4 b/m4/getpagesize.m4
index 6076cefe4..12d688905 100644
--- a/m4/getpagesize.m4
+++ b/m4/getpagesize.m4
@@ -1,11 +1,13 @@
-# getpagesize.m4 serial 3
-dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+# getpagesize.m4 serial 4
+dnl Copyright (C) 2002, 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_GETPAGESIZE],
[
+ AC_LIBSOURCES([getpagesize.h])
+
dnl Prerequisites of lib/getpagesize.h.
AC_CHECK_HEADERS_ONCE(sys/param.h unistd.h)
AC_CHECK_HEADERS(OS.h)
diff --git a/m4/getpass.m4 b/m4/getpass.m4
index d48534c57..29d15e884 100644
--- a/m4/getpass.m4
+++ b/m4/getpass.m4
@@ -1,5 +1,5 @@
-# getpass.m4 serial 5
-dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+# getpass.m4 serial 6
+dnl Copyright (C) 2002-2003, 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.
@@ -18,6 +18,8 @@ AC_DEFUN([gl_FUNC_GETPASS],
# arbitrary length (not just 8 bytes as on HP-UX).
AC_DEFUN([gl_FUNC_GETPASS_GNU],
[
+ AC_LIBSOURCES([getpass.c, getpass.h])
+
AC_CHECK_DECLS_ONCE(getpass)
dnl TODO: Detect when GNU getpass() is already found in glibc.
AC_LIBOBJ(getpass)
diff --git a/m4/gettime.m4 b/m4/gettime.m4
index 84804ab06..4a7f137f8 100644
--- a/m4/gettime.m4
+++ b/m4/gettime.m4
@@ -1,11 +1,14 @@
-# gettime.m4 serial 3
-dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+# gettime.m4 serial 4
+dnl Copyright (C) 2002, 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_GETTIME],
[
+ AC_LIBSOURCES([gettime.c])
+ AC_LIBOBJ([gettime])
+
dnl Prerequisites of lib/gettime.c.
AC_REQUIRE([gl_CLOCK_TIME])
AC_REQUIRE([gl_TIMESPEC])
diff --git a/m4/getugroups.m4 b/m4/getugroups.m4
index 7d96bb70d..be865303d 100644
--- a/m4/getugroups.m4
+++ b/m4/getugroups.m4
@@ -1,11 +1,14 @@
-# getugroups.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# getugroups.m4 serial 4
+dnl Copyright (C) 2002, 2003, 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_GETUGROUPS],
[
+ AC_LIBSOURCES([getugroups.c])
+ AC_LIBOBJ([getugroups])
+
dnl Prerequisites of lib/getugroups.c.
AC_CHECK_HEADERS_ONCE(unistd.h)
AC_TYPE_GETGROUPS
diff --git a/m4/group-member.m4 b/m4/group-member.m4
index dca7f9e80..d5e96c874 100644
--- a/m4/group-member.m4
+++ b/m4/group-member.m4
@@ -1,6 +1,6 @@
-#serial 7
+#serial 8
-# Copyright (C) 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -9,6 +9,8 @@ dnl Written by Jim Meyering
AC_DEFUN([gl_FUNC_GROUP_MEMBER],
[
+ AC_LIBSOURCES([group-member.c, group-member.h])
+
dnl Persuade glibc <unistd.h> to declare group_member().
AC_REQUIRE([AC_GNU_SOURCE])
diff --git a/m4/hard-locale.m4 b/m4/hard-locale.m4
index 8c97051f9..640a75560 100644
--- a/m4/hard-locale.m4
+++ b/m4/hard-locale.m4
@@ -1,8 +1,12 @@
-# hard-locale.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# hard-locale.m4 serial 6
+dnl Copyright (C) 2002, 2003, 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.
dnl No prerequisites of lib/hard-locale.c.
-AC_DEFUN([gl_HARD_LOCALE], [:])
+AC_DEFUN([gl_HARD_LOCALE],
+[
+ AC_LIBSOURCES([hard-locale.c, hard-locale.h])
+ AC_LIBOBJ([hard-locale])
+])
diff --git a/m4/hash.m4 b/m4/hash.m4
index c156ecb31..948dd9720 100644
--- a/m4/hash.m4
+++ b/m4/hash.m4
@@ -1,11 +1,14 @@
-# hash.m4 serial 4
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# hash.m4 serial 5
+dnl Copyright (C) 2002, 2003, 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_HASH],
[
+ AC_LIBSOURCES([hash.c, hash.h])
+ AC_LIBOBJ([hash])
+
dnl Prerequisites of lib/hash.c.
AC_REQUIRE([AM_STDBOOL_H])
])
diff --git a/m4/human.m4 b/m4/human.m4
index a9c194e71..36ebcef88 100644
--- a/m4/human.m4
+++ b/m4/human.m4
@@ -1,11 +1,14 @@
-# human.m4 serial 7
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# human.m4 serial 8
+dnl Copyright (C) 2002, 2003, 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_HUMAN],
[
+ AC_LIBSOURCES([human.c, human.h])
+ AC_LIBOBJ([human])
+
dnl Prerequisites of lib/human.h.
AC_REQUIRE([AM_STDBOOL_H])
AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
diff --git a/m4/idcache.m4 b/m4/idcache.m4
index 6fab7cffc..d0ae832ea 100644
--- a/m4/idcache.m4
+++ b/m4/idcache.m4
@@ -1,11 +1,14 @@
-# idcache.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# idcache.m4 serial 4
+dnl Copyright (C) 2002, 2003, 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_IDCACHE],
[
+ AC_LIBSOURCES([idcache.c])
+ AC_LIBOBJ([idcache])
+
dnl Prerequisites of lib/idcache.c.
AC_CHECK_HEADERS_ONCE(unistd.h)
])
diff --git a/m4/long-options.m4 b/m4/long-options.m4
index 58333cf4c..f4af901e0 100644
--- a/m4/long-options.m4
+++ b/m4/long-options.m4
@@ -1,11 +1,13 @@
-# long-options.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# long-options.m4 serial 4
+dnl Copyright (C) 2002, 2003, 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_LONG_OPTIONS],
[
+ AC_LIBSOURCES([long-options.c, long-options.h])
+ AC_LIBOBJ([long-options])
+
dnl Prerequisites of lib/long-options.c.
- :
])
diff --git a/m4/makepath.m4 b/m4/makepath.m4
index c6df126df..7ca791814 100644
--- a/m4/makepath.m4
+++ b/m4/makepath.m4
@@ -1,11 +1,14 @@
-# makepath.m4 serial 4
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# makepath.m4 serial 5
+dnl Copyright (C) 2002, 2003, 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_MAKEPATH],
[
+ AC_LIBSOURCES([makepath.c, makepath.h])
+ AC_LIBOBJ([makepath])
+
dnl Prerequisites of lib/makepath.c.
AC_REQUIRE([AC_FUNC_ALLOCA])
AC_CHECK_HEADERS_ONCE(unistd.h)
diff --git a/m4/md5.m4 b/m4/md5.m4
index 861e3ff0e..729b6563c 100644
--- a/m4/md5.m4
+++ b/m4/md5.m4
@@ -1,11 +1,14 @@
-# md5.m4 serial 6
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# md5.m4 serial 7
+dnl Copyright (C) 2002, 2003, 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_MD5],
[
+ AC_LIBSOURCES([md5.c, md5.h])
+ AC_LIBOBJ([md5])
+
dnl Prerequisites of lib/md5.h.
AC_REQUIRE([gl_AC_TYPE_UINT32_T])
diff --git a/m4/memcoll.m4 b/m4/memcoll.m4
index 79608eea4..6f7341287 100644
--- a/m4/memcoll.m4
+++ b/m4/memcoll.m4
@@ -1,11 +1,14 @@
-# memcoll.m4 serial 4
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# memcoll.m4 serial 5
+dnl Copyright (C) 2002, 2003, 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_MEMCOLL],
[
+ AC_LIBSOURCES([memcoll.c, memcoll.h])
+ AC_LIBOBJ([memcoll])
+
dnl Prerequisites of lib/memcoll.c.
AC_REQUIRE([AC_FUNC_MEMCMP])
AC_FUNC_STRCOLL
diff --git a/m4/modechange.m4 b/m4/modechange.m4
index 44def51e4..8ecf4daaf 100644
--- a/m4/modechange.m4
+++ b/m4/modechange.m4
@@ -1,10 +1,13 @@
-# modechange.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# modechange.m4 serial 4
+dnl Copyright (C) 2002, 2003, 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_MODECHANGE],
[
+ AC_LIBSOURCES([modechange.c, modechange.h])
+ AC_LIBOBJ([modechange])
+
AC_REQUIRE([AC_HEADER_STAT])
])
diff --git a/m4/mountlist.m4 b/m4/mountlist.m4
index d0cee86ff..d5d62a458 100644
--- a/m4/mountlist.m4
+++ b/m4/mountlist.m4
@@ -1,11 +1,13 @@
-# mountlist.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# mountlist.m4 serial 6
+dnl Copyright (C) 2002, 2003, 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_MOUNTLIST],
[
+ AC_LIBSOURCES([mountlist.c, mountlist.h])
+
gl_LIST_MOUNTED_FILE_SYSTEMS([gl_cv_list_mounted_fs=yes],
[gl_cv_list_mounted_fs=no])
if test $gl_cv_list_mounted_fs = yes; then
diff --git a/m4/nanosleep.m4 b/m4/nanosleep.m4
index d3c466d4d..5590b9be6 100644
--- a/m4/nanosleep.m4
+++ b/m4/nanosleep.m4
@@ -1,17 +1,19 @@
-#serial 11
+#serial 12
dnl From Jim Meyering.
dnl Check for the nanosleep function.
dnl If not found, use the supplied replacement.
dnl
-# Copyright (C) 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_NANOSLEEP],
[
+ AC_LIBSOURCES([nanosleep.c])
+
nanosleep_save_libs=$LIBS
# Solaris 2.5.1 needs -lposix4 to get the nanosleep function.
diff --git a/m4/path-concat.m4 b/m4/path-concat.m4
index cef4266ed..48a8db3a8 100644
--- a/m4/path-concat.m4
+++ b/m4/path-concat.m4
@@ -1,11 +1,14 @@
-# path-concat.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# path-concat.m4 serial 6
+dnl Copyright (C) 2002, 2003, 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_PATH_CONCAT],
[
+ AC_LIBSOURCES([path-concat.c, path-concat.h])
+ AC_LIBOBJ([path-concat])
+
dnl Prerequisites of lib/path-concat.c.
AC_CHECK_FUNCS_ONCE(mempcpy)
])
diff --git a/m4/pathmax.m4 b/m4/pathmax.m4
index 9790e134f..ccf4a77c2 100644
--- a/m4/pathmax.m4
+++ b/m4/pathmax.m4
@@ -1,11 +1,13 @@
-# pathmax.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# pathmax.m4 serial 4
+dnl Copyright (C) 2002, 2003, 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_PATHMAX],
[
+ AC_LIBSOURCES([pathmax.h])
+
dnl Prerequisites of lib/pathmax.h.
AC_CHECK_HEADERS_ONCE(sys/param.h unistd.h)
])
diff --git a/m4/physmem.m4 b/m4/physmem.m4
index abda0558a..900b29b2b 100644
--- a/m4/physmem.m4
+++ b/m4/physmem.m4
@@ -1,5 +1,5 @@
-# physmem.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# physmem.m4 serial 4
+dnl Copyright (C) 2002, 2003, 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.
@@ -26,6 +26,9 @@ AC_DEFUN([gl_SYS__SYSTEM_CONFIGURATION],
AC_DEFUN([gl_PHYSMEM],
[
+ AC_LIBSOURCES([physmem.c, physmem.h])
+ AC_LIBOBJ([physmem])
+
# Prerequisites of lib/physmem.c.
AC_CHECK_HEADERS_ONCE(unistd.h)
AC_CHECK_HEADERS([sys/pstat.h sys/sysmp.h sys/sysinfo.h \
diff --git a/m4/posixtm.m4 b/m4/posixtm.m4
index 625ea9b2b..9acf84a12 100644
--- a/m4/posixtm.m4
+++ b/m4/posixtm.m4
@@ -1,11 +1,14 @@
-# posixtm.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# posixtm.m4 serial 4
+dnl Copyright (C) 2002, 2003, 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_POSIXTM],
[
+ AC_LIBSOURCES([posixtm.c, posixtm.h])
+ AC_LIBOBJ(posixtm)
+
dnl Prerequisites of lib/posixtm.c.
AC_STRUCT_TM
])
diff --git a/m4/posixver.m4 b/m4/posixver.m4
index 3e0bc04de..369ba3fd6 100644
--- a/m4/posixver.m4
+++ b/m4/posixver.m4
@@ -1,11 +1,14 @@
-# posixver.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# posixver.m4 serial 6
+dnl Copyright (C) 2002, 2003, 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_POSIXVER],
[
+ AC_LIBSOURCES([posixver.c, posixver.h])
+ AC_LIBOBJ([posixver])
+
AC_CHECK_HEADERS_ONCE(unistd.h)
AC_REQUIRE([gl_DEFAULT_POSIX2_VERSION])
])
diff --git a/m4/quote.m4 b/m4/quote.m4
index 18beaff92..ca66b53aa 100644
--- a/m4/quote.m4
+++ b/m4/quote.m4
@@ -1,11 +1,14 @@
-# quote.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# quote.m4 serial 4
+dnl Copyright (C) 2002, 2003, 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_QUOTE],
[
+ AC_LIBSOURCES([quote.c, quote.h])
+ AC_LIBOBJ([quote])
+
dnl Prerequisites of lib/quote.c.
dnl (none)
])
diff --git a/m4/quotearg.m4 b/m4/quotearg.m4
index 6b8b031a8..98ae13316 100644
--- a/m4/quotearg.m4
+++ b/m4/quotearg.m4
@@ -1,11 +1,14 @@
-# quotearg.m4 serial 3
-dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+# quotearg.m4 serial 4
+dnl Copyright (C) 2002, 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_QUOTEARG],
[
+ AC_LIBSOURCES([quotearg.c, quotearg.h])
+ AC_LIBOBJ([quotearg])
+
dnl Prerequisites of lib/quotearg.c.
AC_CHECK_HEADERS_ONCE(wchar.h wctype.h)
AC_CHECK_FUNCS_ONCE(iswprint mbsinit)
diff --git a/m4/readtokens.m4 b/m4/readtokens.m4
index 7cacb4753..94561ebb3 100644
--- a/m4/readtokens.m4
+++ b/m4/readtokens.m4
@@ -1,11 +1,14 @@
-# readtokens.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# readtokens.m4 serial 4
+dnl Copyright (C) 2002, 2003, 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_READTOKENS],
[
+ AC_LIBSOURCES([readtokens.c, readtokens.h])
+ AC_LIBOBJ([readtokens])
+
dnl Prerequisites of lib/readtokens.c.
:
])
diff --git a/m4/readutmp.m4 b/m4/readutmp.m4
index dd9ae9e60..81d7642e0 100644
--- a/m4/readutmp.m4
+++ b/m4/readutmp.m4
@@ -1,11 +1,14 @@
-# readutmp.m4 serial 6
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# readutmp.m4 serial 7
+dnl Copyright (C) 2002, 2003, 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_READUTMP],
[
+ AC_LIBSOURCES([readutmp.c, readutmp.h])
+ AC_LIBOBJ([readutmp])
+
dnl Prerequisites of lib/readutmp.h.
AC_CHECK_HEADERS(utmp.h utmpx.h)
AC_CHECK_FUNCS(utmpname utmpxname)
diff --git a/m4/safe-read.m4 b/m4/safe-read.m4
index b096e7f7f..ac8ecafac 100644
--- a/m4/safe-read.m4
+++ b/m4/safe-read.m4
@@ -1,11 +1,14 @@
-# safe-read.m4 serial 2
-dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+# safe-read.m4 serial 3
+dnl Copyright (C) 2002-2003, 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_SAFE_READ],
[
+ AC_LIBSOURCES([safe-read.c, safe-read.h])
+ AC_LIBOBJ([safe-read])
+
gl_PREREQ_SAFE_READ
])
diff --git a/m4/safe-write.m4 b/m4/safe-write.m4
index 775561ddd..197adeba2 100644
--- a/m4/safe-write.m4
+++ b/m4/safe-write.m4
@@ -1,11 +1,14 @@
-# safe-write.m4 serial 1
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# safe-write.m4 serial 2
+dnl Copyright (C) 2002, 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_SAFE_WRITE],
[
+ AC_LIBSOURCES([safe-write.c, safe-write.h])
+ AC_LIBOBJ([safe-write])
+
gl_PREREQ_SAFE_WRITE
])
diff --git a/m4/same.m4 b/m4/same.m4
index 8a0870a39..1957e0fe9 100644
--- a/m4/same.m4
+++ b/m4/same.m4
@@ -1,11 +1,14 @@
-# same.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# same.m4 serial 4
+dnl Copyright (C) 2002, 2003, 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_SAME],
[
+ AC_LIBSOURCES([same.c, same.h])
+ AC_LIBOBJ([same])
+
dnl Prerequisites of lib/same.c.
AC_CHECK_HEADERS_ONCE(unistd.h)
AC_CHECK_FUNCS(pathconf)
diff --git a/m4/savedir.m4 b/m4/savedir.m4
index f9cfdcb51..8305816ac 100644
--- a/m4/savedir.m4
+++ b/m4/savedir.m4
@@ -1,11 +1,14 @@
-# savedir.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# savedir.m4 serial 4
+dnl Copyright (C) 2002, 2003, 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_SAVEDIR],
[
+ AC_LIBSOURCES([savedir.c, savedir.h])
+ AC_LIBOBJ([savedir])
+
dnl Prerequisites of lib/savedir.c.
AC_REQUIRE([AC_HEADER_DIRENT])
AC_REQUIRE([AC_FUNC_CLOSEDIR_VOID])
diff --git a/m4/setenv.m4 b/m4/setenv.m4
index 4c76be1ff..121091593 100644
--- a/m4/setenv.m4
+++ b/m4/setenv.m4
@@ -1,11 +1,13 @@
-# setenv.m4 serial 5
-dnl Copyright (C) 2001-2004 Free Software Foundation, Inc.
+# setenv.m4 serial 6
+dnl Copyright (C) 2001-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([gt_FUNC_SETENV],
[
+ AC_LIBSOURCES([setenv.c, unsetenv.c, setenv.h])
+
AC_REPLACE_FUNCS(setenv unsetenv)
if test $ac_cv_func_setenv = no; then
gl_PREREQ_SETENV
diff --git a/m4/settime.m4 b/m4/settime.m4
index 208b9d09b..20bb360d8 100644
--- a/m4/settime.m4
+++ b/m4/settime.m4
@@ -1,11 +1,14 @@
-# settime.m4 serial 3
-dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+# settime.m4 serial 4
+dnl Copyright (C) 2002, 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_SETTIME],
[
+ AC_LIBSOURCES([settime.c])
+ AC_LIBOBJ([settime])
+
dnl Prerequisites of lib/settime.c.
AC_REQUIRE([gl_CLOCK_TIME])
AC_REQUIRE([gl_TIMESPEC])
diff --git a/m4/sha1.m4 b/m4/sha1.m4
index 26306ff6c..7b6c21cb8 100644
--- a/m4/sha1.m4
+++ b/m4/sha1.m4
@@ -1,11 +1,14 @@
-# sha1.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# sha1.m4 serial 6
+dnl Copyright (C) 2002, 2003, 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_SHA1],
[
+ AC_LIBSOURCES([sha1.c, sha1.h])
+ AC_LIBOBJ([sha1])
+
dnl Prerequisites of lib/sha1.c.
AC_REQUIRE([AC_C_BIGENDIAN])
:
diff --git a/m4/sig2str.m4 b/m4/sig2str.m4
index 73d89c8f2..359a8f890 100644
--- a/m4/sig2str.m4
+++ b/m4/sig2str.m4
@@ -1,11 +1,13 @@
-# sig2str.m4 serial 2
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# sig2str.m4 serial 3
+dnl Copyright (C) 2002, 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_FUNC_SIG2STR],
[
+ AC_LIBSOURCES([sig2str.c, sig2str.h])
+
AC_REPLACE_FUNCS(sig2str)
if test $ac_cv_func_sig2str = no; then
gl_PREREQ_SIG2STR
diff --git a/m4/strdup.m4 b/m4/strdup.m4
index 76e621ba7..42325ab9e 100644
--- a/m4/strdup.m4
+++ b/m4/strdup.m4
@@ -1,11 +1,13 @@
-# strdup.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# strdup.m4 serial 6
+dnl Copyright (C) 2002, 2003, 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_FUNC_STRDUP],
[
+ AC_LIBSOURCES([strdup.c, strdup.h])
+
AC_REPLACE_FUNCS(strdup)
AC_CHECK_DECLS_ONCE(strdup)
gl_PREREQ_STRDUP
diff --git a/m4/strftime.m4 b/m4/strftime.m4
index 36f20a342..b47ea8ccc 100644
--- a/m4/strftime.m4
+++ b/m4/strftime.m4
@@ -1,6 +1,6 @@
#serial 24
-# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004
+# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
@@ -17,6 +17,9 @@ AC_DEFUN([gl_FUNC_GNU_STRFTIME],
# These are the prerequisite macros for GNU's strftime.c replacement.
AC_DEFUN([gl_FUNC_STRFTIME],
[
+ AC_LIBSOURCES([strftime.c, strftime.h])
+ AC_LIBOBJ([strftime])
+
# strftime.c uses the underyling system strftime if it exists.
AC_REQUIRE([AC_FUNC_STRFTIME])
diff --git a/m4/strndup.m4 b/m4/strndup.m4
index 05204aad8..579450456 100644
--- a/m4/strndup.m4
+++ b/m4/strndup.m4
@@ -1,11 +1,13 @@
-# strndup.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# strndup.m4 serial 4
+dnl Copyright (C) 2002, 2003, 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_FUNC_STRNDUP],
[
+ AC_LIBSOURCES([strndup.c, strndup.h])
+
dnl Persuade glibc <string.h> to declare strndup().
AC_REQUIRE([AC_GNU_SOURCE])
diff --git a/m4/strverscmp.m4 b/m4/strverscmp.m4
index 9f36c6e24..46e178beb 100644
--- a/m4/strverscmp.m4
+++ b/m4/strverscmp.m4
@@ -1,11 +1,13 @@
-# strverscmp.m4 serial 2
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# strverscmp.m4 serial 3
+dnl Copyright (C) 2002, 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_FUNC_STRVERSCMP],
[
+ AC_LIBSOURCES([strverscmp.c, strverscmp.h])
+
dnl Persuade glibc <string.h> to declare strverscmp().
AC_REQUIRE([AC_GNU_SOURCE])
diff --git a/m4/timespec.m4 b/m4/timespec.m4
index 81776e2e3..e0fc3574b 100644
--- a/m4/timespec.m4
+++ b/m4/timespec.m4
@@ -1,6 +1,6 @@
-#serial 9
+#serial 10
-# Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -9,6 +9,8 @@ dnl From Jim Meyering
AC_DEFUN([gl_TIMESPEC],
[
+ AC_LIBSOURCES([timespec.h])
+
dnl Prerequisites of lib/timespec.h.
AC_REQUIRE([AC_HEADER_TIME])
AC_CHECK_HEADERS_ONCE(sys/time.h)
diff --git a/m4/unlocked-io.m4 b/m4/unlocked-io.m4
index c536d2dd9..6cbacb003 100644
--- a/m4/unlocked-io.m4
+++ b/m4/unlocked-io.m4
@@ -1,6 +1,6 @@
-# unlocked-io.m4 serial 11
+# unlocked-io.m4 serial 12
-# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
+# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software
# Foundation, Inc.
#
# This file is free software; the Free Software Foundation
@@ -17,6 +17,8 @@ dnl on Solaris 2.6).
AC_DEFUN([gl_FUNC_GLIBC_UNLOCKED_IO],
[
+ AC_LIBSOURCES([unlocked-io.h])
+
AC_DEFINE([USE_UNLOCKED_IO], 1,
[Define to 1 if you want getc etc. to use unlocked I/O if available.
Unlocked I/O can improve performance in unithreaded apps,
diff --git a/m4/userspec.m4 b/m4/userspec.m4
index 0dd254c7d..1abfd5776 100644
--- a/m4/userspec.m4
+++ b/m4/userspec.m4
@@ -1,11 +1,14 @@
-# userspec.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# userspec.m4 serial 6
+dnl Copyright (C) 2002, 2003, 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_USERSPEC],
[
+ AC_LIBSOURCES([userspec.c, userspec.h])
+ AC_LIBOBJ([userspec])
+
dnl Prerequisites of lib/userspec.c.
AC_CHECK_HEADERS_ONCE(sys/param.h unistd.h)
])
diff --git a/m4/utimecmp.m4 b/m4/utimecmp.m4
index 30f9343ae..8f5625c57 100644
--- a/m4/utimecmp.m4
+++ b/m4/utimecmp.m4
@@ -1,10 +1,13 @@
-dnl Copyright (C) 2004 Free Software Foundation, Inc.
+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_UTIMECMP],
[
+ AC_LIBSOURCES([utimecmp.c, utimecmp.h])
+ AC_LIBOBJ([utimecmp])
+
dnl Prerequisites of lib/utimecmp.c.
AC_REQUIRE([gl_TIMESPEC])
AC_REQUIRE([gl_FUNC_UTIMES])
diff --git a/m4/utimens.m4 b/m4/utimens.m4
index 25ff2dcb7..bb446c820 100644
--- a/m4/utimens.m4
+++ b/m4/utimens.m4
@@ -1,10 +1,13 @@
-dnl Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 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_UTIMENS],
[
+ AC_LIBSOURCES([utimens.c, utimens.h])
+ AC_LIBOBJ([utimens])
+
dnl Prerequisites of lib/utimens.c.
AC_REQUIRE([gl_TIMESPEC])
AC_REQUIRE([gl_FUNC_UTIMES])
diff --git a/m4/xalloc.m4 b/m4/xalloc.m4
index 0e711f641..c0847dd37 100644
--- a/m4/xalloc.m4
+++ b/m4/xalloc.m4
@@ -1,11 +1,14 @@
-# xalloc.m4 serial 11
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# xalloc.m4 serial 12
+dnl Copyright (C) 2002, 2003, 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_XALLOC],
[
+ AC_LIBSOURCES([xmalloc.c, xalloc.h])
+ AC_LIBOBJ([xmalloc])
+
gl_PREREQ_XALLOC
gl_PREREQ_XMALLOC
])
diff --git a/m4/yesno.m4 b/m4/yesno.m4
index ae20a19c2..6e8078df4 100644
--- a/m4/yesno.m4
+++ b/m4/yesno.m4
@@ -1,11 +1,14 @@
-# yesno.m4 serial 3
-dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+# yesno.m4 serial 4
+dnl Copyright (C) 2002-2003, 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_YESNO],
[
+ AC_LIBSOURCES([yesno.c, yesno.h])
+ AC_LIBOBJ([yesno])
+
dnl No prerequisites of lib/yesno.c.
:
])