tests: avoid FP failure due to suspension
[platform/upstream/coreutils.git] / m4 / ChangeLog-2007
1 2008-03-02  Jim Meyering  <meyering@redhat.com>
2
3         * prereq.m4: Don't require gl_SHA256 or gl_SHA512.
4
5 2007-08-30  Eric Blake  <ebb9@byu.net>
6
7         * jm-macros.m4 (coreutils_MACROS): Remove GNU_PACKAGE.
8
9 2007-04-25  Jim Meyering  <jim@meyering.net>
10
11         * autobuild.m4: Remove file.  Now, provided by gnulib.
12
13 2007-01-19  Jim Meyering  <jim@meyering.net>
14
15         * .cvsignore, .gitignore: Add more bootstrap-inserted file names.
16
17 2006-12-12  Jim Meyering  <jim@meyering.net>
18
19         * jm-macros.m4: Remove AC_FUNC_SETVBUF_REVERSED, now that it's a no-op.
20
21 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
22
23         * sha512.m4 (gl_SHA512): Add u64.h to AC_LIBSOURCES.
24
25 2006-10-12  Jim Meyering  <jim@meyering.net>
26
27         * jm-macros.m4 (coreutils_MACROS): Rename from gl_MACROS, now that
28         most of the gnulib macros have migrated into gnulib.
29         Don't call gl_INIT here (now it's called from configure.ac, directly).
30
31 2006-10-07  Jim Meyering  <jim@meyering.net>
32
33         * jm-macros.m4 (gl_MACROS): Remove use of AC_CONFIG_LIBOBJ_DIR(lib).
34         It is no longer needed, and was causing dependencies to appear
35         in lib/lib/.deps, which provoked a "make distcheck" failure.
36
37 2006-09-29  Jim Meyering  <jim@meyering.net>
38
39         * readdir.m4: Remove file once again.
40         * jm-macros.m4: Remove reference to gl_FUNC_READDIR.
41
42 2006-09-28  Jim Meyering  <jim@meyering.net>
43
44         * jm-macros.m4: Require the new macro.
45         * readdir.m4 (gl_FUNC_READDIR): Rename from GL_FUNC_READDIR.
46         Increment serial number.
47         * readdir.m4: Revivify this file.
48         We need it to work around a bug on Darwin 0.7.x.
49
50 2006-09-01  Paul Eggert  <eggert@cs.ucla.edu>
51
52         * .cvsignore: Add fcntl_h.m4, getloadavg.m4, inttypes-h.m4,
53         inttypes-prio.m4, inttypes.m,4 isapipe.m4.
54
55         * jm-macros.m4 (gl_MACROS): Call cu_PREREQ_STAT_PROG rather
56         than AC_REQUIREing, so that sys/mount.h isn't tested for after
57         the test result.  I'm not sure why this fix is needed, but it
58         works.
59         * stat-prog.m4 (cu_PREREQ_STAT_PROG): Revamp to reflect better
60         what stat.c actually needs.
61
62 2006-08-29  Paul Eggert  <eggert@cs.ucla.edu>
63
64         * stat-prog.m4 (cu_PREREQ_STAT_PROG): Check for __val versus val
65         components of fsid.  Omit some checks that stat.c doesn't care
66         about.
67
68 2006-08-26  Paul Eggert  <eggert@cs.ucla.edu>
69
70         * .cvsignore: Add config-h.m4.
71
72 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
73
74         * .cvsignore: Remove Makefile, dev-ino.m4, glibc2.m4, intdiv0.m4,
75         inttypes-h.m4, inttypes-pri.m4, jm-glibc-io.m4, lcmessage.m4,
76         lock.m4, printf-posix.m4, same-inode.m4, size_max.m4,
77         uintmax_t.m4, ulonglong.m4, visibility.m4, xsize.m4.  Many of
78         these are put in automatically by ../bootstrap, but that's a
79         bootstrap bug that I plan to fix shortly.
80
81 2006-08-22  Bruno Haible  <bruno@clisp.org>
82
83         BeOS portability.
84         * boottime.m4 (GNULIB_BOOT_TIME): Test also for utmp.h, utmpx.h,
85         OS.h. Don't require to have utmp.h or utmpx.h. Enable boottime
86         support if <OS.h> is found.
87
88 2006-08-22  Jim Meyering  <jim@meyering.net>
89
90         * .cvsignore: Add files that are now generated by ../bootstrap.
91
92 2006-08-21  Paul Eggert  <eggert@cs.ucla.edu>
93
94         * argmatch.m4:
95         Remove from CVS, since ../bootstrap generates it automatically.
96
97 2006-08-20  Paul Eggert  <eggert@cs.ucla.edu>
98
99         Add a bootstrap procedure, so that the CVS version contains fewer
100         files and we bootstrap the rest from gnulib, gettext, etc.
101         * check-decl.m4 (gl_CHECK_DECLS):
102         Don't include stdio.h, string.h, stdlib.h, unistd.h, sys/time.h,
103         time.h.  Use AC_CHECK_DECLS_ONCE for free, getenv, geteuid, getlogin,
104         getuid, lseek, malloc, memchr, realloc.  Don't check for getutent,
105         memrchr, nanosleep, stpcpy, strndup, strnlen, strstr, strtoul,
106         strtoull.
107         (_gl_DECL_HEADERS): Remove; all uses removed.
108         * jm-macros.m4 (gl_MACROS): Move AC_PREREQ into configure.ac
109         for the benefit of gnulib-tool.  Call gl_INIT.
110         Do not call or require the following, since gnulib now does this:
111         gl_HOST_OS, gl_ASSERT, gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE,
112         gl_CHECK_TYPE_STRUCT_DIRENT_D_INO, gl_FUNC_DIRFD, AC_FUNC_ACL,
113         gl_FUNC_LCHMOD, gl_FUNC_LCHOWN, gl_FUNC_RMDIR_NOTEMPTY,
114         gl_FUNC_CHOWN, AC_FUNC_LSTAT, AC_FUNC_STRERROR_R,
115         gl_FUNC_GROUP_MEMBER, gl_AC_FUNC_LINK_FOLLOWS_SYMLINK,
116         gl_FUNC_FPENDING, gt_INTTYPES_PRI, gl_ULLONG_MAX,
117         gl_FUNC_GETGROUPS, AC_FUNC_ALLOCA, AC_FUNC_GETLOADAVG,
118         gl_SYS_PROC_UPTIME, gl_FUNC_FTRUNCATE, AC_REPLACE_FUNCS(raise),
119         AC_CHECK_FUNCS_ONCE(gettimeofday), AC_FUNC_GETTIMEOFDAY_CLOBBER,
120         AC_FUNC_CLOSEDIR_VOID, AC_FUNC_STRTOD, gl_GLIBC21, AM_ICONV,
121         gl_FUNC_UNLINK_BUSY_TEXT, gl_FSUSAGE, gl_MOUNTLIST, gl_AC_DOS,
122         AC_FUNC_CANONICALIZE_FILE_NAME, gl_FUNC_FREE, gl_FUNC_CHDIR_LONG,
123         gl_FUNC_XFTS, gl_ROOT_DEV_INO, gl_VERSION_ETC, gl_DIACRIT,
124         gl_TYPE_SOCKLEN_T, gl_FPRINTFTIME, gl_CHDIR_SAFER.
125         Don't check for fchmod, hasmntopt, isascii, lchown, listmntent,
126         mempcpy, realpath, wcrtomb, tzset.
127         (gl_CHECK_ALL_HEADERS): Don't check for sys/statvfs.h, sys/vfs.h,
128         sys/mount.h.
129         (gl_CHECK_ALL_TYPES): Require AC_TYPE_UNSIGNED_LONG_LONG_INT.
130         Don't check for struct stat.st_blksize.
131         Don't require AC_STRUCT_ST_DM_MODE, gt_TYPE_SSIZE_T,
132         gl_AC_TYPE_UINT32_T, gl_AC_TYPE_UINTMAX_T, gl_AC_TYPE_UINTPTR_T,
133         gl_AC_TYPE_UNSIGNED_LONG_LONG.
134         * prereq.m4 (gl_PREREQ): Require gl_FUNC_XFTS, gl_ROOT_DEV_INO.
135         Don't require AM_STDBOOL_H, gl_ALLOCSA, gl_BACKUPFILE,
136         gl_BASENAME, gl_C_STRTOD, gl_C_STRTOLD, gl_CANON_HOST, gl_CLOEXEC,
137         gl_CLOSE_STREAM, gl_CLOSEOUT, gl_DIRNAME, gl_ERROR, gl_EXCLUDE,
138         gl_EXITFAIL, gl_FCNTL_SAFER, gl_FILEBLOCKS, gl_FILEMODE,
139         gl_FILE_NAME_CONCAT, gl_FILE_TYPE, gl_FSUSAGE, gl_FOPEN_SAFER,
140         gl_FUNC_ALLOCA, gl_FUNC_ATEXIT, gl_FUNC_DUP2, gl_FUNC_FNMATCH_GNU,
141         gl_FUNC_GETHOSTNAME, gl_FUNC_GETLINE, AC_FUNC_GETLOADAVG,
142         gl_FUNC_GETPASS_GNU, gl_FUNC_GETUSERSHELL, gl_FUNC_LSTAT,
143         gl_FUNC_MEMCHR, gl_FUNC_MEMCPY, gl_FUNC_MEMMOVE, gl_FUNC_MEMPCPY,
144         gl_FUNC_MEMRCHR, gl_FUNC_MEMSET, gl_FUNC_MKDIR_TRAILING_SLASH,
145         gl_FUNC_MKTIME, gl_FUNC_MKSTEMP,
146         gl_FUNC_READLINK, gl_FUNC_RMDIR, gl_FUNC_RPMATCH, gt_FUNC_SETENV,
147         gl_FUNC_SIG2STR, gl_FUNC_SNPRINTF, gl_FUNC_STPCPY,
148         gl_FUNC_STRCSPN, gl_FUNC_STRDUP, gl_FUNC_STRNDUP, gl_FUNC_STRNLEN,
149         gl_FUNC_STRPBRK, gl_FUNC_STRSTR, gl_FUNC_STRTOD,
150         gl_FUNC_STRTOIMAX, gl_FUNC_STRTOLL, gl_FUNC_STRTOL,
151         gl_FUNC_STRTOULL, gl_FUNC_STRTOUL, gl_FUNC_STRTOUMAX,
152         gl_FUNC_STRVERSCMP, gl_FUNC_TZSET_CLOBBER, gl_FUNC_VASNPRINTF,
153         gl_FUNC_VASPRINTF, gl_FUNC_WCWIDTH, gl_GETADDRINFO, gl_GETDATE,
154         gl_GETHRXTIME, gl_GETNDELIM2, gl_GETOPT, gl_GETPAGESIZE,
155         gl_GETTIME, gl_GETUGROUPS, gl_HARD_LOCALE, gl_HASH, gl_HASH_PJW,
156         gl_HEADER_ARPA_INET, gl_HEADER_NETINET_IN, gl_HEADER_SYS_SOCKET,
157         gl_HUMAN, gl_IDCACHE, gl_INET_NTOP, gl_INTTOSTR, gl_LINEBUFFER,
158         gl_LOCALCHARSET, gl_LONG_OPTIONS, gl_MBCHAR, gl_MBITER,
159         gl_MBSWIDTH, gl_MD5, gl_MEMCOLL, gl_MKANCESDIRS, gl_MKDIR_PARENTS,
160         gl_MODECHANGE, gl_MOUNTLIST, gl_OBSTACK, gl_PATHMAX, gl_PHYSMEM,
161         gl_POSIXTM, gl_POSIXVER, gl_QUOTEARG, gl_QUOTE, gl_READTOKENS,
162         gl_READUTMP, gl_REGEX, gl_SAFE_READ, gl_SAFE_WRITE, gl_SAME,
163         gl_SAVEDIR, gl_SAVE_CWD, gl_SETTIME, gl_SHA1, gl_STAT_MACROS,
164         gl_STAT_TIME, gl_STDARG_H, gl_STDINT_H, gl_STDLIB_SAFER,
165         gl_STRCASE, gl_STRIPSLASH, gl_TIMESPEC, gl_TIME_R,
166         gl_TYPE_SOCKLEN_T, gl_UNICODEIO, gl_UNISTD_SAFER, gl_UNLINKDIR,
167         gl_USERSPEC, gl_UTIMECMP, gl_UTIMENS, gl_XALLOC, gl_XGETCWD,
168         gl_XNANOSLEEP, gl_XREADLINK, gl_XSTRTOD, gl_XSTRTOL, gl_XSTRTOLD,
169         gl_YESNO, AC_FUNC_CALLOC, gl_FUNC_GLIBC_UNLOCKED_IO,
170         gl_FUNC_GNU_STRFTIME, AC_FUNC_MALLOC, gl_FUNC_MEMCMP,
171         gl_FUNC_NANOSLEEP, gl_FUNC_PUTENV, AC_FUNC_REALLOC, gl_FUNC_UTIME,
172         gl_XSTRTOIMAX, gl_XSTRTOUMAX, vb_FUNC_RENAME, gl_FUNC_FTS,
173         gl_MEMCASECMP, gl_STRIPSLASH, gl_LINEBUFFER, gl_ARGMATCH,
174         gl_CYCLE_CHECK, gl_EUIDACCESS_STAT, since gnulib handles this.
175         * stat-prog.m4 (cu_PREREQ_STAT_PROG): Don't check for
176         sys/sysmacros.h.  Don't check for statvfs.  Use AC_CHECK_HEADERS_ONCE
177         for netinet/in.h, nfs/nfs_clnt.h, nfs/vfs.h.
178         Don't require gl_AC_TYPE_LONG_LONG, gt_HEADER_INTTYPES_H.
179
180         * absolute-header.m4, acl.m4, alloca.m4, allocsa.m4, arpa_inet_h.m4:
181         * assert.m4, atexit.m4, backupfile.m4, basename.m4, bison.m4:
182         * c-strtod.m4, c.m4, calloc.m4, canon-host.m4, canonicalize.m4:
183         * chdir-long.m4, chdir-safer.m4, chown.m4, clock_time.m4:
184         * cloexec.m4, close-stream.m4, closeout.m4, codeset.m4:
185         * cycle-check.m4, d-ino.m4, d-type.m4, dev-ino.m4, diacrit.m4:
186         * dirfd.m4, dirname.m4, dos.m4, double-slash-root.m4, dup2.m4:
187         * eealloc.m4, eoverflow.m4, error.m4, euidaccess.m4, exclude.m4:
188         * exitfail.m4, extensions.m4, fcntl-safer.m4, file-type.m4:
189         * fileblocks.m4, filemode.m4, filenamecat.m4, fnmatch.m4:
190         * fpending.m4, fprintftime.m4, free.m4, fstypename.m4, fsusage.m4:
191         * ftruncate.m4, fts.m4, getaddrinfo.m4, getcwd-abort-bug.m4:
192         * getcwd-path-max.m4, getcwd.m4, getdate.m4, getdelim.m4:
193         * getgroups.m4, gethostname.m4, gethrxtime.m4, getline.m4:
194         * getndelim2.m4, getopt.m4, getpagesize.m4, getpass.m4, gettext.m4:
195         * gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4:
196         * glibc21.m4, group-member.m4, hard-locale.m4, hash-pjw.m4, hash.m4:
197         * host-os.m4, human.m4, iconv.m4, idcache.m4, inet_ntop.m4:
198         * intmax_t.m4, inttostr.m4, inttypes-h.m4, inttypes-pri.m4:
199         * inttypes.m4, inttypes_h.m4, isc-posix.m4, jm-winsz1.m4:
200         * jm-winsz2.m4, lchmod.m4, lchown.m4, lib-ignore.m4, lib-ld.m4:
201         * lib-link.m4, lib-prefix.m4, linebuffer.m4, link-follow.m4:
202         * localcharset.m4, long-options.m4, longdouble.m4, longlong.m4:
203         * ls-mntd-fs.m4, lstat.m4, mbchar.m4, mbiter.m4, mbrtowc.m4:
204         * mbstate_t.m4, mbswidth.m4, md5.m4, memcasecmp.m4, memchr.m4:
205         * memcmp.m4, memcoll.m4, memcpy.m4, memmove.m4, mempcpy.m4:
206         * memrchr.m4, memset.m4, mkancesdirs.m4, mkdir-p.m4, mkdir-slash.m4:
207         * mkstemp.m4, mktime.m4, modechange.m4, mountlist.m4, nanosleep.m4:
208         * netinet_in_h.m4, nls.m4, obstack.m4, openat.m4, pathmax.m4:
209         * perl.m4, physmem.m4, po.m4, posixtm.m4, posixver.m4, progtest.m4:
210         * putenv.m4, quote.m4, quotearg.m4, readlink.m4, readtokens.m4:
211         * readutmp.m4, regex.m4, rename.m4, rmdir-errno.m4, rmdir.m4:
212         * rpmatch.m4, safe-read.m4, safe-write.m4, same-inode.m4, same.m4:
213         * save-cwd.m4, savedir.m4, setenv.m4, settime.m4, sha1.m4:
214         * sig2str.m4, signed.m4, snprintf.m4, socklen.m4, sockpfaf.m4:
215         * ssize_t.m4, st_dm_mode.m4, stat-macros.m4, stat-time.m4:
216         * stdarg.m4, stdbool.m4, stdint.m4, stdint_h.m4, stdio-safer.m4:
217         * stdlib-safer.m4, stpcpy.m4, strcase.m4, strcspn.m4, strdup.m4:
218         * strftime.m4, stripslash.m4, strndup.m4, strnlen.m4, strpbrk.m4:
219         * strstr.m4, strtod.m4, strtoimax.m4, strtol.m4, strtoll.m4:
220         * strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4:
221         * sys_socket_h.m4, time_r.m4, timespec.m4, tm_gmtoff.m4, tzset.m4:
222         * uint32_t.m4, uintmax_t.m4, uintptr_t.m4, ullong_max.m4:
223         * ulonglong.m4, unicodeio.m4, unistd-safer.m4, unlink-busy.m4:
224         * unlinkdir.m4, unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4:
225         * utime.m4, utimecmp.m4, utimens.m4, utimes-null.m4, utimes.m4:
226         * vasnprintf.m4, vasprintf.m4, version-etc.m4, wchar_t.m4:
227         * wcwidth.m4, wint_t.m4, xalloc.m4, xgetcwd.m4, xnanosleep.m4:
228         * xreadlink.m4, xstrtod.m4, xstrtoimax.m4, xstrtol.m4:
229         * xstrtoumax.m4, yesno.m4:
230         Remove from CVS, since ../bootstrap generates them automatically.
231
232 2006-08-18  Bruno Haible  <bruno@clisp.org>
233
234         * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Also check for
235         sys/statvfs.h. When getmntinfo was found, check its declaration and
236         set either MOUNTED_GETMNTINFO or MOUNTED_GETMNTINFO2 depending on it.
237         * stat-prog.m4 (cu_PREREQ_STAT_PROG): Test also for f_fstypename
238         in struct statvfs.
239
240 2006-08-18  Jim Meyering  <jim@meyering.net>
241
242         * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Also check for CLOCK_REALTIME,
243         since gethrxtime may revert to using clock_gettime via gettime.c.
244         Gabor Z. Papp reported that gethrxtime-using programs failed to
245         link due to unresolved clock_gettime on a linux-2.4.x system.
246
247 2006-08-17  Paul Eggert  <eggert@cs.ucla.edu>
248
249         * ChangeLog: Add copyright notice.
250         * check-decl.m4: Likewise.
251
252 2006-08-15  Jim Meyering  <jim@meyering.net>
253
254         * openat.m4 (gl_FUNC_OPENAT): Add at-func.c via AC_LIBSOURCES.
255
256 2006-08-10  Jim Meyering  <jim@meyering.net>
257
258         Update from gnulib.
259         * cycle-check.m4 (gl_CYCLE_CHECK): Don't mention same-inode.h.
260         Require gl_STRUCT_DEV_INO and gl_SAME_INODE.
261         * dev-ino.m4, same-inode.m4: New files.
262
263 2006-08-10  Paul Eggert  <eggert@cs.ucla.edu>
264
265         Accommodate new getaddrinfo implementation in gnulib.
266         * arpa_inet_h.m4, inet_ntop.m4, netinet_in_h.m4, snprintf.m4:
267         New files, from gnulib.
268         * prereq.m4 (gl_PREREQ): Require gl_FUNC_SNPRINTF, gl_GETADDRINFO,
269         gl_HEADER_ARPA_INET, gl_HEADER_NETINET_IN, gl_HEADER_SYS_SOCKET,
270         gl_INET_NTOP, gl_TYPE_SOCKEN_T.
271
272 2006-08-09  Paul Eggert  <eggert@cs.ucla.edu>
273
274         * inttypes-h.m4, stdarg.m4: New files, from gnulib.
275         * prereq.m4 (gl_PREREQ): Require gl_STDARG_H.
276         Require gl_FOPEN_SAFER rather than gl_STDIO_SAFER (due to renaming).
277         * getline.m4, gettext.m4, inttypes-pri.m4, lib-link.m4, localcharset.m4:
278         * mbchar.m4, nls.m4, po.m4, stdint.m4, stdio-safer.m4, unistd-safer.m4:
279         * wcwidth.m4:
280         Update from gnulib.
281
282 2006-08-08  Paul Eggert  <eggert@cs.ucla.edu>
283
284         * memxfrm.m4, randint.m4, randperm.m4, randread.m4: New files.
285
286         * prereq.m4 (gl_PREREQ): Require gl_MEMXFRM, gl_RANDINT, gl_RANDPERM,
287         gl_RANDREAD.
288
289         * restrict.m4: Remove, now that we assume Autoconf 2.58 or later.
290         All uses of gl_C_RESTRICT changed to AC_C_RESTRICT.
291
292 2006-07-22  Paul Eggert  <eggert@cs.ucla.edu>
293
294         * close-stream.m4: New file.
295         * prereq.m4 (gl_PREREQ): Require gl_CLOSE_STREAM.
296
297 2006-07-16  Paul Eggert  <eggert@cs.ucla.edu>
298
299         * mkancesdirs.m4: New file.
300         * afs.m4: Remove; no longer needed.
301         * jm-macros.m4 (gl_MACROS): Remove gl_AFS.
302         * mkdir-p.m4 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h.
303         Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed.
304         Require gl_FUNC_LCHOWN, since dirchownmod.c needs it.
305         * prereq.m4 (gl_PREREQ): Require gl_MKANCESDIRS.
306
307 2006-07-11  Eric Blake  <ebb9@byu.net>
308
309         * absolute-header.m4: Fix comments to match recent change.
310
311 2006-07-10  Derek R. Price  <derek@ximbiot.com>
312         and Paul Eggert  <eggert@cs.ucla.edu>
313
314         * backupfile.m4, d-ino.m4, d-type.m4, dirfd.m4, fts.m4, getcwd.m4:
315         * savedir.m4:
316         Ignore the obsolescent !HAVE_DIRENT_H case.  Consolidate NAMLEN
317         macros into the GNU _D_EXACT_NAMLEN.
318
319 2006-07-10  Paul Eggert  <eggert@cs.ucla.edu>
320
321         * stdint.m4 (gl_STDINT_H): Like yesterday's change to
322         absolute-header.m4.  Also, set ABSOLUTE_STDINT_H to a string
323         "no/such/file/stdint.h" when there is no such file, so that
324         the resulting C code can be parsed by dodgy compilers.
325         Problems reported by Bob Proulx.
326
327 2006-07-09  Paul Eggert  <eggert@cs.ucla.edu>
328
329         * absolute-header.m4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
330         around the absolute name, to work around a problem with the HP-UX
331         11.23 native C compiler, reported by Bob Proulx.
332
333         Update from gnulib, as follows:
334
335         2006-07-06  Derek R. Price  <derek@ximbiot.com>
336         and Paul Eggert  <eggert@cs.ucla.edu>
337
338         * backupfile.m4 (gl_BACKUPFILE): Check for dirent.h, instead
339         of invoking obsolescent AC_HEADER_DIRENT macro.
340         * d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
341         * d-type.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Likewise.
342         * dirfd.m4 (gl_FUNC_DIRFD): Likewise.
343         * fts.m4 (gl_FUNC_FTS_CORE): Likewise.
344         * getcwd.m4 (gl_PREREQ_GETCWD): Likewise.
345         * savedir.m4 (gl_SAVEDIR): Likewise.
346
347         2006-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
348
349         * fileblocks.m4 (gl_PREREQ_FILEBLOCKS): AC_CHECK_DECLS_ONCE may
350         expand to nothing, so add a shell command to avoid syntax error.
351         * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
352
353         2006-07-06  Paul Eggert  <eggert@cs.ucla.edu>
354
355         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't check for getenv decl;
356         no longer needed.  Check for isblank decl.
357         * mkstemp.m4 (gl_PREREQ_TEMPNAME): Don't check for getenv decl.
358         * regex.m4 (gl_PREREQ_REGEX): Dheck for isblank decl instead
359         of existence.
360
361         2006-07-05  Paul Eggert  <eggert@cs.ucla.edu>
362
363         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Use AC_CHECK_DECLS_ONCE
364         rather than AC_CHECK_DECLS for strtoimax and strtoumax.
365         * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed.
366         All uses removed.
367         * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
368         * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
369         * exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer needed.
370         * getdate.m4 (gl_GETDATE): Likewise.
371         * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
372         * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
373         * strtod.m4 (gl_FUNC_STRTOD): Likewise.
374         * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
375         * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
376         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
377         * exclude.m4 (gl_EXCLUDE): Don't require AC_C_INLINE; no longer
378         needed.
379
380         2006-07-05  Derek R. Price  <derek@ximbiot.com>
381
382         * calloc.m4 (_AC_FUNC_CALLOC_IF): Don't require AC_HEADER_STDC;
383         no longer needed.
384         * exclude.m4 (gl_EXCLUDE): Likewise.
385         * getdate.m4 (gl_GETDATE): Likewise.
386         * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
387         * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
388         * strtod.m4 (gl_FUNC_STRTOD): Likewise.
389         * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
390         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
391
392         2006-07-05  Eric Blake  <ebb9@byu.net>
393
394         * sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
395         to avoid 'header present but could not be compiled' on cygwin.
396
397         2006-07-03  Bruno Haible  <bruno@clisp.org>
398
399         * strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, check whether
400         the function exists, before testing against AIX.
401         Reported by Martin Lambers <marlam@marlam.de>.
402
403         2006-07-04  Paul Eggert  <eggert@cs.ucla.edu>
404
405         * absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
406         to the absolute name, not just one, to bypass Sun C 5.8's
407         "warning: #include of /usr/include/... may be non-portable".
408
409         2006-07-03  Paul Eggert  <eggert@cs.ucla.edu>
410
411         * absolute-header.m4: Renamed from full-header-path.m4.
412         This is to keep the terminology clean; POSIX talks about
413         "absolute pathnames", not "full pathnames", but the GNU
414         Coding Standards say to use "path" for something else;
415         so use "absolute" to keep both sides happy.
416         (gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
417         Set gl_absolute_header, not gl_full_header_path.
418         Set gl_cv_absolute_<header>, not gl_full_path_<header>.
419         Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
420         All uses changed.
421
422 2006-07-08  Jim Meyering  <jim@meyering.net>
423
424         * link-follow.m4: Remove one of two adjacent "whether"s in a comment.
425         * getopt.m4: Remove one of two adjacent "your"s in a comment.
426         * autobuild.m4: Remove one of two adjacent "can"s in a comment.
427         * regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment.
428
429 2006-07-03  Paul Eggert  <eggert@cs.ucla.edu>
430
431         * prereq.m4 (gl_PREREQ): Require gl_FUNC_WCWIDTH, to accommodate
432         changes mentioned below.
433         * setenv.m4 (gt_FUNC_SETENV): Undo private change that added an
434         AC_LIBSOURCES line here, since Bruno didn't buy it back.  Instead,
435         update ../lib/Makefile.am to mention the files explicitly.
436
437         Sync from gnulib.
438
439         2006-06-28  Simon Josefsson  <jas@extundo.com>
440
441         * getaddrinfo.m4: Look for getnameinfo prototypes too.
442
443         2006-06-28  Eric Blake  <ebb9@byu.net>
444
445         * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
446         * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
447
448         2006-06-22  Simon Josefsson  <jas@extundo.com>
449
450         * sockpfaf.m4: Include winsock2.h too, to make it work under
451         MinGW.
452
453         2006-06-21  Simon Josefsson  <jas@extundo.com>
454
455         * getaddrinfo.m4: Don't define WINVER.  Look for gethostbyname in
456         -lws2_32 too.  Fixes getaddrinfo on Windows 2000, with the price
457         of using the (limited) gnulib implementation on Windows XP.
458
459         2006-06-17  Bruno Haible  <bruno@clisp.org>
460
461         * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
462         whether errno is declared. Assume <errno.h> declares errno.
463
464         2006-06-16  Eric Blake  <ebb9@byu.net>
465
466         * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
467         errno.
468
469         2006-06-15  Eric Blake  <ebb9@byu.net>
470
471         * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
472
473         2006-04-20  Bruno Haible  <bruno@clisp.org>
474
475         * getpass.m4 (gl_PREREQ_GETPASS):
476         Don't call AC_CHECK_DECLS_ONCE with more than
477         one argument, so that the code will be portable to Autoconf 2.60.
478         * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
479
480         2006-03-15  Eric Blake  <ebb9@byu.net>
481
482         * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
483
484 2006-07-03  Jim Meyering  <jim@meyering.net>
485
486         * ftruncate.m4 (gl_FUNC_FTRUNCATE): Adjust diagnostic to recommend
487         ./configure SKIP_FTRUNCATE_CHECK=yes, rather than env ... ./configure.
488         Suggestion from Ralf Wildenhues.
489
490 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
491
492         * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
493         test cases, so that config.log is a bit easier to follow.
494
495 2006-07-02  Jim Meyering  <jim@meyering.net>
496
497         * full-header-path.m4: New file, from gnulib.  Required by stdint.m4.
498
499 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
500
501         * longlong.m4: Sync from gnulib.
502         * stdint.m4: Likewise.
503         * ulonglong.m4: Likewise.
504
505 2006-06-30  Paul Eggert  <eggert@cs.ucla.edu>
506
507         * c-strtod.m4 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
508         Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
509         want to require the building of c-strtod.o.
510         * lib-check.m4 (cu_LIB_CHECK): Remove SEQ_LIBM, since seq no longer
511         needs -lm directly.
512         * prereq.m4 (gl_PREREQ): Require gl_C_STRTOD and gl_XSTRTOLD.
513         * xstrtod.m4 (gl_XSTRTOLD): New macro.
514
515 2006-06-29  Derek R. Price  <derek@ximbiot.com>
516
517         * strftime.m4: Don't call AC_FUNC_STRFTIME.
518
519 2006-06-28  Paul Eggert  <eggert@cs.ucla.edu>
520
521         * jm-macros.m4 (jl_MACROS): Require 2.60, not 2.59d.
522         * jm-macros.m4 (gl_CHECK_ALL_TYPES): Don't require AC_C_CONST, since
523         it's obsolete.
524
525 2006-06-28  Derek R. Price  <derek@ximbiot.com>
526
527         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
528         it's obsolete.
529         * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
530         * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
531
532 2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
533
534         * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
535         --as-needed option if available.  Problem reported by Albert Chin in
536         <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
537         However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
538         cc merely issues a bunch of annoying warnings for --as-needed
539         (this problem was reported by Bob Proulx).  Also, try linking with
540         -lm to detect a bug in binutils 2.16 (this problem was reported
541         by Ralf Wildenhues).
542
543 2006-06-18  Jim Meyering  <jim@meyering.net>
544
545         Test for a bug that causes glibc's getcwd to suffer a failed assertion.
546         * getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
547         * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
548         also check for glibc-2.4's abort-inducing bug.
549
550         * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
551         Low-probability clean-up should be to use rmdir to get rid of
552         the just-created directory, not unlink.
553
554         * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
555         configure fail, and request a bug report to inform us about it.
556         Add a comment that, barring reports to the contrary, in 2007 we'll
557         assume ftruncate is universally available.
558
559 2006-06-10  Jim Meyering  <jim@meyering.net>
560
561         Apply this change from gnulib:
562
563         2006-05-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
564                     Bruno Haible  <bruno@clisp.org>
565
566         * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
567         check for the declaration of strnlen and a run test that exposes the
568         AIX 5.1 strnlen bug.  In the failure case, #define strndup to
569         rpl_strndup.
570
571 2006-05-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
572
573         * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
574         compile test, for Tru64 4.0D.
575
576 2006-05-24  Jim Meyering  <jim@meyering.net>
577
578         * jm-macros.m4: Require autoconf-2.59d, for its fixed version
579         of AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
580
581 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
582
583         * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
584         gl_ rather than jm_.  Link, don't run, so that cross-compiles are
585         allowed.  Check that resulting type is arithmetic.  Move AC_REQUIRE
586         and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
587         not really conditional on the cache.
588         (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
589
590 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
591
592         * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
593         test for C99 conformance; (bool) 0.5 is an integer constant
594         expression, but (bool) -0.5 is not.  Problem reported by Fedor
595         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
596
597 2006-02-17  Eric Blake  <ebb9@byu.net>
598
599         Sync from gnulib.
600         * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
601
602 2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
603
604         * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
605         to define main with arguments, for C++.  Reported by Eric Blake.
606         * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
607         * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
608         for 'main', for C99 and C++.
609
610 2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
611
612         * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
613         Don't assume that exit status -1 is valid.
614         * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
615         * putenv.m4 (gl_FUNC_PUTENV): Likewise.
616         * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
617         * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
618         * rename.m4 (vb_FUNC_RENAME): Likewise.
619         * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
620         not AC_TRY_RUN.  Use return, not exit.  Don't assume that
621         functions can be used without declaring them, or that you can
622         exit with status -1.
623         * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
624
625 2006-04-17  Paul Eggert  <eggert@cs.ucla.edu>
626
627         * filemode.m4 (gl_FILEMODE): Check for strmode declaration.
628
629 2006-04-12  Paul Eggert  <eggert@cs.ucla.edu>
630
631         * jm-macros.m4 (gl_MACROS): Check for setgroups and sync, since they
632         are not in Interix.
633
634 2006-04-11  Paul Eggert  <eggert@cs.ucla.edu>
635
636         * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
637
638 2006-04-09  Paul Eggert  <eggert@cs.ucla.edu>
639
640         * regex.m4 (gl_REGEX): Check for new glibc interface to
641         translation table.
642
643 2006-03-11  Eric Blake  <ebb9@byu.net>
644
645         * double-slash-root.m4: New file, provides gl_DOUBLE_SLASH_ROOT.
646         * dirname.m4 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
647         * dos.m4 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
648         (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
649
650 2006-03-25  Paul Eggert  <eggert@cs.ucla.edu>
651
652         * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
653         REG_SYNTAX_EMACS, and REG_IGNORE_CASE.  Settle for the traditional
654         glibc names.  Even if glibc is changed to conform to POSIX, the
655         traditional names will be available anyway, since regex depends on
656         the extensions module.  Also, fix a longstanding typo in the
657         implementation of Spencer ERE test #75 from grep 2.3.  Problems
658         reported by Emanuele Giaquinta.  Also, change sense of cached
659         variable, so that the message makes sense.
660
661 2006-03-17  Jim Meyering  <jim@meyering.net>
662
663         * regex.m4 (gl_REGEX): Fix typo in last change:
664         s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
665
666 2006-03-16  Paul Eggert  <eggert@cs.ucla.edu>
667
668         * regex.m4 (gl_REGEX): Don't check for off_t, since the code
669         no longer needs it.  Instead, check that regoff_t is as least
670         as wide as ptrdiff_t.
671
672         Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
673         so that our regex.h stays compatible with the installed regex.
674         This is helpful for installers who configure --without-included-regex.
675         Problem reported by Emanuele Giaquinta.
676
677 2006-03-12  Jim Meyering  <jim@meyering.net>
678
679         * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.
680         * cycle-check.m4 (gl_CYCLE_CHECK): Likewise.
681         * same.m4 (gl_SAME): Likewise.
682         * root-dev-ino.m4 (gl_ROOT_DEV_INO): Likewise.
683
684 2006-03-12  Paul Eggert  <eggert@cs.ucla.edu>
685
686         * prereq.m4 (gl_PREREQ): Require gl_TIME_R.
687         * time_r.m4: New file, from gnulib.
688
689 2006-03-01  Paul Eggert  <eggert@cs.ucla.edu>
690
691         * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
692         not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
693         pedantically.
694         * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
695         * timespec.m4 (gl_TIMESPEC): Likewise.
696
697         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
698         not "==".  Reported by Ralf Wildenhues.
699
700 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
701
702         * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
703         gl_CHDIR_SAFER.
704
705 2006-02-16  Eric Blake  <ebb9@byu.net>
706
707         Sync from gnulib.
708         * sys_socket_h.m4: New file. Solves 'present but cannot compile'
709         warnings on cygwin, which cannot use ws2tcpip.h.
710         * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET.
711         Don't use ws2tcpip.h if sys/socket.h works.
712         * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use
713         gl_HEADER_SYS_SOCKET.
714         (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is
715         present.
716
717 2006-02-14  Simon Josefsson  <jas@extundo.com>
718
719         Sync from gnulib.
720         * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
721         -lws2_32.  Protect sys/socket.h and netdb.h #include's.  Include
722         ws2tcpip.h with WINVER=0x0501.  All for mingw32.
723         * socklen.m4: Look in ws2tcpip.h too, for mingw32.
724
725 2006-02-05  Paul Eggert  <eggert@cs.ucla.edu>
726
727         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
728         __EXTENSIONS__ if this causes compilation to fail.  Problem
729         reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
730         c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
731
732 2006-01-26  Paul Eggert  <eggert@cs.ucla.edu>
733
734         * stdbool.m4 (AC_HEADER_STDBOOL): Sync from gnulib.
735         Use 'defined __GNUC__' rather than __GNUC__.
736
737 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
738
739         * stdbool.m4: Merge from gnulib; we still don't quite match
740         exactly, but we're getting closer.
741         (AC_HEADER_STDBOOL): Add some comments.
742
743 2006-01-24  Jim Meyering  <jim@meyering.net>
744
745         * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
746         Reported by Mark D. Baushke.
747
748 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
749
750         * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
751
752 2006-01-20  Paul Eggert  <eggert@cs.ucla.edu>
753
754         * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
755         rather than -Xlinker -z -Xlinker ignore, as it's more portable.
756         Suggested by Bruno Haible.
757
758 2006-01-17  Jim Meyering  <jim@meyering.net>
759
760         * fts.m4 (gl_FUNC_FTS_CORE): Depend on gl_FUNC_OPENAT.
761
762 2006-01-16  Paul Eggert  <eggert@cs.ucla.edu>
763
764         * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
765         it's not portable and it doesn't work with cross-compiles.
766         Problem reported by Bruno Haible.  Fix missing-$ typo in
767         'test "gl_cv_ignore_unused_libraries" ...' that prevented
768         -zignore from being used with Sun's C compiler.
769
770 2006-01-13  Jim Meyering  <jim@meyering.net>
771
772         * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
773         unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
774         gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
775         variable, to accommodate the rare case in which getmntent is
776         available in none of the libraries checked.  This happens at
777         least on FreeBSD 5.0.
778
779 2006-01-11  Paul Eggert  <eggert@cs.ucla.edu>
780
781         * prereq.m4 (gl_PREREQ): Require gl_STDINT_H.
782         * stdint.m4: New file, from gnulib.
783
784 2006-01-11  Jim Meyering  <jim@meyering.net>
785
786         * openat.m4 (gl_FUNC_OPENAT): Require and compile fchmodat.c.
787         Check for the lchmod function.
788
789 2006-01-10  Paul Eggert  <eggert@cs.ucla.edu>
790
791         * argmatch.m4 (gl_ARGMATCH): Don't require gl_FUNC_MEMCMP, for the
792         sake of packages that don't want to worry about ancient systems.
793
794         * getaddrinfo.m4, localcharset.m4, md5.m4, memcoll.m4:
795         Sync from gnulib.
796
797 2006-01-10  Jim Meyering  <jim@meyering.net>
798
799         * fpending.m4: Also include <stdio.h>, for Dragonfly.
800         Patch by Joerg Sonnenberger.
801
802 2006-01-06  Paul Eggert  <eggert@cs.ucla.edu>
803
804         * lib-ignore.m4: New file.
805
806 2006-01-01  Paul Eggert  <eggert@cs.ucla.edu>
807
808         * chmod-safer.m4: Remove.
809         * lchmod.m4: New file.
810         * jm-macros.m4 (gl_MACROS): Require gl_FUNC_LCHMOD.
811         Don't require gl_CHDIR_SAFER.
812
813 2005-12-21  Jim Meyering  <jim@meyering.net>
814
815         * chdir-safer.m4: New file.
816         * jm-macros.m4: Require gl_CHDIR_SAFER.
817
818 2005-12-05  Andreas Gruenbacher  <agruen@suse.de>
819
820         * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
821
822 2005-12-14  Jim Meyering  <jim@meyering.net>
823
824         * fprintftime.m4: New file.
825         * jm-macros.m4: Require gl_FPRINTFTIME.
826
827 2005-12-13  Paul Eggert  <eggert@cs.ucla.edu>
828
829         * stdbool.m4 (AM_STDBOOL_H): Substitute HAVE__BOOL again, reverting
830         2005-11-25 change.
831         (AC_HEADER_STDBOOL): Check for buggy compiler that
832         has _Bool but mishandles _Bool |= _Bool.
833
834 2005-12-07  Paul Eggert  <eggert@cs.ucla.edu>
835
836         * stat-time.m4 (gl_STAT_TIME): Add check for
837         TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
838         porting problem reported by Georg Schwarz in
839         <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
840
841 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
842
843         * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
844         Use implementation from Albert Chin, with some
845         comments/corrections by Stepan Kasal and myself.
846         * jm-macros.m4 (gl_MACROS): Adjust to renaming.
847
848 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
849
850         * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
851         statement, to work around an HP-UX 10.20 compiler bug reported by
852         Peter O'Gorman.
853
854 2005-12-01  Bruno Haible  <bruno@clisp.org>
855
856         Import from gnulib.
857         * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
858         mbchar.c if they are not both present.
859         * mbiter.m4 (gl_MBITER): Likewise.
860         * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
861         * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
862
863 2005-11-30  Jim Meyering  <jim@meyering.net>
864
865         * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
866         Require openat-priv.h.
867
868 2005-11-25  Paul Eggert  <eggert@cs.ucla.edu>
869
870         * stdbool.m4 (AM_STDBOOL_H): Don't bother substituting HAVE__BOOL;
871         no longer needed.
872         (gl_STDBOOL_H): New macro, from gnulib.
873         (AC_HEADER_STDBOOL): Sync with gnulib.
874
875 2005-11-20  Jim Meyering  <jim@meyering.net>
876
877         * c.m4: Remove spurious space-before-TAB.
878
879         * euidaccess-stat.m4 (gl_EUIDACCESS_STAT): New file/macro.
880         * prereq.m4: Require gl_EUIDACCESS_STAT.
881
882 2005-11-18  Paul Eggert  <eggert@cs.ucla.edu>
883
884         * c.m4: New file, to work around bugs in AIX cc.
885         Problem reported by James Lemley.  This file can go away
886         after Autoconf 2.60 comes out.
887
888 2005-11-10  Paul Eggert  <eggert@cs.ucla.edu>
889
890         * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
891         or gettimeofday; no longer needed.
892
893 2005-10-30  Paul Eggert  <eggert@cs.ucla.edu>
894
895         * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
896         variables to suggest the intended function of the PATH_MAX check.
897
898 2005-10-30  Kean Johnston  <jkj@sco.com>
899
900         Trivial changes to support SCO systems.
901         * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
902         as PATH_MAX.
903         * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
904         where __ptr is null when no I/O is pending.
905
906 2005-08-27  David Madore  <david.madore@ens.fr>
907
908         * sha256.m4, sha512.m4: New files.
909         * prereq.m4: Add gl_SHA256 and gl_SHA512.
910
911 2005-10-07  Paul Eggert  <eggert@cs.ucla.edu>
912
913         * stdbool.m4 (AC_HEADER_STDBOOL): Add an "#ifdef __xlc__" test,
914         since yesterday's attempt didn't work.
915
916 2005-10-06  Paul Eggert  <eggert@cs.ucla.edu>
917
918         * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
919         promotes to int, not unsigned int, to catch the AIX 5.3
920         compiler bug.
921
922 2005-10-02  Alfred M. Szmidt  <ams@gnu.org>
923
924         * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
925         against `yes', rather than just testing for nonempty.
926
927 2005-10-01  Simon Josefsson  <jas@extundo.com>
928
929         * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
930         and Darwin.
931
932 2005-10-01  Simon Josefsson  <jas@extundo.com>
933
934         * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use AC_GNU_SOURCE,
935         GNU declares only getaddrinfo as an (POSIX) extension.
936         Check for sys/types.h, sys/socket.h, and netdb.h too,
937         needed by getaddrinfo.h.
938         Check if getaddrinfo, freeaddrinfo and gai_strerror are
939         declared by the POSIX headers.
940         Check if struct addrinfo is declared.
941
942 2005-10-01  Jim Meyering  <jim@meyering.net>
943
944         * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
945         libraries [inet nsl socket xnet].  Nelson Beebe reported that with
946         native cc on Solaris 7, getaddrinfo.c requires -lsocket.
947
948 2005-09-29  Paul Eggert  <eggert@cs.ucla.edu>
949
950         * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
951
952 2005-09-28  Paul Eggert  <eggert@cs.ucla.edu>
953
954         * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
955         defines ULONG_MAX_LT_ULLONG_MAX.  Thomas M.Ott reports that
956         ULLONG_MAX doesn't work with 2.7.2.1.
957
958 2005-09-26  Jim Meyering  <jim@meyering.net>
959
960         * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
961         from glibc-2.2.5 that fails for read-only files.
962
963 2005-09-24  Paul Eggert  <eggert@cs.ucla.edu>
964
965         * jm-macros.m4 (gl_MACROS): Check for fchmod and fchown.
966
967         * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h, and
968         don't compile mbchar.c unless both headers exist.  See
969         <http://lists.gnu.org/archive/html/bug-gnulib/2005-09/msg00242.html>.
970
971 2005-09-24  Jim Meyering  <jim@meyering.net>
972
973         * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
974         in the inet and nsl libraries.  Required on Solaris 5.7.
975
976 2005-09-23  Paul Eggert  <eggert@cs.ucla.edu>
977
978         * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
979         and similarly for the other external symbols.  Problem reported
980         by James Gallager.
981
982         * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
983         bug reported by Jim Meyering.
984
985         * jm-macros.m4 (gl_MACROS): Don't require gl_CHECK_TYPE_STRUCT_UTIMBUF.
986         (gl_CHECK_ALL_HEADERS): Don't check for utime.h.
987         * utimens.m4 (gl_UTIMENS): Check for futimesat (Solaris 10).
988         * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
989         not needed, since socklen is a prerequisite module.
990
991 2005-09-23  Jim Meyering  <jim@meyering.net>
992
993         * jm-macros.m4 (gl_MACROS): AC_REQUIRE([gl_SOCKLEN_T]) here,
994         now that it's no longer required by getaddrinfo.m4.
995
996         Correct build failure (socklen_t not defined) on at least
997         mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
998         * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
999         * socklen.m4: New file, from gnulib.
1000
1001 2005-09-22  Paul Eggert  <eggert@cs.ucla.edu>
1002
1003         * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
1004
1005 2005-09-21  Paul Eggert  <eggert@cs.ucla.edu>
1006
1007         * check-decl.m4 (_gl_DECL_HEADERS): Don't bother checking for
1008         standard C headers, or for headers we no longer use.
1009         * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_XANSTRFTIME;
1010         no longer needed.
1011         (gl_CHECK_ALL_HEADERS): Don't check for memory.h, mntent.h, mnttab.h,
1012         netdb.h, stdlib.h, stdint.h, string.h, sys/filsys.h, sys/fs/s5param.h,
1013         sys/fs_types.h, sys/fstyp.h, sys/mntent.h, sys/socket.h, sys/stafs.h,
1014         sys/timeb.h, unistd.h.  No longer needed.
1015         * prereq.m4 (gl_PREREQ): Require gl_FUNC_GETLINE rather than
1016         AM_FUNC_GETLINE.  Require gl_FUNC_GETPASS_GNU rather than
1017         gl_FUNC_GETPASS.  Require gl_MBCHAR and gl_MBITER.
1018
1019         * xanstrftime.m4: Remove; no longer used.
1020
1021         * getaddrinfo.m4, getdelim.m4, mbchar.m4, mbiter.m4, sockpfaf.m4:
1022         New files, from gnulib.
1023
1024         * backupfile.m4, bison.m4, calloc.m4:
1025         * canonicalize.m4, chown.m4, cloexec.m4, dup2.m4:
1026         * fileblocks.m4, free.m4, ftruncate.m4, fts.m4:
1027         * getcwd.m4, getopt.m4, getpagesize.m4, getpass.m4:
1028         * getugroups.m4, group-member.m4, idcache.m4:
1029         * lib-link.m4, lib-prefix.m4, link-follow.m4:
1030         * mkdir-p.m4, mkstemp.m4, mktime.m4, mountlist.m4:
1031         * nanosleep.m4, onceonly_2_57.m4, pathmax.m4:
1032         * physmem.m4, posixver.m4, putenv.m4, safe-read.m4:
1033         * same.m4, save-cwd.m4, stdio-safer.m4, strndup.m4:
1034         * strnlen.m4, unistd-safer.m4, unlinkdir.m4:
1035         * userspec.m4, xreadlink.m4, xstrtod.m4:
1036         Sync from gnulib.
1037
1038         * canon-host.m4, getline.m4, mbrtowc.m4, strcase.m4, strstr.m4:
1039         Nontrivial sync from gnulib.
1040
1041 2005-09-16  Paul Eggert  <eggert@cs.ucla.edu>
1042
1043         * jm-macros.m4 (gl_CHECK_ALL_TYPES): Do not require
1044         AC_STRUCT_ST_MTIM_NSEC; it's obsolete.
1045         * prereq.m4 (gl_PREREQ): Require gl_STAT_TIME.
1046
1047         Import from gnulib.
1048         * st_mtim.m4: Remove.  Superseded by...
1049         * stat-time.m4: New file.
1050         * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
1051         Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
1052
1053 2005-09-13  Jim Meyering  <jim@meyering.net>
1054
1055         * autobuild.m4: New file, from autobuild.
1056
1057 2005-09-09  Paul Eggert  <eggert@cs.ucla.edu>
1058
1059         * regex.m4: Import from gnulib, to fix some 64-bit bugs.
1060
1061 2005-09-01  Jim Meyering  <jim@meyering.net>
1062
1063         * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
1064         CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
1065         Require gl_STAT_MACROS, too.
1066
1067 2005-08-27  Jim Meyering  <jim@meyering.net>
1068
1069         * fcntl-safer.m4, stdio-safer.m4, unistd-safer.m4: Sync from gnulib.
1070
1071 2005-08-01  Jim Meyering  <jim@meyering.net>
1072
1073         * xanstrftime.m4 (gl_FUNC_XANSTRFTIME): New file/macro.
1074         * jm-macros.m4: Require gl_FUNC_XANSTRFTIME.
1075
1076 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
1077
1078         * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_ELSE instead of the
1079         obsolescent AC_TRY_RUN.  Include the default includes files, for 'exit'.
1080
1081 2005-07-21  Paul Eggert  <eggert@cs.ucla.edu>
1082
1083         * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
1084         (gl_GETDATE): Use it.
1085
1086 2005-07-13  Paul Eggert  <eggert@cs.ucla.edu>
1087
1088         * lib-check.m4 (cu_LIB_CHECK): Remove no-longer-necessary check
1089         for fesetround.
1090
1091 2005-07-08  Paul Eggert  <eggert@cs.ucla.edu>
1092
1093         * jm-macros.m4 (gl_CHECK_ALL_HEADERS): Check for stropts.h.
1094
1095 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
1096
1097         * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1098         * same.m4 (gl_SAME): Likewise.
1099         Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1100
1101         Switch to Isamu Hasegawa's implementation of regex, which is
1102         now in gnulib.
1103         * regex.m4: Import from gnulib.
1104
1105 2005-07-04  Paul Eggert  <eggert@cs.ucla.edu>
1106
1107         * prereq.m4 (gl_PREREQ): Don't require gl_TYPEOF; no longer needed.
1108         * typeof.m4: Remove; no longer needed.
1109
1110 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
1111
1112         Remove the dependency of the strftime module on the tzset module.
1113         * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1114         * prereq.m4 (gl_PREREQ): Add gl_FUNC_TZSET_CLOBBER.
1115
1116 2005-07-03  Jim Meyering  <jim@meyering.net>
1117
1118         * lstat.m4 (gl_FUNC_LSTAT): New file, from gnulib.
1119         Use AC_LIBSOURCES to require lstat.c and lstat.h.
1120         Remove obsolete comment.
1121
1122 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
1123
1124         * fts.m4 (gl_FUNC_FTS_CORE): Don't require
1125         AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
1126         module's job.
1127         * jm-macros.m4 (gl_MACROS): Likewise.
1128         * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
1129
1130 2005-07-03  Jim Meyering  <jim@meyering.net>
1131
1132         * fcntl-safer.m4 (gl_FCNTL_SAFER): Add fcntl--.h to the list.
1133         * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h to the list.
1134         * stdlib-safer.m4 (gl_STDLIB_SAFER): Add stdlib--.h to the list.
1135         * unistd-safer.m4 (gl_UNISTD_SAFER): Add unistd--.h to the list.
1136
1137 2005-07-02  Paul Eggert  <eggert@cs.ucla.edu>
1138
1139         Cleanup to isolate "safer" functions to a small part of the code.
1140         * fcntl-safer.m4, fd-reopen.m4, stdlib-safer.m4: New files.
1141         * prereq.m4 (gl_PREREQ): Require gl_FCNTL_SAFER,
1142         gl_FD_REOPEN, gl_STDLIB_SAFER.
1143
1144 2005-07-02  Jim Meyering  <jim@meyering.net>
1145
1146         * check-decl.m4, chown.m4, free.m4, getcwd.m4, link-follow.m4:
1147         * mktime.m4: Assume HAVE_UNISTD_H, i.e., that <unistd.h> works.
1148
1149 2005-07-01  Jim Meyering  <jim@meyering.net>
1150
1151         * chown.m4, cloexec.m4, dup2.m4, fsusage.m4, getcwd.m4, jm-macros.m4:
1152         * mkstemp.m4, mountlist.m4, save-cwd.m4, unistd-safer.m4:
1153         Don't check for fcntl.h anymore. Now we assume it exists and is usable.
1154
1155         * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1156         Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,
1157         and don't check for fcntl.h).
1158
1159 2005-06-30  Jim Meyering  <jim@meyering.net>
1160
1161         * stdopen.m4 (gl_STDOPEN): New file/macro.
1162         * jm-macros.m4: Require it.
1163
1164 2005-06-26  Jim Meyering  <jim@meyering.net>
1165
1166         * diacrit.m4 (gl_DIACRIT): New file/macro.
1167         * jm-macros.m4: Require it.
1168
1169 2005-06-25  Jim Meyering  <jim@meyering.net>
1170
1171         * version-etc.m4 (gl_VERSION_ETC): New file/macro.
1172         * jm-macros.m4: Require it.
1173
1174         * root-dev-ino.m4 (gl_ROOT_DEV_INO): New file/macro.
1175         * jm-macros.m4: Require it.
1176
1177 2005-06-23  Jim Meyering  <jim@meyering.net>
1178
1179         * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
1180         * xstrtod.m4: Likewise.
1181
1182 2005-06-19  Jim Meyering  <jim@meyering.net>
1183
1184         * xgetcwd.m4 (gl_XGETCWD): Add `AC_LIBOBJ([xgetcwd])'.
1185         Register xgetcwd.c and xgetcwd.h via AC_LIBSOURCES.
1186
1187         * xfts.m4 (gl_FUNC_XFTS): New file/macro.
1188         * jm-macros.m4: Require it.
1189
1190 2005-06-13  Jim Meyering  <jim@meyering.net>
1191
1192         * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
1193
1194 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
1195
1196         * extensions.m4: Sync from gnulib; this defines
1197         _POSIX_PTHREAD_SEMANTICS for the benefit of Solaris.
1198
1199 2005-06-01  Paul Eggert  <eggert@cs.ucla.edu>
1200
1201         * mkdir-p.m4: Renamed from makepath.m4.
1202         (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH.  All uses changed.
1203         Rename files from makepath.c to mkdir-p.c, and from
1204         makepath.h to mkdir-p.h.
1205         * filenamecat.m4: Renamed from path-concat.m4.
1206         (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT.  All uses changed.
1207         Rename files from path-concat.c to filenamecat.c,
1208         and from path-concat.h to filenamecat.h.
1209         * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1210         "file name" in local variables or comments.
1211         * rename.m4: Likewise.
1212
1213 2005-05-30  Paul Eggert  <eggert@cs.ucla.edu>
1214
1215         * jm-macros.m4 (gl_CHECK_ALL_HEADERS): Check for priv.h.
1216
1217 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
1218
1219         * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1220         and don't require gt_INTTYPES_PRI.
1221
1222         * prereq.m4 (gl_PREREQ): Require gl_STRINTCMP, gl_STRNUMCMP.
1223         * strnumcmp.m4: New file.
1224
1225 2005-05-20  Paul Eggert  <eggert@cs.ucla.edu>
1226
1227         * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1228         (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1229
1230 2005-05-20  Eric Blake  <ebb9@byu.net>  (tiny change)
1231
1232         * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1233         of -1.
1234
1235 2005-05-18  Paul Eggert  <eggert@cs.ucla.edu>
1236
1237         * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1238         Don't check for stddef.h.
1239         * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1240         don't use its results.
1241         Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1242         since we include them unconditionally.  Don't require
1243         AM_STDBOOL_H, since stdbool is a prerequisite.
1244         Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1245         since we assume C89 or better.
1246         Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1247         as we don't use their results.
1248         Don't check for fchdir, memmove, memset, strrchr, as we use
1249         them unconditionally.
1250         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1251         GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1252         * jm-macros.m4 (gl_MACROS): Require AC_FUNC_LSTAT.
1253         Don't check for memcpy, strchr, strerror, strrchr, float.h.
1254         Use AC_REQUIRE on AM_LANGINFO_CODESET and gl_GLIBC21 rather
1255         than invoking them directly.
1256         (gl_CHECK_ALL_HEADERS): Don't check for errno.h, float.h,
1257         limits.h, stddef.h, since we assume C89 now.
1258         * lib-check.m4: Add copyright notice.
1259         (cu_LIB_CHECK): Renamed from gl_LIB_CHECK.
1260         Don't check for sqrt; factor no longer needs it.
1261         Revamp tests for floor, modf, rint, to define SEQ_LIBM.
1262         Redo tests for fesetround to act like the other wons.
1263         Use "cu_saved_libs" for local var name, not "ac_su_saved_lib".
1264         * prereq.m4: Add copyright notice.
1265         (gl_PREREQ): Add gl_LOCALCHARSET.
1266         * localcharset.m4: New file, from gnulib.
1267
1268 2005-05-16  Jim Meyering  <jim@meyering.net>
1269
1270         * fts.m4 (gl_FUNC_FTS): Don't require AC_FUNC_MALLOC or
1271         AC_FUNC_REALLOC.  They are not needed.
1272
1273 2005-05-14  Jim Meyering  <jim@meyering.net>
1274
1275         * unlinkdir.m4: Register unlinkdir.c and unlinkdir.h via AC_LIBSOURCES.
1276         Add `AC_LIBOBJ([unlinkdir])'.
1277
1278 2005-05-14  Paul Eggert  <eggert@cs.ucla.edu>
1279
1280         * prereqs.m4 (gl_PREREQ): Require gl_UNLINKDIR.
1281         * unlinkdir.m4: New file.
1282
1283 2005-05-13  Jim Meyering  <jim@meyering.net>
1284
1285         * prereq.m4: Don't require gl_FUNC_STAT or gl_FUNC_LSTAT.
1286         * stat.m4: Remove unnecessary file.
1287         * lstat.m4: Remove unnecessary file.
1288
1289         * readdir.m4 (GL_FUNC_READDIR): Remove, now that remove.c no
1290         longer needs it.
1291         * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_READDIR.
1292
1293 2005-05-10  Derek Price  <derek@ximbiot.com>
1294
1295         * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1296         possible.
1297
1298 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
1299
1300         * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1301         needless checks.
1302
1303 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
1304
1305         * getpass.m4, gettext.m4: Sync from gnulib.
1306
1307 2005-04-28  Paul Eggert  <eggert@cs.ucla.edu>
1308
1309         * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1310         * jm-macros.m4 (gl_CHECK_ALL_TYPES): Likewise.
1311         * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1312         (gl_PREREQ_CHOWN): Remove.
1313         * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1314         it.  Don't require AC_HEADER_STAT.
1315         (gl_PREREQ_LSTAT): Remove.
1316         * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1317         Don't require AC_HEADER_STAT.
1318         * prereq.m4 (gl_PREREQ): Require gl_STAT_MACROS.
1319         * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1320         (gl_PREREQ_RMDIR): Remove.
1321
1322 2005-04-27  Paul Eggert  <eggert@cs.ucla.edu>
1323
1324         * stat-macros.m4: New file, from gnulib, except that gl_STAT_MACROS
1325         also requires AC_HEADER_STAT.
1326         * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1327         mention stat-macros.h or AC_HEADER_STAT, since we'll make
1328         the stat-macros module a prerequisite.
1329         * file-type.m4 (gl_FILE_TYPE): Likewise.
1330         * filemode.m4 (gl_FILEMODE): Likewise.
1331         * makepath.m4 (gl_MAKEPATH): Likewise.
1332         * modechange.m4 (gl_MODECHANGE): Likewise.
1333
1334 2005-04-18  Paul Eggert  <eggert@cs.ucla.edu>
1335
1336         * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1337         variable names.
1338         * jm-macros.m4 (gl_MACROS): Use gl_ or coreutils_ rather than fetish_
1339         for prefixes.
1340         * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1341         fetish_FUNC_RMDIR_NOTEMPTY.  All uses changed.  Use gl_ for
1342         variable prefixes.
1343
1344 2005-04-11  Paul Eggert  <eggert@cs.ucla.edu>
1345
1346         Add bulletproofing for cases where stdin, stdout, or stderr are closed.
1347         * fcntl-safer.m4: Remove.
1348         * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1349         * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1350         Invoke gl_PREREQ_FD_SAFER.
1351         (gl_PREREQ_FD_SAFER): New macro.
1352         * prereq.m4 (gl_PREREQ): Don't require gl_FCNTL_SAFER.
1353
1354 2005-04-08  Paul Eggert  <eggert@cs.ucla.edu>
1355
1356         * jm-macros.m4 (gl_MACROS): Check for siginterrupt.
1357         * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Likewise.
1358         * jm-macros.m4 (gl_CHECK_ALL_TYPES): Do not require AC_TYPE_SIGNAL.
1359
1360 2005-03-30  Paul Eggert  <eggert@cs.ucla.edu>
1361
1362         * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1363         Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1364         Remove duplicate call to AC_LIBOBJ(readutmp).
1365         (gl_PREREQ_READUTMP): Remove.  All uses inlined.
1366
1367 2005-03-28  Eric Blake  <ebb9@byu.net>  (tiny change)
1368
1369         * getcwd-path-max.m4: Return success on systems such as Cygwin
1370         where no absolute path name can be longer than PATH_MAX.
1371
1372 2005-03-21  Paul Eggert  <eggert@cs.ucla.edu>
1373
1374         * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Add stat-macros.h
1375         to AC_LIBSOURCES.
1376         * file-type.m4 (gl_FILE_TYPE): Likewise.
1377         * filemode.m4 (gl_FILEMODE): Likewise.
1378         * makepath.m4 (gl_MAKEPATH): Likewise.
1379         * xstrtol.m4 (gl_XSTRTOL): Add xstrtoul.c to AC_LIBSOURCES.
1380         Add xstrtoul to AC_LIBOBJ.
1381
1382         * onceonly.m4: Remove.
1383         * onceonly_2_57.m4: Add.
1384         This change shrinks "configure" by over 300 kB.
1385
1386         Another change imported from gnulib.
1387         * memcasecmp.m4 (gl_MEMCASECMP): Renamed from gl_FUNC_MEMCASECMP.
1388         All uses changed.  Require AC_HEADER_STDC instead of invoking it.
1389         Remove check for stddef.h, size_t, const, since we now assume
1390         C89 or better.
1391
1392 2005-03-20  Paul Eggert  <eggert@cs.ucla.edu>
1393
1394         * gettext.m4, inttypes.m4, isc-posix.m4, lib-link.m4, nls.m4,
1395         onceonly.m4, po.m4: Sync from gnulib.
1396
1397 2005-03-17  Jim Meyering  <jim@meyering.net>
1398
1399         * typeof.m4 (gl_TYPEOF): New file/macro.
1400         * prereq.m4 (gl_PREREQ): Require gl_TYPEOF.
1401
1402 2005-03-10  Jim Meyering  <jim@meyering.net>
1403
1404         * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1405
1406         * human.m4 (gl_HUMAN): Add intprops.h.
1407         * inttostr.m4 (gl_INTTOSTR): Likewise
1408         * sig2str.m4 (gl_FUNC_SIG2STR): Likewise.
1409         * userspec.m4 (gl_USERSPEC): Likewise.
1410         * utimecmp.m4 (gl_UTIMECMP): Likewise.
1411         * xnanosleep.m4 (gl_XNANOSLEEP): Likewise.
1412
1413         * xstrtol.m4 (gl_XSTRTOL): Use AC_LIBSOURCES and AC_LIBOBJ
1414         to list the required files.
1415
1416 2005-03-09  Jim Meyering  <jim@meyering.net>
1417
1418         * argmatch.m4, cycle-check.m4: New files.
1419         * prereq.m4: Require their macros.
1420
1421 2005-03-01  Paul Eggert  <eggert@cs.ucla.edu>
1422
1423         * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1424         to detect nanosleep bug.
1425
1426 2005-02-25  Paul Eggert  <eggert@cs.ucla.edu>
1427
1428         * gettext.m4, inttypes-pri.m4, lib-link.m4, lib-prefix.m4, nls.m4,
1429         po.m4, progtest.m4: Sync from gnulib.
1430
1431 2005-02-23  Jim Meyering  <jim@meyering.net>
1432
1433         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
1434         Thanks to Bruno Haible for catching it.
1435
1436 2005-02-22  Jim Meyering  <jim@meyering.net>
1437
1438         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
1439
1440 2005-02-21  Paul Eggert  <eggert@cs.ucla.edu>
1441
1442         * xnanosleep.m4: New file.
1443         * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Require gl_CLOCK_TIME,
1444         gl_USE_SYSTEM_EXTENSIONS.  Check whether CLOCK_MONOTONIC is
1445         defined, and set LIB_GETHRXTIME accordingly.  This is needed
1446         for newer GNU/Linux systems that have clock_gettime, so that they
1447         link in the appropriate library for it when needed.
1448         * prereq.m4 (gl_PREREQ): Require gl_XNANOSLEEP.
1449
1450 2005-02-20  Paul Eggert  <eggert@cs.ucla.edu>
1451
1452         * gethrxtime.m4: New file.
1453         * gettime.m4 (gl_GETTIME): Check for nanotime.
1454         * jm-macros.m4 (gl_MACROS): Don't check for gethrtime.
1455         * prereq.m4 (gl_PREREQ): Require gl_GETHRXTIME.
1456
1457 2005-02-20  Jim Meyering  <jim@meyering.net>
1458
1459         * stripslash.m4: New file.
1460         * linebuffer.m4: New file.
1461         * prereq.m4 (gl_PREREQ): Require gl_STRIPSLASH and gl_LINEBUFFER.
1462
1463 2005-02-11  Jim Meyering  <jim@meyering.net>
1464
1465         * inttostr.m4 (gl_INTTOSTR): Use AC_LIBSOURCES to list the
1466         required source files.
1467
1468 2005-02-09  Jim Meyering  <jim@meyering.net>
1469
1470         * getcwd.m4 (gl_FUNC_GETCWD_NULL): Use AC_LIBSOURCES to list the
1471         required source files.
1472
1473 2005-02-08  Jim Meyering  <jim@meyering.net>
1474
1475         * memcasecmp.m4 (gl_FUNC_MEMCASECMP): New file and macro.
1476         * prereq.m4: Require gl_FUNC_MEMCASECMP.
1477
1478 2005-02-07  Jim Meyering  <jim@meyering.net>
1479
1480         * fts.m4 (gl_FUNC_FTS): New file and macro.
1481         * prereq.m4: Require gl_FUNC_FTS.
1482
1483 2005-02-06  Jim Meyering  <jim@meyering.net>
1484
1485         * memrchr.m4 (gl_FUNC_MEMRCHR): Check for declaration of memrchr.
1486
1487         * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Depend on gl_FUNC_MEMRCHR.
1488
1489 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
1490
1491         * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
1492
1493 2005-01-29  Jim Meyering  <jim@meyering.net>
1494
1495         Use AC_LIBSOURCES to list corresponding source (.c, .h, .y) files
1496         so that automake automatically knows to distribute those files.
1497         Use AC_LIBOBJ to ensure that automake automatically knows the
1498         names of always-compiled source files.  Automake already knows
1499         the names of conditionally compiled ones, e.g., due to preexisting
1500         uses of AC_LIBOBJ and AC_REPLACE_FUNCS.
1501         [This is a start.  Many still remain to be fixed...]
1502
1503         * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4:
1504         * canonicalize.m4, cloexec.m4, closeout.m4, dirfd.m4, dirname.m4:
1505         * exclude.m4, exitfail.m4, file-type.m4, filemode.m4, fpending.m4:
1506         * fsusage.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4:
1507         * gettime.m4, getugroups.m4, group-member.m4, hard-locale.m4:
1508         * hash.m4, human.m4, idcache.m4, long-options.m4, makepath.m4:
1509         * md5.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4:
1510         * path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4:
1511         * quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4:
1512         * safe-write.m4, same.m4, savedir.m4, setenv.m4, settime.m4:
1513         * sha1.m4, sig2str.m4, strdup.m4, strftime.m4, strndup.m4:
1514         * strverscmp.m4, timespec.m4, unlocked-io.m4, userspec.m4:
1515         * utimecmp.m4, utimens.m4, xalloc.m4, yesno.m4:
1516
1517 2005-01-27  Jim Meyering  <jim@meyering.net>
1518
1519         * hash-pjw.m4 (gl_HASH_PJW): New file/macro.
1520         * basename.m4 (gl_BASENAME): New file/macro.
1521         * prereq.m4: Require gl_HASH_PJW and gl_BASENAME.
1522
1523 2005-01-23  Paul Eggert  <eggert@cs.ucla.edu>
1524
1525         Sync from gnulib.
1526         * acl.m4, afs.m4, alloca.m4, assert.m4, atexit.m4,
1527         backupfile.m4, bison.m4, c-strtod.m4, calloc.m4,
1528         canon-host.m4, canonicalize.m4, clock_time.m4, cloexec.m4,
1529         closeout.m4, d-ino.m4, d-type.m4, dirfd.m4, dirname.m4,
1530         dos.m4, dup2.m4, error.m4, euidaccess.m4, exclude.m4,
1531         exitfail.m4, extensions.m4, fcntl-safer.m4, file-type.m4,
1532         fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4, free.m4,
1533         fstypename.m4, fsusage.m4, ftruncate.m4, getcwd-path-max.m4,
1534         getcwd.m4, getdate.m4, getgroups.m4, gethostname.m4,
1535         getline.m4, getndelim2.m4, getopt.m4, getpagesize.m4,
1536         getpass.m4, gettime.m4, gettimeofday.m4, getugroups.m4,
1537         getusershell.m4, group-member.m4, hard-locale.m4, hash.m4,
1538         host-os.m4, human.m4, idcache.m4, inttostr.m4, jm-winsz1.m4,
1539         jm-winsz2.m4, link-follow.m4, long-options.m4, ls-mntd-fs.m4,
1540         lstat.m4, makepath.m4, md5.m4, memchr.m4, memcmp.m4,
1541         memcoll.m4, memcpy.m4, memmove.m4, memrchr.m4, memset.m4,
1542         mkdir-slash.m4, mkstemp.m4, mktime.m4, modechange.m4,
1543         mountlist.m4, nanosleep.m4, obstack.m4, path-concat.m4,
1544         pathmax.m4, perl.m4, physmem.m4, posixtm.m4, posixver.m4,
1545         putenv.m4, quote.m4, quotearg.m4, readdir.m4, readtokens.m4,
1546         readutmp.m4, regex.m4, rename.m4, restrict.m4, rmdir-errno.m4,
1547         rmdir.m4, rpmatch.m4, same.m4, savedir.m4, settime.m4,
1548         sha1.m4, sig2str.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
1549         stdio-safer.m4, strdup.m4, strftime.m4, strndup.m4,
1550         strnlen.m4, strtod.m4, strtoimax.m4, strtol.m4, strtoll.m4,
1551         strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4,
1552         timespec.m4, tm_gmtoff.m4, tzset.m4, uint32_t.m4,
1553         uintptr_t.m4, unistd-safer.m4, unlink-busy.m4, unlocked-io.m4,
1554         uptime.m4, userspec.m4, utimbuf.m4, utime.m4, utimecmp.m4,
1555         utimens.m4, utimes-null.m4, xalloc.m4, xgetcwd.m4,
1556         xreadlink.m4, xstrtod.m4, xstrtoimax.m4, xstrtol.m4,
1557         xstrtoumax.m4, yesno.m4:
1558         Use an all-permissive copyright notice, recommended by RMS.
1559
1560 2005-01-21  Bruno Haible  <bruno@clisp.org>
1561
1562         Sync from gnulib.
1563         * allocsa.m4, chdir-long.m4, chown.m4, codeset.m4, eealloc.m4,
1564         eoverflow.m4, glibc21.m4, iconv.m4, intmax_t.m4, inttypes_h.m4,
1565         lchown.m4, lib-ld.m4, lib-link.m4, lib-prefix.m4, longdouble.m4,
1566         longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mempcpy.m4,
1567         openat.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4,
1568         signed.m4, ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4,
1569         strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, uintmax_t.m4,
1570         ullong_max.m4, ulonglong.m4, unicodeio.m4, utimes.m4,
1571         vasnprintf.m4, vasprintf.m4, wchar_t.m4, wint_t.m4:
1572         Use an all-permissive copyright notice, recommended by RMS.
1573
1574 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
1575
1576         * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
1577
1578 2005-01-14  Jim Meyering  <jim@meyering.net>
1579
1580         * utimes.m4: Work around tests/touch/empty-file failure on a system
1581         (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
1582         NULL-means-set-to-current-time semantics.
1583         Remove temporary file immediately, rather than waiting
1584         for configure's at-exit trap code to do it.
1585
1586 2005-01-04  Jim Meyering  <jim@meyering.net>
1587
1588         * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
1589         is sane and DOES follow symlinks.  Besides, testing 20 different
1590         systems found no broken chown implementations.
1591         Prompted by a change in rsync's copy of this macro.
1592
1593 2005-01-03  Paul Eggert  <eggert@cs.ucla.edu>
1594
1595         * ullong_max.m4: New file.
1596         * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
1597
1598 2005-01-03  Jim Meyering  <jim@meyering.net>
1599
1600         * mkstemp.m4 (gl_FUNC_MKSTEMP): Don't `cd' into the temporary
1601         subdirectory.  That would make the subsequent AC_TRY_RUN macro fail,
1602         for lack of the ./confdefs.h file.  Instead, use the temporary
1603         directory name as a prefix on the template string.
1604         Include <unistd.h> for the declaration of close.
1605         Remove `.tmp' suffix; mkstemp requires that XXXXXX be a suffix.
1606
1607 2004-12-23  Paul Eggert  <eggert@cs.ucla.edu>
1608
1609         * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
1610
1611 2004-12-21  Jim Meyering  <jim@meyering.net>
1612
1613         * mkstemp.m4 (gl_FUNC_MKSTEMP): Remove temporary directory right
1614         away, rather than waiting for configure's at-exit trap code to do it.
1615         Suggestion from Stepan Kasal.
1616
1617 2004-12-20  Jim Meyering  <jim@meyering.net>
1618
1619         * mkstemp.m4: Do the `cd' in a subshell.
1620
1621         * mkstemp.m4: Rather than using "conftestXXXXXX" as the mkstemp
1622         template, use a temporary directory and an 8.3-friendly template
1623         to avoid trouble on systems like DJGPP.
1624         Reported by Juan M. Guerrero via Stepan Kasal.
1625
1626 2004-12-19  Paul Eggert  <eggert@cs.ucla.edu>
1627
1628         * c-strtod.m4 (gl_C99_STRTOLD): New macro.
1629         (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
1630
1631 2004-12-10  Jim Meyering  <jim@meyering.net>
1632
1633         * chdir-long.m4 (gl_FUNC_CHDIR_LONG: Arrange to compile chdir-long.c
1634         only on systems that define PATH_MAX.
1635
1636 2004-12-07  Paul Eggert  <eggert@cs.ucla.edu>
1637
1638         * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
1639         spurious "-l"s.  Problem reported by Stepan Kasal.
1640
1641 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
1642
1643         * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
1644         in Autoconf 2.59.  Problem reported by Mark D. Baushke.
1645
1646 2004-12-06  Jim Meyering  <jim@meyering.net>
1647
1648         * save-cwd.m4 (gl_SAVE_CWD): Use AC_LIBSOURCES.
1649         Use AC_LIBOBJ(save-cwd).
1650         * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Use AC_LIBSOURCES.
1651         Use AC_LIBOBJ(chdir-long).
1652         * mempcpy.m4 (gl_FUNC_MEMPCPY): Use AC_LIBSOURCES.
1653         * lchown.m4 (gl_FUNC_LCHOWN): Likewise.
1654         * openat.m4 (gl_FUNC_OPENAT): Likewise.
1655         (gl_PREREQ_GETCWD): Use AC_REQUIRE.
1656
1657 2004-12-02  Paul Eggert  <eggert@cs.ucla.edu>
1658
1659         * openat.m4: Add copyright notice.
1660         (gl_FUNC_OPENAT): Require gl_USE_SYSTEM_EXTENSIONS, since Solaris
1661         requires __EXTENSIONS__ to be defined when compiling pedantically,
1662         if you want AT_FDCWD.
1663
1664 2004-12-01  Paul Eggert  <eggert@cs.ucla.edu>
1665
1666         * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
1667         exist.
1668         * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
1669         * jm-macros.m4 (gl_MACROS): Assume localeconv exists.
1670
1671 2004-11-30  Paul Eggert  <eggert@cs.ucla.edu>
1672
1673         * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1674         Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
1675
1676         * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
1677
1678 2004-11-30  Jim Meyering  <jim@meyering.net>
1679
1680         * chdir-long.m4: Rename from chdir.m4.
1681         * jm-macros.m4 (gl_MACROS): Reflect renaming.
1682
1683 2004-11-28  Jim Meyering  <jim@meyering.net>
1684
1685         * chdir.m4: New file.
1686         * openat.m4: New file.
1687         * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR.
1688
1689 2004-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1690
1691         * mempcpy.m4: New file, taken from gnulib.
1692         * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
1693         GL_FUNC_GETCWD_PATH_MAX for consistency.  All uses changed.
1694         Use the _ONCE methods, for efficiency.
1695         Check for fcntl.h.  In test program, include <errno.h>
1696         and <fcntl.h> if available.  Remove old K&R cruft from
1697         test program.  Check for common errors in GNU/Linux,
1698         OpenBSD, and Solaris.  Just set gl_cv_func_getcwd_path_max;
1699         don't do AC_LIBOBJ, as that's getcwd.m4's job.
1700         * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
1701         AC_FUNC_GETCWD_NULL.  All used changed.  Change cache variable
1702         name accordingly.
1703         (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros.  Revamp to
1704         accommodate new getcwd.c.
1705         * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
1706         * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
1707         * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
1708         that's all we need now.
1709
1710 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
1711
1712         * utimens.m4 (gl_UTIMENS): Check for futimes function.
1713
1714 2004-11-23  Sergey Poznyakoff  <gray@Mirddin.farlep.net>
1715
1716         * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
1717         order not to spoil the result of an eventual previous invocation
1718         of gl_GETOPT_SUBSTITUTE.
1719
1720 2004-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1721
1722         * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
1723         that mishandle size_t overflow.
1724
1725 2004-11-16  Paul Eggert  <eggert@cs.ucla.edu>
1726
1727         * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
1728
1729 2004-11-13  Jim Meyering  <jim@meyering.net>
1730
1731         * jm-macros.m4: Do require gl_FUNC_FPENDING.
1732         * fpending.m4: Restore file.
1733
1734 2004-11-11  Paul Eggert  <eggert@cs.ucla.edu>
1735
1736         * getopt.m4: Sync from gnulib.
1737
1738 2004-11-06  Jim Meyering  <jim@meyering.net>
1739
1740         * jm-macros.m4: Don't require gl_FUNC_FPENDING.
1741         * fpending.m4: Remove file.
1742
1743 2004-11-03  Paul Eggert  <eggert@cs.ucla.edu>
1744
1745         * setenv.m4: New file, from gnulib.
1746         * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
1747         * uint32_t.m4: Sync from gnulib.
1748
1749 2004-11-02  Paul Eggert  <eggert@cs.ucla.edu>
1750
1751         * getpass.m4: Sync from gnulib.
1752
1753 2004-10-29  Paul Eggert  <eggert@cs.ucla.edu>
1754
1755         * getpagesize.m4: Sync from gnulib.
1756
1757 2004-10-17  Paul Eggert  <eggert@cs.ucla.edu>
1758
1759         * jm-macros.m4 (gl_MACROS): Check for mbrlen, for pathchk.
1760         (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
1761
1762         Sync from gnulib.
1763         * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
1764         implementation of getopt_long.
1765
1766 2004-10-04  Paul Eggert  <eggert@cs.ucla.edu>
1767
1768         Sync from gnulib.
1769
1770         * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove.  All uses removed.
1771
1772         * unlocked-io.m4: Add copyright notice.
1773         (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
1774
1775 2004-10-03  Paul Eggert  <eggert@cs.ucla.edu>
1776
1777         Sync from gnulib.
1778         * mbswidth.m4: Add copyright notice.
1779         * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
1780         * eoverflow.m4: New file.
1781
1782 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
1783
1784         * getopt.m4: Sync from gnulib.
1785
1786 2004-08-11  Paul Eggert  <eggert@cs.ucla.edu>
1787
1788         * obstack.m4 (gl_PREREQ_OBSTACK): Require
1789         gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
1790
1791         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
1792
1793 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
1794
1795         * sha1.m4: Renamed from sha.m4.
1796         (gl_SHA1): Renamed from gl_SHA.  All uses changed.
1797
1798 2004-08-08  Simon Josefsson  <jas@extundo.com>
1799
1800         * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
1801         Check getpass declaration.
1802
1803 2004-08-07  Paul Eggert  <eggert@cs.ucla.edu>
1804
1805         * canonicalize.m4, getcwd-path-max.m4, strdup.m4: Merge from gnulib.
1806
1807 2004-08-05  Paul Eggert  <eggert@cs.ucla.edu>
1808
1809         Merge from gnulib.
1810
1811         * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
1812         for backward compatibility with older code.  We need our own
1813         alloca.h if _AIX is defined.  Define HAVE_ALLOCA if we discover
1814         it under some other name, and our alloca.h will define it.
1815         * backupfile.m4, calloc.m4, strtoimax.m4, strtoumax.m4:
1816         Bump serial number only.
1817         * dirfd.m4, intmax_t.m4, inttypes_h.m4, mbrtowc.m4, stdint_h.m4,
1818         uintmax_t.m4: Finish renaming jm_ to gl_.
1819         * dos.m4 (gl_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
1820         * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
1821         * prereq.m4 (gl_PREREQ): Add gl_GETTIME, AC_FUNC_CALLOC.
1822         * gettime.m4: New file.
1823         * settime.m4: Require gl_TIMESPEC; check for settimeofday, stime.
1824         * unlocked-io.m4: Remove -*- autoconf -*-.
1825         * xalloc.m4: No longer require AC_FUNC_CALLOC, AC_FUNC_MALLOC,
1826         AC_FUNC_REALLOC.
1827
1828 2004-08-04  Paul Eggert  <eggert@cs.ucla.edu>
1829
1830         OpenBSD porting fixes.
1831         * boottime.m4: Add copyright notice.
1832         (GNULIB_BOOT_TIME): Include sys/param.h before testing
1833         for sys/sysctl.h.
1834         * fsusage.m4: Add copyright notice.
1835         (gl_FSUSAGE): Include sys/param.h before checking for sys/mount.h.
1836         * jm-macros.m4: Include copyright notice.
1837         (gl_MACROS): Use the _ONCE variants when appropriate.
1838         Include sys/param.h before testing for sys/sysctl.h and sys/mount.h.
1839         * ls-mntd-fs.m4: Include copyright notice.
1840         (gl_LIST_MOUNTED_FILE_SYSTEMS): Include sys/param.h before
1841         testing for sys/mount.h.
1842         * stat-prog.m4: Include copyright notice.
1843         (cu_PREREQ_STAT_PROG): Use the _ONCE variants when appropriate.
1844         Include sys/param.h before testing for sys/mount.h.
1845
1846 2004-08-01  Paul Eggert  <eggert@cs.ucla.edu>
1847
1848         * jm-macros.m4 (gl_CHECK_ALL_TYPES):
1849         Require gl_AC_TYPE_UINTPTR_T instead of using AC_CHECK_TYPE
1850         on uintptr_t.  Require gl_AC_TYPE_UINT32_T.
1851         * md5.m4 (gl_MD5): Require gl_AC_TYPE_UINT32_T.
1852         * uint32_t.m4, uintptr_t.m4: New files.
1853
1854 2004-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1855
1856         * md5.m4 (gl_MD5): Do not require AC_C_INLINE, since it doesn't
1857         use inline any more.  Require AC_C_BIGENDIAN, though.
1858         * sha.m4 (gl_SHA): Require AC_C_BIGENDIAN.
1859
1860 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
1861
1862         * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't bother checking for
1863         unistd.h, as autoconf does this for us.  Check for libgen.h.
1864         Also look for eaccess within -lgen, which is where it is in
1865         Solaris.  Set LIB_EACCESS accordingly.
1866
1867         * backupfile.m4 (gl_BACKUPFILE): AC_REQUIRE
1868         gl_CHECK_TYPE_STRUCT_DIRENT_D_INO instead of invoking it directly.
1869         Do not require AC_FUNC_CLOSEDIR_VOID.
1870
1871 2004-07-25  Paul Eggert  <eggert@cs.ucla.edu>
1872
1873         * jm-macros.m4 (gl_MACROS): Remove test for setreuid and setregid,
1874         as test.c no longer uses them directly.
1875
1876         * euidaccess.m4 (gl_FUNC_NONREENTRANT_EUIDACCESS): New macro.
1877         (gl_FUNC_EUIDACCESS): Use AC_CHECK_DECLS_ONCE, not AC_CHECK_DECLS.
1878         (gl_PREREQ_EUIDACCESS): Check for eaccess and setregid decls.
1879         Require AC_HEADER_STAT.
1880
1881         * prereq.m4 (gl_PREREQ): Invoke gl_FUNC_NONREENTRANT_EUIDACCESS,
1882         not gl_FUNC_EUIDACCESS.
1883
1884 2004-07-23  Paul Eggert  <eggert@cs.ucla.edu>
1885
1886         * prereq.m4 (gl_PREREQ): Add gl_FCNTL_SAFER.
1887         * fcntl-safer.m4: New file.
1888
1889 2004-07-12  Paul Eggert  <eggert@cs.ucla.edu>
1890
1891         * c-strtod.m4 (gl_C_STRTOD): Add gl_USE_SYSTEM_EXTENSIONS.
1892
1893 2004-07-11  Paul Eggert  <eggert@cs.ucla.edu>
1894
1895         * c-strtod.m4: New file.
1896         * prereq.m4 (gl_PREREQ): Add gl_C_STRTOLD.
1897
1898 2004-04-03  Dmitry V. Levin  <ldv@altlinux.org>
1899
1900         * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME):
1901         Do not add canonicalize.c here.
1902
1903 2004-07-02  Paul Eggert  <eggert@cs.ucla.edu>
1904
1905         * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
1906         prerequisite modules now handle the DOS stuff.
1907         Don't check for unistd.h.
1908
1909 2004-06-30  Paul Eggert  <eggert@cs.ucla.edu>
1910
1911         * dos.m4 (gl_AC_DOS): Define FILE_SYSTEM_PREFIX_LEN, not
1912         FILESYSTEM_PREFIX_LEN.  Generate
1913         FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX, not
1914         FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.  Generate
1915         FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR, not
1916         FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
1917         * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Renamed from
1918         gl_LIST_MOUNTED_FILESYSTEMS.  All uses changed.
1919
1920 2004-06-25  Jim Meyering  <jim@meyering.net>
1921
1922         * afs.m4 (gl_AFS): Use AC_ARG_WITH instead of ancient, hard-coded
1923         AC_MSG_CHECKING/AC_MSG_RESULT etc.  From Tim Waugh.
1924
1925 2004-06-15  Paul Eggert  <eggert@cs.ucla.edu>
1926
1927         * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Fix typo: getcwd
1928         was being replaced when it shouldn't have been, and vice versa.
1929
1930 2004-06-09  Jim Meyering  <jim@meyering.net>
1931
1932         * calloc.m4 (AC_FUNC_CALLOC): Remove use of AN_FUNCTION.
1933
1934 2004-06-07  Jim Meyering  <jim@meyering.net>
1935
1936         * jm-macros.m4 (gl_MACROS): Check for the directio function.
1937
1938 2004-06-01  Jim Meyering  <jim@meyering.net>
1939
1940         * stdbool.m4: Update from gnulib.
1941
1942 2004-05-29  Jim Meyering  <jim@meyering.net>
1943
1944         * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_FUNC_CALLOC.
1945         * calloc.m4 (AC_FUNC_CALLOC, _AC_FUNC_CALLOC_IF): New file/macros.
1946
1947 2004-05-21  Jim Meyering  <jim@meyering.net>
1948
1949         * free.m4: Update from gnulib (fix reversed test).
1950
1951 2004-05-03  Jim Meyering  <jim@meyering.net>
1952
1953         Temporary work-around for the problem reported here:
1954         http://sources.redhat.com/ml/bug-automake/2004/msg00339.html
1955
1956         * gettext.m4 (AM_GNU_GETTEXT): Don't require AM_INTL_SUBDIR.
1957         (AM_INTL_SUBDIR): Comment out definition.
1958
1959 2004-05-01  Jim Meyering  <jim@meyering.net>
1960
1961         * jm-mktime.m4: Remove file.  This is now part of mktime.m4.
1962         * glibc.m4, c-stack.m4, xsize.m4, size_max.m4: Remove unused files.
1963         * printf-posix.m4, lcmessage.m4: Likewise.
1964         * gettextext.m4, intdiv0.m4, intmax.m4: Likewise.
1965
1966         * jm-macros.m4 (gl_MACROS): Move fchown-checking code to chown.m4.
1967         * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
1968         See if we need an fchown replacement.
1969         (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
1970         (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
1971         and use the replacement function if we detect either defect.
1972
1973 2004-04-22  Paul Eggert  <eggert@twinsun.com>
1974
1975         * jm-macros.m4 (gl_MACROS): Check for tcgetpgrp.
1976
1977 2004-04-23  Jim Meyering  <jim@meyering.net>
1978
1979         * jm-macros.m4: Don't check for values.h; it's no longer used.
1980
1981 2004-04-20  Jim Meyering  <jim@meyering.net>
1982
1983         Change UTILS_ to gl_ in AC_DEFINE'd names.
1984         Change utils_- and jm_-prefixed variables, too.
1985         * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
1986         UTILS_FUNC_MKDIR_TRAILING_SLASH.
1987         * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
1988         * host-os.m4 (gl_HOST_OS): Renamed from UTILS_HOST_OS.
1989
1990         * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
1991         Don't emit trailing blanks.
1992         Also rename jm_-prefixed variables to have gl_ prefix.
1993
1994         * jm-macros.m4: Reflect the renamings.
1995         * prereq.m4: Likewise.
1996
1997 2004-04-19  Jim Meyering  <jim@meyering.net>
1998
1999         * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
2000         now that readutmp.c may call `free (0)'.
2001
2002 2004-04-14  Jim Meyering  <jim@meyering.net>
2003
2004         * Makefile.am: Remove file.  With automake-1.8.3, it's no longer needed.
2005         * Makefile.am.in: Likewise.
2006         * Makefile.in: Likewise.
2007
2008         * stat-prog.m4 (cu_PREREQ_STAT_PROG): Don't use AC_CHECK_HEADERS to
2009         check for inttypes.h.  Instead, require gt_HEADER_INTTYPES_H.
2010
2011         * jm-macros.m4: Require cu_PREREQ_STAT_PROG.
2012
2013         * prereq.m4: Move prerequisite function for src/stat.c to ...
2014         * stat-prog.m4 (cu_PREREQ_STAT_PROG): New file.  Contents from prereq.m4.
2015
2016 2004-04-13  Jim Meyering  <jim@meyering.net>
2017
2018         Change `jm_' in AC_DEFINE'd names to `gl_'.  Update all uses.
2019
2020         * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
2021         * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4:
2022         * dos.m4, error.m4, fpending.m4, fstypename.m4, fsusage.m4:
2023         * ftruncate.m4, getdate.m4, getgroups.m4, gettext.m4, glibc21.m4:
2024         * group-member.m4, human.m4, intmax.m4, intmax_t.m4, inttostr.m4:
2025         * inttypes_h.m4, jm-macros.m4, jm-mktime.m4, jm-winsz1.m4:
2026         * jm-winsz2.m4, lchown.m4, lib-check.m4, link-follow.m4, longlong.m4:
2027         * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
2028         * memchr.m4, memcmp.m4, mkstemp.m4, mountlist.m4, nanosleep.m4:
2029         * path-concat.m4, perl.m4, prereq.m4, putenv.m4, quotearg.m4:
2030         * regex.m4, stat.m4, stdint_h.m4, strftime.m4, strtoimax.m4:
2031         * strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4, uintmax_t.m4:
2032         * ulonglong.m4, unlink-busy.m4, unlocked-io.m4, uptime.m4, utimbuf.m4:
2033         * utime.m4, utimens.m4, utimes-null.m4, vasnprintf.m4, xstrtoimax.m4:
2034         * xstrtol.m4, xstrtoumax.m4: Change jm_ to gl_ in AC_DEFINE'd names.
2035
2036 2004-03-27  Paul Eggert  <eggert@twinsun.com>
2037
2038         * utimecmp.m4: New file.
2039         * prereq.m4 (jm_PREREQ): Require gl_UTIMECMP.
2040
2041 2004-04-07  Paul Eggert  <eggert@twinsun.com>
2042
2043         * jm-macros.m4 (jm_MACROS): Check for fdatasync within
2044         -lrt and -lposix4, so that it can be used in Solaris 2.5.1 and later.
2045
2046 2004-03-30  Paul Eggert  <eggert@twinsun.com>
2047
2048         * c-stack.m4, getline.m4, getndelim2.m4, mbswidth.m4, po.m4,
2049         strdup.m4, xsize.m4: Sync from gnulib.
2050
2051         * allocsa.m4, cloexec.m4, eealloc.m4, inttostr.m4, mbstate_t.m4:
2052         New files, from gnulib.
2053
2054         * prereq.m4 (jm_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR.
2055
2056 2004-03-31  Jim Meyering  <jim@meyering.net>
2057
2058         * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
2059         Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2060         * xalloc.m4: Likewise.
2061
2062         * realloc.m4: Remove file, since now it does no more than
2063         AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
2064         the `configure.ac' section of module/realloc.
2065         * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
2066
2067 2004-02-29  Paul Eggert  <eggert@twinsun.com>
2068
2069         * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
2070         * getdate.m4 (gl_GETDATE): Remove time-related stuff.
2071         Require AM_STDBOOL_H and gl_TIMESPEC instead.
2072         Require gl_CLOCK_TIME.
2073
2074 2004-03-07  Paul Eggert  <eggert@twinsun.com>
2075
2076         * Makefile.am.in (Makefile.am):
2077         Don't use $<, as it doesn't work with Solaris make.
2078
2079 2004-01-29  Jim Meyering  <jim@meyering.net>
2080
2081         Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
2082         * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
2083         on some systems one must include <grp.h> before it.
2084         Reported by Christian Krackowizer.
2085
2086 2004-01-16  Jim Meyering  <jim@meyering.net>
2087
2088         * onceonly.m4: Sync with version from gettext-0.13.1.
2089
2090 2003-10-08  Paul Eggert  <eggert@twinsun.com>
2091
2092         Merge from gnulib.
2093
2094         * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2095
2096 2003-08-26  Bruno Haible  <bruno@clisp.org>
2097
2098         Merge from gnulib.
2099
2100         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2101         This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2102         followed by '#define fnmatch fnmatch_posix' gives an error.
2103
2104 2004-01-14  Paul Eggert  <eggert@twinsun.com>
2105
2106         * posixv.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
2107
2108 2004-01-13  Jim Meyering  <jim@meyering.net>
2109
2110         * gettext.m4, lib-ld.m4, lib-prefix.m4, nls.m4, po.m4:
2111         Update from gettext-0.13.1.
2112         * intmax.m4, isc-posix.m4, printf-posix.m4, size_max.m4, xsize.m4:
2113         New files.  From gettext-0.13.1.
2114
2115 2004-01-11  Paul Eggert  <eggert@twinsun.com>
2116
2117         * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): Move
2118         the documentation from 'configure' into 'config.hin',
2119         so that 'configure --help' isn't burdened by it and
2120         we don't have to worry about its formatting there.
2121         Reword the documentation so that it's more succinct
2122         and can be run together into a single paragraph.
2123
2124 2004-01-12  Jim Meyering  <jim@meyering.net>
2125
2126         * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2127
2128 2003-12-20  Jim Meyering  <jim@meyering.net>
2129
2130         * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2131
2132         * open-max.m4 (UTILS_SYS_OPEN_MAX): Remove file.  No longer used.
2133
2134         * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2135         value, $ac_cv_search_crypt, if it's "none required".
2136
2137 2003-12-19  Jim Meyering  <jim@meyering.net>
2138
2139         * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2140         if no library is required.
2141
2142 2003-12-18  Jim Meyering  <jim@meyering.net>
2143
2144         * search-libs.m4 (AC_SEARCH_LIBS): Remove file/macro, now that
2145         this replacement is no longer needed.  Besides, this macro has
2146         no effect with autoconf-2.58, since `undefine' in package-supplied
2147         .m4 files is no longer honored.  Reported by Andreas Schwab.
2148
2149         Remove now-unnecessary (and unused) files.  They also used `undefine'.
2150         * isc-posix.m4 (AC_ISC_POSIX): Remove file.
2151         * getloadavg.m4 (gl_FUNC_GETLOADAVG): Remove file.
2152         * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2153         not gl_FUNC_GETLOADAVG.
2154
2155 2003-11-08  Jim Meyering  <jim@meyering.net>
2156
2157         * inttypes.m4: Sync from gnulib (this file was previously empty,
2158         to work around some sort of problem).
2159
2160 2003-11-08  Alexandre Duret-Lutz  <adl@gnu.org>
2161
2162         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2163         value, $ac_cv_search_nanosleep, if it's "none required".
2164
2165 2003-11-05  Paul Eggert  <eggert@twinsun.com>
2166
2167         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
2168
2169 2003-11-05  Jim Meyering  <jim@meyering.net>
2170
2171         * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2172         * free.m4: New file, from gnulib.
2173
2174         * exitfail.m4, host-os.m4, strndup.m4: Update from gnulib.
2175
2176         * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2177         (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2178
2179 2003-10-13  Paul Eggert  <eggert@twinsun.com>
2180
2181         * xalloc.m4: Import latest version from gnulib.
2182
2183 2003-10-06  Jim Meyering  <jim@meyering.net>
2184
2185         * ftw.m4: Remove now-unused file.
2186
2187 2003-10-05  Jim Meyering  <jim@meyering.net>
2188
2189         * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2190
2191 2003-09-17  Paul Eggert  <eggert@twinsun.com>
2192
2193         Update from gnulib.
2194         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2195         to avoid spurious warnings like "AC_RUN_IFELSE was called before
2196         gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2197
2198 2003-09-12  Paul Eggert  <eggert@twinsun.com>
2199
2200         More patches to assume C89 or better.
2201
2202         * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2203         * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2204         * userspec.m4 (gl_USERSPEC): Likewise.
2205         * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2206         * xstrtod.m4 (gl_XSTRTOD): Likewise.
2207         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2208         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2209         memcpy, memset.
2210         (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2211         * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2212         * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2213         * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2214         * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2215         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2216         strtoul.
2217
2218 2003-09-12  Paul Eggert  <eggert@twinsun.com>
2219
2220         * error.m4 (gl_ERROR): Don't check for vprintf.
2221         Require AC_FUNC_STRERROR_R rather than invoking it.
2222
2223 2003-09-12  Paul Eggert  <eggert@twinsun.com>
2224
2225         * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2226         unconditionally.
2227         * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2228         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2229         Include <string.h>, <stdlib.h> unconditionally.
2230         * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2231         * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2232         * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2233         or for string.h.
2234         * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlb.h
2235         or strtoul.
2236         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2237         and AC_MINIX, too, so that their extensions are available.
2238
2239         * prereq.m4 (jm_PREREQ_ADDEXT): Remove.  All uses removed.
2240         This macro has been superseded by gl_BACKUPFILE.
2241
2242 2003-09-12  Jim Meyering  <jim@meyering.net>
2243
2244         * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2245         gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2246         * readtokens.m4: New file, from gnulib
2247         * md5.m4: Likewise.
2248         * makepath.m4: Likewise.
2249         * long-options.m4: Likewise.
2250         * idcache.m4: Likewise.
2251         * getugroups.m4: Likewise.
2252
2253 2003-09-11  Paul Eggert  <eggert@twinsun.com>
2254
2255         More patches to assume C89 or better.
2256         * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2257         * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2258         string.h, memchr, STDC_HEADERS.
2259
2260 2003-09-10  Bruno Haible  <bruno@clisp.org>
2261
2262         * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2263         * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2264         * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2265         * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2266         * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2267         * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2268
2269 2003-09-09  Paul Eggert  <eggert@twinsun.com>
2270
2271         * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2272         * getopt.m4 (gl_GETOPT): Don't check for string.h.
2273         * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2274         * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2275         headers.
2276         * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2277         string.h.
2278         * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2279         * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2280         * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2281         * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2282         * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2283         * memcoll.m4 (gl_MEMCOLL): Likewise.
2284         * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2285         * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2286         string.h, free.
2287         * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2288         * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2289         * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2290         C headers, or for string.h.
2291         * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2292         (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2293         * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2294         headers, memory.h, stdlib.h, string.h, strings.h.
2295         * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2296         * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2297         * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2298         strchr.
2299         * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2300         * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2301         free.
2302         * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2303         * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2304         * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2305         * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2306
2307 2003-09-09  Derek Robert Price  <derek@ximbiot.com>
2308
2309         * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2310         C89 spec.
2311
2312 2003-09-08  Paul Eggert  <eggert@twinsun.com>
2313
2314         Assume C89 or better; remove K&R cruft.
2315         * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2316         * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2317         string.h, getenv, malloc.
2318         * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2319         headers.
2320         * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2321         * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2322         do not check for strerror.
2323         * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2324         * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2325         * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove.  All uses removed.
2326         * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2327
2328 2003-08-27  Jim Meyering  <jim@meyering.net>
2329
2330         * mkstemp.m4: Require that the system mkstemp be able to create
2331         70 temporary files, not just 30.  Tru64 V4.0F's mkstemp function
2332         would fail after 32.  Reported by Danny Levinson.  Details here:
2333         http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2334
2335 2003-08-19  Jim Meyering  <jim@meyering.net>
2336
2337         * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2338         http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2339
2340 2003-08-18  Paul Eggert <eggert@twinsun.com>
2341
2342         * same.m4 (gl_SAME): Do not check for stdlib.h or string.h or free.
2343         Check for pathconf.
2344
2345 2003-08-18  Jim Meyering  <jim@meyering.net>
2346
2347         * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2348         * lib-ld.m4: Likewise.
2349         * po.m4: Likewise.
2350
2351 2003-08-18  Paul Eggert  <eggert@twinsun.com>
2352         and Jim Meyering  <jim@meyering.net>
2353
2354         It turns out that we need AM_NLS and AM_PO_SUBDIRS after all;
2355         otherwise po/POTFILES and po/Makefile aren't built by 'configure'.
2356         I'm not sure why I didn't catch this earlier; most likely some
2357         leftover build files.  Sorry about that.
2358         * gettextext.m4 (AM_NLS, AM_PO_SUBDIRS): Remove definitions.
2359         * nls.m4, po.m4: New files, taken from gnulib / gettext.
2360
2361 2003-08-16  Paul Eggert  <eggert@twinsun.com>
2362
2363         Sync with gnulib.
2364
2365         * gettextext.m4: New file.
2366
2367         * atexit.m4, backupfile.m4, canon-host.m4, clock_time.m4,
2368         closeout.m4, dirname.m4, dup2.m4, euidaccess.m4, exclude.m4,
2369         exitfail.m4, file-type.m4, fileblocks.m4, filemode.m4, getdate.m4,
2370         gethostname.m4, getloadavg.m4, getopt.m4, getpagesize.m4,
2371         getpass.m4, getusershell.m4, hard-locale.m4, hash.m4, malloc.m4,
2372         memchr.m4, memcpy.m4, memmove.m4, memrchr.m4, memset.m4,
2373         modechange.m4, mountlist.m4, obstack.m4, path-concat.m4,
2374         pathmax.m4, physmem.m4, posixtm.m4, posixver.m4, quote.m4,
2375         quotearg.m4, readlink.m4, readutmp.m4, realloc.m4, rmdir.m4,
2376         rpmatch.m4, safe-read.m4, safe-write.m4, same.m4, save-cwd.m4,
2377         savedir.m4, settime.m4, sha.m4, sig2str.m4, stdio-safer.m4,
2378         stpcpy.m4, strcase.m4, strcspn.m4, strdup.m4, strndup.m4,
2379         strnlen.m4, strpbrk.m4, strstr.m4, strtod.m4, strtoimax.m4,
2380         strtol.m4, strtoll.m4, strtoul.m4, strtoull.m4, strtoumax.m4,
2381         strverscmp.m4, ulonglong.m4, unicodeio.m4, unistd-safer.m4,
2382         userspec.m4, xalloc.m4, xgetcwd.m4, xreadlink.m4, xstrtod.m4,
2383         xstrtol.m4, yesno.m4: New files, from gnulib.
2384
2385         * acl.m4, check-decl.m4, chown.m4, c-stack.m4, d-ino.m4,
2386         d-type.m4, fileblocks.m4, fsusage.m4, ftruncate.m4, getcwd.m4,
2387         getgroups.m4, getline.m4, getndelim2.m4, gettext.m4,
2388         gettimeofday.m4, group-member.m4, host-os.m4, iconv.m4,
2389         intmax_t.m4, inttypes-pri.m4, jm-macros.m4, lchown.m4, lib-ld.m4,
2390         lib-link.m4, lib-prefix.m4, longdouble.m4, longlong.m4,
2391         ls-mntd-fs.m4, lstat.m4, mbrtowc.m4, mbswidth.m4, memcmp.m4,
2392         mkdir-slash.m4, mkstemp.m4, nanosleep.m4, onceonly.m4, prereq.m4,
2393         progtest.m4, putenv.m4, readdir.m4, rename.m4, stat.m4, tzset.m4,
2394         utimbuf.m4, utime.m4, vasnprintf.m4, xstrtoimax.m4, xstrtoumax.m4:
2395         Sync with gnulib.
2396
2397 2003-08-15  Jim Meyering  <jim@meyering.net>
2398
2399         * utimes.m4 (gl_FUNC_UTIMES): Use `conftest.utimes' as the test
2400         file name, not `x'.  The former will be removed automatically.
2401
2402 2003-08-13  Jim Meyering  <jim@meyering.net>
2403
2404         * README: Remove file.
2405         * Makefile.am.in: Simplify.
2406         (Makefile.am): Remove README.
2407
2408 2003-08-10  Jim Meyering  <jim@meyering.net>
2409
2410         * utimes.m4 (gl_FUNC_UTIMES): New file.
2411         * utimens.m4: Require gl_FUNC_UTIMES.
2412         Don't check for utime or utimes.
2413
2414         * utimes.m4: Removed.
2415         * utimes-null.m4: Renamed from utimes.m4.
2416
2417 2003-08-06  Paul Eggert  <eggert@twinsun.com>
2418
2419         * prereq.m4 (jm_PREREQ): Require gl_UTIMENS.
2420         * utimens.m4: New file.
2421
2422 2003-08-08  Paul Eggert  <eggert@twinsun.com>
2423
2424         * vasnprintf.m4 (gl_PREREQ_VASNPRINTF):
2425         Solaris 2.5.1 needs -lw to get the wcslen function.
2426
2427 2003-08-08  Paul Eggert  <eggert@twinsun.com>
2428
2429         Use new gnulib 'extensions' module.
2430         * extensions.m4, unlocked-io.m4: New files, from gnulib.
2431         * gnu-source.m4, jm-glibc-io.m4: Remove.
2432         * timespec.m4: Merge from gnulib.
2433
2434 2003-08-08  Paul Eggert  <eggert@twinsun.com>
2435
2436         * jm-macros.m4 (jm_MACROS): Replace jm_INCLUDED_REGEX([lib/regex.c])
2437         with gl_REGEX.
2438         Replace jm_FUNC_MKTIME with gl_FUNC_MKTIME.
2439         Remove redundant AC_FUNC_FNMATCH_GNU, jm_FUNC_MKTIME.
2440         Remove AC_FUNC_VPRINTF.
2441         Add gl_ERROR.
2442
2443 2003-08-05  Paul Eggert  <eggert@twinsun.com>
2444
2445         * jm-macros.m4 (jm_MACROS): Use gl_GETNDELIM2 rather than
2446         checking for getdelim.
2447         (jm_CHECK_ALL_TYPES): Use gt_TYPE_SSIZE_T for ssize_t rather
2448         than rolling our own.
2449         Merge getline from gnulib.
2450         * getline.m4: Merge from gnulib.
2451         * getndelim2.m4, ssize_t.m4: New files, from gnulib.
2452
2453 2003-08-04  Paul Eggert  <eggert@twinsun.com>
2454
2455         * regex.m4: Merge with gnulib.
2456         (gl_REGEX): New macro.
2457         (jm_INCLUDED_REGEX): Don't assume Latin-1 encoding of source code.
2458         * restrict.m4: Merge with gnulib.
2459         (gl_C_RESTRICT): Renamed from ACX_C_RESTRICT.  All uses changed.
2460         Rename cache vars to gl_cv_*.  Incorporate latest Autoconf CVS tricks.
2461
2462 2003-08-05  Paul Eggert  <eggert@twinsun.com>
2463
2464         * gnu-source.m4: New file, taken from gnulib, with support
2465         added for __EXTENSIONS__ a la Solaris.
2466         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Call gl_TIMESPEC rather
2467         than jm_CHECK_TYPE_STRUCT_TIMESPEC.
2468         * st_mtim.m4: Sync with gnulib (white space change only).
2469         * timespec.m4: Sync with gnulib, except also require
2470         AC_GNU_SOURCE.
2471
2472 2003-08-05  Paul Eggert  <eggert@twinsun.com>
2473
2474         * prereq.m4 (jm_PREREQ_PHYSMEM, jm_PREREQ_STAT): Ignore headers
2475         that are present but cannot be compiled.  This avoids spurious warnings
2476         on Solaris 9 sparc with Forte Developer 7 C 5.4.
2477
2478 2003-08-04  Paul Eggert  <eggert@twinsun.com>
2479
2480         Merge fnmatch module from gnulib.
2481         * fnmatch.m4: New file, from gnulib.
2482         * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FNMATCH_GNU
2483         instead of AC_FUNC_ERROR_AT_LINE.
2484
2485 2003-08-04  Paul Eggert  <eggert@twinsun.com>
2486
2487         * error.m4: Sync from gnulib.
2488
2489 2003-07-23  Jim Meyering  <jim@meyering.net>
2490
2491         * lstat.m4, mkstemp.m4, regex.m4, stat.m4: Normalize naming of Sun
2492         operating systems in comments, e.g., SunOS4 -> SunOS 4,
2493         Solaris5.9 -> Solaris 9.  From Paul Eggert.
2494
2495 2003-07-18  Paul Eggert  <eggert@twinsun.com>
2496
2497         * jm-macros.m4 (jm_MACROS): Invoke gl_MEMCOLL.
2498         * memcoll.m4: New file, from gnulib.
2499         Based on a patch from Andreas Schwab.
2500
2501 2003-07-14  Jim Meyering  <jim@meyering.net>
2502
2503         * Makefile.am.in: Correct comment on first line.
2504
2505 2003-07-12  Jim Meyering  <jim@meyering.net>
2506
2507         * jm-macros.m4 (OPTIONAL_BIN_ZCRIPTS): Remove unused variable.
2508
2509 2003-07-10  Jim Meyering  <jim@meyering.net>
2510
2511         * jm-macros.m4 (jm_MACROS): Require gl_FUNC_VASPRINTF and
2512         gl_FUNC_VASNPRINTF.
2513
2514         * longdouble.m4, signed.m4, vasnprintf.m4, vasprintf.m4, wchar_t.m4:
2515         * wint_t.m4: New files, in support of new asprintf use.  From gnulib.
2516
2517         * stdint_h.m4: New file.
2518         * inttypes_h.m4: New file.
2519         * uintmax_t.m4: New file.
2520         * intmax_t.m4: New file.
2521         * inttypes.m4: Remove file.  Use intmax_t.m4 and uintmax_t.m4
2522         from gnulib, instead.
2523
2524 2003-06-09  Jim Meyering  <jim@meyering.net>
2525
2526         * tzset.m4 (gl_FUNC_TZSET_CLOBBER): Also define gmtime.
2527         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Likewise.
2528         Suggestion from Paul Eggert.
2529
2530 2003-06-08  Jim Meyering  <jim@meyering.net>
2531
2532         * tzset.m4 (gl_FUNC_TZSET_CLOBBER): New file/macro.
2533         Used by strftime.m4.
2534         * strftime.m4 (_jm_STRFTIME_PREREQS): Require gl_FUNC_TZSET_CLOBBER.
2535
2536 2003-06-07  Jim Meyering  <jim@meyering.net>
2537
2538         * strftime.m4: Update from gnulib.
2539         * tm_gmtoff.m4: New file, used by strftime.m4.
2540         * mktime.m4: New file.  From gnulib.
2541
2542 2003-06-06  Jim Meyering  <jim@meyering.net>
2543
2544         * jm-macros.m4: Require gl_FUNC_ALLOCA.
2545         * alloca.m4: New file, from gnulib.
2546
2547         * stdbool.m4: Update from gnulib.
2548
2549 2003-06-04  Paul Eggert  <eggert@twinsun.com>
2550
2551         Merge human.c etc. from gnulib.
2552         * human.m4: New file, from gnulib.
2553         * prereq.m4 (jm_PREREQ): Use gl_HUMAN, not jm_PREREQ_HUMAN.
2554         (jm_prereq_HUMAN): Remove.
2555
2556 2003-06-02  Jim Meyering  <jim@meyering.net>
2557
2558         * jm-macros.m4 (jm_MACROS): Require AM_STDBOOL_H.
2559
2560 2003-05-26  Jim Meyering  <jim@meyering.net>
2561
2562         * dirfd.m4 (UTILS_FUNC_DIRFD): Merge in change from gnulib,
2563         fixing an M4 quoting bug.
2564
2565         * lib-ld.m4 (AC_LIB_PROG_LD_GNU): Use TAB-SP, not SP-TAB
2566         when setting IFS.
2567         * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
2568
2569 2003-05-06  Jim Meyering  <jim@meyering.net>
2570
2571         * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for the
2572         declaration of getcwd *before* checking for the getcwd kernel bug.
2573         Otherwise, configure-time `checking ...' messages would be intermixed.
2574
2575 2003-05-02  Jim Meyering  <jim@meyering.net>
2576
2577         * readdir.m4 (GL_FUNC_READDIR): Revive dead file.  Change name to
2578         have GL_ (not jm_) prefix.  Adjust cache variables similarly.
2579         Create 500 rather than just 300 files, to exercise bug on
2580         Darwin6.5, too.
2581         * jm-macros.m4 (jm_MACROS): Require GL_FUNC_READDIR.
2582
2583 2003-04-25  Jim Meyering  <jim@meyering.net>
2584
2585         * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): If PATH_MAX
2586         is not defined, don't run the test, and don't use the wrapper.
2587         Otherwise, on the Hurd, it would take a long time to create
2588         and remove a hierarchy about 4000 levels deep.
2589         Based on a patch from Robert Millan.
2590
2591 2003-04-22  Jim Meyering  <jim@meyering.net>
2592
2593         Aesthetics.
2594         * gettext.m4: Change an occurrence of [ \t] to [\t ].
2595
2596 2003-04-07  Jim Meyering  <jim@meyering.net>
2597
2598         * prereq.m4 (jm_PREREQ_STAT): Add prerequisites and #includes
2599         for Ultrix 4.4.
2600
2601 2003-04-02  Jim Meyering  <jim@meyering.net>
2602
2603         * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
2604
2605 2003-03-19  Jim Meyering  <jim@meyering.net>
2606
2607         * ftw.m4 (AC_FUNC_FTW): Require AC_HEADER_STAT.
2608
2609 2003-03-17  Richard Dawe  <rich@phekda.freeserve.co.uk>
2610
2611         * jm-macros.m4 (jm_MACROS): Include $(EXEEXT) in DF_PROG's program
2612         name, since automake only adds $(EXEEXT) to programs in its *_PROGRAMS.
2613         Arrange to compile the corresponding stub function if fchdir is missing.
2614
2615 2003-03-18  Jim Meyering  <jim@meyering.net>
2616
2617         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
2618         test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
2619         systems would end up using the latter.  MOUNTED_GETMNTENT1 support
2620         is inadequate on such systems: 1) detecting whether a file system
2621         is remote doesn't work  2) the MOUNTED_VMOUNT code reports the
2622         HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
2623         merely /MOUNT_POINT.  Reported by Mike Jetzer.
2624
2625 2003-03-17  Jim Meyering  <jim@meyering.net>
2626
2627         * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
2628         that is guaranteed to be `no'.  Use `no_such_member' to indicate
2629         that condition, rather than `-1' which is slightly misleading.
2630         Change the name of the cache variable to have the gl_ prefix.
2631         Prompted by a patch from Richard Dawe for DJGPP.
2632
2633 2003-03-14  Jim Meyering  <jim@meyering.net>
2634
2635         * prereq.m4 (jm_PREREQ): Also forbid the gl_[A-Z] prefix.
2636         Don't require jm_PREREQ_C_STACK.
2637
2638 2003-03-13  Paul Eggert  <eggert@twinsun.com>
2639
2640         [from gnulib]
2641         * onceonly.m4 (m4_quote): New macro.
2642         (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
2643         Quote AC_FOREACH variable-expansions properly.
2644
2645 2003-03-13  Jim Meyering  <jim@meyering.net>
2646
2647         * jm-macros.m4 (jm_MACROS): Arrange to compile the corresponding stub
2648         function if any of the following is missing: fchown, lstat, readlink.
2649         From Richard Dawe.
2650
2651 2003-03-07  Jim Meyering  <jim@meyering.net>
2652
2653         * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
2654         using the latest version from cvs.  This avoids problems with #line
2655         directives using a vendor (Sun) compiler.
2656
2657         * jm-macros.m4: Don't require AC_SYS_MMAP_STACK.
2658         * mmap-stack.m4 (AC_SYS_MMAP_STACK): Remove file.
2659
2660 2003-03-06  Jim Meyering  <jim@meyering.net>
2661
2662         * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for
2663         declaration of getcwd.
2664
2665 2003-03-04  Jim Meyering  <jim@meyering.net>
2666
2667         * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): New macro.
2668         * jm-macros.m4: Require GL_FUNC_GETCWD_PATH_MAX.
2669
2670         `df /some/mount-point' no longer hangs when an unrelated hard-mount
2671         is unavailable
2672         * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
2673         /proc/mounts until it finds one with matching device number.  This is
2674         unnecessary when the FILE argument *is* a mount point.  No stat call
2675         is necessary in that case.  So, disable the statvfs-testing code on
2676         systems with GNU libc.  Reported by Andrei Gaponenko via Tim Waugh
2677         as RedHat bug# 84846.
2678
2679 2003-02-27  Jim Meyering  <jim@meyering.net>
2680
2681         * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for `table' function.
2682         Reported by Kaveh Ghazi.
2683
2684         * prereq.m4 (gl_SYS__SYSTEM_CONFIGURATION): New function.
2685         (jm_PREREQ_PHYSMEM): Check for new headers and functions.
2686         Use gl_SYS__SYSTEM_CONFIGURATION.
2687         With suggestions from Kaveh Ghazi.
2688
2689 2003-02-19  Jim Meyering  <jim@meyering.net>
2690
2691         * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2692         to 1MB, so as not to render systems with no stack size limit (e.g.,
2693         linux-2.2.x) unusable.  Suggestion and code from Bruno Haible.
2694
2695 2003-02-17  Jim Meyering  <jim@meyering.net>
2696
2697         * prereq.m4 (jm_PREREQ_PHYSMEM): Undo last change, since
2698         Kaveh Ghazi found a better way to get the required information.
2699         Add check for sys/sysmp.h.
2700
2701 2003-02-15  Jim Meyering  <jim@meyering.net>
2702
2703         * mmap-stack.m4: New file.
2704
2705         * jm-macros.m4: Require AC_SYS_MMAP_STACK.
2706
2707         Add Irix6 support to physmem.c.
2708         * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for sys/sysget.h
2709         and sys/sysinfo.h.
2710         Also check for sysget.
2711         Reported by Kaveh Ghazi.
2712
2713 2003-02-12  Jim Meyering  <jim@meyering.net>
2714
2715         * restrict.m4 (ACX_C_RESTRICT): Remove #ifndef -- so now this
2716         macro also checks for support when using a C++ compiler.
2717         Also, remove the test for SGI's __restrict.
2718         Suggested by Steven G. Johnson.
2719
2720         * regex.m4 (jm_PREREQ_REGEX): Require ACX_C_RESTRICT.
2721
2722         * restrict.m4 (ACX_C_RESTRICT): Minor syntactic changes:
2723         Split long lines, use AC_COMPILE_IFELSE, indent, use `case'
2724         instead of nested `if's, remove unnecessary quotes.
2725
2726         * restrict.m4 (ACX_C_RESTRICT): New macro.
2727         Copied directly from the URL in the comments.
2728         By Steven G. Johnson.
2729
2730 2003-02-09  Jim Meyering  <jim@meyering.net>
2731
2732         * check-decl.m4 (jm_CHECK_DECLS): Add euidaccess.
2733
2734 2003-02-03  Jim Meyering  <jim@meyering.net>
2735
2736         * c-stack.m4: Include <unistd.h>.  On some systems,
2737         it is required for the definition of _SC_PAGESIZE.
2738
2739 2003-02-02  Jim Meyering  <jim@meyering.net>
2740
2741         * onceonly.m4: New file.  From gnulib.
2742
2743         * regex.m4 (jm_PREREQ_REGEX): New function, from gnulib.
2744         (jm_INCLUDED_REGEX): Use it.
2745         * prereq.m4 (jm_PREREQ_REGEX): Remove.
2746
2747 2003-01-31  Jim Meyering  <jim@meyering.net>
2748
2749         * open-max.m4 (UTILS_SYS_OPEN_MAX): New file/macro.
2750         * jm-macros.m4 (jm_MACROS): Require UTILS_SYS_OPEN_MAX.
2751
2752 2003-01-29  Jim Meyering  <jim@meyering.net>
2753
2754         * regex.m4: Detect broken re_search in e.g. glibc-2.2.93.
2755
2756 2003-01-23  Jim Meyering  <jim@meyering.net>
2757
2758         * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
2759         from working on systems without dirfd (at least Irix and OSF1/Tru64).
2760
2761         Merge in change by Bruno Haible from gnulib.
2762         * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
2763
2764 2003-01-16  Jim Meyering  <jim@meyering.net>
2765
2766         * regex.m4: The `regex' struct is both input and output.
2767         Initialize it before each use.  Patch by Tim Waugh.
2768
2769 2003-01-15  Jim Meyering  <jim@meyering.net>
2770
2771         * jm-macros.m4: Require AC_FUNC_FTW.
2772
2773 2003-01-12  Jim Meyering  <jim@meyering.net>
2774
2775         * ftw.m4: New file.
2776
2777 2003-01-11  Jim Meyering  <jim@meyering.net>
2778
2779         * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): New file and macro.
2780         * jm-macros.m4: Require AC_FUNC_CANONICALIZE_FILE_NAME.
2781         (jm_MACROS): No longer check for resolvepath or canonicalize_file_name.
2782
2783 2002-12-15  Jim Meyering  <jim@meyering.net>
2784
2785         * jm-glibc-io.m4n: Remove now-unused file.
2786         * Makefile.am.in (Makefile.am): Remove jm-glibc-io.m4
2787         and jm-glibc-io.m4n.
2788
2789 2002-12-11  Jim Meyering  <jim@meyering.net>
2790
2791         * jm-glibc-io.m4: Maintain this file manually rather than generating it.
2792         Generating it caused too much trouble.  From gnulib.
2793
2794 2002-11-19  Jim Meyering  <jim@meyering.net>
2795
2796         * jm-macros.m4: Require Autoconf-2.56.
2797
2798 2002-09-30  Akim Demaille  <akim@epita.fr>
2799
2800         * prereq.m4: Use AC_REQUIRE everywhere it is possible.
2801         (jm_PREREQ_CANON_HOST): Remove duplicates.
2802
2803 2002-11-10  Jim Meyering  <jim@meyering.net>
2804
2805         * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(raise).
2806
2807 2002-10-30  Paul Eggert  <eggert@twinsun.com>
2808
2809         * getgroups.m4 (jm_FUNC_GETGROUPS):
2810         Fix typo: cv_func_getgroups_works -> ac_cv_func_getgroups_works.
2811
2812 2002-10-07  Paul Eggert  <eggert@twinsun.com>
2813
2814         * prereq.m4 (jm_PREREQ_HUMAN): Check for locale.h, localeconv,
2815         AC_HEADER_STDBOOL.  No need to check for limits.h since it's in
2816         freestanding C89.  No need to check for stdlib.h or string.h since
2817         autoconf does this now.
2818
2819 2002-10-12  Paul Eggert  <eggert@twionsun.com>
2820
2821         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Remove fenv.h.
2822
2823 2002-09-29  Jim Meyering  <jim@meyering.net>
2824
2825         * gettext.m4 (AM_INTL_SUBDIR): Don't require gt_HEADER_INTTYPES_H.
2826         It's not necessary with autoconf-2.54.
2827
2828 2002-09-28  Jim Meyering  <jim@meyering.net>
2829
2830         * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
2831         and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
2832         * jm-macros.m4 (jm_MACROS): Don't set GETGROUPS_LIB here; now it's
2833         done via getgroups.m4's wrapper function.
2834
2835         * strerror_r.m4: Remove file -- now it's part of autoconf-2.54.
2836         Reported by Akim Demaille.
2837
2838 2002-09-25  Jim Meyering  <jim@meyering.net>
2839
2840         * gettext.m4: Upgrade to gettext-0.11.5.
2841
2842 2002-09-07  Bruno Haible  <bruno@clisp.org>
2843
2844         * host-os.m4 (UTILS_HOST_OS): Add a case for freebsd*-gnu*.
2845
2846 2002-09-17  Jim Meyering  <jim@meyering.net>
2847
2848         * jm-macros.m4 (jm_MACROS): Require gt_INTTYPES_PRI.
2849         * inttypes-pri.m4 (gt_INTTYPES_PRI): New file, mostly from gettext.
2850
2851 2002-09-16  Jim Meyering  <jim@meyering.net>
2852
2853         * prereq.m4: Forbid symbols matching ^jm_[A-Z].
2854         (jm_PREREQ_QUOTEARG): Add jm_FUNC_MEMCMP.
2855         From Akim Demaille.
2856
2857         * error.m4 (jm_PREREQ_ERROR): Check for libintl.h.
2858         Reported by Akim Demaille.
2859
2860 2002-09-13  Jim Meyering  <jim@meyering.net>
2861
2862         * jm-macros.m4 (jm_MACROS): Require autoconf-2.54.
2863
2864 2002-09-09  Jim Meyering  <jim@meyering.net>
2865
2866         * getloadavg.m4: Remove file -- now it's part of autoconf-2.53c.
2867         * jm-macros.m4: Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
2868         AC_FUNC_GETLOADAVG where to find getloadavg.c.
2869
2870 2002-09-03  Jim Meyering  <jim@meyering.net>
2871
2872         * gnu-source.m4: Remove file -- now it's part of autoconf-2.53c.
2873         * mbstate_t.m4: Likewise.
2874         * fnmatch.m4: Likewise.
2875
2876 2002-08-05  Jim Meyering  <jim@meyering.net>
2877
2878         * jm-winsz1.m4: Also change use of $am_cv_sys_posix_termios
2879         to $ac_cv_sys_posix_termios.  Reported by Andreas Schwab.
2880
2881 2002-08-03  Jim Meyering  <jim@meyering.net>
2882
2883         * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
2884         Reported by mkc@mathdogs.com.
2885
2886 2002-08-01  Jim Meyering  <jim@meyering.net>
2887
2888         * prereq.m4 (jm_PREREQ_TEMPNAME): lib/tempname.c may use uintmax_t,
2889         so require jm_AC_TYPE_UINTMAX_T.  Patch by Joe Orton.
2890
2891 2002-07-28  Jim Meyering  <jim@meyering.net>
2892
2893         * jm-macros.m4: Don't require jm_FUNC_READDIR.
2894         * readdir.m4 (jm_FUNC_READDIR): Remove file/macro.  No longer needed.
2895
2896 2002-07-27  Jim Meyering  <jim@meyering.net>
2897
2898         * prereq.m4 (jm_PREREQ_READUTMP): Don't check just
2899         `struct utmpx.ut_exit' and `struct utmp.ut_exit'.  Instead, check
2900         all combinations of utmp/utmpx and ut_termination/e_termination
2901         and ut_exit/e_exit.
2902
2903 2002-07-23  Jim Meyering  <jim@meyering.net>
2904
2905         * c-bs-a.m4 (AC_C_BACKSLASH_A): Remove file, now that autoconf
2906         provides this macro.
2907
2908 2002-07-20  Jim Meyering  <jim@meyering.net>
2909
2910         * intdiv0.m4: New file.  From gettex-0.11.3.
2911
2912         * jm-macros.m4: Require autoconf-2.53b.
2913         Use new macros AC_FUNC_MALLOC and AC_FUNC_REALLOC,
2914         in place of jm_-prefixed ones.  Thanks, Akim!
2915         * malloc.m4: Remove file, now that autoconf provides this macro.
2916         * realloc.m4: Likewise.
2917
2918 2002-07-18  gettextize  <bug-gnu-gettext@gnu.org>
2919
2920         * gettext.m4: Upgrade to gettext-0.11.3.
2921         * iconv.m4: Upgrade to gettext-0.11.3.
2922         * isc-posix.m4: Upgrade to gettext-0.11.3.
2923         * lcmessage.m4: Upgrade to gettext-0.11.3.
2924         * lib-link.m4: Upgrade to gettext-0.11.3.
2925
2926 2002-07-17  Jim Meyering  <jim@meyering.net>
2927
2928         * boottime.m4: New file.  Extracted from sh-utils' configure.ac
2929         and extended to work also with *BSD systems.
2930
2931 2002-07-15  Jim Meyering  <jim@meyering.net>
2932
2933         FreeBSD support for uname and uptime.
2934         * jm-macros.m4 (jm_MACROS): Check for the sysctl function.
2935         (jm_CHECK_ALL_HEADERS): Check for sys/sysctl.h.
2936         Suggestion from Bruno Haible.
2937
2938 2002-06-11  Paul Eggert  <eggert@twinsun.com>
2939
2940         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
2941
2942 2002-06-22  Jim Meyering  <jim@meyering.net>
2943
2944         * c-stack.m4: New file, from diffutils-2.8.2.
2945         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
2946
2947         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
2948         now that configure.ac uses AC_GNU_SOURCE.
2949         (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
2950         * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
2951
2952         Update to latest tools.  Suggestions from Paul Eggert.
2953         * stdbool.m4: New file, from diffutils-2.8.2.
2954         * gnu-source.m4: Update from diffutils-2.8.2.
2955         * fnmatch.m4: Likewise.
2956         * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
2957         to AC_HEADER_STDBOOL
2958
2959 2002-06-21  Jim Meyering  <jim@meyering.net>
2960
2961         * c-bs-a.m4: Add comment, from diffutils-2.8.2.
2962         * mbrtowc.m4: Likewise.
2963
2964         * mbstate_t.m4: Update from diffutils-2.8.2.
2965         * mbswidth.m4: Reflect name change:
2966         s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
2967         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
2968
2969         * lib-link.m4: Update from gettext-0.11.2.
2970         * gettext.m4: Likewise.
2971
2972         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
2973         From Alfred M. Szmidt.
2974
2975 2002-05-19  Paul Eggert  <eggert@twinsun.com>
2976
2977         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
2978
2979 2002-06-07  Jim Meyering  <jim@meyering.net>
2980
2981         * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
2982         They're needed at least for NetBSD 1.5.2.
2983         ($statxfs_includes): Include those same headers.
2984         ($statxfs_includes): Include sys/vfs.h if available.
2985         ($statxfs_includes): Likewise for sys/statvfs.h.
2986         Check for the following members in both structs statfs and statvfs:
2987         f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
2988
2989 2002-06-01  Jim Meyering  <jim@meyering.net>
2990
2991         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
2992         s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
2993
2994 2002-05-28  Jim Meyering  <jim@meyering.net>
2995
2996         * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
2997         Reported by Volker Borchert.
2998
2999 2002-05-27  Jim Meyering  <jim@meyering.net>
3000
3001         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
3002         localtime.
3003
3004         * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
3005         use the replacement function; it wouldn't resolve at link time.
3006         Reported by Volker Borchert.
3007
3008 2002-04-30  Jim Meyering  <jim@meyering.net>
3009
3010         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
3011
3012 2002-04-29  Paul Eggert  <eggert@twinsun.com>
3013
3014         * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
3015         Do not check for alloca.h (no longer used) or stdbool.h (was never
3016         used?).  Add AM_C_PROTOTYPES since hard-locale.h uses it.
3017
3018 2002-04-28  Paul Eggert  <eggert@twinsun.com>
3019
3020         * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
3021
3022 2002-04-29  Jim Meyering  <jim@meyering.net>
3023
3024         * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
3025         * prereq.m4: Add jm_PREREQ_STRNLEN.
3026         Use AC_FUNC_STRNLEN here instead.
3027
3028         * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
3029         With autoconf-2.53a, it's part of AC_PROG_CC.
3030
3031 2002-04-28  Paul Eggert  <eggert@twinsun.com>
3032
3033         * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
3034         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
3035
3036 2002-04-24  Jim Meyering  <jim@meyering.net>
3037
3038         * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
3039         (jm_PREREQ): Use it.
3040
3041         * getloadavg.m4: Check for these headers: locale.h unistd.h
3042         mach/mach.h fcntl.h.
3043         Check for this function: setlocale.
3044
3045 2002-04-16  Jim Meyering  <jim@meyering.net>
3046
3047         * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
3048         ut_pid, ut_id, ut_exit.
3049
3050 2002-04-12  Jim Meyering  <jim@meyering.net>
3051
3052         * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
3053         check for f_type in sys/mount.h.  Instead, just test for the existence
3054         of the getmntinfo function.  Needed for Darwin 5.3.
3055
3056         * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
3057         This is necessary at least on Darwin 5.3.
3058
3059         * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
3060         AC_FUNC_STRNLEN.  Otherwise, we'd end up putting two copies of strnlen.o
3061         in the library, and that makes some versions of ranlib object.
3062
3063 2002-04-09  Jim Meyering  <jim@meyering.net>
3064
3065         * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
3066         to be more precise.  Rather than saying we're checking whether the
3067         function `works', say what we're testing.
3068         * realloc.m4 (jm_FUNC_REALLOC): Likewise.
3069         Reported by Bruno Haible.
3070
3071 2002-02-27  Paul Eggert  <eggert@twinsun.com>
3072
3073         * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
3074         Check for clock_settime.
3075
3076 2002-02-25  Paul Eggert  <eggert@twinsun.com>
3077
3078         * acl.m4: New file.
3079         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
3080         Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
3081
3082 2002-02-16  gettextize  <bug-gnu-gettext@gnu.org>
3083
3084         * codeset.m4: Upgrade to gettext-0.11.
3085         * gettext.m4: Upgrade to gettext-0.11.
3086         * glibc21.m4: Upgrade to gettext-0.11.
3087         * iconv.m4: Upgrade to gettext-0.11.
3088         * isc-posix.m4: Upgrade to gettext-0.11.
3089         * lcmessage.m4: Upgrade to gettext-0.11.
3090         * lib-ld.m4: New file, from gettext-0.11.
3091         * lib-link.m4: New file, from gettext-0.11.
3092         * lib-prefix.m4: New file, from gettext-0.11.
3093         * progtest.m4: Upgrade to gettext-0.11.
3094
3095 2002-02-15  Paul Eggert  <eggert@twinsun.com>
3096
3097         * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
3098         (jm_PREREQ): Use it.
3099
3100 2002-01-26  Jim Meyering  <jim@meyering.net>
3101
3102         * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
3103         * strnlen.m4: Remove file, now that it's part of autoconf.
3104
3105 2002-01-22  Paul Eggert  <eggert@twinsun.com>
3106
3107         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
3108
3109 2002-01-19  Jim Meyering  <jim@meyering.net>
3110
3111         * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
3112         Remove useless quotes: DF_PROG="df".
3113         * strnlen.m4: New file.
3114
3115 2001-12-14  Jim Meyering  <jim@meyering.net>
3116
3117         * jm-macros.m4 (jm_MACROS): Check for iswspace.
3118         Suggestion from Bruno Haible.
3119
3120 2001-11-20  Jim Meyering  <jim@meyering.net>
3121
3122         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
3123         SunOS 4.1.4 and Solaris 2.5.1 lose, too.
3124
3125 2001-11-19  Jim Meyering  <jim@meyering.net>
3126
3127         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
3128         directory.  Use "conftestXXXXXX" as the template.
3129         Suggestion from Paul Eggert.
3130
3131         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
3132         so the test doesn't mistakenly hit the max-open-files limit.
3133
3134 2001-11-18  Jim Meyering  <jim@meyering.net>
3135
3136         * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
3137
3138 2001-11-17  Jim Meyering  <jim@meyering.net>
3139
3140         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
3141         Prompted by a report from Bob Proulx.
3142
3143         * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
3144         Instead, require UTILS_FUNC_MKSTEMP.
3145
3146 2001-11-11  Jim Meyering  <jim@meyering.net>
3147
3148         * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
3149         Now, that's done as part of AC_FUNC_STRTOD.
3150
3151 2001-10-22  Paul Eggert  <eggert@twinsun.com>
3152
3153         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
3154         WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
3155
3156 2001-11-10  Jim Meyering  <jim@meyering.net>
3157
3158         * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
3159         (jm_PREREQ): Use it.
3160
3161 2001-11-09  Jim Meyering  <jim@meyering.net>
3162
3163         * jm-macros.m4: Require autoconf-2.52f.
3164         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
3165         Use these AC_-prefixed names, not the AM_-prefixed ones.
3166
3167         * afs.m4 (jm_AFS): Quote the body.  Patch by Akim Demaille.
3168
3169 2001-11-04  Jim Meyering  <jim@meyering.net>
3170
3171         * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
3172
3173 2001-11-03  Jim Meyering  <jim@meyering.net>
3174
3175         * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
3176         of AC_DEFUN.
3177
3178         * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
3179         know the name of the variable in the macro definition.
3180
3181 2001-11-01  Jim Meyering  <jim@meyering.net>
3182
3183         * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
3184         * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
3185
3186 2001-10-20  Paul Eggert  <eggert@twinsun.com>
3187
3188         * error.m4 (jm_PREREQ_ERROR):
3189         Do not invoke AC_CHECK_FUNCS with strerror_r, as
3190         AC_FUNC_STRERROR_R does that.
3191         Check for strerror declaration.
3192
3193         * strerror_r.m4: Add copyright notice, as nontrivial m4 files
3194         are supposed to have them these days.
3195         (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
3196         Merge changes from latest Autoconf CVS.
3197         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3198         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3199         POSIX decided to standardize on the int flavor of strerror_r.
3200
3201 2001-09-30  Jim Meyering  <jim@meyering.net>
3202
3203         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
3204         `struct fsstat' has the `f_fstypename' member.
3205         Use that to define FS_TYPE, which is now used to make
3206         the getfsstat link test tighter.
3207
3208 2001-09-29  Jim Meyering  <jim@meyering.net>
3209
3210         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3211         [one-argument getmntent function]): Include stdio.h before mntent.h.
3212         SunOS 4.1.x needs it for the declaration of `FILE'.
3213         Patch by Volker Borchert.
3214
3215         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3216         Check for these headers: sys/param.h sys/ucred.h sys/mount.h
3217         sys/fs_types.h, and make the link-test for getfsstat guard #include
3218         directives with appropriate #if HAVE_*_H tests so that we can
3219         detect getfsstat on Apple Darwin1.3.7 systems.
3220         Reported by Nelson Beebe.
3221         Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
3222
3223 2001-09-28  Paul Eggert  <eggert@twinsun.com>
3224
3225         Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
3226         #defines strtoimax.  Also treat the other strto* functions
3227         like strtoimax.
3228
3229         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3230         Check for strtoul and strtoumax,
3231         as those declarations are made even in the signed case.
3232         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
3233         Likewise, for strtol and strtoimax.
3234
3235 2001-09-24  Jim Meyering  <jim@meyering.net>
3236
3237         * gettext.m4: Use the version from gettext-0.10.40, not CVS.
3238
3239 2001-09-23  Jim Meyering  <jim@meyering.net>
3240
3241         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
3242         instead of the mere test for existence of mntent.h.  The latter
3243         would get a false-positive on AIX 3.4 systems.
3244         In the outer getmntent if-block, don't die if neither of the getmntent
3245         tests succeeds.  Instead, just fall through and continue with the
3246         remaining tests.
3247
3248 2001-09-22  Jim Meyering  <jim@meyering.net>
3249
3250         * gettext.m4: New file.  From gettext.
3251         * lcmessage.m4: Sync with gettext -- this changes only comments.
3252         * progtest.m4: Likewise
3253         * isc-posix.m4: Decrement serial number to sync with gettext.
3254         * glibc21.m4: Likewise.
3255
3256         * libintl.m4: Remove.  No longer used.
3257
3258 2001-09-20  Jim Meyering  <jim@meyering.net>
3259
3260         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
3261         strtoimax.
3262         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
3263         strtoumax.
3264
3265 2001-09-17  Jim Meyering  <jim@meyering.net>
3266
3267         * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
3268         * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
3269         * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
3270         * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
3271         * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
3272         whenever the right hand side need not be expanded by the shell.
3273
3274 2001-09-16  Paul Eggert  <eggert@twinsun.com>
3275
3276         * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
3277         library.  It's not correct, as some older glibcs are buggy.
3278         fnmatch wasn't fixed until glibc 2.2.
3279
3280         Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
3281         special shell magic here.
3282
3283 2001-09-16  Jim Meyering  <jim@meyering.net>
3284
3285         * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
3286         * jm-macros.m4: Require it.
3287
3288 2001-09-15  Jim Meyering  <jim@meyering.net>
3289
3290         * jm-macros.m4: Check for help2man.
3291
3292 2001-09-11  Jim Meyering  <jim@meyering.net>
3293
3294         * host-os.m4 (UTILS_HOST_OS): New file/macro.
3295         The body, by Paul Eggert, was moved here from configure.in.
3296         * jm-macros.m4: Require UTILS_HOST_OS.
3297
3298 2001-09-04  Paul Eggert  <eggert@twinsun.com>
3299
3300         * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
3301         (jm_PREREQ): Use it.
3302
3303 2001-09-03  Paul Eggert  <eggert@twinsun.com>
3304
3305         * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
3306         sys/param.h, as pathmax.h includes them.
3307
3308 2001-09-03  Paul Eggert  <eggert@twinsun.com>
3309
3310         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
3311         (jm_PREREQ_XGETCWD): New macro.
3312
3313         * getcwd.m4: New file.
3314
3315 2001-09-01  Jim Meyering  <jim@meyering.net>
3316
3317         * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
3318         Used by df.
3319
3320 2001-08-30  Paul Eggert  <eggert@twinsun.com>
3321
3322         Simplify code, partly by assuming autoconf 2.52 semantics.
3323
3324         * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
3325
3326         * inttypes.m4 (AC_PREREQ): Bump to 2.52.
3327         (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
3328         All uses removed.
3329         (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
3330         Move AC_REQUIRE to next-to-top level, to avoid confusion.
3331         Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
3332         * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
3333         * jm-macros.m4 (jm_MACROS): Likewise.
3334
3335         * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
3336
3337         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3338         Quote first arg of AC_DEFUN.
3339         Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
3340         since they are needed to parse the include file even if we need
3341         only xstrtoimax.  Simplify logic behind the args to AC_REPLACE.
3342         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
3343         but with opposite signedness.
3344
3345 2001-08-30  Paul Eggert  <eggert@twinsun.com>
3346
3347         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
3348         (jm_PREREQ_EXCLUDE): New macro.
3349
3350 2001-08-26  Jim Meyering  <jim@meyering.net>
3351
3352         * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
3353
3354         * xstrtoimax.m4: New file.
3355         * xstrtoumax.m4: Add comments explaining why we
3356         AC_REPLACE_FUNCS(strtol).
3357
3358 2001-06-20  Paul Eggert  <eggert@twinsun.com>
3359
3360         * inttypes.m4: Add AC_PREREQ(2.13).
3361         (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
3362         (jm_AC_TYPE_INTMAX_T): New macro.
3363         (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
3364
3365         * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
3366
3367         * longlong.m4: Renamed from ulonglong.m4.
3368         * inttypes.m4: Renamed from inttypes_h.m4.
3369         * uintmax_t.m4: Removed.
3370
3371 2001-08-12  Jim Meyering  <jim@meyering.net>
3372
3373         * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
3374         d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
3375         fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
3376         group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
3377         jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
3378         link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
3379         mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
3380         prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
3381         rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
3382         strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
3383         utime.m4, utimes.m4, xstrtoumax.m4:
3384         Quote the first argument in each use of AC_DEFUN.
3385
3386 2001-08-05  Jim Meyering  <jim@meyering.net>
3387
3388         * jm-macros.m4: Require autoconf-2.52.
3389
3390 2001-08-03  Paul Eggert  <eggert@twinsun.com>
3391
3392         The following changes are from gettext 0.10.39 as maintained by
3393         Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
3394
3395         * codeset.m4: Upgrade to serial AM1.
3396         (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
3397         all uses changed.  Quote first arg of AC_DEFUN.
3398         (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
3399
3400         * iconv.m4: Upgrade to serial AM2.
3401         (AM_ICONV): Renamed from jm_ICONV; all uses changed.
3402         Add --with-libconv-prefix.
3403         Quote first arg of AC_DEFUN.  Add description for ICONV_CONST.
3404         (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
3405         (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
3406         (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
3407         * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
3408
3409         * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
3410         * getline.m4 (AM_FUNC_GETLINE): Likewise.
3411         * glibc21.m4 (jm_GLIBC21): Likewise.
3412         * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
3413         * isc-posix.m4 (AC_ISC_POSIX): Likewise.
3414         * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
3415         * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
3416         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
3417         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
3418
3419         * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
3420         string.h any more.
3421
3422         * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
3423         not the default value.
3424
3425         2001-06-25  Bruno Haible  <haible@clisp.cons.org>
3426         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
3427         Also check for mbsinit.  Needed for SCO 3.2v5.0.2.
3428         Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
3429         Also check for iswcntrl, used for wcwidth fallback.
3430         Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
3431         to Autoconf 2.13.
3432
3433 2001-08-03  Jim Meyering  <jim@meyering.net>
3434
3435         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
3436         as it was in the original.  Reported by Paul Eggert.
3437
3438 2001-07-16  Jim Meyering  <jim@meyering.net>
3439
3440         * gettimeofday.m4: New file.
3441         Prompted by a report from Bernhard Baehr.
3442
3443 2001-07-15  Jim Meyering  <jim@meyering.net>
3444
3445         * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
3446         Now it's in ../Makefile.cfg.
3447
3448 2001-07-04  Jim Meyering  <jim@meyering.net>
3449
3450         * Makefile.am.in (glibc-io.struct): New target.  Rework the code
3451         that generates jm-glibc-io.m4 so that it doesn't trigger any make
3452         distcheck failure.
3453
3454 2001-07-02  Jim Meyering  <jim@meyering.net>
3455
3456         The following changes were prompted by suggestions from Bruno Haible.
3457
3458         * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
3459         is now generated.
3460         * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
3461         definition of EXTRA_DIST.
3462         (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
3463         ensure that the generated file is created/updated whenever the list
3464         of $(unlocked_functions) is changed.
3465         (jm-glibc-io.m4): New rule.
3466         (unlocked-io.h): New rule -- currently unused.
3467
3468 2001-06-24  Jim Meyering  <jim@meyering.net>
3469
3470         * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
3471         unmatched right bracket, rather than kludging it with an extra,
3472         falsely-matching quote in a comment.  Patch by Akim Demaille.
3473
3474 2001-05-27  Jim Meyering  <jim@meyering.net>
3475
3476         * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
3477         Check for ut_type in struct utmp.
3478
3479 2001-05-22  Jim Meyering  <jim@meyering.net>
3480
3481         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
3482         now that we use the package-supplied version unconditionally.
3483         (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
3484
3485 2001-05-21  Jim Meyering  <jim@meyering.net>
3486
3487         * regex.m4: Change a couple backticks to single quotes to avoid shell
3488         syntax errors.
3489
3490 2001-05-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
3491
3492         * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
3493
3494 2001-05-11  Paul Eggert  <eggert@twinsun.com>
3495
3496         * strftime.m4 (jm_FUNC_GNU_STRFTIME):
3497         Don't bother to check library strftime, since
3498         we'll be using our own my_strftime function anyway.
3499         Define my_strftime instead of strftime.
3500
3501 2001-05-15  Jim Meyering  <jim@meyering.net>
3502
3503         * regex.m4: Use proper quoting so brackets appear in the test program.
3504         Reported by, and with help from, Bruno Haible.
3505
3506 2001-05-13  Jim Meyering  <jim@meyering.net>
3507
3508         * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
3509
3510 2000-11-26  Paul Eggert  <eggert@twinsun.com>
3511
3512         * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
3513
3514 2001-04-21  Jim Meyering  <jim@meyering.net>
3515
3516         * rmdir-errno.m4: Write to a new file, so that a restrictive umask
3517         doesn't interfere.
3518
3519 2001-04-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
3520
3521         * ftruncate.m4: Check for chsize.
3522         Link with ftruncate.o unconditionally if ftruncate is missing.
3523         This was required when cross-compiling to i586-mingw32msvc.
3524
3525 2001-03-24  Jim Meyering  <jim@meyering.net>
3526
3527         * jm-macros.m4: Require autoconf-2.49d.
3528
3529 2001-03-20  Bruno Haible  <haible@clisp.cons.org>
3530
3531         * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
3532
3533 2001-03-17  Jim Meyering  <jim@meyering.net>
3534
3535         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
3536         now that the version in autoconf is equivalent.
3537         (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
3538
3539         * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
3540         Suggestion from Akim Demaille.
3541
3542         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
3543         (jm_PREREQ_TEMPNAME): New function.
3544
3545 2001-02-25  Paul Eggert  <eggert@twinsun.com>
3546
3547         * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
3548         lacks mkstemp.  Compile our own tempname.c if we compile our own
3549         mkstemp.c, as mkstemp relies on tempname.
3550
3551 2001-03-01  Jim Meyering  <jim@meyering.net>
3552
3553         * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
3554         AH_VERBATIM really does output its argument verbatim.
3555
3556 2001-02-18  Paul Eggert  <eggert@twinsun.com>
3557
3558         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
3559
3560 2001-02-17  Jim Meyering  <jim@meyering.net>
3561
3562         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
3563         getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
3564         further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
3565         UnixWare 7.1.1.
3566
3567         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
3568         rather than AC_CACHE_VAL.
3569
3570 2001-02-17  Paul Eggert  <eggert@twinsun.com>
3571
3572         * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
3573         * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
3574         Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
3575         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3576
3577 2001-02-07  Jim Meyering  <jim@meyering.net>
3578
3579         * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
3580
3581 2001-02-05  Jim Meyering  <jim@meyering.net>
3582
3583         * jm-macros.m4: Require autoconf-2.14d (not yet released), because
3584         it includes the patch required for `large file' support with at least
3585         HP-UX's 10.20 /bin/cc.
3586
3587 2001-02-03  Jim Meyering  <jim@meyering.net>
3588
3589         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
3590         AS_IF, now that it works once again (mysteriously).
3591         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
3592
3593 2001-01-30  Jim Meyering  <jim@meyering.net>
3594
3595         Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
3596         * chown.m4: Rename conftestchown to conftest.chown.
3597         * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
3598         * utimes.m4: s/conftestdata/conftest.data/
3599         Inspired by Pavel Roskin's change in autoconf.
3600
3601 2001-01-27  Jim Meyering  <jim@meyering.net>
3602
3603         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
3604         a use of AS_IF.
3605         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
3606
3607 2001-01-26  Jim Meyering  <jim@meyering.net>
3608
3609         * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
3610         quotearg.c includes it.
3611
3612 2001-01-15  Bruno Haible  <haible@clisp.cons.org>
3613
3614         * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
3615         has const.
3616
3617 2001-01-20  Jim Meyering  <jim@meyering.net>
3618
3619         Be sure that headers are checked before used in code compiled
3620         for the type checks.
3621         * jm-macros.m4 (jm_MACROS): Remove all header checks.
3622         In place of that, invoke jm_CHECK_ALL_TYPES.
3623         (jm_CHECK_ALL_HEADERS): New functions with the above checks.
3624         (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
3625         Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
3626         The check for ssize_t was mistakenly run before the test for unistd.h.
3627
3628         The configure-time check for stdbool.h was missing.
3629         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
3630         (jm_PREREQ_HASH): New function.
3631
3632 2001-01-17  Jim Meyering  <jim@meyering.net>
3633
3634         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
3635         for autoconf-2.49c.
3636         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
3637
3638 2001-01-14  Jim Meyering  <jim@meyering.net>
3639
3640         * rename.m4: Use temporary directories named conftestdir{,2}, not
3641         foo and bar.  Create conftestdir/ in the script, not in the C code.
3642         Remove directories in the script, not in the C code.
3643         Remove conftestdir{,2} before trying to create the directory.
3644         Make the entire configure script fail if the mkdir fails.
3645
3646 2001-01-02  Volker Borchert  <bt@teknon.de>
3647
3648         * rename.m4: New file.
3649         * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
3650
3651 2001-01-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
3652
3653         * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
3654         expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
3655         so `make install' also works in VPATH builds.
3656
3657 2001-01-01  Jim Meyering  <jim@meyering.net>
3658
3659         * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
3660         on systems with utmpx.h.  It's necessary for the declaration of utmp's
3661         ut_user member.  Reported by Andreas Jaeger.
3662
3663         * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
3664         They are required for the declarations of getgrgid and getpwuid resp.
3665         (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
3666         Reported by Andreas Jaeger.
3667
3668 2000-12-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
3669
3670         * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
3671         prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
3672         can be used in subdirectories.
3673
3674 2000-12-26  Jim Meyering  <jim@meyering.net>
3675
3676         * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
3677         with autoheader.
3678
3679 2000-12-17  Jim Meyering  <jim@meyering.net>
3680
3681         * dos.m4 (jm_AC_DOS): New file and macro.
3682         * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
3683
3684 2000-12-06  Paul Eggert  <eggert@twinsun.com>
3685
3686         * off_t-format.m4: Remove this file.
3687         * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
3688
3689 2000-12-06  Jim Meyering  <jim@meyering.net>
3690
3691         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
3692         strtoull, we may well need the replacement strtoul, too.
3693         Check for declarations of strtoul and strtoull.
3694         Check for strtol.  Mainly as a cue to cause automake to include
3695         strtol.c -- that file is included by each of strtoul.c and strtoull.c.
3696         Check for limits.h -- strtol.c needs it.
3697
3698 2000-12-02  Jim Meyering  <jim@meyering.net>
3699
3700         * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
3701         * jm-macros.m4 (jm_MACROS): require it.
3702
3703 2000-11-30  Jim Meyering  <jim@meyering.net>
3704
3705         * jm-macros.m4 (jm_MACROS): Check for stdint.h.
3706
3707 2000-11-30  Jim Meyering  <jim@meyering.net>
3708
3709         * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
3710
3711 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
3712
3713         * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
3714
3715 2000-11-04  Jim Meyering  <jim@meyering.net>
3716
3717         * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
3718
3719 2000-10-29  Jim Meyering  <jim@meyering.net>
3720
3721         * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
3722         * ls-mntd-fs.m4: Likewise
3723
3724 2000-10-28  Jim Meyering  <jim@meyering.net>
3725
3726         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
3727         (jm_PREREQ_MEMCHR): New function.
3728
3729 2000-10-21  Jim Meyering  <jim@meyering.net>
3730
3731         * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
3732         * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
3733         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
3734
3735 2000-09-18  Jim Meyering  <jim@meyering.net>
3736
3737         * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
3738         Otherwise, everyone ends up linking with -lelf for some configurations.
3739         Reported by Mike Stone.
3740
3741 2000-08-26  Jim Meyering  <jim@meyering.net>
3742
3743         * jm-macros.m4: Use jm_FUNC_FPENDING.
3744         * fpending.m4: New file.
3745
3746 2000-08-20  Jim Meyering  <jim@meyering.net>
3747
3748         * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
3749         `#if !HAVE_UTMPX_H'.  The latter would lose on systems with neither
3750         utmp.h nor utmpx.h.  Reported by Eli Zaretskii.
3751
3752 2000-08-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
3753
3754         Improve fileutils installation on systems where running
3755         programs (like install) can't be unlinked.
3756         * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
3757         * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
3758
3759 2000-08-06  Paul Eggert  <eggert@twinsun.com>
3760
3761         * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
3762         not char, for compatibility with glibc 2.1.3 strftime.c.
3763
3764 2000-07-23  Paul Eggert  <eggert@twinsun.com>
3765
3766         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
3767
3768 2000-07-23  Jim Meyering  <jim@meyering.net>
3769
3770         * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
3771         getgrgid, getpwuid, getuid.
3772
3773 2000-07-16  Bruno Haible  <haible@clisp.cons.org>
3774
3775         * mbswidth.m4: New file.
3776         * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
3777
3778 2000-07-14  Jim Meyering  <jim@meyering.net>
3779
3780         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
3781
3782 2000-07-10  Paul Eggert  <eggert@twinsun.com>
3783
3784         From a suggestion by Bruno Haible.
3785         * mbstate_t.m4 (AC_MBSTATE_T):
3786         Renamed from AC_MBSTATE_T_OBJECT.  All uses changed.
3787         Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
3788         and mbstate_t, to a single-part test that simply defines mbstate_t.
3789         * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
3790
3791 2000-07-10  Jim Meyering  <jim@meyering.net>
3792
3793         * strerror_r.m4: Mirror the correction made in autoconf.
3794
3795         * gnu-source.m4: Output to confdefs.h directly.
3796         Suggestion from Akim Demaille.
3797
3798 2000-07-09  Jim Meyering  <jim@meyering.net>
3799
3800         * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
3801         to link seq.  If so, set SEQ_LIBM to -lm.  From Bruno Haible.
3802
3803         * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
3804         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
3805
3806 2000-07-05  Bruno Haible  <haible@clisp.cons.org>
3807
3808         * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
3809         to strerror_r.
3810         Include <ctype.h> for use of isalpha.
3811
3812 2000-07-05  Paul Eggert  <eggert@twinsun.com>
3813         and Bruno Haible  <haible@clisp.cons.org>
3814
3815         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
3816         only if the test for an object-type mbstate_t fails.  This
3817         prevents us from mistakenly reporting that mbstate_t is a
3818         system object type after we "#define mbstate_t int" to work
3819         around its lack.
3820
3821 2000-07-04  Jim Meyering  <jim@meyering.net>
3822
3823         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
3824         of the deprecated AC_CHECKING.
3825
3826 2000-07-03  Jim Meyering  <jim@meyering.net>
3827
3828         * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
3829
3830 2000-07-03  Paul Eggert  <eggert@twinsun.com>
3831
3832         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
3833         Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
3834
3835 2000-07-02  Jim Meyering  <jim@meyering.net>
3836
3837         * mbstate_t.m4: Also define mbstate_t, if necessary.
3838
3839         * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
3840         AC_LIBOBJ(function_name).
3841         * chown.m4: Likewise.
3842         * fnmatch.m4: Likewise.
3843         * ftruncate.m4: Likewise.
3844         * getgroups.m4: Likewise.
3845         * getline.m4: Likewise.
3846         * group-member.m4: Likewise.
3847         * jm-macros.m4: Likewise.
3848         * lstat.m4: Likewise.
3849         * malloc.m4: Likewise.
3850         * memcmp.m4: Likewise.
3851         * nanosleep.m4: Likewise.
3852         * putenv.m4: Likewise.
3853         * realloc.m4: Likewise.
3854         * regex.m4: Likewise.
3855         * stat.m4: Likewise.
3856         * strftime.m4: Likewise.
3857
3858 2000-07-01  Jim Meyering  <jim@meyering.net>
3859
3860         * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
3861         problem.
3862
3863 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
3864
3865         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
3866         macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
3867
3868 2000-07-01  Jim Meyering  <jim@meyering.net>
3869
3870         * uptime.m4: Put double quotes around use of $cross_compiling.
3871
3872 2000-06-28  Jim Meyering  <jim@meyering.net>
3873
3874         * mbstate_t.m4: Use stdlib.h, not stdio.h.  The latter is not included
3875         by quotearg.c, for which we perform this test.  From Bruno Haible.
3876
3877 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
3878
3879         * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
3880         * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
3881         <utmpx.h> exists, put readutmp.o into LIBOBJS.
3882
3883 2000-06-25  Jim Meyering  <jim@meyering.net>
3884
3885         * mbstate_t.m4: Include stdio.h before wchar.h to work around
3886         Linux header bug when _XOPEN_SOURCE is defined to 500.
3887
3888 2000-06-24  Jim Meyering  <jim@meyering.net>
3889
3890         * strerror_r.m4: Revive this file -- to try out an experimental
3891         version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
3892         for which strerror does return char*, but which lacks a conveniently
3893         accessible declaration of the function.  If the compile-test says
3894         strerror_r doesn't work, then resort to a `run'-test that works on
3895         BeOS and segfaults on DEC Unix.
3896
3897 2000-06-19  Paul Eggert  <eggert@twinsun.com>
3898
3899         * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
3900         * prereq.m4 (jm_PREREQ_QUOTEARG): Use it.  Add check for iswprint.
3901
3902 2000-06-23  Jim Meyering  <jim@meyering.net>
3903
3904         * afs.m4: Add missing AC_MSG_RESULT.
3905         Reported by Bruno Haible.
3906
3907         * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
3908         Suggestion from Bruno Haible.
3909
3910 2000-06-21  Jim Meyering  <jim@meyering.net>
3911
3912         * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
3913
3914 2000-06-18  Jim Meyering  <jim@meyering.net>
3915
3916         * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
3917
3918         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
3919         `checking whether...' message to be consistent with that of the
3920         lstat test.
3921
3922 2000-06-16  Bruno Haible  <haible@clisp.cons.org>
3923
3924         * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
3925
3926 2000-06-12  Jim Meyering  <jim@meyering.net>
3927
3928         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
3929         from autoconf, and tweak the latter to accept an optional argument.
3930         * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
3931         the optional argument, `lib'.
3932
3933 2000-06-08  Jim Meyering  <jim@meyering.net>
3934
3935         * largefile.m4: Remove file (now that it's part of autoconf).
3936
3937 2000-06-04  Paul Eggert  <eggert@twinsun.com>
3938
3939         Rewrite largefile configuration so that we don't need to run
3940         getconf and don't need AC_CANONICAL_HOST.  [I'm leaving the use of
3941         AC_CANONICAL_HOST in configure.in -- jmm]
3942
3943         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
3944         AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
3945         (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
3946         (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
3947         CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
3948         All uses changed.
3949         Instead of inspecting the output of getconf, try to compile the
3950         test program without and with the macro definition.
3951         (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
3952         for getconf.  Instead, check for the needed flags by compiling
3953         test programs.
3954
3955 2000-06-03  Jim Meyering  <jim@meyering.net>
3956
3957         * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
3958         now that autoconf requires that.
3959
3960         * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
3961         #undefs.  E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
3962         Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
3963
3964 2000-05-26  Bruno Haible  <haible@clisp.cons.org>
3965
3966         * glibc21.m4: New file.
3967         * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
3968
3969 2000-05-28  Jim Meyering  <jim@meyering.net>
3970
3971         * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
3972         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
3973         * stat.m4: Likewise.
3974         * lstat.m4: Likewise.
3975         * lstat-slash.m4: Remove file (absorbed into autoconf).
3976
3977         * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
3978         * strerror_r.m4: Remove file (absorbed into autoconf).
3979
3980 2000-05-26  Jim Meyering  <jim@meyering.net>
3981
3982         * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
3983
3984 2000-05-24  Jim Meyering  <jim@meyering.net>
3985
3986         * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
3987         autoconf requires that.
3988         * lib-check.m4: Likewise.
3989         * jm-macros.m4: Likewise.
3990         * strftime.m4: Likewise.
3991
3992         * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
3993         now that autoconf requires that.
3994
3995 2000-05-22  Jim Meyering  <jim@meyering.net>
3996
3997         * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
3998         * lstat.m4: Likewise.
3999
4000 2000-05-20  Jim Meyering  <jim@meyering.net>
4001
4002         * prereq.m4 (jm_PREREQ_HUMAN): New macro.
4003         (jm_PREREQ): Use it.
4004
4005 2000-05-09  Jim Meyering  <jim@meyering.net>
4006
4007         * gettext.m4: Rename this...
4008         * libintl.m4: ...to this.
4009
4010 2000-05-06  Jim Meyering  <jim@meyering.net>
4011
4012         * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
4013         (AC_REPLACE_FUNCS): Add strnlen.
4014
4015         * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
4016         * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
4017
4018         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
4019         AC_SEARCH_LIBS call for nanosleep.
4020         (LIB_NANOSLEEP): Set and AC_SUBST.
4021
4022 2000-05-03  Paul Eggert  <eggert@twinsun.com>
4023
4024         * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
4025         be 500, instead of _GNU_SOURCE to be 1, to work around glibc
4026         2.1.3 bug.  This avoids a clash when files like regex.c define
4027         _GNU_SOURCE.
4028
4029 2000-05-05  Jim Meyering  <jim@meyering.net>
4030
4031         * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
4032         call for clock_gettime.
4033         (LIB_CLOCK_GETTIME): Set and AC_SUBST.
4034
4035         * search-libs.m4: Update from autoconf.
4036
4037         su doesn't work on Solaris 2.6.
4038         * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
4039         <shadow.h>.  Reported by Dragos Harabor.
4040
4041 2000-05-03  Jim Meyering  <jim@meyering.net>
4042
4043         * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
4044
4045 2000-05-02  Paul Eggert  <eggert@twinsun.com>
4046
4047         * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
4048         this is needed to make ftello visible (e.g. glibc 2.1.3).  Use
4049         compile-time test, rather than inspecting host and OS, to
4050         decide whether to define _LARGEFILE_SOURCE.
4051
4052 2000-05-01  Jim Meyering  <jim@meyering.net>
4053
4054         * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
4055
4056         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
4057         Based on a patch from Bruno Haible.
4058
4059 2000-04-18  Jim Meyering  <jim@meyering.net>
4060
4061         * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
4062         (jm_PREREQ): Use it.
4063
4064 2000-04-17  Jim Meyering  <jim@meyering.net>
4065
4066         Get it right :-)
4067         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
4068         actual #define via AH_VERBATIM.  Don't need separate AC_DEFINE.
4069         Suggestion from Akim Demaille.
4070
4071 2000-04-14  Jim Meyering  <jim@meyering.net>
4072
4073         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
4074         of AC_DEFINE.  Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
4075
4076 2000-04-13  Jim Meyering  <jim@meyering.net>
4077
4078         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
4079         to insert required #ifndef into config.h.in.
4080         Suggestion from Akim Demaille.
4081
4082 2000-04-12  Jim Meyering  <jim@meyering.net>
4083
4084         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
4085         `AC_CHECK_HEADER' to check for locale.h.  Thanks to a report from
4086         Christian Krackowizer.
4087
4088         More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
4089         * jm-macros.m4 (_GNU_SOURCE): Define.
4090         (AC_SYS_LARGEFILE): Require.
4091         (AM_C_PROTOTYPES): Require.
4092
4093 2000-04-05  Paul Eggert  <eggert@twinsun.com>
4094
4095         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
4096         IRIX if the installer said otherwise.
4097
4098 2000-04-05  Jim Meyering  <jim@meyering.net>
4099
4100         Portability tweaks required for ultrix4.3.
4101         * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
4102         (jm_CHECK_DECLS): Add getutent to the list of functions.
4103         (_jm_DECL_HEADERS): Add utmpx.h.
4104         From John David Anglin.
4105
4106         * strftime.m4: Back out the 2000-04-02 change.
4107         Instead of that change, simply undefine putenv in the test program.
4108
4109 2000-04-03  Jim Meyering  <jim@meyering.net>
4110
4111         * gettext.m4: Fix typo in comment.
4112
4113         * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
4114         textutils/configure.in).  Suggestion from Paul Eggert.
4115         (AC_CHECK_FUNCS): Add nl_langinfo.  (also from textutils/configure.in)
4116
4117 2000-04-02  Paul Eggert  <eggert@twinsun.com>
4118
4119         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
4120         variable in the shell rather than using putenv, which isn't
4121         portable.  This avoids the configure-time inter-test dependency
4122         on the potentially-renamed putenv function.
4123
4124 2000-03-30  Paul Eggert  <eggert@twinsun.com>
4125
4126         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
4127         before checking struct stat.st_blksize, so that
4128         HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
4129
4130 2000-03-29  Paul Eggert  <eggert@twinsun.com>
4131
4132         * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
4133         since strftime.c uses HAVE_STRFTIME to decide whether to use
4134         the underlying strftime.
4135
4136 2000-03-10  Jim Meyering  <jim@meyering.net>
4137
4138         * lib-check.m4: Look for getspnam in -lgen, too.
4139         From Marco Franzen.
4140
4141 2000-02-02  Bruno Haible  <haible@clisp.cons.org>
4142
4143         * codeset.m4: New file.
4144         * iconv.m4: New file.
4145         * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
4146
4147 2000-03-04  Jim Meyering  <jim@meyering.net>
4148
4149         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
4150         for lib/localcharset.c.
4151
4152 2000-03-03  Jim Meyering  <jim@meyering.net>
4153
4154         * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
4155
4156 2000-03-02  Jim Meyering  <jim@meyering.net>
4157
4158         * timespec.m4: Require AC_HEADER_TIME before the cache check so
4159         the messages come out on separate lines.
4160
4161         * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
4162         rather than jm_CHECK_DECLARATIONS.
4163         * decl.m4: Remove now-unused file.
4164
4165         * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
4166
4167 2000-02-27  Jim Meyering  <jim@meyering.net>
4168
4169         * check-decl.m4: Add getenv to the list.
4170
4171 2000-02-23  Jim Meyering  <jim@meyering.net>
4172
4173         * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
4174         in place of my hack.
4175
4176 2000-02-10  Jim Meyering  <jim@meyering.net>
4177
4178         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
4179         gnu_nanosleep to rpl_nanosleep.
4180
4181 2000-02-09  Jim Meyering  <jim@meyering.net>
4182
4183         * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
4184         struct spwd, rather than in struct passwd.  Reported by Gaël Quéri.
4185
4186 2000-02-08  Akim Demaille  <akim@epita.fr>
4187
4188         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
4189         `[' and `]' and remove uses of `changequote'.
4190         (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
4191         (AC_SYS_LARGEFILE): Likewise.
4192         * gettext.m4 (AM_GNU_GETTEXT): Likewise.
4193         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
4194         of changequote.
4195         * regex.m4 (jm_INCLUDED_REGEX): Likewise.
4196         * readdir.m4 (jm_FUNC_READDIR): Likewise
4197         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
4198         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
4199
4200 2000-02-05  Jim Meyering  <jim@meyering.net>
4201
4202         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
4203         Remove explicit use of AC_HEADER_TIME.  It is required by
4204         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Using AC_HEADER_TIME and
4205         `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
4206         in autoconf whereby the expansion of the latter ended up preceding
4207         the expansion of its prerequisite, AC_HEADER_TIME.
4208         Reported by Volker Borchert.
4209
4210 2000-02-03  Jim Meyering  <jim@meyering.net>
4211
4212         * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
4213
4214 2000-02-02  Jim Meyering  <jim@meyering.net>
4215
4216         * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
4217         definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
4218         Reported by Eli Zaretskii.
4219
4220 2000-01-31  Jim Meyering  <jim@meyering.net>
4221
4222         * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
4223         functions.  Add the time.h and sys/time.h headers along with the
4224         AC_REQUIRE'ment of AC_HEADER_TIME.
4225
4226 2000-01-30  Jim Meyering  <jim@meyering.net>
4227
4228         * lib-check.m4: Clean up some kludgy old shadow password tests.
4229
4230         * prereq.m4 (utmp_includes): Define.
4231         Check for ut_user and ut_name members in both struct utmpx
4232         and struct utmp.
4233
4234 2000-01-29  Jim Meyering  <jim@meyering.net>
4235
4236         * lib-check.m4: New file containing library-related checks from
4237         fileutils and sh-utils (textutils had none).
4238
4239 2000-01-28  Jim Meyering  <jim@meyering.net>
4240
4241         * perl.m4: Change format of warning message to look more like that
4242         from the missing script.  Suggestion from François Pinard.
4243
4244 2000-01-25  Jim Meyering  <jim@meyering.net>
4245
4246         * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
4247         as time.h in the compile check.
4248         * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
4249         Fix typo in cross-compiling case: s/yes/no/.
4250
4251 2000-01-23  Jim Meyering  <jim@meyering.net>
4252
4253         * jm-macros.m4: Move df-related tests here from fileutils/configure.in
4254
4255         * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
4256         (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
4257
4258         * fsusage.m4: New file.  Extracted from fileutils/configure.in.
4259         s/space/ac_fsusage_space/.
4260         (jm_FILE_SYSTEM_USAGE): Take two parameters.
4261
4262         * ftruncate.m4: New file (derived from part of fileutils/configure.in).
4263         * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
4264         (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
4265
4266         * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
4267         AC_SUBST these here, rather than just in sh-util/configure.in, so
4268         that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
4269         all the same.
4270         (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
4271         (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
4272         (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
4273         (AC_SUBST(POW_LIBM)): Likewise.
4274         (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
4275
4276 2000-01-22  Jim Meyering  <jim@meyering.net>
4277
4278         * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
4279
4280         * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
4281
4282         * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
4283         configure.in
4284         (AC_CHECK_HEADERS): Likewise for sh-utils.
4285         (AC_CHECK_HEADERS): Likewise for textutils.
4286         Merge the three lists of headers.
4287
4288         * prereq.m4 (jm_PREREQ_ADDEXT): New macro.  Parts moved here
4289         from fileutils' configure.in.
4290
4291         * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
4292         Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
4293
4294         * check-decl.m4: Use #if rather than #ifdef.
4295         Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
4296         (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
4297         (_jm_DECL_HEADERS): Define new function.
4298         (jm_CHECK_DECLARATIONS): Require it.
4299
4300 2000-01-19  Jim Meyering  <jim@meyering.net>
4301
4302         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
4303         Use AC_HEADER_TIME.  Volker Borchert reported that OpenBSD-2.3/sparc
4304         defines `struct timespec' in <sys/time.h>
4305
4306         * c-bs-a.m4: Remove uses of changequote altogether.
4307         Thanks to Akim for explaining.
4308
4309 2000-01-16  Jim Meyering  <jim@meyering.net>
4310
4311         * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
4312         AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
4313         jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
4314         AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
4315
4316 2000-01-16  Jim Meyering  <jim@meyering.net>
4317
4318         * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
4319         because the latter didn't work.
4320
4321 2000-01-15  Jim Meyering  <jim@meyering.net>
4322
4323         * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
4324         (AC_REPLACE_FUNCS): Add memcpy and memset.
4325         Add these, too: stime strcspn stpcpy strstr strtol strtoul.
4326         Add strpbrk.
4327         Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
4328
4329 2000-01-12  Jim Meyering  <jim@meyering.net>
4330
4331         * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
4332         (jm_PREREQ): Use it.
4333         (jm_PREREQ_READUTMP): New macro.
4334         (jm_PREREQ): Use it.
4335
4336 2000-01-11  Paul Eggert  <eggert@twinsun.com>
4337
4338         Quote multibyte characters correctly.
4339         * c-bs-a.m4: New file.
4340         * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
4341         (jm_PREREQ): Use it.
4342
4343 2000-01-11  Paul Eggert  <eggert@twinsun.com>
4344
4345         * uintmax_t.m4: Port to autoconf 2.13.
4346
4347 2000-01-08  Jim Meyering  <meyering@ascend.com>
4348
4349         * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
4350         * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
4351
4352 2000-01-04  Jim Meyering  <meyering@ascend.com>
4353
4354         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
4355         jm_STRUCT_DIRENT_D_TYPE.
4356         * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
4357         jm_STRUCT_DIRENT_D_INO.
4358         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
4359         jm_STRUCT_UTIMBUF.
4360         * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
4361         * utime.m4: Likewise.
4362
4363         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
4364         * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
4365
4366 2000-01-03  Paul Eggert  <eggert@twinsun.com>
4367
4368         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
4369         (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
4370
4371 2000-01-02  Jim Meyering  <meyering@ascend.com>
4372
4373         * search-libs.m4: Escape `$' in $3 of dnl comment.  I no longer
4374         remember if this is necessary.
4375
4376 1999-12-26  Jim Meyering  <meyering@ascend.com>
4377
4378         * jm-macros.m4: Use it here.
4379         * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
4380
4381 1999-12-23  Jim Meyering  <meyering@ascend.com>
4382
4383         * jm-macros.m4: Check for clock_gettime (moved from
4384         fileutils/configure.in)
4385         Check for gettimeofday.
4386
4387 1999-12-20  Jim Meyering  <meyering@ascend.com>
4388
4389         * strftime.m4: Remove kludge, now that I'm using the fixed
4390         autoconf-2.14a-1999-12-20.
4391
4392 1999-12-19  Jim Meyering  <meyering@ascend.com>
4393
4394         * lstat-slash.m4: New file.
4395         * jm-macros.m4: Use the new macro:
4396         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4397
4398 1999-12-07  Jim Meyering  <meyering@ascend.com>
4399
4400         * perl.m4: Require that File::Compare be available, too.
4401         Too many systems seem to lack it.
4402
4403         * strftime.m4: Add checks for most of the cpp macros tested in
4404         GNU's strftime.c.  Prompted by a patch from Paul Eggert.
4405
4406 1999-11-18  Paul Eggert  <eggert@twinsun.com>
4407
4408         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
4409         problem with the QNX 4.25 shell, which doesn't propagate exit
4410         status of failed commands inside shell assignments.
4411
4412 1999-11-17  Jim Meyering  <meyering@ascend.com>
4413
4414         * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
4415
4416 1999-11-07  Jim Meyering  <meyering@ascend.com>
4417
4418         * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
4419
4420 1999-11-06  Jim Meyering  <meyering@ascend.com>
4421
4422         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
4423         * jm-macros.m4 (jm_MACROS): Use it here.
4424
4425 1999-11-05  Jim Meyering  <meyering@ascend.com>
4426
4427         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
4428         of textutils, fileutils, and sh-utils into this one (shared between
4429         those packages) file.
4430         Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
4431         AC_STRUCT_ST_BLKSIZE.
4432
4433 1999-11-03  Jim Meyering  <meyering@ascend.com>
4434
4435         * ssize_t.m4: Remove file.  No longer needed since the new version of
4436         AC_CHECK_TYPE checks includes unistd.h.
4437         * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
4438         Suggestion from Akim Demaille.
4439
4440 1999-10-30  Jim Meyering  <meyering@ascend.com>
4441
4442         * uintmax_t.m4: Require 2.14a.  Remove backslash before backtick in
4443         m4-quoted string.
4444         * ls-mntd-fs.m4: Likewise.
4445         * jm-macros.m4: Likewise.  Also, use AC_TYPE_SSIZE_T instead
4446         * jm-winsz1.m4: Likewise.
4447
4448         * const.m4: Remove file, since the fix made it into the experimental
4449         version of autoconf.
4450         * mktime.m4: Likewise.
4451
4452         * check-type.m4: Remove file, now that the latest version of
4453         AC_CHECK_TYPE takes a third arg to specify additional #includes.
4454
4455         * ssize_t.m4: New file, requires experimental version of autoconf.
4456         * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
4457         AC_CHECK_TYPE.
4458
4459 1999-10-04  Jim Meyering  <meyering@ascend.com>
4460
4461         * jm-macros.m4: Don't require autoconf-2.14.1.
4462
4463 1999-09-22  Paul Eggert  <eggert@twinsun.com>
4464
4465         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
4466         2.95.1 bug with HP-UX 10.20.
4467
4468 1999-09-17  Jim Meyering  <meyering@ascend.com>
4469
4470         * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
4471         Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
4472         due to missing strdup (against sh-utils-2.0).
4473
4474 1999-08-29  Jim Meyering  <meyering@ascend.com>
4475
4476         * jm-macros.m4: Require jm_BISON.
4477         * bison.m4: New file.
4478
4479 1999-08-17  Paul Eggert  <eggert@twinsun.com>
4480
4481         * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
4482         in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
4483
4484 1999-08-05  Jim Meyering  <meyering@ascend.com>
4485
4486         * getline.m4: Rename test file from conftestdata to conftest.data
4487         to avoid conflicts with `conftest' on 8+3 filesystems.
4488         Suggestion from Eli Zaretskii.
4489
4490 1999-08-04  Jim Meyering  <meyering@ascend.com>
4491
4492         * jm-macros.m4: Move a 4-line block of code from the configure.in of
4493         fileutils and sh-utils (textutils's getline test was inadequate).
4494         (AM_FUNC_GETLINE): Run this test.
4495         (AC_CHECK_FUNCS): Check for getdelim.
4496         Reported by Bob Proulx.
4497
4498 1999-08-02  Jim Meyering  <meyering@ascend.com>
4499
4500         * jm-macros.m4: Add a comment.
4501
4502 1999-08-01  Jim Meyering  <meyering@ascend.com>
4503
4504         * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
4505
4506 1999-08-01  Paul Eggert  <eggert@twinsun.com>
4507
4508         * lfs.m4: Remove this file.
4509         * largefile.m4: New file.  It contains the old contents of
4510         lfs.m4, except that all names with prefix AC_LFS have been
4511         changed to use the prefix AC_SYS_LARGEFILE instead, to be
4512         compatible with future autoconf versions.  Also, some minor m4
4513         quoting problems have been fixed.
4514
4515 1999-07-16  Paul Eggert  <eggert@twinsun.com>
4516
4517         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
4518         that we can shift, multiply and divide unsigned long long
4519         values; Ultrix cc can't do it.
4520
4521 1999-07-14  Paul Eggert  <eggert@twinsun.com>
4522
4523         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
4524         <inttypes.h> defines strtoumax as a macro (and not as a
4525         function).
4526
4527 1999-07-05  Paul Eggert  <eggert@twinsun.com>
4528
4529         * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
4530         Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
4531         (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
4532         and simplify the shell code.
4533
4534 1999-07-03  Paul Eggert  <eggert@twinsun.com>
4535
4536         * mktime.m4: New file, which is a preview of what should appear
4537         in the next public autoconf release.
4538
4539 1999-07-20  Jim Meyering  <meyering@ascend.com>
4540
4541         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
4542
4543 1999-07-15  Jim Meyering  <meyering@ascend.com>
4544
4545         * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
4546
4547 1999-05-22  Jim Meyering  <meyering@ascend.com>
4548
4549         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
4550
4551 1999-05-20  Jim Meyering  <meyering@ascend.com>
4552
4553         * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
4554         Add a colon after each `then' in case $4 is empty.
4555
4556 1999-05-16  Jim Meyering  <meyering@ascend.com>
4557
4558         * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
4559
4560 1999-05-10  Jim Meyering  <meyering@ascend.com>
4561
4562         * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
4563
4564         * jm-macros.m4: Require 2.14.1, since we use newly-renamed
4565         AC_FUNC_MKTIME.
4566
4567 1999-05-10  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4568
4569         * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
4570
4571 1999-05-04  Paul Eggert  <eggert@twinsun.com>
4572
4573         * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
4574         not CPPFLAGS, so that linking works correctly in IRIX.
4575
4576 1999-04-30  Paul Eggert  <eggert@twinsun.com>
4577
4578         * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
4579
4580 1999-04-20  Jim Meyering  <meyering@ascend.com>
4581
4582         * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
4583         AC_REPLACE xstroull if necessary.  From Paul Eggert.
4584         (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
4585
4586 1999-04-20  Paul Eggert  <eggert@twinsun.com>
4587
4588         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
4589         long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
4590         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
4591         jm_AC_TYPE_UNSIGNED_LONG_LONG.
4592         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
4593
4594         * lfs.m4: Port to AIX and HP-UX.  Support cross-compilation.
4595
4596 1999-04-18  Jim Meyering  <meyering@ascend.com>
4597
4598         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
4599         * jm-macros.m4: Use it.
4600
4601 1999-04-06  Jim Meyering  <meyering@ascend.com>
4602
4603         * strftime.m4: Remove test for %f.
4604
4605 1999-03-29  Jim Meyering  <meyering@ascend.com>
4606
4607         * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
4608         superset of the AC_TYPE_* checks in the textutils, fileutils,
4609         and sh-utils, plus AC_TYPE_PID_T.  Paul Eggert suggested adding
4610         AC_TYPE_PID_T.
4611
4612 1999-03-28  Jim Meyering  <meyering@ascend.com>
4613
4614         * jm-macros.m4: Define GNU_PACKAGE here.
4615         Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
4616         replaced e.g., in the *.sh files of the sh-utils.
4617
4618 1999-03-20  Jim Meyering  <meyering@ascend.com>
4619
4620         * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
4621         * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
4622         Don't depend on AM_GLIBC.  Suggestions from Alain Magloire.
4623
4624 1999-03-19  Jim Meyering  <meyering@ascend.com>
4625
4626         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
4627
4628 1999-03-12  Jim Meyering  <meyering@ascend.com>
4629
4630         * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
4631
4632 1999-03-07  Jim Meyering  <meyering@ascend.com>
4633
4634         * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
4635
4636 1999-02-17  Jim Meyering  <meyering@ascend.com>
4637
4638         * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
4639         in macro definition.  From Eli Zaretskii and Alain Magloire.
4640
4641 1999-02-07  Jim Meyering  <meyering@ascend.com>
4642
4643         * group-member.m4: New file -- extracted from sh-utils' configure.in.
4644
4645         1999-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
4646         * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
4647
4648 1999-02-06  Jim Meyering  <meyering@ascend.com>
4649
4650         * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
4651         * fnmatch.m4: Likewise.
4652         * getgroups.m4: Likewise.
4653         * lstat.m4: Likewise.
4654         * malloc.m4: Likewise.
4655         * putenv.m4: Likewise.
4656         * realloc.m4: Likewise.
4657         * regex.m4: Likewise.
4658         * stat.m4: Likewise.
4659         * strftime.m4: Likewise.
4660         Suggestion from Alain Magloire.
4661
4662         * chown.m4: Use `.$ac_objext', not `.o'.
4663         * fnmatch.m4: Likewise.
4664         * getgroups.m4: Likewise.
4665         * getline.m4: Likewise.
4666         * lstat.m4: Likewise.
4667         * malloc.m4: Likewise.
4668         * memcmp.m4: Likewise.
4669         * putenv.m4: Likewise.
4670         * realloc.m4: Likewise.
4671         * regex.m4: Likewise.
4672         * stat.m4: Likewise.
4673         * strftime.m4: Likewise.
4674         Suggestion from Alain Magloire.
4675
4676         * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
4677         an argument.
4678
4679         * regex.m4: Add a run-time Test for proper operation of
4680         re_compile_pattern.
4681
4682 1999-01-31  Jim Meyering  <meyering@ascend.com>
4683
4684         * getloadavg.m4: Check for locale.h and the function, setlocale.
4685
4686 1999-01-30  Jim Meyering  <meyering@ascend.com>
4687
4688         * check-type.m4: Use 3-arg form of AC_DEFINE.
4689
4690         * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
4691         rather than my private copy, now that the official one is up to date.
4692         * mktime.m4: Remove file.
4693
4694         * getloadavg.m4: Use 3-arg form of AC_DEFINE.
4695         * uptime.m4: Likewise.
4696         * uintmax_t.m4: Likewise.
4697
4698 1999-01-28  Jim Meyering  <meyering@ascend.com>
4699
4700         * jm-macros.m4: Use jm_AFS.
4701         * afs.m4: New file (from fileutils' configure.in).
4702
4703         * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
4704         * chown.m4: Likewise.
4705         * d-ino.m4: Likewise.
4706         * d-type.m4: Likewise.
4707         * fnmatch.m4: Likewise.
4708         * getgroups.m4: Likewise.
4709         * gettext.m4: Likewise.
4710         * jm-mktime.m4: Likewise.
4711         * jm-winsz2.m4: Likewise.
4712         * lcmessage.m4: Likewise.
4713         * ls-mntd-fs.m4: Likewise.
4714         * malloc.m4: Likewise.
4715         * memcmp.m4: Likewise.
4716         * putenv.m4: Likewise.
4717         * realloc.m4: Likewise.
4718         * st_mtim.m4: Likewise.
4719         * strftime.m4: Likewise.
4720
4721 1999-01-16  Jim Meyering  <meyering@ascend.com>
4722
4723         * jm-macros.m4 (ARGMATCH_DIE): Define.
4724         (ARGMATCH_DIE_DECL): Define.
4725
4726 1999-01-12  Jim Meyering  <meyering@ascend.com>
4727
4728         * Makefile.am.in: Rewrite to avoid using fmt.
4729         Reported by Lars Hecking.
4730
4731 1999-01-10  Jim Meyering  <meyering@ascend.com>
4732
4733         * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
4734         gross kludge.
4735         * inttypes_h.m4: Likewise.
4736         * lstat.m4: Likewise.
4737         * malloc.m4: Likewise.
4738         * readdir.m4: Likewise.
4739         * realloc.m4: Likewise.
4740         * st_dm_mode.m4: Likewise.
4741         * stat.m4: Likewise.
4742         * utimbuf.m4: Likewise.
4743         * utimes.m4: Likewise.
4744
4745         * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
4746         AC_CHECK_FUNCS hack.  Now, it's still a hack, but at least the
4747         comments in config.h.in are meaningful.
4748
4749         * jm-macros.m4: Require autoconf-2.13 here.
4750
4751         * regex.m4: By default, don't use the included regex.c on systems
4752         with glibc 2.  Suggestion from Uli Drepper.
4753
4754 1999-01-02  Jim Meyering  <meyering@ascend.com>
4755
4756         * jm-macros.m4: Replace strcasecmp and strncasecmp.
4757
4758 1998-12-18  Jim Meyering  <meyering@ascend.com>
4759
4760         * Makefile.am.in (Makefile.am): Simplify rule.
4761         Based on a suggestion from Lars Hecking.
4762
4763 1998-11-16  Jim Meyering  <meyering@ascend.com>
4764
4765         * lfs.m4: Double-quote the `uname...` expression.
4766
4767 1998-11-16  Paul Eggert  <eggert@twinsun.com>
4768
4769         * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
4770
4771 1998-11-14  Jim Meyering  <meyering@ascend.com>
4772
4773         * lstat.m4: Correct comment.  POSIX does not permit it to succeed.
4774         * stat.m4: Likewise.
4775
4776 1998-11-03  Jim Meyering  <meyering@ascend.com>
4777
4778         * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
4779         * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
4780
4781 1998-10-18  Jim Meyering  <meyering@ascend.com>
4782
4783         * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
4784
4785 1998-10-17  Jim Meyering  <meyering@ascend.com>
4786
4787         * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
4788         include, though we still hard-code the `require'-like AC_CHECK_HEADERS
4789         calls for those previously hard-coded headers.  Instead, take a new
4790         parameter.
4791         (jm_CHECK_DECLARATIONS): Reflect interface change.
4792         * check-decl.m4 (jm_CHECK_DECLS): Likewise.
4793         (jm_CHECK_DECL_LOCALTIME_R): New macro.
4794
4795         * mktime.m4: Test for spring-forward gap before long-running test.
4796
4797 1998-10-14  Jim Meyering  <meyering@ascend.com>
4798
4799         * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
4800         instead of "TZ=America/Vancouver".  From Paul Eggert.
4801
4802 1998-10-11  Jim Meyering  <meyering@ascend.com>
4803
4804         * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
4805         This adds a test for a recently added compatibility fix for mktime.c.
4806         * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
4807
4808 1998-09-27  Jim Meyering  <meyering@ascend.com>
4809
4810         * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
4811
4812         * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro.  Extracted from
4813         ../configure.in, including a change from Gordon Matzigkeit to allow
4814         cross-compiling for the Hurd.
4815
4816         * glibc.m4: New file/macro to test for the GNU C Library
4817         versions 1 and 2.  From Gordon Matzigkeit.
4818         Indent.
4819
4820 1998-09-21  Jim Meyering  <meyering@ascend.com>
4821
4822         * chown.m4: Declare locals: before, after.  From Andries Brouwer.
4823
4824 1998-08-18  Paul Eggert  <eggert@twinsun.com>
4825
4826         Port nanosecond-resolution times to UnixWare 2.1.2 and
4827         pedantic Solaris 2.6.
4828
4829         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
4830         AC_STRUCT_ST_MTIM.
4831         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
4832         Generate name of ns member, instead of just 1 or undef.
4833         Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
4834
4835 1998-08-15  Jim Meyering  <meyering@ascend.com>
4836
4837         * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
4838         * check-type.m4: New file.  Replacement for AC_CHECK_TYPE.
4839         * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
4840         instead of jm_TYPE_SSIZE_T.
4841
4842 1998-08-12  Jim Meyering  <meyering@ascend.com>
4843
4844         * st_dm_mode.m4: New file.  From Johan Danielsson.
4845
4846 1998-08-02  Jim Meyering  <meyering@ascend.com>
4847
4848         * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
4849         in acconfig.h manually.
4850
4851 1998-07-31  Paul Eggert  <eggert@twinsun.com>
4852
4853         * st_mtim.m4: New file.
4854
4855 1998-07-28  Jim Meyering  <meyering@ascend.com>
4856
4857         * utimes.m4: Undef stat.
4858
4859 1998-07-25  Jim Meyering  <meyering@ascend.com>
4860
4861         * utime.m4 (jm_FUNC_UTIME): New file and macro.
4862         * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
4863
4864 1998-07-09  Manfred Hollstein  <manfred@s-direktnet.de>
4865
4866         * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
4867         uid and gid actually remain unchanged.
4868
4869 1998-07-07  Jim Meyering  <meyering@ascend.com>
4870
4871         * jm-glibc-io.m4: Remove fclose_unlocked.
4872
4873 1998-07-04  Jim Meyering  <meyering@ascend.com>
4874
4875         * regex.m4: Use syscmd, ifelse, and sysval.  Mainly as an exercise
4876         to prove that this macro can be used in packages without regex.c.
4877
4878 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4879
4880         * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
4881         is to be used.
4882
4883 1998-07-03  Jim Meyering  <meyering@ascend.com>
4884
4885         * gettext.m4: Add -lintl if it's found to be necessary.
4886
4887         * gettext.m4: New file -- from gettext-0.10.35.
4888         * lcmessage.m4: Likewise.
4889         * progtest.m4: Likewise.
4890
4891         * regex.m4 (jm_WITH_REGEX): New file and macro.
4892         * jm-macros.m4: Require the new macro.
4893
4894 1998-06-29  Jim Meyering  <meyering@ascend.com>
4895
4896         * fstypename.m4: Include sys/param.h.  NetBSD 1.3.1 requires this
4897         for the definition of NGROUPS (used in a system header included
4898         by sys/mount.h).
4899
4900 1998-06-28  Jim Meyering  <meyering@ascend.com>
4901
4902         * ls-mntd-fs.m4: New file.
4903         * fstypename.m4: New file.
4904
4905         * jm-macros.m4: Require the new macro.
4906         * jm-glibc-io.m4: New file.
4907
4908 1998-05-19  Jim Meyering  <meyering@ascend.com>
4909
4910         * jm-macros.m4: Add jm_FUNC_LCHOWN.
4911         * lchown.m4: New file.
4912
4913         * Makefile.am.in: New file.
4914         * Makefile.am (Makefile.am): Depend on Makefile.am.in.
4915
4916 1998-05-14  Jim Meyering  <meyering@ascend.com>
4917
4918         * Makefile.am (EXTRA_DIST): Add them.
4919         * jm-macros.m4: New file.
4920         * utimbuf.m4: New file.
4921
4922 1998-05-12  Jim Meyering  <meyering@ascend.com>
4923
4924         * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
4925
4926 1998-05-11  Jim Meyering  <meyering@ascend.com>
4927
4928         * isc-posix.m4: New file.
4929
4930 1998-05-10  Jim Meyering  <meyering@ascend.com>
4931
4932         * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
4933
4934 1998-05-09  Jim Meyering  <meyering@ascend.com>
4935
4936         * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
4937         (EXTRA_DIST): Remove mktime.m4, now that the new version is included
4938         with automake.
4939
4940         * ssize_t.m4: New file.
4941         * mktime.m4: Remove file -- the new automake has this now.
4942
4943 1998-04-26  Jim Meyering  <meyering@ascend.com>
4944
4945         * assert.m4: New file.
4946         * Makefile.am (EXTRA_DIST): Add assert.m4.
4947
4948 1998-04-05  Jim Meyering  <meyering@ascend.com>
4949
4950         * prereq.m4 (jm_PREREQ_REGEX): New macro.
4951         (jm_PREREQ): Use it here.
4952
4953 1998-03-23  Jim Meyering  <meyering@eng.ascend.com>
4954
4955         * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
4956         in acconfig.h.
4957
4958 1998-03-15  Jim Meyering  <meyering@eng.ascend.com>
4959
4960         * prereq.m4: New file.
4961         * error.m4: New file.
4962         * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
4963
4964 1998-02-07  Jim Meyering  <meyering@eng.ascend.com>
4965
4966         * getline.m4: Don't set am_cv_func_working_getline before the
4967         cache-check for the same variable -- that defeated the purpose of
4968         the test; the test program was never run.  This was a problem only
4969         on systems with losing getline functions -- HP-UX 10.20 is one.
4970         Reported by Bjorn Helgaas.
4971
4972 1998-02-06  Jim Meyering  <meyering@eng.ascend.com>
4973
4974         * Makefile.am (EXTRA_DIST): Add perl.m4.
4975
4976 1998-01-10  Jim Meyering  <meyering@na-net.ornl.gov>
4977
4978         * Makefile.am (EXTRA_DIST): Add const.m4.
4979
4980         * const.m4: New file.  Use an initializer in this declaration
4981         typedef int charset[2]; const charset x;
4982         Reported by Bob Glickstein.
4983
4984 1997-12-21  Jim Meyering  <meyering@na-net.ornl.gov>
4985
4986         * chown.m4: Fix reversed types on -1 args to chown.
4987         From Kaveh Ghazi.
4988
4989 1997-12-14  Jim Meyering  <meyering@na-net.ornl.gov>
4990
4991         * check-decl.m4: s/DECLARATION_/DECL_/g.
4992         Add lseek and memchr.
4993
4994         * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
4995         T.E.Dickey <dickey@clark.net> said that some older preprocessors
4996         have a 20-character limit on names.
4997
4998 1997-11-30  Jim Meyering  <meyering@na-net.ornl.gov>
4999
5000         * inttypes_h.m4: New file.
5001         * uintmax_t.m4: New file.
5002         * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
5003
5004
5005         -----
5006
5007         Copyright (C) 1997-2006, 2009-2011 Free Software Foundation, Inc.
5008
5009         Copying and distribution of this file, with or without
5010         modification, are permitted provided the copyright notice
5011         and this notice are preserved.