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