From 901bc47c9a8db854db97bb28780352748020c81d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 21 Aug 2006 21:46:31 +0000 Subject: [PATCH] Avoid the need for AC_LIBSOURCES in m4 macros. * modules/acl (EXTRA_DIST): Add acl.h. * modules/argmatch (Files): Add m4/argmatch.m4. (configure.ac): Add gl_ARGMATCH. (EXTRA_DIST): Renamed from lib_SOURCES, for consistency with the other modules. Remove argmatch.c. * modules/backupfile (EXTRA_DIST): Add backupfile.h. * modules/c-strtod (EXTRA_DIST): Add c-strtod.h. * modules/c-strtold (EXTRA_DIST): Add c-strtod.c, c-strtod.h. * modules/canonhost (EXTRA_DIST): Add c-canonhost.h. * modules/canonicalize (EXTRA_DIST): Add canonicalize.h. * modules/chdir-long (EXTRA_DIST): Add chdir-long.h. * modules/chdir-safer (EXTRA_DIST): Add chdir-safer.h. * modules/cloexec (EXTRA_DIST): Add cloexec.h. * modules/close-stream (EXTRA_DIST): Add close-stream.h. * modules/closeout (EXTRA_DIST): Add closeout.h. * modules/cycle-check (EXTRA_DIST): Add cycle-check.h. * modules/dev-ino (EXTRA_DIST): Add dev-ino.h. * modules/dirfd (EXTRA_DIST): Add dirfd.h. * modules/dirname (EXTRA_DIST): Renamed from lib_SOURCES. Add dirname.h; remove basename.c and stripslash.c. * modules/exclude (EXTRA_DIST): Add exclude.h. * modules/exitfail (EXTRA_DIST): Add exitfail.h. * modules/fcntl-safer (EXTRA_DIST): Add fcntl-safer.h fcntl--.h. * modules/file-type (EXTRA_DIST): Add file-type.h. * modules/filemode (EXTRA_DIST): Add filemode.h. * modules/filenamecat (EXTRA_DIST): Add filenamecat.h. * modules/fopen-safer (EXTRA_DIST): Add stdio-safer.h stdio--.h. * modules/fpending (EXTRA_DIST): Add __fpending.h. * modules/fprintftime (EXTRA_DIST): Add fprintftime.h. * modules/fsusage (EXTRA_DIST): Add fsusage.h. * modules/fts (EXTRA_DIST): Add fts_.h fts-cycle.c. * modules/getcwd (EXTRA_DIST): Add getcwd.h. * modules/getdate (EXTRA_DIST): Add getdate.c. * modules/gethrxtime (EXTRA_DIST): Add gethrxtime.h xtime.h. * modules/getpagesize (EXTRA_DIST): Add getpagesize.h. * modules/getpass (EXTRA_DIST): Add getpass.h. * modules/glob (EXTRA_DIST): Add glob_.h glob-libc.h. * modules/group-member (EXTRA_DIST): Add group-member.h. * modules/hard-locale (EXTRA_DIST): Add hard-locale.h. * modules/hash (EXTRA_DIST): Add hash.h. * modules/human (EXTRA_DIST): Add human.h. * modules/inttypes (EXTRA_DIST): Add inttypes.h. * modules/lchmod (EXTRA_DIST): Add lchmod.h. * modules/lchown (EXTRA_DIST): Add lchown.h. * modules/long-options (EXTRA_DIST): Add long-options.h. * modules/lstat (EXTRA_DIST): Add lstat.h. * modules/md5 (EXTRA_DIST): Add memcasecmp.h. * modules/memcoll (EXTRA_DIST): Add memcoll.h. * modules/mempcpy (EXTRA_DIST): Add mempcpy.h. * modules/memrchr (EXTRA_DIST): Add memrchr.h. * modules/memxor (EXTRA_DIST): Add memxor.h. * modules/mkancesdirs (EXTRA_DIST): Add mkancesdirs.h. * modules/mkdir-p (EXTRA_DIST): Add modechange.h. * modules/mountlist (EXTRA_DIST): Add mountlist.h. * modules/openat (EXTRA_DIST): Add at-func.c openat.h openat-priv.h. * modules/pathmax (EXTRA_DIST): Add pathmax.h. * modules/physmem (EXTRA_DIST): Add physmem.h. * modules/posixtm (EXTRA_DIST): Add posixtm.h. * modules/posixver (EXTRA_DIST): Add posixver.h. * modules/quote (EXTRA_DIST): Add quote.h. * modules/quotearg (EXTRA_DIST): Add quotearg.h. * modules/readtokens (EXTRA_DIST): Add readtokens.h. * modules/readutmp (EXTRA_DIST): Add readutmp.h. * modules/regex (EXTRA_DIST): Add regcomp.c regex.h regex_internal.c regex_internal.h regexec.c. * modules/safe-read (EXTRA_DIST): Add safe-read.h. * modules/safe-write (EXTRA_DIST): Add safe-write.h. * modules/same (EXTRA_DIST): Add same.h. * modules/same-inode (EXTRA_DIST): Add same-inode.h. * modules/save-cwd (EXTRA_DIST): Add save-cwd.h. * modules/savedir (EXTRA_DIST): Add savedir.h. * modules/sha1 (EXTRA_DIST): Add sha1.h. * modules/sig2str (EXTRA_DIST): Add sig2str.h. * modules/stat-macros (EXTRA_DIST): Add stat-macros.h. * modules/stat-time (EXTRA_DIST): Add stat-time.h. * modules/stdlib-safer (EXTRA_DIST): Add stdlib-safer.h stdlib--.h. * modules/strdup (EXTRA_DIST): Add strdup.h. * modules/strftime (EXTRA_DIST): Add strftime.h. * modules/strndup (EXTRA_DIST): Add strndup.h. * modules/strnlen (EXTRA_DIST): Add strnlen.h. * modules/strverscmp (EXTRA_DIST): Add strverscmp.h. * modules/time_r (EXTRA_DIST): Add time_r.h. * modules/timespec (EXTRA_DIST): Add timespec.h. * modules/tmpfile-safer (EXTRA_DIST): Add stdio-safer.h stdio--.h. * modules/unistd-safer (EXTRA_DIST): Add unistd-safer.h unistd--.h. * modules/unlinkdir (EXTRA_DIST): Add unlinkdir.h. * modules/unlocked-io (EXTRA_DIST): Add unlocked-io.h. * modules/userspec (EXTRA_DIST): Add userspec.h. * modules/utimecmp (EXTRA_DIST): Add utimecmp.h. * modules/utimens (EXTRA_DIST): Add utimens.h. * modules/xalloc (EXTRA_DIST): Add xalloc.h. * modules/xgetcwd (EXTRA_DIST): Add xgetcwd.h. * modules/xnanosleep (EXTRA_DIST): Add xnanosleep.h. * modules/xreadlink (EXTRA_DIST): Add xreadlink.h. * modules/xstrtod (EXTRA_DIST): Add xstrtod.h. * modules/xstrtol (EXTRA_DIST): Add xstrtol.h. * modules/xstrtold (EXTRA_DIST): Add xstrtod.c xstrtod.h. * modules/yesno (EXTRA_DIST): Add yesno.h. + * m4/argmatch.m4: New file, from coreutils with AC_LIBSOURCES removed. * m4/dev-ino.m4, same-inode.m4: Remove. + * m4/_inttypes_h.m4 (gl_INTTYPES_H): * m4/acl.m4 (AC_FUNC_ACL): * m4/backupfile.m4 (gl_BACKUPFILE): * m4/c-strtod.m4 (gl_C99_STRTOLD): * m4/canon-host.m4 (gl_CANON_HOST): * m4/canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): * m4/chdir-long.m4 (gl_FUNC_CHDIR_LONG): * m4/chdir-safer.m4 (gl_CHDIR_SAFER): * m4/cloexec.m4 (gl_CLOEXEC): * m4/close-stream.m4 (gl_CLOSE_STREAM): * m4/closeout.m4 (gl_CLOSEOUT): * m4/dirfd.m4 (gl_FUNC_DIRFD): * m4/dirname.m4 (gl_DIRNAME): * m4/exclude.m4 (gl_EXCLUDE): * m4/exitfail.m4 (gl_EXITFAIL): * m4/fcntl-safer.m4 (gl_FCNTL_SAFER): * m4/file-type.m4 (gl_FILE_TYPE): * m4/filemode.m4 (gl_FILEMODE): * m4/filenamecat.m4 (gl_FILE_NAME_CONCAT): * m4/fpending.m4 (gl_FUNC_FPENDING): * m4/fprintftime.m4 (gl_FPRINTFTIME): * m4/fts.m4 (gl_FUNC_FTS): * m4/getcwd.m4 (gl_FUNC_GETCWD_NULL): * m4/getdate.m4 (gl_GETDATE): * m4/gethrxtime.m4 (gl_GETHRXTIME): * m4/getpagesize.m4 (gl_GETPAGESIZE): * m4/getpass.m4 (gl_FUNC_GETPASS): * m4/gettime.m4 (gl_GETTIME): * m4/getugroups.m4 (gl_GETUGROUPS): * m4/glob.m4 (gl_GLOB_SUBSTITUTE): * m4/group-member.m4 (gl_FUNC_GROUP_MEMBER): * m4/hard-locale.m4 (gl_HARD_LOCALE): * m4/hash.m4 (gl_HASH): * m4/idcache.m4 (gl_IDCACHE): * m4/lchmod.m4 (gl_FUNC_LCHMOD): * m4/lchown.m4 (gl_FUNC_LCHOWN): * m4/long-options.m4 (gl_LONG_OPTIONS): * m4/lstat.m4 (gl_FUNC_LSTAT): * m4/md5.m4 (gl_MD5): * m4/memcasecmp.m4 (gl_MEMCASECMP): * m4/memcoll.m4 (gl_MEMCOLL): * m4/mempcpy.m4 (gl_FUNC_MEMPCPY): * m4/memrchr.m4 (gl_FUNC_MEMRCHR): * m4/memxor.m4 (gl_MEMXOR): * m4/mkancesdirs.m4 (gl_MKANCESDIRS): * m4/mkdir-p.m4 (gl_MKDIR_PARENTS): * m4/modechange.m4 (gl_MODECHANGE): * m4/mountlist.m4 (gl_MOUNTLIST): * m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): * m4/openat.m4 (gl_FUNC_OPENAT): * m4/pathmax.m4 (gl_PATHMAX): * m4/physmem.m4 (gl_PHYSMEM): * m4/posixtm.m4 (gl_POSIXTM): * m4/posixver.m4 (gl_POSIXVER): * m4/quote.m4 (gl_QUOTE): * m4/quotearg.m4 (gl_QUOTEARG): * m4/readtokens.m4 (gl_READTOKENS): * m4/readutmp.m4 (gl_READUTMP): * m4/regex.m4 (gl_REGEX): * m4/safe-read.m4 (gl_SAFE_READ): * m4/safe-write.m4 (gl_SAFE_WRITE): * m4/same.m4 (gl_SAME): * m4/save-cwd.m4 (gl_SAVE_CWD): * m4/savedir.m4 (gl_SAVEDIR): * m4/settime.m4 (gl_SETTIME): * m4/sha1.m4 (gl_SHA1): * m4/sig2str.m4 (gl_FUNC_SIG2STR): * m4/stat-macros.m4 (gl_STAT_MACROS): * m4/stat-time.m4 (gl_STAT_TIME): * m4/stdio-safer.m4 (gl_FOPEN_SAFER): * m4/stdlib-safer.m4 (gl_STDLIB_SAFER): * m4/strdup.m4 (gl_FUNC_STRDUP): * m4/strftime.m4 (gl_FUNC_GNU_STRFTIME): * m4/strndup.m4 (gl_FUNC_STRNDUP): * m4/strnlen.m4 (gl_FUNC_STRNLEN): * m4/strverscmp.m4 (gl_FUNC_STRVERSCMP): * m4/time_r.m4 (gl_TIME_R): * m4/timespec.m4 (gl_TIMESPEC): * m4/unistd-safer.m4 (gl_UNISTD_SAFER): * m4/unlinkdir.m4 (gl_UNLINKDIR): * m4/unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): * m4/userspec.m4 (gl_USERSPEC): * m4/utimecmp.m4 (gl_UTIMECMP): * m4/utimens.m4 (gl_UTIMENS): * m4/xalloc.m4 (gl_XALLOC): * m4/xgetcwd.m4 (gl_XGETCWD): * m4/xnanosleep.m4 (gl_XNANOSLEEP): * m4/xreadlink.m4 (gl_XREADLINK): * m4/xstrtod.m4 (gl_XSTRTOD): * m2/yesno.m4 (gl_YESNO): Don't use AC_LIBSOURCES; instead, rely on the files in ../modules/ to get the necessary .h files and whatnot. --- ChangeLog | 101 ++++++++++++++++++++++++++++++++++++++ m4/ChangeLog | 98 ++++++++++++++++++++++++++++++++++++ m4/_inttypes_h.m4 | 3 +- m4/acl.m4 | 3 +- m4/{same-inode.m4 => argmatch.m4} | 8 +-- m4/backupfile.m4 | 3 +- m4/c-strtod.m4 | 4 +- m4/canon-host.m4 | 5 +- m4/canonicalize.m4 | 3 +- m4/chdir-long.m4 | 5 +- m4/chdir-safer.m4 | 3 +- m4/cloexec.m4 | 5 +- m4/close-stream.m4 | 1 - m4/closeout.m4 | 5 +- m4/dev-ino.m4 | 10 ---- m4/dirfd.m4 | 4 +- m4/dirname.m4 | 5 +- m4/exclude.m4 | 3 +- m4/exitfail.m4 | 5 +- m4/fcntl-safer.m4 | 5 +- m4/file-type.m4 | 5 +- m4/filemode.m4 | 3 +- m4/filenamecat.m4 | 5 +- m4/fpending.m4 | 4 +- m4/fprintftime.m4 | 5 +- m4/fts.m4 | 5 +- m4/getcwd.m4 | 2 - m4/getdate.m4 | 3 +- m4/gethrxtime.m4 | 3 +- m4/getpagesize.m4 | 4 +- m4/getpass.m4 | 6 +-- m4/gettime.m4 | 5 +- m4/getugroups.m4 | 5 +- m4/glob.m4 | 3 +- m4/group-member.m4 | 8 +-- m4/hard-locale.m4 | 5 +- m4/hash.m4 | 5 +- m4/idcache.m4 | 5 +- m4/lchmod.m4 | 5 +- m4/lchown.m4 | 7 +-- m4/long-options.m4 | 5 +- m4/lstat.m4 | 8 ++- m4/md5.m4 | 5 +- m4/memcasecmp.m4 | 3 +- m4/memcoll.m4 | 3 +- m4/mempcpy.m4 | 5 +- m4/memrchr.m4 | 6 +-- m4/memxor.m4 | 3 +- m4/mkancesdirs.m4 | 1 - m4/mkdir-p.m4 | 3 +- m4/modechange.m4 | 5 +- m4/mountlist.m4 | 6 +-- m4/nanosleep.m4 | 4 +- m4/openat.m4 | 7 +-- m4/pathmax.m4 | 6 +-- m4/physmem.m4 | 5 +- m4/posixtm.m4 | 5 +- m4/posixver.m4 | 3 +- m4/quote.m4 | 5 +- m4/quotearg.m4 | 5 +- m4/readtokens.m4 | 5 +- m4/readutmp.m4 | 5 +- m4/regex.m4 | 6 +-- m4/safe-read.m4 | 5 +- m4/safe-write.m4 | 5 +- m4/same.m4 | 3 +- m4/save-cwd.m4 | 5 +- m4/savedir.m4 | 3 +- m4/settime.m4 | 5 +- m4/sha1.m4 | 5 +- m4/sig2str.m4 | 5 +- m4/stat-macros.m4 | 6 +-- m4/stat-time.m4 | 6 +-- m4/stdio-safer.m4 | 4 +- m4/stdlib-safer.m4 | 5 +- m4/strdup.m4 | 6 +-- m4/strftime.m4 | 3 +- m4/strndup.m4 | 4 +- m4/strnlen.m4 | 6 +-- m4/strverscmp.m4 | 6 +-- m4/time_r.m4 | 1 - m4/timespec.m4 | 2 - m4/unistd-safer.m4 | 1 - m4/unlinkdir.m4 | 5 +- m4/unlocked-io.m4 | 4 +- m4/userspec.m4 | 5 +- m4/utimecmp.m4 | 5 +- m4/utimens.m4 | 3 +- m4/xalloc.m4 | 5 +- m4/xgetcwd.m4 | 5 +- m4/xnanosleep.m4 | 5 +- m4/xreadlink.m4 | 5 +- m4/xstrtod.m4 | 4 +- m4/yesno.m4 | 5 +- modules/acl | 1 + modules/argmatch | 4 +- modules/backupfile | 1 + modules/c-strtod | 1 + modules/c-strtold | 1 + modules/canon-host | 1 + modules/canonicalize | 1 + modules/chdir-long | 1 + modules/chdir-safer | 1 + modules/cloexec | 1 + modules/close-stream | 1 + modules/closeout | 1 + modules/cycle-check | 2 +- modules/dev-ino | 3 +- modules/dirfd | 1 + modules/dirname | 2 +- modules/exclude | 1 + modules/exitfail | 1 + modules/fcntl-safer | 1 + modules/file-type | 1 + modules/filemode | 1 + modules/filenamecat | 1 + modules/fopen-safer | 1 + modules/fpending | 1 + modules/fprintftime | 1 + modules/fsusage | 2 +- modules/fts | 1 + modules/getcwd | 1 + modules/getdate | 3 +- modules/gethrxtime | 1 + modules/getpagesize | 1 + modules/getpass | 1 + modules/glob | 1 + modules/group-member | 1 + modules/hard-locale | 1 + modules/hash | 1 + modules/human | 2 +- modules/inttypes | 1 + modules/lchmod | 1 + modules/lchown | 1 + modules/long-options | 1 + modules/lstat | 1 + modules/md5 | 1 + modules/memcasecmp | 1 + modules/memcoll | 1 + modules/mempcpy | 1 + modules/memrchr | 1 + modules/memxor | 1 + modules/mkancesdirs | 1 + modules/mkdir-p | 1 + modules/modechange | 1 + modules/mountlist | 1 + modules/openat | 1 + modules/pathmax | 1 + modules/physmem | 1 + modules/posixtm | 1 + modules/posixver | 1 + modules/quote | 1 + modules/quotearg | 1 + modules/readtokens | 1 + modules/readutmp | 1 + modules/regex | 1 + modules/safe-read | 1 + modules/safe-write | 1 + modules/same | 1 + modules/same-inode | 3 +- modules/save-cwd | 1 + modules/savedir | 1 + modules/sha1 | 1 + modules/sig2str | 1 + modules/stat-macros | 1 + modules/stat-time | 1 + modules/stdlib-safer | 1 + modules/strdup | 1 + modules/strftime | 1 + modules/strndup | 1 + modules/strnlen | 1 + modules/strverscmp | 1 + modules/time_r | 1 + modules/timespec | 1 + modules/tmpfile-safer | 1 + modules/unistd-safer | 1 + modules/unlinkdir | 1 + modules/unlocked-io | 1 + modules/userspec | 1 + modules/utimecmp | 1 + modules/utimens | 1 + modules/xalloc | 1 + modules/xgetcwd | 1 + modules/xnanosleep | 1 + modules/xreadlink | 1 + modules/xstrtod | 1 + modules/xstrtol | 2 +- modules/xstrtold | 1 + modules/yesno | 1 + 189 files changed, 444 insertions(+), 283 deletions(-) rename m4/{same-inode.m4 => argmatch.m4} (62%) delete mode 100644 m4/dev-ino.m4 diff --git a/ChangeLog b/ChangeLog index 086f0fedc..a61ca82bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,104 @@ +2006-08-21 Paul Eggert + + Avoid the need for AC_LIBSOURCES in m4 macros. + * modules/acl (EXTRA_DIST): Add acl.h. + * modules/argmatch (Files): Add m4/argmatch.m4. + (configure.ac): Add gl_ARGMATCH. + (EXTRA_DIST): Renamed from lib_SOURCES, for + consistency with the other modules. Remove argmatch.c. + * modules/backupfile (EXTRA_DIST): Add backupfile.h. + * modules/c-strtod (EXTRA_DIST): Add c-strtod.h. + * modules/c-strtold (EXTRA_DIST): Add c-strtod.c, c-strtod.h. + * modules/canonhost (EXTRA_DIST): Add c-canonhost.h. + * modules/canonicalize (EXTRA_DIST): Add canonicalize.h. + * modules/chdir-long (EXTRA_DIST): Add chdir-long.h. + * modules/chdir-safer (EXTRA_DIST): Add chdir-safer.h. + * modules/cloexec (EXTRA_DIST): Add cloexec.h. + * modules/close-stream (EXTRA_DIST): Add close-stream.h. + * modules/closeout (EXTRA_DIST): Add closeout.h. + * modules/cycle-check (EXTRA_DIST): Add cycle-check.h. + * modules/dev-ino (EXTRA_DIST): Add dev-ino.h. + * modules/dirfd (EXTRA_DIST): Add dirfd.h. + * modules/dirname (EXTRA_DIST): Renamed from lib_SOURCES. Add + dirname.h; remove basename.c and stripslash.c. + * modules/exclude (EXTRA_DIST): Add exclude.h. + * modules/exitfail (EXTRA_DIST): Add exitfail.h. + * modules/fcntl-safer (EXTRA_DIST): Add fcntl-safer.h fcntl--.h. + * modules/file-type (EXTRA_DIST): Add file-type.h. + * modules/filemode (EXTRA_DIST): Add filemode.h. + * modules/filenamecat (EXTRA_DIST): Add filenamecat.h. + * modules/fopen-safer (EXTRA_DIST): Add stdio-safer.h stdio--.h. + * modules/fpending (EXTRA_DIST): Add __fpending.h. + * modules/fprintftime (EXTRA_DIST): Add fprintftime.h. + * modules/fsusage (EXTRA_DIST): Add fsusage.h. + * modules/fts (EXTRA_DIST): Add fts_.h fts-cycle.c. + * modules/getcwd (EXTRA_DIST): Add getcwd.h. + * modules/getdate (EXTRA_DIST): Add getdate.c. + * modules/gethrxtime (EXTRA_DIST): Add gethrxtime.h xtime.h. + * modules/getpagesize (EXTRA_DIST): Add getpagesize.h. + * modules/getpass (EXTRA_DIST): Add getpass.h. + * modules/glob (EXTRA_DIST): Add glob_.h glob-libc.h. + * modules/group-member (EXTRA_DIST): Add group-member.h. + * modules/hard-locale (EXTRA_DIST): Add hard-locale.h. + * modules/hash (EXTRA_DIST): Add hash.h. + * modules/human (EXTRA_DIST): Add human.h. + * modules/inttypes (EXTRA_DIST): Add inttypes.h. + * modules/lchmod (EXTRA_DIST): Add lchmod.h. + * modules/lchown (EXTRA_DIST): Add lchown.h. + * modules/long-options (EXTRA_DIST): Add long-options.h. + * modules/lstat (EXTRA_DIST): Add lstat.h. + * modules/md5 (EXTRA_DIST): Add memcasecmp.h. + * modules/memcoll (EXTRA_DIST): Add memcoll.h. + * modules/mempcpy (EXTRA_DIST): Add mempcpy.h. + * modules/memrchr (EXTRA_DIST): Add memrchr.h. + * modules/memxor (EXTRA_DIST): Add memxor.h. + * modules/mkancesdirs (EXTRA_DIST): Add mkancesdirs.h. + * modules/mkdir-p (EXTRA_DIST): Add modechange.h. + * modules/mountlist (EXTRA_DIST): Add mountlist.h. + * modules/openat (EXTRA_DIST): Add at-func.c openat.h openat-priv.h. + * modules/pathmax (EXTRA_DIST): Add pathmax.h. + * modules/physmem (EXTRA_DIST): Add physmem.h. + * modules/posixtm (EXTRA_DIST): Add posixtm.h. + * modules/posixver (EXTRA_DIST): Add posixver.h. + * modules/quote (EXTRA_DIST): Add quote.h. + * modules/quotearg (EXTRA_DIST): Add quotearg.h. + * modules/readtokens (EXTRA_DIST): Add readtokens.h. + * modules/readutmp (EXTRA_DIST): Add readutmp.h. + * modules/regex (EXTRA_DIST): Add regcomp.c regex.h regex_internal.c regex_internal.h regexec.c. + * modules/safe-read (EXTRA_DIST): Add safe-read.h. + * modules/safe-write (EXTRA_DIST): Add safe-write.h. + * modules/same (EXTRA_DIST): Add same.h. + * modules/same-inode (EXTRA_DIST): Add same-inode.h. + * modules/save-cwd (EXTRA_DIST): Add save-cwd.h. + * modules/savedir (EXTRA_DIST): Add savedir.h. + * modules/sha1 (EXTRA_DIST): Add sha1.h. + * modules/sig2str (EXTRA_DIST): Add sig2str.h. + * modules/stat-macros (EXTRA_DIST): Add stat-macros.h. + * modules/stat-time (EXTRA_DIST): Add stat-time.h. + * modules/stdlib-safer (EXTRA_DIST): Add stdlib-safer.h stdlib--.h. + * modules/strdup (EXTRA_DIST): Add strdup.h. + * modules/strftime (EXTRA_DIST): Add strftime.h. + * modules/strndup (EXTRA_DIST): Add strndup.h. + * modules/strnlen (EXTRA_DIST): Add strnlen.h. + * modules/strverscmp (EXTRA_DIST): Add strverscmp.h. + * modules/time_r (EXTRA_DIST): Add time_r.h. + * modules/timespec (EXTRA_DIST): Add timespec.h. + * modules/tmpfile-safer (EXTRA_DIST): Add stdio-safer.h stdio--.h. + * modules/unistd-safer (EXTRA_DIST): Add unistd-safer.h unistd--.h. + * modules/unlinkdir (EXTRA_DIST): Add unlinkdir.h. + * modules/unlocked-io (EXTRA_DIST): Add unlocked-io.h. + * modules/userspec (EXTRA_DIST): Add userspec.h. + * modules/utimecmp (EXTRA_DIST): Add utimecmp.h. + * modules/utimens (EXTRA_DIST): Add utimens.h. + * modules/xalloc (EXTRA_DIST): Add xalloc.h. + * modules/xgetcwd (EXTRA_DIST): Add xgetcwd.h. + * modules/xnanosleep (EXTRA_DIST): Add xnanosleep.h. + * modules/xreadlink (EXTRA_DIST): Add xreadlink.h. + * modules/xstrtod (EXTRA_DIST): Add xstrtod.h. + * modules/xstrtol (EXTRA_DIST): Add xstrtol.h. + * modules/xstrtold (EXTRA_DIST): Add xstrtod.c xstrtod.h. + * modules/yesno (EXTRA_DIST): Add yesno.h. + 2006-08-21 Bruno Haible * gnulib-tool (func_emit_lib_Makefile_am): If the snippets already diff --git a/m4/ChangeLog b/m4/ChangeLog index 919e79b9a..7813a7a93 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,101 @@ +2006-08-21 Paul Eggert + + * argmatch.m4: New file, from coreutils with AC_LIBSOURCES removed. + * dev-ino.m4, same-inode.m4: Remove. + + * _inttypes_h.m4 (gl_INTTYPES_H): + * acl.m4 (AC_FUNC_ACL): + * backupfile.m4 (gl_BACKUPFILE): + * c-strtod.m4 (gl_C99_STRTOLD): + * canon-host.m4 (gl_CANON_HOST): + * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): + * chdir-long.m4 (gl_FUNC_CHDIR_LONG): + * chdir-safer.m4 (gl_CHDIR_SAFER): + * cloexec.m4 (gl_CLOEXEC): + * close-stream.m4 (gl_CLOSE_STREAM): + * closeout.m4 (gl_CLOSEOUT): + * dirfd.m4 (gl_FUNC_DIRFD): + * dirname.m4 (gl_DIRNAME): + * exclude.m4 (gl_EXCLUDE): + * exitfail.m4 (gl_EXITFAIL): + * fcntl-safer.m4 (gl_FCNTL_SAFER): + * file-type.m4 (gl_FILE_TYPE): + * filemode.m4 (gl_FILEMODE): + * filenamecat.m4 (gl_FILE_NAME_CONCAT): + * fpending.m4 (gl_FUNC_FPENDING): + * fprintftime.m4 (gl_FPRINTFTIME): + * fts.m4 (gl_FUNC_FTS): + * getcwd.m4 (gl_FUNC_GETCWD_NULL): + * getdate.m4 (gl_GETDATE): + * gethrxtime.m4 (gl_GETHRXTIME): + * getpagesize.m4 (gl_GETPAGESIZE): + * getpass.m4 (gl_FUNC_GETPASS): + * gettime.m4 (gl_GETTIME): + * getugroups.m4 (gl_GETUGROUPS): + * glob.m4 (gl_GLOB_SUBSTITUTE): + * group-member.m4 (gl_FUNC_GROUP_MEMBER): + * hard-locale.m4 (gl_HARD_LOCALE): + * hash.m4 (gl_HASH): + * idcache.m4 (gl_IDCACHE): + * lchmod.m4 (gl_FUNC_LCHMOD): + * lchown.m4 (gl_FUNC_LCHOWN): + * long-options.m4 (gl_LONG_OPTIONS): + * lstat.m4 (gl_FUNC_LSTAT): + * md5.m4 (gl_MD5): + * memcasecmp.m4 (gl_MEMCASECMP): + * memcoll.m4 (gl_MEMCOLL): + * mempcpy.m4 (gl_FUNC_MEMPCPY): + * memrchr.m4 (gl_FUNC_MEMRCHR): + * memxor.m4 (gl_MEMXOR): + * mkancesdirs.m4 (gl_MKANCESDIRS): + * mkdir-p.m4 (gl_MKDIR_PARENTS): + * modechange.m4 (gl_MODECHANGE): + * mountlist.m4 (gl_MOUNTLIST): + * nanosleep.m4 (gl_FUNC_NANOSLEEP): + * openat.m4 (gl_FUNC_OPENAT): + * pathmax.m4 (gl_PATHMAX): + * physmem.m4 (gl_PHYSMEM): + * posixtm.m4 (gl_POSIXTM): + * posixver.m4 (gl_POSIXVER): + * quote.m4 (gl_QUOTE): + * quotearg.m4 (gl_QUOTEARG): + * readtokens.m4 (gl_READTOKENS): + * readutmp.m4 (gl_READUTMP): + * regex.m4 (gl_REGEX): + * safe-read.m4 (gl_SAFE_READ): + * safe-write.m4 (gl_SAFE_WRITE): + * same.m4 (gl_SAME): + * save-cwd.m4 (gl_SAVE_CWD): + * savedir.m4 (gl_SAVEDIR): + * settime.m4 (gl_SETTIME): + * sha1.m4 (gl_SHA1): + * sig2str.m4 (gl_FUNC_SIG2STR): + * stat-macros.m4 (gl_STAT_MACROS): + * stat-time.m4 (gl_STAT_TIME): + * stdio-safer.m4 (gl_FOPEN_SAFER): + * stdlib-safer.m4 (gl_STDLIB_SAFER): + * strdup.m4 (gl_FUNC_STRDUP): + * strftime.m4 (gl_FUNC_GNU_STRFTIME): + * strndup.m4 (gl_FUNC_STRNDUP): + * strnlen.m4 (gl_FUNC_STRNLEN): + * strverscmp.m4 (gl_FUNC_STRVERSCMP): + * time_r.m4 (gl_TIME_R): + * timespec.m4 (gl_TIMESPEC): + * unistd-safer.m4 (gl_UNISTD_SAFER): + * unlinkdir.m4 (gl_UNLINKDIR): + * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): + * userspec.m4 (gl_USERSPEC): + * utimecmp.m4 (gl_UTIMECMP): + * utimens.m4 (gl_UTIMENS): + * xalloc.m4 (gl_XALLOC): + * xgetcwd.m4 (gl_XGETCWD): + * xnanosleep.m4 (gl_XNANOSLEEP): + * xreadlink.m4 (gl_XREADLINK): + * xstrtod.m4 (gl_XSTRTOD): + * yesno.m4 (gl_YESNO): + Don't use AC_LIBSOURCES; instead, rely on the files in ../modules/ + to get the necessary .h files and whatnot. + 2006-08-19 Bruno Haible BeOS portability. diff --git a/m4/_inttypes_h.m4 b/m4/_inttypes_h.m4 index 791c472b1..241364d6d 100644 --- a/m4/_inttypes_h.m4 +++ b/m4/_inttypes_h.m4 @@ -1,4 +1,4 @@ -# _inttypes_h.m4 serial 4 +# _inttypes_h.m4 serial 5 dnl Copyright (C) 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -8,7 +8,6 @@ dnl From Derek Price. AC_DEFUN([gl_INTTYPES_H], [AC_REQUIRE([gl_INCLUDE_NEXT])dnl -AC_LIBSOURCES([inttypes.h]) if test $gl_cv_have_include_next = no; then gl_ABSOLUTE_HEADER([inttypes.h]) fi diff --git a/m4/acl.m4 b/m4/acl.m4 index 2cc1ca3dd..1d91a5a54 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, 2005 Free Software Foundation, Inc. +# Copyright (C) 2002, 2004, 2005, 2006 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,7 +9,6 @@ AC_DEFUN([AC_FUNC_ACL], [ - AC_LIBSOURCES([acl.c, acl.h]) AC_LIBOBJ([acl]) dnl Prerequisites of lib/acl.c. diff --git a/m4/same-inode.m4 b/m4/argmatch.m4 similarity index 62% rename from m4/same-inode.m4 rename to m4/argmatch.m4 index 55b3928df..beda5a119 100644 --- a/m4/same-inode.m4 +++ b/m4/argmatch.m4 @@ -1,10 +1,10 @@ -#serial 1 -dnl Copyright (C) 2006 Free Software Foundation, Inc. +#serial 3 +dnl Copyright (C) 2005, 2006 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_INODE], +AC_DEFUN([gl_ARGMATCH], [ - AC_LIBSOURCES([same-inode.h]) + AC_LIBOBJ([argmatch]) ]) diff --git a/m4/backupfile.m4 b/m4/backupfile.m4 index 6e08f72c5..effbce6e9 100644 --- a/m4/backupfile.m4 +++ b/m4/backupfile.m4 @@ -1,4 +1,4 @@ -# backupfile.m4 serial 11 +# backupfile.m4 serial 12 dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,7 +6,6 @@ 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. diff --git a/m4/c-strtod.m4 b/m4/c-strtod.m4 index 729f1aac7..7f206c71d 100644 --- a/m4/c-strtod.m4 +++ b/m4/c-strtod.m4 @@ -1,4 +1,4 @@ -# c-strtod.m4 serial 8 +# c-strtod.m4 serial 9 # Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation @@ -35,7 +35,6 @@ 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. @@ -45,7 +44,6 @@ AC_DEFUN([gl_C_STRTOD], AC_DEFUN([gl_C_STRTOLD], [ - AC_LIBSOURCES([c-strtod.c, c-strtold.c, c-strtod.h]) AC_LIBOBJ([c-strtold]) dnl Prerequisites of lib/c-strtold.c. diff --git a/m4/canon-host.m4 b/m4/canon-host.m4 index b41610471..d13db20e4 100644 --- a/m4/canon-host.m4 +++ b/m4/canon-host.m4 @@ -1,12 +1,11 @@ -# canon-host.m4 serial 7 -dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# canon-host.m4 serial 8 +dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 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, canon-host.h]) AC_LIBOBJ([canon-host]) gl_PREREQ_CANON_HOST ]) diff --git a/m4/canonicalize.m4 b/m4/canonicalize.m4 index 0ed92e1f1..8b10a9c4b 100644 --- a/m4/canonicalize.m4 +++ b/m4/canonicalize.m4 @@ -1,4 +1,4 @@ -#serial 9 +#serial 10 # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation @@ -9,7 +9,6 @@ AC_DEFUN([AC_FUNC_CANONICALIZE_FILE_NAME], [ - AC_LIBSOURCES([canonicalize.c, canonicalize.h]) AC_LIBOBJ([canonicalize]) AC_CHECK_HEADERS(sys/param.h) diff --git a/m4/chdir-long.m4 b/m4/chdir-long.m4 index 170434924..88e980f3a 100644 --- a/m4/chdir-long.m4 +++ b/m4/chdir-long.m4 @@ -1,4 +1,4 @@ -#serial 7 +#serial 8 # Use Gnulib's robust chdir function. # It can handle arbitrarily long directory names, which means @@ -6,7 +6,7 @@ # never fails with ENAMETOOLONG. # Arrange to compile chdir-long.c only on systems that define PATH_MAX. -dnl Copyright (C) 2004, 2005 Free Software Foundation, Inc. +dnl Copyright (C) 2004, 2005, 2006 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. @@ -15,7 +15,6 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_CHDIR_LONG], [ - AC_LIBSOURCES([chdir-long.c, chdir-long.h]) AC_CACHE_CHECK([whether this system has an arbitrary file name length limit], gl_have_arbitrary_file_name_length_limit, [AC_EGREP_CPP([have_arbitrary_file_name_length_limit], diff --git a/m4/chdir-safer.m4 b/m4/chdir-safer.m4 index b3c351c78..22ad50673 100644 --- a/m4/chdir-safer.m4 +++ b/m4/chdir-safer.m4 @@ -1,4 +1,4 @@ -#serial 2 +#serial 3 dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,6 +6,5 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_CHDIR_SAFER], [ - AC_LIBSOURCES([chdir-safer.c, chdir-safer.h, same-inode.h]) AC_LIBOBJ([chdir-safer]) ]) diff --git a/m4/cloexec.m4 b/m4/cloexec.m4 index 7e0f801e9..4c4e26a14 100644 --- a/m4/cloexec.m4 +++ b/m4/cloexec.m4 @@ -1,11 +1,10 @@ -#serial 5 -dnl Copyright (C) 2004, 2005 Free Software Foundation, Inc. +#serial 6 +dnl Copyright (C) 2004, 2005, 2006 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]) ]) diff --git a/m4/close-stream.m4 b/m4/close-stream.m4 index 93f4d9a91..bc219b59e 100644 --- a/m4/close-stream.m4 +++ b/m4/close-stream.m4 @@ -5,7 +5,6 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_CLOSE_STREAM], [ - AC_LIBSOURCES([close-stream.c, close-stream.h]) AC_LIBOBJ([close-stream]) dnl Prerequisites of lib/close-stream.c. diff --git a/m4/closeout.m4 b/m4/closeout.m4 index 8d3ead35f..55a65f046 100644 --- a/m4/closeout.m4 +++ b/m4/closeout.m4 @@ -1,12 +1,11 @@ -# closeout.m4 serial 4 -dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# closeout.m4 serial 5 +dnl Copyright (C) 2002, 2003, 2005, 2006 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/dev-ino.m4 b/m4/dev-ino.m4 deleted file mode 100644 index 7b51d9867..000000000 --- a/m4/dev-ino.m4 +++ /dev/null @@ -1,10 +0,0 @@ -#serial 1 -dnl Copyright (C) 2006 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_STRUCT_DEV_INO], -[ - AC_LIBSOURCES([dev-ino.h]) -]) diff --git a/m4/dirfd.m4 b/m4/dirfd.m4 index c377b87a3..125966b1a 100644 --- a/m4/dirfd.m4 +++ b/m4/dirfd.m4 @@ -1,4 +1,4 @@ -#serial 13 -*- Autoconf -*- +#serial 14 -*- Autoconf -*- dnl Find out how to get the file descriptor associated with an open DIR*. @@ -12,8 +12,6 @@ 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 f3412ad08..e35da9658 100644 --- a/m4/dirname.m4 +++ b/m4/dirname.m4 @@ -1,4 +1,4 @@ -#serial 6 -*- autoconf -*- +#serial 7 -*- autoconf -*- dnl Copyright (C) 2002-2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,8 +6,9 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_DIRNAME], [ - AC_LIBSOURCES([dirname.c, dirname.h]) + AC_LIBOBJ([basename]) AC_LIBOBJ([dirname]) + AC_LIBOBJ([stripslash]) dnl Prerequisites of lib/dirname.h. AC_REQUIRE([gl_AC_DOS]) diff --git a/m4/exclude.m4 b/m4/exclude.m4 index 87acf841f..23727e632 100644 --- a/m4/exclude.m4 +++ b/m4/exclude.m4 @@ -1,4 +1,4 @@ -# exclude.m4 serial 6 +# exclude.m4 serial 7 dnl Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,6 +6,5 @@ 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]) ]) diff --git a/m4/exitfail.m4 b/m4/exitfail.m4 index 5523676f1..b7a691e50 100644 --- a/m4/exitfail.m4 +++ b/m4/exitfail.m4 @@ -1,12 +1,11 @@ -# exitfail.m4 serial 5 -dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# exitfail.m4 serial 6 +dnl Copyright (C) 2002, 2003, 2005, 2006 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/fcntl-safer.m4 b/m4/fcntl-safer.m4 index be210f9a0..97e3c4518 100644 --- a/m4/fcntl-safer.m4 +++ b/m4/fcntl-safer.m4 @@ -1,12 +1,11 @@ -#serial 2 -dnl Copyright (C) 2005 Free Software Foundation, Inc. +#serial 3 +dnl Copyright (C) 2005, 2006 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_FCNTL_SAFER], [ - AC_LIBSOURCES([creat-safer.c, fcntl-safer.h, open-safer.c, fcntl--.h]) AC_LIBOBJ([open-safer]) AC_LIBOBJ([creat-safer]) ]) diff --git a/m4/file-type.m4 b/m4/file-type.m4 index 7d1830965..2d0a1d8fe 100644 --- a/m4/file-type.m4 +++ b/m4/file-type.m4 @@ -1,11 +1,10 @@ -# file-type.m4 serial 5 -dnl Copyright (C) 2002, 2005 Free Software Foundation, Inc. +# file-type.m4 serial 6 +dnl Copyright (C) 2002, 2005, 2006 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]) ]) diff --git a/m4/filemode.m4 b/m4/filemode.m4 index fa571b3f2..64f5cb918 100644 --- a/m4/filemode.m4 +++ b/m4/filemode.m4 @@ -1,4 +1,4 @@ -# filemode.m4 serial 6 +# filemode.m4 serial 7 dnl Copyright (C) 2002, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -7,7 +7,6 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FILEMODE], [ AC_REQUIRE([AC_STRUCT_ST_DM_MODE]) - AC_LIBSOURCES([filemode.c, filemode.h]) AC_LIBOBJ([filemode]) AC_CHECK_DECLS_ONCE([strmode]) ]) diff --git a/m4/filenamecat.m4 b/m4/filenamecat.m4 index c75a57d06..bb46dbaf0 100644 --- a/m4/filenamecat.m4 +++ b/m4/filenamecat.m4 @@ -1,12 +1,11 @@ -# filenamecat.m4 serial 7 -dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# filenamecat.m4 serial 8 +dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 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_NAME_CONCAT], [ - AC_LIBSOURCES([filenamecat.c, filenamecat.h]) AC_LIBOBJ([filenamecat]) dnl Prerequisites of lib/filenamecat.c. diff --git a/m4/fpending.m4 b/m4/fpending.m4 index edf737800..e5917c585 100644 --- a/m4/fpending.m4 +++ b/m4/fpending.m4 @@ -1,4 +1,4 @@ -#serial 8 +#serial 9 # Copyright (C) 2000, 2001, 2004, 2005, 2006 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation @@ -15,8 +15,6 @@ 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/fprintftime.m4 b/m4/fprintftime.m4 index f60df3ec5..8b088e86a 100644 --- a/m4/fprintftime.m4 +++ b/m4/fprintftime.m4 @@ -1,11 +1,10 @@ -#serial 1 -dnl Copyright (C) 2005 Free Software Foundation, Inc. +#serial 2 +dnl Copyright (C) 2005, 2006 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_FPRINTFTIME], [ - AC_LIBSOURCES([fprintftime.c, fprintftime.h]) AC_LIBOBJ([fprintftime]) ]) diff --git a/m4/fts.m4 b/m4/fts.m4 index ebb249826..2c9348e63 100644 --- a/m4/fts.m4 +++ b/m4/fts.m4 @@ -1,4 +1,4 @@ -#serial 10 +#serial 11 dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -7,7 +7,6 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_FTS], [ AC_REQUIRE([gl_FUNC_FTS_CORE]) - AC_LIBSOURCES([fts-cycle.c]) ]) AC_DEFUN([gl_FUNC_FTS_LGPL], @@ -20,8 +19,6 @@ AC_DEFUN([gl_FUNC_FTS_LGPL], AC_DEFUN([gl_FUNC_FTS_CORE], [ - AC_LIBSOURCES([fts.c, fts_.h]) - dnl Use this version of fts unconditionally, since the GNU libc and dnl NetBSD versions have bugs and/or unnecessary limitations. AC_LIBOBJ([fts]) diff --git a/m4/getcwd.m4 b/m4/getcwd.m4 index 2a19a083a..a1096f2e2 100644 --- a/m4/getcwd.m4 +++ b/m4/getcwd.m4 @@ -9,8 +9,6 @@ AC_DEFUN([gl_FUNC_GETCWD_NULL], [ - AC_LIBSOURCES([getcwd.c, getcwd.h]) - AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], [gl_cv_func_getcwd_null], [AC_TRY_RUN( diff --git a/m4/getdate.m4 b/m4/getdate.m4 index 225b7b75b..bfbc4336b 100644 --- a/m4/getdate.m4 +++ b/m4/getdate.m4 @@ -1,4 +1,4 @@ -# getdate.m4 serial 9 +# getdate.m4 serial 10 dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -19,7 +19,6 @@ AC_DEFUN([gl_C_COMPOUND_LITERALS], AC_DEFUN([gl_GETDATE], [ - AC_LIBSOURCES([getdate.h, getdate.y]) AC_LIBOBJ([getdate]) dnl Prerequisites of lib/getdate.h. diff --git a/m4/gethrxtime.m4 b/m4/gethrxtime.m4 index a816891c3..b596fec29 100644 --- a/m4/gethrxtime.m4 +++ b/m4/gethrxtime.m4 @@ -1,4 +1,4 @@ -# gethrxtime.m4 serial 5 +# gethrxtime.m4 serial 6 dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -8,7 +8,6 @@ dnl Written by Paul Eggert. AC_DEFUN([gl_GETHRXTIME], [ - AC_LIBSOURCES([gethrxtime.c, gethrxtime.h, xtime.h]) AC_REQUIRE([gl_ARITHMETIC_HRTIME_T]) AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_XTIME]) diff --git a/m4/getpagesize.m4 b/m4/getpagesize.m4 index 6d84890e7..e8697bda9 100644 --- a/m4/getpagesize.m4 +++ b/m4/getpagesize.m4 @@ -1,4 +1,4 @@ -# getpagesize.m4 serial 5 +# getpagesize.m4 serial 6 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, @@ -6,8 +6,6 @@ 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) AC_CHECK_HEADERS(OS.h) diff --git a/m4/getpass.m4 b/m4/getpass.m4 index 44c24d030..014c52d14 100644 --- a/m4/getpass.m4 +++ b/m4/getpass.m4 @@ -1,4 +1,4 @@ -# getpass.m4 serial 8 +# getpass.m4 serial 9 dnl Copyright (C) 2002-2003, 2005-2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -7,8 +7,6 @@ dnl with or without modifications, as long as this notice is preserved. # Provide a getpass() function if the system doesn't have it. AC_DEFUN([gl_FUNC_GETPASS], [ - AC_LIBSOURCES([getpass.c, getpass.h]) - AC_REPLACE_FUNCS(getpass) AC_CHECK_DECLS_ONCE(getpass) if test $ac_cv_func_getpass = no; then @@ -20,8 +18,6 @@ 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 0ae4c3908..601a5e697 100644 --- a/m4/gettime.m4 +++ b/m4/gettime.m4 @@ -1,12 +1,11 @@ -# gettime.m4 serial 5 -dnl Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. +# gettime.m4 serial 6 +dnl Copyright (C) 2002, 2004, 2005, 2006 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. diff --git a/m4/getugroups.m4 b/m4/getugroups.m4 index 0369b07b3..3c5e15eed 100644 --- a/m4/getugroups.m4 +++ b/m4/getugroups.m4 @@ -1,12 +1,11 @@ -# getugroups.m4 serial 5 -dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# getugroups.m4 serial 6 +dnl Copyright (C) 2002, 2003, 2005, 2006 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. diff --git a/m4/glob.m4 b/m4/glob.m4 index 497677cc5..767c54d7a 100644 --- a/m4/glob.m4 +++ b/m4/glob.m4 @@ -1,4 +1,4 @@ -# glob.m4 serial 6 +# glob.m4 serial 7 dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -13,7 +13,6 @@ AC_DEFUN([gl_GLOB_SUBSTITUTE], gl_PREREQ_GLOB GLOB_H=glob.h - AC_LIBSOURCES([glob.c, glob_.h, glob-libc.h]) AC_LIBOBJ([glob]) AC_SUBST([GLOB_H]) ]) diff --git a/m4/group-member.m4 b/m4/group-member.m4 index ab4a920ed..6f2f57e97 100644 --- a/m4/group-member.m4 +++ b/m4/group-member.m4 @@ -1,6 +1,8 @@ -#serial 9 +#serial 10 + +# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2006 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,8 +11,6 @@ dnl Written by Jim Meyering AC_DEFUN([gl_FUNC_GROUP_MEMBER], [ - AC_LIBSOURCES([group-member.c, group-member.h]) - dnl Persuade glibc to declare group_member(). AC_REQUIRE([AC_GNU_SOURCE]) diff --git a/m4/hard-locale.m4 b/m4/hard-locale.m4 index 640a75560..8b577eff0 100644 --- a/m4/hard-locale.m4 +++ b/m4/hard-locale.m4 @@ -1,5 +1,5 @@ -# hard-locale.m4 serial 6 -dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# hard-locale.m4 serial 7 +dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 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. @@ -7,6 +7,5 @@ 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_LIBSOURCES([hard-locale.c, hard-locale.h]) AC_LIBOBJ([hard-locale]) ]) diff --git a/m4/hash.m4 b/m4/hash.m4 index 948dd9720..1b1873c32 100644 --- a/m4/hash.m4 +++ b/m4/hash.m4 @@ -1,12 +1,11 @@ -# hash.m4 serial 5 -dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# hash.m4 serial 6 +dnl Copyright (C) 2002, 2003, 2005, 2006 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. diff --git a/m4/idcache.m4 b/m4/idcache.m4 index 804ce42a1..8bb2fc94f 100644 --- a/m4/idcache.m4 +++ b/m4/idcache.m4 @@ -1,11 +1,10 @@ -# idcache.m4 serial 5 -dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# idcache.m4 serial 6 +dnl Copyright (C) 2002, 2003, 2005, 2006 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]) ]) diff --git a/m4/lchmod.m4 b/m4/lchmod.m4 index d035bba28..06467a04b 100644 --- a/m4/lchmod.m4 +++ b/m4/lchmod.m4 @@ -1,6 +1,6 @@ -#serial 1 +#serial 2 -dnl Copyright (C) 2005 Free Software Foundation, Inc. +dnl Copyright (C) 2005, 2006 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. @@ -10,6 +10,5 @@ dnl Provide a replacement for lchmod on hosts that lack it. AC_DEFUN([gl_FUNC_LCHMOD], [ - AC_LIBSOURCES([lchmod.h]) AC_CHECK_FUNCS_ONCE([lchmod]) ]) diff --git a/m4/lchown.m4 b/m4/lchown.m4 index cbbbe34f1..ae54522da 100644 --- a/m4/lchown.m4 +++ b/m4/lchown.m4 @@ -1,6 +1,8 @@ -#serial 8 +#serial 9 + +dnl Copyright (C) 1998, 2001, 2003, 2004, 2005, 2006 Free Software +dnl Foundation, Inc. -dnl Copyright (C) 1998, 2001, 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. @@ -10,7 +12,6 @@ dnl Provide lchown on systems that lack it. AC_DEFUN([gl_FUNC_LCHOWN], [ - AC_LIBSOURCES([lchown.c, lchown.h]) AC_REQUIRE([AC_TYPE_UID_T]) AC_REQUIRE([gl_FUNC_CHOWN]) AC_REQUIRE([gl_STAT_MACROS]) diff --git a/m4/long-options.m4 b/m4/long-options.m4 index f4af901e0..2712bad23 100644 --- a/m4/long-options.m4 +++ b/m4/long-options.m4 @@ -1,12 +1,11 @@ -# long-options.m4 serial 4 -dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# long-options.m4 serial 5 +dnl Copyright (C) 2002, 2003, 2005, 2006 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/lstat.m4 b/m4/lstat.m4 index 20e6fc315..2d4585771 100644 --- a/m4/lstat.m4 +++ b/m4/lstat.m4 @@ -1,7 +1,7 @@ -#serial 14 +#serial 15 -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 Free Software -# Foundation, Inc. +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006 +# Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -11,8 +11,6 @@ dnl From Jim Meyering. AC_DEFUN([gl_FUNC_LSTAT], [ - AC_LIBSOURCES([lstat.c, lstat.h]) - AC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK]) dnl Note: AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK does AC_LIBOBJ(lstat). : diff --git a/m4/md5.m4 b/m4/md5.m4 index 0c4d86b59..5a1f8755a 100644 --- a/m4/md5.m4 +++ b/m4/md5.m4 @@ -1,12 +1,11 @@ -# md5.m4 serial 8 -dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# md5.m4 serial 9 +dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 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.c. diff --git a/m4/memcasecmp.m4 b/m4/memcasecmp.m4 index 95a3dc087..7ea362cbc 100644 --- a/m4/memcasecmp.m4 +++ b/m4/memcasecmp.m4 @@ -1,4 +1,4 @@ -#serial 4 +#serial 5 dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,6 +6,5 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_MEMCASECMP], [ - AC_LIBSOURCES([memcasecmp.c, memcasecmp.h]) AC_LIBOBJ([memcasecmp]) ]) diff --git a/m4/memcoll.m4 b/m4/memcoll.m4 index f9cd1deac..4362f1b3c 100644 --- a/m4/memcoll.m4 +++ b/m4/memcoll.m4 @@ -1,4 +1,4 @@ -# memcoll.m4 serial 6 +# memcoll.m4 serial 7 dnl Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,7 +6,6 @@ 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. diff --git a/m4/mempcpy.m4 b/m4/mempcpy.m4 index a96168d88..9aec73dc5 100644 --- a/m4/mempcpy.m4 +++ b/m4/mempcpy.m4 @@ -1,12 +1,11 @@ -# mempcpy.m4 serial 3 -dnl Copyright (C) 2003, 2004 Free Software Foundation, Inc. +# mempcpy.m4 serial 4 +dnl Copyright (C) 2003, 2004, 2006 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_MEMPCPY], [ - AC_LIBSOURCES([mempcpy.c, mempcpy.h]) dnl Persuade glibc to declare mempcpy(). AC_REQUIRE([AC_GNU_SOURCE]) diff --git a/m4/memrchr.m4 b/m4/memrchr.m4 index e2406ec89..5d971551d 100644 --- a/m4/memrchr.m4 +++ b/m4/memrchr.m4 @@ -1,13 +1,11 @@ -# memrchr.m4 serial 4 -dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# memrchr.m4 serial 5 +dnl Copyright (C) 2002, 2003, 2005, 2006 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_MEMRCHR], [ - AC_LIBSOURCES([memrchr.c, memrchr.h]) - dnl Persuade glibc to declare memrchr(). AC_REQUIRE([AC_GNU_SOURCE]) diff --git a/m4/memxor.m4 b/m4/memxor.m4 index bf88a410d..e14ffbb0f 100644 --- a/m4/memxor.m4 +++ b/m4/memxor.m4 @@ -1,4 +1,4 @@ -# memxor.m4 serial 2 +# memxor.m4 serial 3 dnl Copyright (C) 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,7 +6,6 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_MEMXOR], [ - AC_LIBSOURCES([memxor.h, memxor.c]) AC_LIBOBJ([memxor]) AC_REQUIRE([AC_C_RESTRICT]) ]) diff --git a/m4/mkancesdirs.m4 b/m4/mkancesdirs.m4 index cd44d4874..6833deec2 100644 --- a/m4/mkancesdirs.m4 +++ b/m4/mkancesdirs.m4 @@ -6,6 +6,5 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_MKANCESDIRS], [ - AC_LIBSOURCES([mkancesdirs.c, mkancesdirs.h]) AC_LIBOBJ([mkancesdirs]) ]) diff --git a/m4/mkdir-p.m4 b/m4/mkdir-p.m4 index b0ceb1821..9317fa4dd 100644 --- a/m4/mkdir-p.m4 +++ b/m4/mkdir-p.m4 @@ -1,4 +1,4 @@ -# mkdir-p.m4 serial 11 +# mkdir-p.m4 serial 12 dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,7 +6,6 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_MKDIR_PARENTS], [ - AC_LIBSOURCES([dirchownmod.c, dirchownmod.h, mkdir-p.c, mkdir-p.h]) AC_LIBOBJ([dirchownmod]) AC_LIBOBJ([mkdir-p]) diff --git a/m4/modechange.m4 b/m4/modechange.m4 index c703e94f5..3b23955e5 100644 --- a/m4/modechange.m4 +++ b/m4/modechange.m4 @@ -1,11 +1,10 @@ -# modechange.m4 serial 5 -dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# modechange.m4 serial 6 +dnl Copyright (C) 2002, 2003, 2005, 2006 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]) ]) diff --git a/m4/mountlist.m4 b/m4/mountlist.m4 index b2a2e12f8..c25f44e7e 100644 --- a/m4/mountlist.m4 +++ b/m4/mountlist.m4 @@ -1,13 +1,11 @@ -#serial 8 -dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +#serial 9 +dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 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 56c66bbb9..88e630e89 100644 --- a/m4/nanosleep.m4 +++ b/m4/nanosleep.m4 @@ -1,4 +1,4 @@ -#serial 17 +#serial 18 dnl From Jim Meyering. dnl Check for the nanosleep function. @@ -14,8 +14,6 @@ dnl AC_DEFUN([gl_FUNC_NANOSLEEP], [ - AC_LIBSOURCES([nanosleep.c]) - dnl Persuade glibc and Solaris to declare nanosleep. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) diff --git a/m4/openat.m4 b/m4/openat.m4 index 0abb8c87d..a17056532 100644 --- a/m4/openat.m4 +++ b/m4/openat.m4 @@ -1,4 +1,4 @@ -#serial 9 +#serial 10 # See if we need to use our replacement for Solaris' openat et al functions. dnl Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. @@ -10,11 +10,6 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_OPENAT], [ - AC_LIBSOURCES([openat.c, openat.h, openat-priv.h, openat-die.c, at-func.c]) - AC_LIBSOURCES([intprops.h]) - AC_LIBSOURCES([mkdirat.c]) - AC_LIBSOURCES([fchmodat.c]) - # No system provides these functions; compile them unconditionally. AC_LIBOBJ([mkdirat]) AC_LIBOBJ([fchmodat]) diff --git a/m4/pathmax.m4 b/m4/pathmax.m4 index 26c165935..64bf26ff7 100644 --- a/m4/pathmax.m4 +++ b/m4/pathmax.m4 @@ -1,13 +1,11 @@ -# pathmax.m4 serial 5 -dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# pathmax.m4 serial 6 +dnl Copyright (C) 2002, 2003, 2005, 2006 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) ]) diff --git a/m4/physmem.m4 b/m4/physmem.m4 index 18250ddec..6956e3ad0 100644 --- a/m4/physmem.m4 +++ b/m4/physmem.m4 @@ -1,5 +1,5 @@ -# physmem.m4 serial 5 -dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# physmem.m4 serial 6 +dnl Copyright (C) 2002, 2003, 2005, 2006 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,7 +26,6 @@ AC_DEFUN([gl_SYS__SYSTEM_CONFIGURATION], AC_DEFUN([gl_PHYSMEM], [ - AC_LIBSOURCES([physmem.c, physmem.h]) AC_LIBOBJ([physmem]) # Prerequisites of lib/physmem.c. diff --git a/m4/posixtm.m4 b/m4/posixtm.m4 index 9acf84a12..f0c5b287f 100644 --- a/m4/posixtm.m4 +++ b/m4/posixtm.m4 @@ -1,12 +1,11 @@ -# posixtm.m4 serial 4 -dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# posixtm.m4 serial 5 +dnl Copyright (C) 2002, 2003, 2005, 2006 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. diff --git a/m4/posixver.m4 b/m4/posixver.m4 index 5432702b3..f60a09480 100644 --- a/m4/posixver.m4 +++ b/m4/posixver.m4 @@ -1,4 +1,4 @@ -# posixver.m4 serial 8 +# posixver.m4 serial 9 dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,7 +6,6 @@ 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_REQUIRE([gl_DEFAULT_POSIX2_VERSION]) diff --git a/m4/quote.m4 b/m4/quote.m4 index ca66b53aa..0f08791a9 100644 --- a/m4/quote.m4 +++ b/m4/quote.m4 @@ -1,12 +1,11 @@ -# quote.m4 serial 4 -dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# quote.m4 serial 5 +dnl Copyright (C) 2002, 2003, 2005, 2006 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. diff --git a/m4/quotearg.m4 b/m4/quotearg.m4 index 98ae13316..b6d3d7ae8 100644 --- a/m4/quotearg.m4 +++ b/m4/quotearg.m4 @@ -1,12 +1,11 @@ -# quotearg.m4 serial 4 -dnl Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. +# quotearg.m4 serial 5 +dnl Copyright (C) 2002, 2004, 2005, 2006 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. diff --git a/m4/readtokens.m4 b/m4/readtokens.m4 index 94561ebb3..596a97b20 100644 --- a/m4/readtokens.m4 +++ b/m4/readtokens.m4 @@ -1,12 +1,11 @@ -# readtokens.m4 serial 4 -dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# readtokens.m4 serial 5 +dnl Copyright (C) 2002, 2003, 2005, 2006 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 ac413f6c1..55a2be861 100644 --- a/m4/readutmp.m4 +++ b/m4/readutmp.m4 @@ -1,12 +1,11 @@ -# readutmp.m4 serial 9 -dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# readutmp.m4 serial 10 +dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 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 and lib/readutmp.c. diff --git a/m4/regex.m4 b/m4/regex.m4 index 5ca868bbe..46c0131e4 100644 --- a/m4/regex.m4 +++ b/m4/regex.m4 @@ -1,4 +1,4 @@ -#serial 38 +#serial 39 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006 Free Software Foundation, Inc. @@ -14,10 +14,6 @@ AC_PREREQ([2.50]) AC_DEFUN([gl_REGEX], [ - AC_LIBSOURCES( - [regcomp.c, regex.c, regex.h, - regex_internal.c, regex_internal.h, regexec.c]) - AC_ARG_WITH([included-regex], [AC_HELP_STRING([--without-included-regex], [don't compile regex; this is the default on diff --git a/m4/safe-read.m4 b/m4/safe-read.m4 index e1f306417..7a89d0a6c 100644 --- a/m4/safe-read.m4 +++ b/m4/safe-read.m4 @@ -1,12 +1,11 @@ -# safe-read.m4 serial 4 -dnl Copyright (C) 2002-2003, 2005 Free Software Foundation, Inc. +# safe-read.m4 serial 5 +dnl Copyright (C) 2002, 2003, 2005, 2006 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 197adeba2..db119ffa5 100644 --- a/m4/safe-write.m4 +++ b/m4/safe-write.m4 @@ -1,12 +1,11 @@ -# safe-write.m4 serial 2 -dnl Copyright (C) 2002, 2005 Free Software Foundation, Inc. +# safe-write.m4 serial 3 +dnl Copyright (C) 2002, 2005, 2006 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 0eacf4f1b..709c8f1cf 100644 --- a/m4/same.m4 +++ b/m4/same.m4 @@ -1,4 +1,4 @@ -#serial 7 +#serial 8 dnl Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,7 +6,6 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_SAME], [ - AC_LIBSOURCES([same.c, same.h, same-inode.h]) AC_LIBOBJ([same]) dnl Prerequisites of lib/same.c. diff --git a/m4/save-cwd.m4 b/m4/save-cwd.m4 index eec27890f..7a2286bf4 100644 --- a/m4/save-cwd.m4 +++ b/m4/save-cwd.m4 @@ -1,12 +1,11 @@ -#serial 7 -dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +#serial 8 +dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 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_SAVE_CWD], [ - AC_LIBSOURCES([save-cwd.c, save-cwd.h]) AC_LIBOBJ([save-cwd]) dnl Prerequisites for lib/save-cwd.c. AC_CHECK_FUNCS_ONCE(fchdir) diff --git a/m4/savedir.m4 b/m4/savedir.m4 index b6968ebaa..1fc6c8150 100644 --- a/m4/savedir.m4 +++ b/m4/savedir.m4 @@ -1,4 +1,4 @@ -# savedir.m4 serial 8 +# savedir.m4 serial 9 dnl Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,6 +6,5 @@ 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]) ]) diff --git a/m4/settime.m4 b/m4/settime.m4 index 20bb360d8..693e84ebb 100644 --- a/m4/settime.m4 +++ b/m4/settime.m4 @@ -1,12 +1,11 @@ -# settime.m4 serial 4 -dnl Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. +# settime.m4 serial 5 +dnl Copyright (C) 2002, 2004, 2005, 2006 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. diff --git a/m4/sha1.m4 b/m4/sha1.m4 index 7b6c21cb8..c6e6184b2 100644 --- a/m4/sha1.m4 +++ b/m4/sha1.m4 @@ -1,12 +1,11 @@ -# sha1.m4 serial 6 -dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# sha1.m4 serial 7 +dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 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. diff --git a/m4/sig2str.m4 b/m4/sig2str.m4 index 92c80630c..8b85c430c 100644 --- a/m4/sig2str.m4 +++ b/m4/sig2str.m4 @@ -1,12 +1,11 @@ -#serial 4 -dnl Copyright (C) 2002, 2005 Free Software Foundation, Inc. +#serial 5 +dnl Copyright (C) 2002, 2005, 2006 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, intprops.h]) AC_REPLACE_FUNCS(sig2str) if test $ac_cv_func_sig2str = no; then diff --git a/m4/stat-macros.m4 b/m4/stat-macros.m4 index b01218a9b..5f3301d08 100644 --- a/m4/stat-macros.m4 +++ b/m4/stat-macros.m4 @@ -1,6 +1,6 @@ -#serial 2 +#serial 3 -# Copyright (C) 2005 Free Software Foundation, Inc. +# Copyright (C) 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -8,7 +8,5 @@ AC_DEFUN([gl_STAT_MACROS], [ - AC_LIBSOURCES([stat-macros.h]) - AC_REQUIRE([AC_HEADER_STAT]) ]) diff --git a/m4/stat-time.m4 b/m4/stat-time.m4 index 89a7aa4b8..1e46a09fe 100644 --- a/m4/stat-time.m4 +++ b/m4/stat-time.m4 @@ -1,6 +1,8 @@ # Checks for stat-related time functions. -# Copyright (C) 1998, 1999, 2001, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 1998, 1999, 2001, 2003, 2005, 2006 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,8 +17,6 @@ dnl From Paul Eggert. AC_DEFUN([gl_STAT_TIME], [ - AC_LIBSOURCES([stat-time.h]) - AC_REQUIRE([AC_C_INLINE]) AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) diff --git a/m4/stdio-safer.m4 b/m4/stdio-safer.m4 index 40be1ad47..e1cfc02c5 100644 --- a/m4/stdio-safer.m4 +++ b/m4/stdio-safer.m4 @@ -1,4 +1,4 @@ -#serial 7 +#serial 8 dnl Copyright (C) 2002, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,12 +6,10 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FOPEN_SAFER], [ - AC_LIBSOURCES([fopen-safer.c, stdio-safer.h, stdio--.h]) AC_LIBOBJ([fopen-safer]) ]) AC_DEFUN([gl_TMPFILE_SAFER], [ - AC_LIBSOURCES([tmpfile-safer.c, stdio-safer.h, stdio--.h]) AC_LIBOBJ([tmpfile-safer]) ]) diff --git a/m4/stdlib-safer.m4 b/m4/stdlib-safer.m4 index f9cc00036..36fd17c89 100644 --- a/m4/stdlib-safer.m4 +++ b/m4/stdlib-safer.m4 @@ -1,11 +1,10 @@ -# stdlib-safer.m4 serial 1 -dnl Copyright (C) 2005 Free Software Foundation, Inc. +# stdlib-safer.m4 serial 2 +dnl Copyright (C) 2005, 2006 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_STDLIB_SAFER], [ - AC_LIBSOURCES([mkstemp-safer.c, stdlib-safer.h, stdlib--.h]) AC_LIBOBJ([mkstemp-safer]) ]) diff --git a/m4/strdup.m4 b/m4/strdup.m4 index 42325ab9e..f7786e944 100644 --- a/m4/strdup.m4 +++ b/m4/strdup.m4 @@ -1,13 +1,11 @@ -# strdup.m4 serial 6 -dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# strdup.m4 serial 7 +dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 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 ea93042db..7abad56dc 100644 --- a/m4/strftime.m4 +++ b/m4/strftime.m4 @@ -1,4 +1,4 @@ -#serial 27 +#serial 28 # Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. @@ -16,7 +16,6 @@ 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]) # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE. diff --git a/m4/strndup.m4 b/m4/strndup.m4 index e333f5cfd..180ad203e 100644 --- a/m4/strndup.m4 +++ b/m4/strndup.m4 @@ -1,4 +1,4 @@ -# strndup.m4 serial 7 +# strndup.m4 serial 8 dnl Copyright (C) 2002-2003, 2005-2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,8 +6,6 @@ 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 to declare strndup(). AC_REQUIRE([AC_GNU_SOURCE]) diff --git a/m4/strnlen.m4 b/m4/strnlen.m4 index 67964c8d7..0213a8ae3 100644 --- a/m4/strnlen.m4 +++ b/m4/strnlen.m4 @@ -1,13 +1,11 @@ -# strnlen.m4 serial 5 -dnl Copyright (C) 2002-2003, 2005 Free Software Foundation, Inc. +# strnlen.m4 serial 6 +dnl Copyright (C) 2002-2003, 2005, 2006 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_STRNLEN], [ - AC_LIBSOURCES([strnlen.c, strnlen.h]) - dnl Persuade glibc to declare strnlen(). AC_REQUIRE([AC_GNU_SOURCE]) diff --git a/m4/strverscmp.m4 b/m4/strverscmp.m4 index 46e178beb..ab20c1809 100644 --- a/m4/strverscmp.m4 +++ b/m4/strverscmp.m4 @@ -1,13 +1,11 @@ -# strverscmp.m4 serial 3 -dnl Copyright (C) 2002, 2005 Free Software Foundation, Inc. +# strverscmp.m4 serial 4 +dnl Copyright (C) 2002, 2005, 2006 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 to declare strverscmp(). AC_REQUIRE([AC_GNU_SOURCE]) diff --git a/m4/time_r.m4 b/m4/time_r.m4 index 204c424dd..f8fbaf919 100644 --- a/m4/time_r.m4 +++ b/m4/time_r.m4 @@ -9,7 +9,6 @@ dnl Written by Paul Eggert. AC_DEFUN([gl_TIME_R], [ - AC_LIBSOURCES([time_r.c, time_r.h]) AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([AC_C_RESTRICT]) diff --git a/m4/timespec.m4 b/m4/timespec.m4 index a500a3e71..c281128c2 100644 --- a/m4/timespec.m4 +++ b/m4/timespec.m4 @@ -11,8 +11,6 @@ dnl From Jim Meyering AC_DEFUN([gl_TIMESPEC], [ - AC_LIBSOURCES([timespec.h]) - dnl Prerequisites of lib/timespec.h. AC_REQUIRE([AC_C_INLINE]) AC_REQUIRE([AC_HEADER_TIME]) diff --git a/m4/unistd-safer.m4 b/m4/unistd-safer.m4 index 30526405d..09adf931f 100644 --- a/m4/unistd-safer.m4 +++ b/m4/unistd-safer.m4 @@ -7,7 +7,6 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_UNISTD_SAFER], [ AC_CHECK_FUNCS_ONCE([pipe]) - AC_LIBSOURCES([dup-safer.c, fd-safer.c, pipe-safer.c, unistd-safer.h, unistd--.h]) AC_LIBOBJ([dup-safer]) AC_LIBOBJ([fd-safer]) AC_LIBOBJ([pipe-safer]) diff --git a/m4/unlinkdir.m4 b/m4/unlinkdir.m4 index fd5ee7c9d..9ec7e08b7 100644 --- a/m4/unlinkdir.m4 +++ b/m4/unlinkdir.m4 @@ -1,6 +1,6 @@ -#serial 3 +#serial 4 -# Copyright (C) 2005 Free Software Foundation, Inc. +# Copyright (C) 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -13,7 +13,6 @@ AC_DEFUN([gl_UNLINKDIR], AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_HEADERS_ONCE(priv.h) - AC_LIBSOURCES([unlinkdir.c, unlinkdir.h]) AC_LIBOBJ([unlinkdir]) # The Hurd, the Linux kernel, the FreeBSD kernel version 2.2 and later, diff --git a/m4/unlocked-io.m4 b/m4/unlocked-io.m4 index f58e96015..20b2da2da 100644 --- a/m4/unlocked-io.m4 +++ b/m4/unlocked-io.m4 @@ -1,4 +1,4 @@ -# unlocked-io.m4 serial 13 +# unlocked-io.m4 serial 14 # Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. @@ -17,8 +17,6 @@ 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 92a22d605..ce981e94c 100644 --- a/m4/userspec.m4 +++ b/m4/userspec.m4 @@ -1,12 +1,11 @@ -#serial 8 -dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +#serial 9 +dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 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, intprops.h]) AC_LIBOBJ([userspec]) dnl Prerequisites of lib/userspec.c. diff --git a/m4/utimecmp.m4 b/m4/utimecmp.m4 index ba02d53a6..e448ac178 100644 --- a/m4/utimecmp.m4 +++ b/m4/utimecmp.m4 @@ -1,12 +1,11 @@ -#serial 1 -dnl Copyright (C) 2004, 2005 Free Software Foundation, Inc. +#serial 2 +dnl Copyright (C) 2004, 2005, 2006 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, intprops.h]) AC_LIBOBJ([utimecmp]) dnl Prerequisites of lib/utimecmp.c. diff --git a/m4/utimens.m4 b/m4/utimens.m4 index 10f682191..97a99ea25 100644 --- a/m4/utimens.m4 +++ b/m4/utimens.m4 @@ -1,11 +1,10 @@ -dnl Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +dnl Copyright (C) 2003, 2004, 2005, 2006 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. diff --git a/m4/xalloc.m4 b/m4/xalloc.m4 index c0847dd37..0bb1e638f 100644 --- a/m4/xalloc.m4 +++ b/m4/xalloc.m4 @@ -1,12 +1,11 @@ -# xalloc.m4 serial 12 -dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# xalloc.m4 serial 13 +dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 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 diff --git a/m4/xgetcwd.m4 b/m4/xgetcwd.m4 index 025b51c94..d8609d124 100644 --- a/m4/xgetcwd.m4 +++ b/m4/xgetcwd.m4 @@ -1,12 +1,11 @@ -#serial 5 -dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +#serial 6 +dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 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_XGETCWD], [ - AC_LIBSOURCES([xgetcwd.c, xgetcwd.h]) AC_LIBOBJ([xgetcwd]) AC_REQUIRE([gl_FUNC_GETCWD]) diff --git a/m4/xnanosleep.m4 b/m4/xnanosleep.m4 index 360a4f5cb..0cad79085 100644 --- a/m4/xnanosleep.m4 +++ b/m4/xnanosleep.m4 @@ -1,5 +1,5 @@ -#serial 3 -dnl Copyright (C) 2005 Free Software Foundation, Inc. +#serial 4 +dnl Copyright (C) 2005, 2006 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. @@ -8,6 +8,5 @@ dnl Written by Paul Eggert. AC_DEFUN([gl_XNANOSLEEP], [ - AC_LIBSOURCES([xnanosleep.c, xnanosleep.h, intprops.h]) AC_LIBOBJ([xnanosleep]) ]) diff --git a/m4/xreadlink.m4 b/m4/xreadlink.m4 index c59b4a734..a6fc3ae95 100644 --- a/m4/xreadlink.m4 +++ b/m4/xreadlink.m4 @@ -1,12 +1,11 @@ -#serial 7 -dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +#serial 8 +dnl Copyright (C) 2002, 2003, 2005, 2006 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_XREADLINK], [ - AC_LIBSOURCES([xreadlink.c, xreadlink.h]) AC_LIBOBJ([xreadlink]) dnl Prerequisites of lib/xreadlink.c. diff --git a/m4/xstrtod.m4 b/m4/xstrtod.m4 index e9c94ca68..625e19c9d 100644 --- a/m4/xstrtod.m4 +++ b/m4/xstrtod.m4 @@ -1,4 +1,4 @@ -#serial 5 +#serial 6 dnl Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -7,13 +7,11 @@ dnl with or without modifications, as long as this notice is preserved. # Prerequisites of lib/xstrtod.c. AC_DEFUN([gl_XSTRTOD], [ - AC_LIBSOURCES([xstrtod.c, xstrtod.h]) AC_LIBOBJ([xstrtod]) ]) # Prerequisites of lib/xstrtold.c. AC_DEFUN([gl_XSTRTOLD], [ - AC_LIBSOURCES([xstrtold.c, xstrtod.c, xstrtod.h]) AC_LIBOBJ([xstrtold]) ]) diff --git a/m4/yesno.m4 b/m4/yesno.m4 index 6e8078df4..3506217d9 100644 --- a/m4/yesno.m4 +++ b/m4/yesno.m4 @@ -1,12 +1,11 @@ -# yesno.m4 serial 4 -dnl Copyright (C) 2002-2003, 2005 Free Software Foundation, Inc. +# yesno.m4 serial 5 +dnl Copyright (C) 2002, 2003, 2005, 2006 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. diff --git a/modules/acl b/modules/acl index 26a6f68a5..2b02ba961 100644 --- a/modules/acl +++ b/modules/acl @@ -14,6 +14,7 @@ configure.ac: AC_FUNC_ACL Makefile.am: +EXTRA_DIST += acl.h Include: "acl.h" diff --git a/modules/argmatch b/modules/argmatch index f7d1feb2c..ce3519ca2 100644 --- a/modules/argmatch +++ b/modules/argmatch @@ -4,6 +4,7 @@ Search for an exact or abbreviated match of a string in an array of strings. Files: lib/argmatch.h lib/argmatch.c +m4/argmatch.m4 Depends-on: gettext-h @@ -16,9 +17,10 @@ verify stdbool configure.ac: +gl_ARGMATCH Makefile.am: -lib_SOURCES += argmatch.h argmatch.c +EXTRA_DIST += argmatch.h Include: "argmatch.h" diff --git a/modules/backupfile b/modules/backupfile index bb140b588..120756bb4 100644 --- a/modules/backupfile +++ b/modules/backupfile @@ -18,6 +18,7 @@ configure.ac: gl_BACKUPFILE Makefile.am: +EXTRA_DIST += backupfile.h Include: "backupfile.h" diff --git a/modules/c-strtod b/modules/c-strtod index f82a98863..c63e7c66f 100644 --- a/modules/c-strtod +++ b/modules/c-strtod @@ -14,6 +14,7 @@ configure.ac: gl_C_STRTOD Makefile.am: +EXTRA_DIST += c-strtod.h Include: "c-strtod.h" diff --git a/modules/c-strtold b/modules/c-strtold index d9d5a18ce..8eb2a9abe 100644 --- a/modules/c-strtold +++ b/modules/c-strtold @@ -15,6 +15,7 @@ configure.ac: gl_C_STRTOLD Makefile.am: +EXTRA_DIST += c-strtod.c c-strtod.h Include: "c-strtod.h" diff --git a/modules/canon-host b/modules/canon-host index 581266501..6d554d806 100644 --- a/modules/canon-host +++ b/modules/canon-host @@ -15,6 +15,7 @@ configure.ac: gl_CANON_HOST Makefile.am: +EXTRA_DIST += canon-host.h Include: #include "canon-host.h" diff --git a/modules/canonicalize b/modules/canonicalize index 3a10f4db0..560579c24 100644 --- a/modules/canonicalize +++ b/modules/canonicalize @@ -19,6 +19,7 @@ configure.ac: AC_FUNC_CANONICALIZE_FILE_NAME Makefile.am: +EXTRA_DIST += canonicalize.h Include: "canonicalize.h" diff --git a/modules/chdir-long b/modules/chdir-long index 1bff7fab0..d8cdb87ac 100644 --- a/modules/chdir-long +++ b/modules/chdir-long @@ -16,6 +16,7 @@ configure.ac: gl_FUNC_CHDIR_LONG Makefile.am: +EXTRA_DIST += chdir-long.h Include: "chdir-long.h" diff --git a/modules/chdir-safer b/modules/chdir-safer index ee6c6ae0f..0d2f3d23b 100644 --- a/modules/chdir-safer +++ b/modules/chdir-safer @@ -14,6 +14,7 @@ configure.ac: gl_CHDIR_SAFER Makefile.am: +EXTRA_DIST += chdir-safer.h Include: "chdir-safer.h" diff --git a/modules/cloexec b/modules/cloexec index 60c04c584..85b2e5ea4 100644 --- a/modules/cloexec +++ b/modules/cloexec @@ -13,6 +13,7 @@ configure.ac: gl_CLOEXEC Makefile.am: +EXTRA_DIST += cloexec.h Include: "cloexec.h" diff --git a/modules/close-stream b/modules/close-stream index 75f96f820..96f5702a6 100644 --- a/modules/close-stream +++ b/modules/close-stream @@ -14,6 +14,7 @@ configure.ac: gl_CLOSE_STREAM Makefile.am: +EXTRA_DIST += close-stream.h Include: "close-stream.h" diff --git a/modules/closeout b/modules/closeout index 22d935ac5..c3ed2b70a 100644 --- a/modules/closeout +++ b/modules/closeout @@ -17,6 +17,7 @@ configure.ac: gl_CLOSEOUT Makefile.am: +EXTRA_DIST += closeout.h Include: "closeout.h" diff --git a/modules/cycle-check b/modules/cycle-check index 8421cc880..055166413 100644 --- a/modules/cycle-check +++ b/modules/cycle-check @@ -16,7 +16,7 @@ configure.ac: gl_CYCLE_CHECK Makefile.am: -lib_SOURCES += cycle-check.h +EXTRA_DIST += cycle-check.h Include: "cycle-check.h" diff --git a/modules/dev-ino b/modules/dev-ino index 1ba601d58..78f8dbd4b 100644 --- a/modules/dev-ino +++ b/modules/dev-ino @@ -3,14 +3,13 @@ declare a simple (device, inode) struct Files: lib/dev-ino.h -m4/dev-ino.m4 Depends-on: configure.ac: -gl_STRUCT_DEV_INO Makefile.am: +EXTRA_DIST += dev-ino.h Include: "dev-ino.h" diff --git a/modules/dirfd b/modules/dirfd index 82cfb7a98..97e7d3b22 100644 --- a/modules/dirfd +++ b/modules/dirfd @@ -12,6 +12,7 @@ configure.ac: gl_FUNC_DIRFD Makefile.am: +EXTRA_DIST += dirfd.h Include: "dirfd.h" diff --git a/modules/dirname b/modules/dirname index 8f16c4ea4..aeaa92a10 100644 --- a/modules/dirname +++ b/modules/dirname @@ -19,7 +19,7 @@ configure.ac: gl_DIRNAME Makefile.am: -lib_SOURCES += basename.c stripslash.c +EXTRA_DIST += dirname.h Include: "dirname.h" diff --git a/modules/exclude b/modules/exclude index 78efea5d7..9962a1d14 100644 --- a/modules/exclude +++ b/modules/exclude @@ -17,6 +17,7 @@ configure.ac: gl_EXCLUDE Makefile.am: +EXTRA_DIST += exclude.h Include: "exclude.h" diff --git a/modules/exitfail b/modules/exitfail index 26f5a9236..9b54cfde8 100644 --- a/modules/exitfail +++ b/modules/exitfail @@ -13,6 +13,7 @@ configure.ac: gl_EXITFAIL Makefile.am: +EXTRA_DIST += exitfail.h Include: "exitfail.h" diff --git a/modules/fcntl-safer b/modules/fcntl-safer index 942b6b7ae..91dbf68ba 100644 --- a/modules/fcntl-safer +++ b/modules/fcntl-safer @@ -15,6 +15,7 @@ configure.ac: gl_FCNTL_SAFER Makefile.am: +EXTRA_DIST += fcntl-safer.h fcntl--.h Include: "fcntl-safer.h" diff --git a/modules/file-type b/modules/file-type index 9dc1763de..adbd69314 100644 --- a/modules/file-type +++ b/modules/file-type @@ -14,6 +14,7 @@ configure.ac: gl_FILE_TYPE Makefile.am: +EXTRA_DIST += file-type.h Include: "file-type.h" diff --git a/modules/filemode b/modules/filemode index 02cd1215b..1abb5f713 100644 --- a/modules/filemode +++ b/modules/filemode @@ -15,6 +15,7 @@ configure.ac: gl_FILEMODE Makefile.am: +EXTRA_DIST += filemode.h Include: "filemode.h" diff --git a/modules/filenamecat b/modules/filenamecat index fb1786b84..dea9cc784 100644 --- a/modules/filenamecat +++ b/modules/filenamecat @@ -15,6 +15,7 @@ configure.ac: gl_FILE_NAME_CONCAT Makefile.am: +EXTRA_DIST += filenamecat.h Include: "filenamecat.h" diff --git a/modules/fopen-safer b/modules/fopen-safer index 137332e92..68272247f 100644 --- a/modules/fopen-safer +++ b/modules/fopen-safer @@ -14,6 +14,7 @@ configure.ac: gl_FOPEN_SAFER Makefile.am: +EXTRA_DIST += stdio-safer.h stdio--.h Include: "stdio-safer.h" diff --git a/modules/fpending b/modules/fpending index abdcadaf4..eadf686e2 100644 --- a/modules/fpending +++ b/modules/fpending @@ -12,6 +12,7 @@ configure.ac: gl_FUNC_FPENDING Makefile.am: +EXTRA_DIST += __fpending.h Include: "__fpending.h" diff --git a/modules/fprintftime b/modules/fprintftime index 4333a3137..0ae813cea 100644 --- a/modules/fprintftime +++ b/modules/fprintftime @@ -13,6 +13,7 @@ configure.ac: gl_FPRINTFTIME Makefile.am: +EXTRA_DIST += fprintftime.h Include: "fprintftime.h" diff --git a/modules/fsusage b/modules/fsusage index 6e1eb53c5..0d0a1d2bd 100644 --- a/modules/fsusage +++ b/modules/fsusage @@ -15,7 +15,7 @@ configure.ac: gl_FSUSAGE Makefile.am: -lib_SOURCES += fsusage.h +EXTRA_DIST += fsusage.h Include: "fsusage.h" diff --git a/modules/fts b/modules/fts index d6c95f870..05a9ddea2 100644 --- a/modules/fts +++ b/modules/fts @@ -21,6 +21,7 @@ configure.ac: gl_FUNC_FTS Makefile.am: +EXTRA_DIST += fts_.h fts-cycle.c Include: "fts_.h" diff --git a/modules/getcwd b/modules/getcwd index 35c641257..ddb3e1ada 100644 --- a/modules/getcwd +++ b/modules/getcwd @@ -18,6 +18,7 @@ configure.ac: gl_FUNC_GETCWD Makefile.am: +EXTRA_DIST += getcwd.h Include: "getcwd.h" diff --git a/modules/getdate b/modules/getdate index e0f7c0f49..d04dc19b5 100644 --- a/modules/getdate +++ b/modules/getdate @@ -21,9 +21,10 @@ configure.ac: gl_GETDATE Makefile.am: +lib_SOURCES += getdate.y BUILT_SOURCES += getdate.c MAINTAINERCLEANFILES += getdate.c -EXTRA_DIST += getdate.c +EXTRA_DIST += getdate.c getdate.h Include: "getdate.h" diff --git a/modules/gethrxtime b/modules/gethrxtime index 8c40d28f0..7fd477267 100644 --- a/modules/gethrxtime +++ b/modules/gethrxtime @@ -17,6 +17,7 @@ configure.ac: gl_GETHRXTIME Makefile.am: +EXTRA_DIST += gethrxtime.h xtime.h Include: #include "xtime.h" diff --git a/modules/getpagesize b/modules/getpagesize index 888bb1456..757b9bf69 100644 --- a/modules/getpagesize +++ b/modules/getpagesize @@ -11,6 +11,7 @@ configure.ac: gl_GETPAGESIZE Makefile.am: +EXTRA_DIST += getpagesize.h Include: "getpagesize.h" diff --git a/modules/getpass b/modules/getpass index 52fc1a3ee..d394a0694 100644 --- a/modules/getpass +++ b/modules/getpass @@ -14,6 +14,7 @@ configure.ac: gl_FUNC_GETPASS Makefile.am: +EXTRA_DIST += getpass.h Include: "getpass.h" diff --git a/modules/glob b/modules/glob index 8db534f6e..3dcfc6587 100644 --- a/modules/glob +++ b/modules/glob @@ -25,6 +25,7 @@ gl_GLOB Makefile.am: BUILT_SOURCES += $(GLOB_H) +EXTRA_DIST += glob_.h glob-libc.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. diff --git a/modules/group-member b/modules/group-member index 6432a4fdc..6ebfb2727 100644 --- a/modules/group-member +++ b/modules/group-member @@ -14,6 +14,7 @@ configure.ac: gl_FUNC_GROUP_MEMBER Makefile.am: +EXTRA_DIST += group-member.h Include: "group-member.h" diff --git a/modules/hard-locale b/modules/hard-locale index 2f9810adf..7e56a8136 100644 --- a/modules/hard-locale +++ b/modules/hard-locale @@ -14,6 +14,7 @@ configure.ac: gl_HARD_LOCALE Makefile.am: +EXTRA_DIST += hard-locale.h Include: "hard-locale.h" diff --git a/modules/hash b/modules/hash index 05ac4402f..a36413453 100644 --- a/modules/hash +++ b/modules/hash @@ -14,6 +14,7 @@ configure.ac: gl_HASH Makefile.am: +EXTRA_DIST += hash.h Include: "hash.h" diff --git a/modules/human b/modules/human index c0aa62cae..24e1ac2fb 100644 --- a/modules/human +++ b/modules/human @@ -20,7 +20,7 @@ configure.ac: gl_HUMAN Makefile.am: -lib_SOURCES += human.h +EXTRA_DIST += human.h Include: "human.h" diff --git a/modules/inttypes b/modules/inttypes index 73bd4dde4..ccbb484db 100644 --- a/modules/inttypes +++ b/modules/inttypes @@ -15,6 +15,7 @@ configure.ac: gl_INTTYPES_H Makefile.am: +EXTRA_DIST += inttypes.h Include: #include diff --git a/modules/lchmod b/modules/lchmod index 78d7829e2..d3767087d 100644 --- a/modules/lchmod +++ b/modules/lchmod @@ -11,6 +11,7 @@ configure.ac: gl_FUNC_LCHMOD Makefile.am: +EXTRA_DIST += lchmod.h Include: "lchown.h" diff --git a/modules/lchown b/modules/lchown index 81d488a2b..af2991945 100644 --- a/modules/lchown +++ b/modules/lchown @@ -14,6 +14,7 @@ configure.ac: gl_FUNC_LCHOWN Makefile.am: +EXTRA_DIST += lchown.h Include: "lchown.h" diff --git a/modules/long-options b/modules/long-options index 8b880817a..9d5d2e361 100644 --- a/modules/long-options +++ b/modules/long-options @@ -13,6 +13,7 @@ configure.ac: gl_LONG_OPTIONS Makefile.am: +EXTRA_DIST += long-options.h Include: "long-options.h" diff --git a/modules/lstat b/modules/lstat index 6b72505c6..f97cd172f 100644 --- a/modules/lstat +++ b/modules/lstat @@ -13,6 +13,7 @@ configure.ac: gl_FUNC_LSTAT Makefile.am: +EXTRA_DIST += lstat.h Include: "lstat.h" diff --git a/modules/md5 b/modules/md5 index 250c94f62..e66de724f 100644 --- a/modules/md5 +++ b/modules/md5 @@ -13,6 +13,7 @@ configure.ac: gl_MD5 Makefile.am: +lib_SOURCES += md5.h Include: "md5.h" diff --git a/modules/memcasecmp b/modules/memcasecmp index c3847913d..f36bbecb5 100644 --- a/modules/memcasecmp +++ b/modules/memcasecmp @@ -12,6 +12,7 @@ configure.ac: gl_MEMCASECMP Makefile.am: +EXTRA_DIST += memcasecmp.h Include: "memcasecmp.h" diff --git a/modules/memcoll b/modules/memcoll index 8792a7f6f..c591b4945 100644 --- a/modules/memcoll +++ b/modules/memcoll @@ -12,6 +12,7 @@ configure.ac: gl_MEMCOLL Makefile.am: +EXTRA_DIST += memcoll.h Include: "memcoll.h" diff --git a/modules/mempcpy b/modules/mempcpy index da13ec831..f21ac61c5 100644 --- a/modules/mempcpy +++ b/modules/mempcpy @@ -12,6 +12,7 @@ configure.ac: gl_FUNC_MEMPCPY Makefile.am: +EXTRA_DIST += mempcpy.h Include: "mempcpy.h" diff --git a/modules/memrchr b/modules/memrchr index 618c38951..d5bfd2def 100644 --- a/modules/memrchr +++ b/modules/memrchr @@ -12,6 +12,7 @@ configure.ac: gl_FUNC_MEMRCHR Makefile.am: +EXTRA_DIST += memrchr.h Include: "memrchr.h" diff --git a/modules/memxor b/modules/memxor index 2fdcb3e4a..1b2d24431 100644 --- a/modules/memxor +++ b/modules/memxor @@ -12,6 +12,7 @@ configure.ac: gl_MEMXOR Makefile.am: +EXTRA_DIST += memxor.h Include: "memxor.h" diff --git a/modules/mkancesdirs b/modules/mkancesdirs index 73d9b5dfd..71a11a7cb 100644 --- a/modules/mkancesdirs +++ b/modules/mkancesdirs @@ -14,6 +14,7 @@ configure.ac: gl_MKANCESDIRS Makefile.am: +EXTRA_DIST += mkancesdirs.h Include: "mkancesdirs.h" diff --git a/modules/mkdir-p b/modules/mkdir-p index 1e7dabed6..2afc50d4d 100644 --- a/modules/mkdir-p +++ b/modules/mkdir-p @@ -22,6 +22,7 @@ configure.ac: gl_MKDIR_PARENTS Makefile.am: +lib+SOURCES += dirchownmod.h mkdir-p.h Include: "mkdir-p.h" diff --git a/modules/modechange b/modules/modechange index 4c3397c01..f66e844fb 100644 --- a/modules/modechange +++ b/modules/modechange @@ -15,6 +15,7 @@ configure.ac: gl_MODECHANGE Makefile.am: +EXTRA_DIST += modechange.h Include: "modechange.h" diff --git a/modules/mountlist b/modules/mountlist index ce5342cb0..1c2e278ab 100644 --- a/modules/mountlist +++ b/modules/mountlist @@ -16,6 +16,7 @@ configure.ac: gl_MOUNTLIST Makefile.am: +EXTRA_DIST += mountlist.h Include: "mountlist.h" diff --git a/modules/openat b/modules/openat index a6ab77f4c..15105c89c 100644 --- a/modules/openat +++ b/modules/openat @@ -23,6 +23,7 @@ configure.ac: gl_FUNC_OPENAT Makefile.am: +EXTRA_DIST += at-func.c openat.h openat-priv.h Include: "openat.h" diff --git a/modules/pathmax b/modules/pathmax index 3ceadf68d..684bcf84c 100644 --- a/modules/pathmax +++ b/modules/pathmax @@ -11,6 +11,7 @@ configure.ac: gl_PATHMAX Makefile.am: +EXTRA_DIST += pathmax.h Include: "pathmax.h" diff --git a/modules/physmem b/modules/physmem index 3cf13c0ae..cd481790d 100644 --- a/modules/physmem +++ b/modules/physmem @@ -12,6 +12,7 @@ configure.ac: gl_PHYSMEM Makefile.am: +EXTRA_DIST += physmem.h Include: "physmem.h" diff --git a/modules/posixtm b/modules/posixtm index 06af4c838..bfd36a9ff 100644 --- a/modules/posixtm +++ b/modules/posixtm @@ -14,6 +14,7 @@ configure.ac: gl_POSIXTM Makefile.am: +EXTRA_DIST += posixtm.h Include: "posixtm.h" diff --git a/modules/posixver b/modules/posixver index 84891cd54..f5b3b02cc 100644 --- a/modules/posixver +++ b/modules/posixver @@ -13,6 +13,7 @@ configure.ac: gl_POSIXVER Makefile.am: +EXTRA_DIST += posixver.h Include: "posixver.h" diff --git a/modules/quote b/modules/quote index 6e26f6915..34e2377aa 100644 --- a/modules/quote +++ b/modules/quote @@ -13,6 +13,7 @@ configure.ac: gl_QUOTE Makefile.am: +EXTRA_DIST += quote.h Include: "quote.h" diff --git a/modules/quotearg b/modules/quotearg index bc0b32fb6..e94cb6d8f 100644 --- a/modules/quotearg +++ b/modules/quotearg @@ -17,6 +17,7 @@ configure.ac: gl_QUOTEARG Makefile.am: +EXTRA_DIST += quotearg.h Include: "quotearg.h" diff --git a/modules/readtokens b/modules/readtokens index 9453de997..e713dde37 100644 --- a/modules/readtokens +++ b/modules/readtokens @@ -14,6 +14,7 @@ configure.ac: gl_READTOKENS Makefile.am: +EXTRA_DIST += readtokens.h Include: "readtokens.h" diff --git a/modules/readutmp b/modules/readutmp index 8c4f84747..5e1edb905 100644 --- a/modules/readutmp +++ b/modules/readutmp @@ -15,6 +15,7 @@ configure.ac: gl_READUTMP Makefile.am: +EXTRA_DIST += readutmp.h Include: "readutmp.h" diff --git a/modules/regex b/modules/regex index 5ca9a7f2d..35d350a54 100644 --- a/modules/regex +++ b/modules/regex @@ -24,6 +24,7 @@ configure.ac: gl_REGEX Makefile.am: +EXTRA_DIST += regcomp.c regex.h regex_internal.c regex_internal.h regexec.c Include: "regex.h" diff --git a/modules/safe-read b/modules/safe-read index a2b3afa29..d1776f4c1 100644 --- a/modules/safe-read +++ b/modules/safe-read @@ -13,6 +13,7 @@ configure.ac: gl_SAFE_READ Makefile.am: +EXTRA_DIST += safe-read.h Include: "safe-read.h" diff --git a/modules/safe-write b/modules/safe-write index 09d2d1dba..7113ccb60 100644 --- a/modules/safe-write +++ b/modules/safe-write @@ -13,6 +13,7 @@ configure.ac: gl_SAFE_WRITE Makefile.am: +EXTRA_DIST += safe-write.h Include: "safe-write.h" diff --git a/modules/same b/modules/same index a3616d0f0..6d7846514 100644 --- a/modules/same +++ b/modules/same @@ -18,6 +18,7 @@ configure.ac: gl_SAME Makefile.am: +EXTRA_DIST += same.h Include: "same.h" diff --git a/modules/same-inode b/modules/same-inode index 0d349dddb..e0cc9a7ef 100644 --- a/modules/same-inode +++ b/modules/same-inode @@ -3,14 +3,13 @@ compare inodes Files: lib/same-inode.h -m4/same-inode.m4 Depends-on: configure.ac: -gl_SAME_INODE Makefile.am: +EXTRA_DIST += same-inode.h Include: "same-inode.h" diff --git a/modules/save-cwd b/modules/save-cwd index 18c43b9ef..2a95738eb 100644 --- a/modules/save-cwd +++ b/modules/save-cwd @@ -16,6 +16,7 @@ configure.ac: gl_SAVE_CWD Makefile.am: +EXTRA_DIST += save-cwd.h Include: "save-cwd.h" diff --git a/modules/savedir b/modules/savedir index e781af76b..00f1f767a 100644 --- a/modules/savedir +++ b/modules/savedir @@ -14,6 +14,7 @@ configure.ac: gl_SAVEDIR Makefile.am: +EXTRA_DIST += savedir.h Include: "savedir.h" diff --git a/modules/sha1 b/modules/sha1 index 6e85b813c..c1dbc7d93 100644 --- a/modules/sha1 +++ b/modules/sha1 @@ -13,6 +13,7 @@ configure.ac: gl_SHA1 Makefile.am: +EXTRA_DIST += sha1.h Include: "sha1.h" diff --git a/modules/sig2str b/modules/sig2str index 89d00cc63..4ce76fdaa 100644 --- a/modules/sig2str +++ b/modules/sig2str @@ -13,6 +13,7 @@ configure.ac: gl_FUNC_SIG2STR Makefile.am: +EXTRA_DIST += sig2str.h Include: "sig2str.h" diff --git a/modules/stat-macros b/modules/stat-macros index 5132c2537..1ce7917ab 100644 --- a/modules/stat-macros +++ b/modules/stat-macros @@ -11,6 +11,7 @@ configure.ac: gl_STAT_MACROS Makefile.am: +EXTRA_DIST += stat-macros.h Include: "stat-macros.h" diff --git a/modules/stat-time b/modules/stat-time index 666f4ed04..0e11b14df 100644 --- a/modules/stat-time +++ b/modules/stat-time @@ -12,6 +12,7 @@ configure.ac: gl_STAT_TIME Makefile.am: +EXTRA_DIST += stat-time.h Include: "stat-time.h" diff --git a/modules/stdlib-safer b/modules/stdlib-safer index 8f7cb3f00..cf4aef93b 100644 --- a/modules/stdlib-safer +++ b/modules/stdlib-safer @@ -15,6 +15,7 @@ configure.ac: gl_STDLIB_SAFER Makefile.am: +EXTRA_DIST += stdlib-safer.h stdlib--.h Include: "stdlib-safer.h" diff --git a/modules/strdup b/modules/strdup index a42129962..2d3b8a647 100644 --- a/modules/strdup +++ b/modules/strdup @@ -12,6 +12,7 @@ configure.ac: gl_FUNC_STRDUP Makefile.am: +EXTRA_DIST += strdup.h Include: "strdup.h" diff --git a/modules/strftime b/modules/strftime index 5f7ad6777..0f0745f3a 100644 --- a/modules/strftime +++ b/modules/strftime @@ -16,6 +16,7 @@ configure.ac: gl_FUNC_GNU_STRFTIME Makefile.am: +EXTRA_DIST += strftime.h Include: "strftime.h" diff --git a/modules/strndup b/modules/strndup index 6b434ec1a..3e55e6c90 100644 --- a/modules/strndup +++ b/modules/strndup @@ -13,6 +13,7 @@ configure.ac: gl_FUNC_STRNDUP Makefile.am: +EXTRA_DIST += strndup.h Include: "strndup.h" diff --git a/modules/strnlen b/modules/strnlen index 4306469fa..c091c3683 100644 --- a/modules/strnlen +++ b/modules/strnlen @@ -12,6 +12,7 @@ configure.ac: gl_FUNC_STRNLEN Makefile.am: +EXTRA_DIST += strnlen.h Include: "strnlen.h" diff --git a/modules/strverscmp b/modules/strverscmp index c6acf5bea..5bcdf2a72 100644 --- a/modules/strverscmp +++ b/modules/strverscmp @@ -12,6 +12,7 @@ configure.ac: gl_FUNC_STRVERSCMP Makefile.am: +EXTRA_DIST += strverscmp.h Include: "strverscmp.h" diff --git a/modules/time_r b/modules/time_r index 96df2f781..c486c1b8b 100644 --- a/modules/time_r +++ b/modules/time_r @@ -13,6 +13,7 @@ configure.ac: gl_TIME_R Makefile.am: +EXTRA_DIST += time_r.h Include: "time_r.h" diff --git a/modules/timespec b/modules/timespec index edd2dfc7b..b1bfd322a 100644 --- a/modules/timespec +++ b/modules/timespec @@ -12,6 +12,7 @@ configure.ac: gl_TIMESPEC Makefile.am: +EXTRA_DIST += timespec.h Include: "timespec.h" diff --git a/modules/tmpfile-safer b/modules/tmpfile-safer index c81906332..8fae0df4f 100644 --- a/modules/tmpfile-safer +++ b/modules/tmpfile-safer @@ -15,6 +15,7 @@ configure.ac: gl_TMPFILE_SAFER Makefile.am: +EXTRA_DIST += stdio-safer.h stdio--.h Include: "stdio-safer.h" diff --git a/modules/unistd-safer b/modules/unistd-safer index 4f167e4b2..17456a3f9 100644 --- a/modules/unistd-safer +++ b/modules/unistd-safer @@ -15,6 +15,7 @@ configure.ac: gl_UNISTD_SAFER Makefile.am: +EXTRA_DIST += unistd-safer.h unistd--.h Include: "unistd-safer.h" diff --git a/modules/unlinkdir b/modules/unlinkdir index e8c68a6f6..93e6ac263 100644 --- a/modules/unlinkdir +++ b/modules/unlinkdir @@ -13,6 +13,7 @@ configure.ac: gl_UNLINKDIR Makefile.am: +EXTRA_DIST += unlinkdir.h Include: "unlinkdir.h" diff --git a/modules/unlocked-io b/modules/unlocked-io index 000fe32c1..2e9df639f 100644 --- a/modules/unlocked-io +++ b/modules/unlocked-io @@ -12,6 +12,7 @@ configure.ac: gl_FUNC_GLIBC_UNLOCKED_IO Makefile.am: +EXTRA_DIST += unlocked-io.h Include: "unlocked-io.h" diff --git a/modules/userspec b/modules/userspec index 71fbe33b9..48fd65ff7 100644 --- a/modules/userspec +++ b/modules/userspec @@ -20,6 +20,7 @@ configure.ac: gl_USERSPEC Makefile.am: +EXTRA_DIST += userspec.h Include: "userspec.h" diff --git a/modules/utimecmp b/modules/utimecmp index a042393d7..031777a4e 100644 --- a/modules/utimecmp +++ b/modules/utimecmp @@ -21,6 +21,7 @@ configure.ac: gl_UTIMECMP Makefile.am: +EXTRA_DIST += utimecmp.h Include: "utimecmp.h" diff --git a/modules/utimens b/modules/utimens index 6cc5e3122..14074182f 100644 --- a/modules/utimens +++ b/modules/utimens @@ -15,6 +15,7 @@ configure.ac: gl_UTIMENS Makefile.am: +EXTRA_DIST += utimens.h Include: "utimens.h" diff --git a/modules/xalloc b/modules/xalloc index 5fdc405ae..73fc901e4 100644 --- a/modules/xalloc +++ b/modules/xalloc @@ -13,6 +13,7 @@ configure.ac: gl_XALLOC Makefile.am: +EXTRA_DIST += xalloc.h Include: "xalloc.h" diff --git a/modules/xgetcwd b/modules/xgetcwd index a3ae23f5b..5da4d234b 100644 --- a/modules/xgetcwd +++ b/modules/xgetcwd @@ -15,6 +15,7 @@ configure.ac: gl_XGETCWD Makefile.am: +EXTRA_DIST += xgetcwd.h Include: "xgetcwd.h" diff --git a/modules/xnanosleep b/modules/xnanosleep index fa063cb76..238f4e189 100644 --- a/modules/xnanosleep +++ b/modules/xnanosleep @@ -16,6 +16,7 @@ configure.ac: gl_XNANOSLEEP Makefile.am: +EXTRA_DIST += xnanosleep.h Include: "xnanosleep.h" diff --git a/modules/xreadlink b/modules/xreadlink index efd279f24..207ee8e7a 100644 --- a/modules/xreadlink +++ b/modules/xreadlink @@ -15,6 +15,7 @@ configure.ac: gl_XREADLINK Makefile.am: +EXTRA_DIST += xreadlink.h Include: "xreadlink.h" diff --git a/modules/xstrtod b/modules/xstrtod index 095616a75..103eecd58 100644 --- a/modules/xstrtod +++ b/modules/xstrtod @@ -13,6 +13,7 @@ configure.ac: gl_XSTRTOD Makefile.am: +EXTRA_DIST += xstrtod.h Include: "xstrtod.h" diff --git a/modules/xstrtol b/modules/xstrtol index 128d6bd26..d4df30cfe 100644 --- a/modules/xstrtol +++ b/modules/xstrtol @@ -17,7 +17,7 @@ configure.ac: gl_XSTRTOL Makefile.am: -lib_SOURCES += xstrtol.h +EXTRA_DIST += xstrtol.h Include: "xstrtol.h" diff --git a/modules/xstrtold b/modules/xstrtold index a29769c8f..4db717fa6 100644 --- a/modules/xstrtold +++ b/modules/xstrtold @@ -14,6 +14,7 @@ configure.ac: gl_XSTRTOLD Makefile.am: +EXTRA_DIST += xstrtod.c xstrtod.h Include: "xstrtod.h" diff --git a/modules/yesno b/modules/yesno index 2b9584579..b94f46731 100644 --- a/modules/yesno +++ b/modules/yesno @@ -16,6 +16,7 @@ configure.ac: gl_YESNO Makefile.am: +EXTRA_DIST += yesno.h Include: "yesno.h" -- 2.11.0