+2005-03-21 Jim Meyering <jim@meyering.net>
+ and Paul Eggert <eggert@cs.ucla.edu>
+
+ * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4,
+ cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4,
+ exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4,
+ getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4,
+ getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4,
+ idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4,
+ memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4,
+ path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4,
+ quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4,
+ safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4,
+ strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4,
+ unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4,
+ xnanosleep.m4, xstrtol.m4, yesno.m4:
+ Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files
+ for these modules.
+
+2005-03-21 Jim Meyering <jim@meyering.net>
+
+ * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Invoke gl_FUNC_MEMRCHR.
+ * memrchr.m4 (gl_FUNC_MEMRCHR): Check for memrchr decl.
+
2005-03-16 Bruno Haible <bruno@clisp.org>
* stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
# acl.m4 - check for access control list (ACL) primitives
-# Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
AC_DEFUN([AC_FUNC_ACL],
[
+ AC_LIBSOURCES([acl.c, acl.h])
+ AC_LIBOBJ([acl])
+
dnl Prerequisites of lib/acl.c.
AC_CHECK_HEADERS(sys/acl.h)
AC_CHECK_FUNCS(acl)
-# backupfile.m4 serial 6
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# backupfile.m4 serial 7
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_BACKUPFILE],
[
+ AC_LIBSOURCES([backupfile.c, backupfile.h])
+ AC_LIBOBJ([backupfile])
+
dnl Prerequisites of lib/backupfile.c.
AC_REQUIRE([AC_HEADER_DIRENT])
AC_REQUIRE([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO])
-# c-strtod.m4 serial 5
+# c-strtod.m4 serial 6
-# Copyright (C) 2004 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_C_STRTOD],
[
+ AC_LIBSOURCES([c-strtod.c, c-strtod.h])
+ AC_LIBOBJ([c-strtod])
+
dnl Prerequisites of lib/c-strtod.c.
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
:
AC_DEFUN([gl_C_STRTOLD],
[
+ AC_LIBSOURCES([c-strtold.c, c-strtod.h])
+ AC_LIBOBJ([c-strtold])
+
dnl Prerequisites of lib/c-strtold.c.
AC_REQUIRE([gl_C_STRTOD])
AC_REQUIRE([gl_C99_STRTOLD])
-# canon-host.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# canon-host.m4 serial 6
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_CANON_HOST],
[
+ AC_LIBSOURCES([canon-host.c])
+ AC_LIBOBJ([canon-host])
+
dnl Prerequisites of lib/canon-host.c.
AC_CHECK_HEADERS_ONCE(unistd.h)
AC_CHECK_HEADERS(netdb.h sys/socket.h netinet/in.h arpa/inet.h)
-#serial 4
+#serial 6
-# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
AC_DEFUN([AC_FUNC_CANONICALIZE_FILE_NAME],
[
+ AC_LIBSOURCES([canonicalize.c, canonicalize.h, stat-macros.h])
+ AC_LIBOBJ([canonicalize])
+
AC_REQUIRE([AC_HEADER_STDC])
AC_CHECK_HEADERS(string.h sys/param.h stddef.h)
AC_CHECK_FUNCS(resolvepath canonicalize_file_name)
-# cloexec.m4 serial 2
-dnl Copyright (C) 2004 Free Software Foundation, Inc.
+# cloexec.m4 serial 3
+dnl Copyright (C) 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_CLOEXEC],
[
+ AC_LIBSOURCES([cloexec.c, cloexec.h])
+ AC_LIBOBJ([cloexec])
+
dnl Prerequisites of lib/cloexec.c.
AC_CHECK_HEADERS_ONCE(fcntl.h unistd.h)
])
-# closeout.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# closeout.m4 serial 4
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_CLOSEOUT],
[
+ AC_LIBSOURCES([closeout.c, closeout.h])
+ AC_LIBOBJ([closeout])
+
dnl Prerequisites of lib/closeout.c.
:
])
-#serial 9
+#serial 10
dnl Find out how to get the file descriptor associated with an open DIR*.
-# Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
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])
-# dirname.m4 serial 4
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# dirname.m4 serial 5
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_DIRNAME],
[
+ AC_LIBSOURCES([dirname.c, dirname.h])
+ AC_LIBOBJ([dirname])
+
dnl Prerequisites of lib/dirname.h.
AC_REQUIRE([gl_AC_DOS])
-# exclude.m4 serial 4
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# exclude.m4 serial 5
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_EXCLUDE],
[
+ AC_LIBSOURCES([exclude.c, exclude.h])
+ AC_LIBOBJ([exclude])
+
dnl Prerequisites of lib/exclude.c.
AC_REQUIRE([AC_C_INLINE])
AC_REQUIRE([AC_HEADER_STDC])
-# exitfail.m4 serial 4
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# exitfail.m4 serial 5
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_EXITFAIL],
[
+ AC_LIBSOURCES([exitfail.c, exitfail.h])
+ AC_LIBOBJ([exitfail])
+
dnl No prerequisites of lib/exitfail.c.
:
])
-# file-type.m4 serial 2
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# file-type.m4 serial 4
+dnl Copyright (C) 2002, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FILE_TYPE],
[
+ AC_LIBSOURCES([file-type.c, file-type.h, stat-macros.h])
+ AC_LIBOBJ([file-type])
+
dnl Prerequisites of lib/file-type.h.
AC_REQUIRE([AC_HEADER_STAT])
])
-# filemode.m4 serial 2
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# filemode.m4 serial 4
+dnl Copyright (C) 2002, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FILEMODE],
[
+ AC_LIBSOURCES([filemode.c, filemode.h, stat-macros.h])
+ AC_LIBOBJ([filemode])
+
dnl Prerequisites of lib/filemode.c.
AC_REQUIRE([AC_HEADER_STAT])
])
-#serial 5
+#serial 6
-# Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_FPENDING],
[
+ AC_LIBSOURCES([__fpending.c, __fpending.h])
+
AC_CHECK_HEADERS(stdio_ext.h)
AC_REPLACE_FUNCS([__fpending])
fp_headers='
-# fsusage.m4 serial 14
+# fsusage.m4 serial 15
# Obtaining file system usage information.
-# Copyright (C) 1997, 1998, 2000, 2001, 2003, 2004 Free Software
+# Copyright (C) 1997, 1998, 2000, 2001, 2003, 2004, 2005 Free Software
# Foundation, Inc.
#
# This file is free software; the Free Software Foundation
AC_DEFUN([gl_FSUSAGE],
[
+ AC_LIBSOURCES([fsusage.c, fsusage.h])
+
AC_CHECK_HEADERS_ONCE(sys/param.h)
AC_CHECK_HEADERS_ONCE(sys/vfs.h sys/fs_types.h)
AC_CHECK_HEADERS(sys/mount.h, [], [],
# getcwd.m4 - check for working getcwd that is compatible with glibc
-# Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_GETCWD_NULL],
[
+ AC_LIBSOURCES([getcwd.c, getcwd.h])
+
AC_CHECK_HEADERS_ONCE(unistd.h)
AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result],
[gl_cv_func_getcwd_null],
-# getdate.m4 serial 6
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# getdate.m4 serial 7
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_GETDATE],
[
+ AC_LIBSOURCES([getdate.h, getdate.y])
+ AC_LIBOBJ([getdate])
+
dnl Prerequisites of lib/getdate.h.
AC_REQUIRE([AM_STDBOOL_H])
AC_REQUIRE([gl_TIMESPEC])
-# getline.m4 serial 11
+# getline.m4 serial 12
-dnl Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software
+dnl Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005 Free Software
dnl Foundation, Inc.
dnl
dnl This file is free software; the Free Software Foundation
dnl to do with the function we need.
AC_DEFUN([AM_FUNC_GETLINE],
[
+ AC_LIBSOURCES([getline.c, getline.h])
+
dnl Persuade glibc <stdio.h> to declare getline() and getdelim().
AC_REQUIRE([AC_GNU_SOURCE])
-# getpagesize.m4 serial 3
-dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+# getpagesize.m4 serial 4
+dnl Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_GETPAGESIZE],
[
+ AC_LIBSOURCES([getpagesize.h])
+
dnl Prerequisites of lib/getpagesize.h.
AC_CHECK_HEADERS_ONCE(sys/param.h unistd.h)
AC_CHECK_HEADERS(OS.h)
-# getpass.m4 serial 5
-dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+# getpass.m4 serial 6
+dnl Copyright (C) 2002-2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
# 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)
-# getugroups.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# getugroups.m4 serial 4
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_GETUGROUPS],
[
+ AC_LIBSOURCES([getugroups.c])
+ AC_LIBOBJ([getugroups])
+
dnl Prerequisites of lib/getugroups.c.
AC_CHECK_HEADERS_ONCE(unistd.h)
AC_TYPE_GETGROUPS
-#serial 7
+#serial 8
-# Copyright (C) 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_GROUP_MEMBER],
[
+ AC_LIBSOURCES([group-member.c, group-member.h])
+
dnl Persuade glibc <unistd.h> to declare group_member().
AC_REQUIRE([AC_GNU_SOURCE])
-# hard-locale.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# hard-locale.m4 serial 6
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl No prerequisites of lib/hard-locale.c.
-AC_DEFUN([gl_HARD_LOCALE], [:])
+AC_DEFUN([gl_HARD_LOCALE],
+[
+ AC_LIBSOURCES([hard-locale.c, hard-locale.h])
+ AC_LIBOBJ([hard-locale])
+])
-# hash.m4 serial 4
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# hash.m4 serial 5
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_HASH],
[
+ AC_LIBSOURCES([hash.c, hash.h])
+ AC_LIBOBJ([hash])
+
dnl Prerequisites of lib/hash.c.
AC_REQUIRE([AM_STDBOOL_H])
])
-# human.m4 serial 7
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+#serial 9
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_HUMAN],
[
+ AC_LIBSOURCES([human.c, human.h, intprops.h])
+ AC_LIBOBJ([human])
+
dnl Prerequisites of lib/human.h.
AC_REQUIRE([AM_STDBOOL_H])
AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
-# idcache.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# idcache.m4 serial 4
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_IDCACHE],
[
+ AC_LIBSOURCES([idcache.c])
+ AC_LIBOBJ([idcache])
+
dnl Prerequisites of lib/idcache.c.
AC_CHECK_HEADERS_ONCE(unistd.h)
])
-# inttostr.m4 serial 3
-dnl Copyright (C) 2004 Free Software Foundation, Inc.
+#serial 5
+dnl Copyright (C) 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_INTTOSTR],
[
+ AC_LIBSOURCES([inttostr.c, inttostr.h, intprops.h])
+
+ dnl We don't technically need to list the following .c files, since their
+ dnl functions are named in the AC_LIBOBJ calls, but this is an unusual
+ dnl module and it seems a little clearer to do so.
+ AC_LIBSOURCES([imaxtostr.c, offtostr.c, umaxtostr.c])
+
+ AC_LIBOBJ([imaxtostr])
+ AC_LIBOBJ([offtostr])
+ AC_LIBOBJ([umaxtostr])
+
gl_PREREQ_INTTOSTR
gl_PREREQ_IMAXTOSTR
gl_PREREQ_OFFTOSTR
-# long-options.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# long-options.m4 serial 4
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_LONG_OPTIONS],
[
+ AC_LIBSOURCES([long-options.c, long-options.h])
+ AC_LIBOBJ([long-options])
+
dnl Prerequisites of lib/long-options.c.
- :
])
-# makepath.m4 serial 4
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# makepath.m4 serial 6
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_MAKEPATH],
[
+ AC_LIBSOURCES([makepath.c, makepath.h, stat-macros.h])
+ AC_LIBOBJ([makepath])
+
dnl Prerequisites of lib/makepath.c.
AC_REQUIRE([AC_FUNC_ALLOCA])
AC_CHECK_HEADERS_ONCE(unistd.h)
-# md5.m4 serial 6
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# md5.m4 serial 7
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_MD5],
[
+ AC_LIBSOURCES([md5.c, md5.h])
+ AC_LIBOBJ([md5])
+
dnl Prerequisites of lib/md5.h.
AC_REQUIRE([gl_AC_TYPE_UINT32_T])
-# memcasecmp.m4 serial 2
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+#serial 3
+dnl Copyright (C) 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_MEMCASECMP],
[
+ AC_LIBSOURCES([memcasecmp.c, memcasecmp.h])
+ AC_LIBOBJ([memcasecmp])
+
dnl Prerequisites of lib/memcasecmp.c.
AC_REQUIRE([AC_HEADER_STDC])
AC_CHECK_FUNCS_ONCE(isascii)
-# memcoll.m4 serial 4
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# memcoll.m4 serial 5
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_MEMCOLL],
[
+ AC_LIBSOURCES([memcoll.c, memcoll.h])
+ AC_LIBOBJ([memcoll])
+
dnl Prerequisites of lib/memcoll.c.
AC_REQUIRE([AC_FUNC_MEMCMP])
AC_FUNC_STRCOLL
-# modechange.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# modechange.m4 serial 4
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_MODECHANGE],
[
+ AC_LIBSOURCES([modechange.c, modechange.h])
+ AC_LIBOBJ([modechange])
+
AC_REQUIRE([AC_HEADER_STAT])
])
-# mountlist.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# mountlist.m4 serial 6
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_MOUNTLIST],
[
+ AC_LIBSOURCES([mountlist.c, mountlist.h])
+
gl_LIST_MOUNTED_FILE_SYSTEMS([gl_cv_list_mounted_fs=yes],
[gl_cv_list_mounted_fs=no])
if test $gl_cv_list_mounted_fs = yes; then
-#serial 11
+#serial 12
dnl From Jim Meyering.
dnl Check for the nanosleep function.
dnl If not found, use the supplied replacement.
dnl
-# Copyright (C) 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_NANOSLEEP],
[
+ AC_LIBSOURCES([nanosleep.c])
+
nanosleep_save_libs=$LIBS
# Solaris 2.5.1 needs -lposix4 to get the nanosleep function.
-# path-concat.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# path-concat.m4 serial 6
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_PATH_CONCAT],
[
+ AC_LIBSOURCES([path-concat.c, path-concat.h])
+ AC_LIBOBJ([path-concat])
+
dnl Prerequisites of lib/path-concat.c.
AC_CHECK_FUNCS_ONCE(mempcpy)
])
-# pathmax.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# pathmax.m4 serial 4
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_PATHMAX],
[
+ AC_LIBSOURCES([pathmax.h])
+
dnl Prerequisites of lib/pathmax.h.
AC_CHECK_HEADERS_ONCE(sys/param.h unistd.h)
])
-# physmem.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# physmem.m4 serial 4
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_PHYSMEM],
[
+ AC_LIBSOURCES([physmem.c, physmem.h])
+ AC_LIBOBJ([physmem])
+
# Prerequisites of lib/physmem.c.
AC_CHECK_HEADERS_ONCE(unistd.h)
AC_CHECK_HEADERS([sys/pstat.h sys/sysmp.h sys/sysinfo.h \
-# posixtm.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# posixtm.m4 serial 4
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_POSIXTM],
[
+ AC_LIBSOURCES([posixtm.c, posixtm.h])
+ AC_LIBOBJ(posixtm)
+
dnl Prerequisites of lib/posixtm.c.
AC_STRUCT_TM
])
-# posixver.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# posixver.m4 serial 6
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_POSIXVER],
[
+ AC_LIBSOURCES([posixver.c, posixver.h])
+ AC_LIBOBJ([posixver])
+
AC_CHECK_HEADERS_ONCE(unistd.h)
AC_REQUIRE([gl_DEFAULT_POSIX2_VERSION])
])
-# quote.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# quote.m4 serial 4
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_QUOTE],
[
+ AC_LIBSOURCES([quote.c, quote.h])
+ AC_LIBOBJ([quote])
+
dnl Prerequisites of lib/quote.c.
dnl (none)
])
-# quotearg.m4 serial 3
-dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+# quotearg.m4 serial 4
+dnl Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_QUOTEARG],
[
+ AC_LIBSOURCES([quotearg.c, quotearg.h])
+ AC_LIBOBJ([quotearg])
+
dnl Prerequisites of lib/quotearg.c.
AC_CHECK_HEADERS_ONCE(wchar.h wctype.h)
AC_CHECK_FUNCS_ONCE(iswprint mbsinit)
-# readtokens.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# readtokens.m4 serial 4
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_READTOKENS],
[
+ AC_LIBSOURCES([readtokens.c, readtokens.h])
+ AC_LIBOBJ([readtokens])
+
dnl Prerequisites of lib/readtokens.c.
:
])
-# readutmp.m4 serial 6
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# readutmp.m4 serial 7
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_READUTMP],
[
+ AC_LIBSOURCES([readutmp.c, readutmp.h])
+ AC_LIBOBJ([readutmp])
+
dnl Prerequisites of lib/readutmp.h.
AC_CHECK_HEADERS(utmp.h utmpx.h)
AC_CHECK_FUNCS(utmpname utmpxname)
-# safe-read.m4 serial 2
-dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+# safe-read.m4 serial 3
+dnl Copyright (C) 2002-2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_SAFE_READ],
[
+ AC_LIBSOURCES([safe-read.c, safe-read.h])
+ AC_LIBOBJ([safe-read])
+
gl_PREREQ_SAFE_READ
])
-# safe-write.m4 serial 1
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# safe-write.m4 serial 2
+dnl Copyright (C) 2002, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_SAFE_WRITE],
[
+ AC_LIBSOURCES([safe-write.c, safe-write.h])
+ AC_LIBOBJ([safe-write])
+
gl_PREREQ_SAFE_WRITE
])
-# same.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# same.m4 serial 4
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_SAME],
[
+ AC_LIBSOURCES([same.c, same.h])
+ AC_LIBOBJ([same])
+
dnl Prerequisites of lib/same.c.
AC_CHECK_HEADERS_ONCE(unistd.h)
AC_CHECK_FUNCS(pathconf)
-# savedir.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# savedir.m4 serial 4
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_SAVEDIR],
[
+ AC_LIBSOURCES([savedir.c, savedir.h])
+ AC_LIBOBJ([savedir])
+
dnl Prerequisites of lib/savedir.c.
AC_REQUIRE([AC_HEADER_DIRENT])
AC_REQUIRE([AC_FUNC_CLOSEDIR_VOID])
-# settime.m4 serial 3
-dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+# settime.m4 serial 4
+dnl Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_SETTIME],
[
+ AC_LIBSOURCES([settime.c])
+ AC_LIBOBJ([settime])
+
dnl Prerequisites of lib/settime.c.
AC_REQUIRE([gl_CLOCK_TIME])
AC_REQUIRE([gl_TIMESPEC])
-# sha1.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# sha1.m4 serial 6
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_SHA1],
[
+ AC_LIBSOURCES([sha1.c, sha1.h])
+ AC_LIBOBJ([sha1])
+
dnl Prerequisites of lib/sha1.c.
AC_REQUIRE([AC_C_BIGENDIAN])
:
-# sig2str.m4 serial 2
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+#serial 4
+dnl Copyright (C) 2002, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_SIG2STR],
[
+ AC_LIBSOURCES([sig2str.c, sig2str.h, intprops.h])
+
AC_REPLACE_FUNCS(sig2str)
if test $ac_cv_func_sig2str = no; then
gl_PREREQ_SIG2STR
-# strdup.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# strdup.m4 serial 6
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_STRDUP],
[
+ AC_LIBSOURCES([strdup.c, strdup.h])
+
AC_REPLACE_FUNCS(strdup)
AC_CHECK_DECLS_ONCE(strdup)
gl_PREREQ_STRDUP
#serial 24
-# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004
+# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# These are the prerequisite macros for GNU's strftime.c replacement.
AC_DEFUN([gl_FUNC_STRFTIME],
[
+ AC_LIBSOURCES([strftime.c, strftime.h])
+ AC_LIBOBJ([strftime])
+
# strftime.c uses the underyling system strftime if it exists.
AC_REQUIRE([AC_FUNC_STRFTIME])
-# strndup.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# strndup.m4 serial 4
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_STRNDUP],
[
+ AC_LIBSOURCES([strndup.c, strndup.h])
+
dnl Persuade glibc <string.h> to declare strndup().
AC_REQUIRE([AC_GNU_SOURCE])
-# strverscmp.m4 serial 2
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# strverscmp.m4 serial 3
+dnl Copyright (C) 2002, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_STRVERSCMP],
[
+ AC_LIBSOURCES([strverscmp.c, strverscmp.h])
+
dnl Persuade glibc <string.h> to declare strverscmp().
AC_REQUIRE([AC_GNU_SOURCE])
-#serial 9
+#serial 10
-# Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_TIMESPEC],
[
+ AC_LIBSOURCES([timespec.h])
+
dnl Prerequisites of lib/timespec.h.
AC_REQUIRE([AC_HEADER_TIME])
AC_CHECK_HEADERS_ONCE(sys/time.h)
-# unlocked-io.m4 serial 11
+# unlocked-io.m4 serial 12
-# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
+# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software
# Foundation, Inc.
#
# This file is free software; the Free Software Foundation
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,
-# userspec.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+#serial 7
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_USERSPEC],
[
+ AC_LIBSOURCES([userspec.c, userspec.h, intprops.h])
+ AC_LIBOBJ([userspec])
+
dnl Prerequisites of lib/userspec.c.
AC_CHECK_HEADERS_ONCE(sys/param.h unistd.h)
])
-dnl Copyright (C) 2004 Free Software Foundation, Inc.
+#serial 1
+dnl Copyright (C) 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_UTIMECMP],
[
+ AC_LIBSOURCES([utimecmp.c, utimecmp.h, intprops.h])
+ AC_LIBOBJ([utimecmp])
+
dnl Prerequisites of lib/utimecmp.c.
AC_REQUIRE([gl_TIMESPEC])
AC_REQUIRE([gl_FUNC_UTIMES])
-dnl Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_UTIMENS],
[
+ AC_LIBSOURCES([utimens.c, utimens.h])
+ AC_LIBOBJ([utimens])
+
dnl Prerequisites of lib/utimens.c.
AC_REQUIRE([gl_TIMESPEC])
AC_REQUIRE([gl_FUNC_UTIMES])
-# xalloc.m4 serial 11
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# xalloc.m4 serial 12
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_XALLOC],
[
+ AC_LIBSOURCES([xmalloc.c, xalloc.h])
+ AC_LIBOBJ([xmalloc])
+
gl_PREREQ_XALLOC
gl_PREREQ_XMALLOC
])
-# xnanosleep.m4 serial 2
+#serial 3
dnl Copyright (C) 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,
AC_DEFUN([gl_XNANOSLEEP],
[
- AC_LIBSOURCES([xnanosleep.c, xnanosleep.h])
+ AC_LIBSOURCES([xnanosleep.c, xnanosleep.h, intprops.h])
AC_LIBOBJ([xnanosleep])
])
-# xstrtol.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+#serial 7
+dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_XSTRTOL],
[
+ AC_LIBSOURCES([xstrtol.c, xstrtol.h, xstrtoul.c, intprops.h])
+ AC_LIBOBJ([xstrtol])
+ AC_LIBOBJ([xstrtoul])
+
AC_REQUIRE([gl_PREREQ_XSTRTOL])
AC_REQUIRE([gl_PREREQ_XSTRTOUL])
])
-# yesno.m4 serial 3
-dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+# yesno.m4 serial 4
+dnl Copyright (C) 2002-2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_YESNO],
[
+ AC_LIBSOURCES([yesno.c, yesno.h])
+ AC_LIBOBJ([yesno])
+
dnl No prerequisites of lib/yesno.c.
:
])