Remove stat module & update lstat.
[pspp] / m4 / ChangeLog
1 2005-06-24  Derek Price  <derek@ximbiot.com>
2         and Bruno Haible  <bruno@clisp.org>
3
4         Remove stat module & update lstat.
5         * lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
6         AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
7         * stat.m4: Remove this file.
8
9 2005-06-20  Derek Price  <derek@ximbiot.com>
10
11         * bison.m4: Note that precious decls of YACC & YFLAGS will be
12         unnecessary for Autoconfs > 2.59c.
13
14 2005-06-16  Derek Price  <derek@ximbiot.com>
15
16         * bison.m4: Declare YACC & YFLAGS precious.
17
18 2005-06-08  Bruno Haible  <bruno@clisp.org>
19
20         * csharpcomp.m4: New file, from GNU gettext.
21
22 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
23
24         Sync from coreutils.
25         * mkdir-p.m4: Renamed from makepath.m4.
26         (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH.  All uses changed.
27         Rename files from makepath.c to mkdir-p.c, and from
28         makepath.h to mkdir-p.h.
29         * filenamecat.m4: Renamed from path-concat.m4.
30         (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT.  All uses changed.
31         Rename files from path-concat.c to filenamecat.c,
32         and from path-concat.h to filenamecat.h.
33         * getcwd-path-max.m4: Don't use "path" or "filename" to mean
34         "file name" in local variables or comments.
35         * rename.m4: Likewise.
36
37 2005-06-01  Bruno Haible  <bruno@clisp.org>
38
39         * csharp.m4: New file, from GNU gettext.
40         * csharpexec.m4: New file, from GNU gettext.
41
42 2005-05-31  Derek Price  <derek@ximbiot.com>
43             Paul Eggert  <eggert@cs.ucla.edu>
44
45         Sync from cvs.
46         * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
47
48 2005-05-29  Derek Price  <derek@ximbiot.com>
49             Paul Eggert  <eggert@cs.ucla.edu>
50
51         * glob.m4: New file.
52
53 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
54
55         * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
56         and don't require gt_INTTYPES_PRI.
57
58 2005-05-26  Paul Eggert  <eggert@cs.ucla.edu>
59
60         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Define
61         _POSIX_PTHREAD_SEMANTICS for Solaris.
62
63 2005-05-25  Derek Price  <derek@ximbiot.com>
64             Paul Eggert  <eggert@cs.ucla.edu>
65
66         * getlogin_r.m4: New files.
67
68 2005-05-22  Bruno Haible  <bruno@clisp.org>
69
70         * minmax.m4: New file.
71         Based on a patch by Derek Price <derek@ximbiot.com>.
72
73 2005-05-20  Paul Eggert  <eggert@cs.ucla.edu>
74
75         * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
76         (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
77
78 2005-05-20  Eric Blake  <ebb9@byu.net>  (tiny change)
79
80         * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
81         of -1.
82
83 2005-05-18  Paul Eggert  <eggert@cs.ucla.edu>
84
85         * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
86         Don't check for stddef.h.
87         * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
88         don't use its results.
89         Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
90         since we include them unconditionally.  Don't require
91         AM_STDBOOL_H, since stdbool is a prerequisite.
92         Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
93         since we assume C89 or better.
94         Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
95         as we don't use their results.
96         Don't check for fchdir, memmove, memset, strrchr, as we use
97         them unconditionally.
98         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
99         GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
100
101 2005-05-18  Jim Meyering  <jim@meyering.net>
102
103         * fts.m4 (AC_LIBSOURCES): Add intprops.h to the list.
104         Reported by Yoann Vandoorselaere.
105
106 2005-05-17  Jim Meyering  <jim@meyering.net>
107
108         * fts.m4: New file, from coreutils.
109
110 2005-05-14  Paul Eggert  <eggert@cs.ucla.edu>
111
112         Sync from coreutils.
113         * unlinkdir.m4: New file.
114
115 2005-05-10  Derek Price  <derek@ximbiot.com>
116
117         * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
118         possible.
119
120 2005-05-10  Simon Josefsson  <jas@extundo.com>
121
122         * getaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
123         Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
124
125 2005-05-09  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
126             Bruno Haible  <bruno@clisp.org>
127
128         * inet_ntop.m4: New file.
129
130 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
131
132         * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
133         needless checks.
134
135 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
136
137         * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
138         * lchown.m4 (gl_FUNC_CHOWN): Likewise.
139         (gl_PREREQ_CHOWN): Remove.
140         * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
141         it.  Don't require AC_HEADER_STAT.
142         (gl_PREREQ_LSTAT): Remove.
143         * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
144         Don't require AC_HEADER_STAT.
145         * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
146         (gl_PREREQ_RMDIR): Remove.
147         * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
148         mention stat-macros.h or AC_HEADER_STAT, since we'll make
149         the stat-macros module a prerequisite.
150         * file-type.m4 (gl_FILE_TYPE): Likewise.
151         * filemode.m4 (gl_FILEMODE): Likewise.
152         * makepath.m4 (gl_MAKEPATH): Likewise.
153         * modechange.m4 (gl_MODECHANGE): Likewise.
154         * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
155         variable names.
156         * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
157         fetish_FUNC_RMDIR_NOTEMPTY.  All uses changed.  Use gl_ for
158         variable prefixes.
159         * fcntl-safer.m4: Remove.
160         * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
161         * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
162         Invoke gl_PREREQ_FD_SAFER.
163         (gl_PREREQ_FD_SAFER): New macro.
164         * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Check for siginterrupt.
165         * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
166         Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
167         Remove duplicate call to AC_LIBOBJ(readutmp).
168         (gl_PREREQ_READUTMP): Remove.  All uses inlined.
169
170         * mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check for message, not for
171         MAP_ANON.  Problem reported by Moriyoshi Koizumi to bug-cvs.
172
173 2005-05-01  Oskar Liljeblad  <oskar@osk.mine.nu>
174
175         * byteswap.m4: New file.
176
177 2005-04-25  karl
178
179         * gettext.m4: Update from GNU gettext 0.14.4.
180
181 2005-04-15  Simon Josefsson  <jas@extundo.com>
182
183         * getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
184
185 2005-03-28  Eric Blake  <ebb9@byu.net>  (tiny change)
186
187         * getcwd-path-max.m4: Return success on systems such as Cygwin
188         where no absolute path name can be longer than PATH_MAX.
189
190 2005-03-22  Jim Meyering  <jim@meyering.net>
191
192         * stat-macros.m4 (gl_STAT_MACROS): New file/macro.
193
194 2005-03-21  Jim Meyering  <jim@meyering.net>
195         and  Paul Eggert  <eggert@cs.ucla.edu>
196
197         * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4,
198         cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4,
199         exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4,
200         getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4,
201         getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4,
202         idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4,
203         memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4,
204         path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4,
205         quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4,
206         safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4,
207         strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4,
208         unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4,
209         xnanosleep.m4, xstrtol.m4, yesno.m4:
210         Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files
211         for these modules.
212
213 2005-03-21  Jim Meyering  <jim@meyering.net>
214
215         * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Invoke gl_FUNC_MEMRCHR.
216         * memrchr.m4 (gl_FUNC_MEMRCHR): Check for memrchr decl.
217
218 2005-03-16  Bruno Haible  <bruno@clisp.org>
219
220         * stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
221         HAVE_LONGLONG_64BIT.
222
223 2005-03-14  Bruno Haible  <bruno@clisp.org>
224
225         * lib-link.m4, gettext.m4, nls.m4, po.m4:
226         Update from GNU gettext 0.14.3.
227
228 2005-03-10  Jim Meyering  <jim@meyering.net>
229
230         * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
231
232 2005-03-07  Bruno Haible  <bruno@clisp.org>
233
234         * mmap-anon.m4 (MAP_FILE, MAP_FAILED): Remove definitions.
235
236 2005-03-03  Bruno Haible  <bruno@clisp.org>
237
238         * inttypes.m4, isc-posix.m4, once-only.m4:
239         Use an all-permissive copyright notice, recommended by RMS.
240
241 2005-03-03  Derek R. Price  <derek@ximbiot.com>
242
243         * mmap-anon.m4: New file.
244         * pagealign_alloc.m4: New file.
245
246 2005-01-28  Bruno Haible  <bruno@clisp.org>
247
248         * stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because of
249         AIX, the replacement has to be done only after <string.h> is included,
250         therefore not in config.h. stpncpy.h does the replacement, and
251         stpncpy.c uses it.
252
253 2005-03-01  Paul Eggert  <eggert@cs.ucla.edu>
254
255         * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
256         to detect nanosleep bug.
257
258 2005-02-25  Paul Eggert  <eggert@cs.ucla.edu>
259
260         * gethrxtime.m4, xnanosleep.m4: New files.
261         * gettime.m4 (gl_GETTIME): Check for nanotime.
262
263 2005-02-24  Bruno Haible  <bruno@clisp.org>
264
265         * gettext.m4, intdiv0.m4, intmax.m4, inttypes-pri.m4, lcmessage.m4:
266         * lib-link.m4, lib-prefix.m4, nls.m4, po.m4, printf-posix.m4:
267         * progtest.m4:
268         Update from GNU gettext 0.14.2.
269         * glibc2.m4: New file, from GNU gettext 0.14.2.
270
271 2005-02-22  Simon Josefsson  <jas@extundo.com>
272
273         * iconvme.m4: New file.
274
275 2005-02-23  Jim Meyering  <jim@meyering.net>
276
277         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
278         Thanks to Bruno Haible for catching it.
279
280 2005-02-22  Jim Meyering  <jim@meyering.net>
281
282         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
283
284 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
285
286         * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
287
288 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
289
290         Sync from coreutils.
291         * getloadavg.m4, glibc.m4, search-libs.m4: Remove.
292
293         Remove files that are specific to coreutils.
294         * check-decl.m4, jm-macros.m4, lib-check.m4, prereq.m4: Remove.
295
296 2005-01-28  Bruno Haible  <bruno@clisp.org>
297
298         * javacomp.m4: New file, from GNU gettext.
299
300 2005-01-26  Bruno Haible  <bruno@clisp.org>
301
302         * javaexec.m4: New file, from GNU gettext.
303
304 2005-01-24  Sergey Poznyakoff  <gray@Mirddin.farlep.net>
305
306         * sysexits.m4 (gl_SYSEXITS): Reverted logic. SYSEXITS_H
307         must be defined if the header file was not found, in order
308         to provide a replacement. Reported by Todd Vierling <tv@duh.org>
309
310 2005-01-23  Paul Eggert  <eggert@cs.ucla.edu>
311
312         * acl.m4, afs.m4, alloca.m4, argp.m4, assert.m4, atexit.m4,
313         backupfile.m4, base64.m4, bison.m4, c-bs-a.m4, c-stack.m4,
314         c-strtod.m4, calloc.m4, canon-host.m4, canonicalize.m4,
315         clock_time.m4, cloexec.m4, closeout.m4, d-ino.m4, d-type.m4,
316         dirfd.m4, dirname.m4, dos.m4, dup2.m4, error.m4, euidaccess.m4,
317         exclude.m4, exitfail.m4, extensions.m4, fcntl-safer.m4,
318         file-type.m4, fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4,
319         free.m4, fstypename.m4, fsusage.m4, ftruncate.m4, getaddrinfo.m4,
320         getcwd-path-max.m4, getcwd.m4, getdate.m4, getdomainname.m4,
321         getgroups.m4, gethostname.m4, getline.m4, getndelim2.m4,
322         getnline.m4, getopt.m4, getpagesize.m4, getpass.m4, getsubopt.m4,
323         gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4,
324         group-member.m4, hard-locale.m4, hash.m4, host-os.m4, human.m4,
325         idcache.m4, inttostr.m4, isdir.m4, jm-winsz1.m4, jm-winsz2.m4,
326         link-follow.m4, long-options.m4, ls-mntd-fs.m4, lstat.m4,
327         makepath.m4, mathl.m4, md5.m4, memcasecmp.m4, memchr.m4,
328         memcmp.m4, memcoll.m4, memcpy.m4, memmem.m4, memmove.m4,
329         memrchr.m4, memset.m4, mkdir-slash.m4, mkstemp.m4, mktime.m4,
330         modechange.m4, mountlist.m4, nanosleep.m4, obstack.m4,
331         path-concat.m4, pathmax.m4, perl.m4, physmem.m4, poll.m4,
332         posixtm.m4, posixver.m4, putenv.m4, quote.m4, quotearg.m4,
333         readdir.m4, readtokens.m4, readutmp.m4, regex.m4, rename.m4,
334         restrict.m4, rmdir-errno.m4, rmdir.m4, rpmatch.m4, same.m4,
335         savedir.m4, settime.m4, sha1.m4, sig2str.m4, snprintf.m4,
336         sockpfaf.m4, st_dm_mode.m4, st_mtim.m4, stat.m4, stdint.m4,
337         stdio-safer.m4, strchrnul.m4, strdup.m4, strerror.m4,
338         strerror_r.m4, strftime.m4, strndup.m4, strnlen.m4, strsep.m4,
339         strtod.m4, strtoimax.m4, strtok_r.m4, strtol.m4, strtoll.m4,
340         strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4, sysexits.m4,
341         time_r.m4, timegm.m4, timespec.m4, tm_gmtoff.m4, tzset.m4,
342         uint32_t.m4, uintptr_t.m4, unistd-safer.m4, unlink-busy.m4,
343         unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4, utime.m4,
344         utimecmp.m4, utimens.m4, utimes-null.m4, vsnprintf.m4, xalloc.m4,
345         xgetcwd.m4, xreadlink.m4, xstrndup.m4, xstrtod.m4, xstrtoimax.m4,
346         xstrtol.m4, xstrtoumax.m4, yesno.m4:
347         Use an all-permissive copyright notice, recommended by RMS.
348
349 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
350
351         * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
352
353 2005-01-18  Paul Eggert  <eggert@cs.ucla.edu>
354
355         Merge from coreutils.
356         * ullong_max.m4: New file.
357         * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
358         (gl_MACROS): Assume localeconv exists.
359
360 2005-01-18  Jim Meyering  <jim@meyering.net>
361
362         Merge from coreutils.
363         * chdir-long.m4, openat.m4: New files.
364         * save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c,
365         save-cwd.h.  Add AC_LIBOBJ for save-cwd.
366         * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
367         is sane and DOES follow symlinks.  Besides, testing 20 different
368         systems found no broken chown implementations.
369         Prompted by a change in rsync's copy of this macro.
370         * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR_LONG.
371
372         * lchown.m4 (gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
373
374         * utimes.m4: Work around tests/touch/empty-file failure on a system
375         (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
376         NULL-means-set-to-current-time semantics.
377         Remove temporary file immediately, rather than waiting
378         for configure's at-exit trap code to do it.
379
380 2005-01-18  Bruno Haible  <bruno@clisp.org>
381
382         * allocsa.m4, codeset.m4, copy-file.m4, eaccess.m4, eealloc.m4:
383         * eoverflow.m4, execute.m4, fatal-signal.m4, findprog.m4, glibc21.m4:
384         * iconv.m4, intmax_t.m4, inttypes_h.m4, lib-ld.m4, lib-link.m4:
385         * lib-prefix.m4, linebreak.m4, localcharset.m4, longdouble.m4:
386         * longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mkdtemp.m4:
387         * pipe.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4:
388         * sig_atomic_t.m4, signalblocking.m4, signed.m4, size_max.m4:
389         * ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4, stpncpy.m4:
390         * strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, ucs4-utf.m4:
391         * uintmax_t.m4, ulonglong.m4, unicodeio.m4, utf-ucs4.m4, vasnprintf.m4:
392         * vasprintf.m4, wait-process.m4, wchar_t.m4, wint_t.m4, xsize.m4:
393         Use an all-permissive copyright notice, recommended by RMS.
394
395 2005-01-06  Bruno Haible  <bruno@clisp.org>
396
397         * stpncpy.m4 (gl_FUNC_STPNCPY): Rename stpncpy to gnu_stpncpy here.
398
399 2005-01-04  Jim Meyering  <jim@meyering.net>
400
401         Changes imported from coreutils.
402         * mkstemp.m4 (gl_FUNC_MKSTEMP): Rather than using "conftestXXXXXX"
403         as the mkstemp template, use a temporary directory and an
404         8.3-friendly template to avoid trouble on systems like DJGPP.
405         Reported by Juan M. Guerrero via Stepan Kasal.
406         * (gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of close.
407         Remove the temporary directory right away, rather than waiting
408         for configure's at-exit trap code to do it.
409         Suggestion from Stepan Kasal.
410
411 2004-12-24  Paul Eggert  <eggert@cs.ucla.edu>
412
413         * c-strtod.m4 (gl_C99_STRTOLD): New macro.
414         (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
415
416 2004-12-23  Paul Eggert  <eggert@cs.ucla.edu>
417
418         * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
419
420 2004-12-18  Bruno Haible  <bruno@clisp.org>
421
422         * fatal-signal.m4 (gl_FATAL_SIGNAL): Also test for sigaction.
423
424 2004-12-07  Paul Eggert  <eggert@cs.ucla.edu>
425
426         * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
427         spurious "-l"s.  Problem reported by Stepan Kasal.
428
429 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
430
431         * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
432         in Autoconf 2.59.  Problem reported by Mark D. Baushke.
433
434 2004-12-04  Paul Eggert  <eggert@cs.ucla.edu>
435
436         Changes imported from coreutils.
437         * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
438         exist.
439         * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
440
441 2004-11-30  Paul Eggert  <eggert@cs.ucla.edu>
442
443         * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
444         Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
445
446         * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
447
448 2004-11-30  Simon Josefsson  <jas@extundo.com>
449
450         * base64.m4: New file.
451
452 2004-11-30  Simon Josefsson  <jas@extundo.com>
453
454         * restrict.m4: Add copyright and copying conditions.
455
456 2004-11-25  Paul Eggert  <eggert@cs.ucla.edu>
457
458         * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
459         GL_FUNC_GETCWD_PATH_MAX for consistency.  All uses changed.
460         Use the _ONCE methods, for efficiency.
461         Check for fcntl.h.  In test program, include <errno.h>
462         and <fcntl.h> if available.  Remove old K&R cruft from
463         test program.  Check for common errors in GNU/Linux,
464         OpenBSD, and Solaris.  Just set gl_cv_func_getcwd_path_max;
465         don't do AC_LIBOBJ, as that's getcwd.m4's job.
466         * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
467         AC_FUNC_GETCWD_NULL.  All used changed.  Change cache variable
468         name accordingly.
469         (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros.  Revamp to
470         accommodate new getcwd.c.
471         * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
472         * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
473         * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
474         that's all we need now.
475
476 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
477
478         * utimens.m4 (gl_UTIMENS): Check for futimes function.
479
480 2004-11-23  Sergey Poznyakoff  <gray@Mirddin.farlep.net>
481
482         * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
483         argp-parse.c depends on getopt internals, that means we should
484         always use our getopt, to be on the safe side.
485         * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
486         order not to spoil the result of an eventual previous invocation
487         of gl_GETOPT_SUBSTITUTE.
488
489 2004-11-17  Paul Eggert  <eggert@cs.ucla.edu>
490
491         * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
492         that mishandle size_t overflow.
493
494 2004-11-16  Paul Eggert  <eggert@cs.ucla.edu>
495
496         * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
497
498 2004-11-13  Jim Meyering  <jim@meyering.net>
499
500         * jm-macros.m4: Do require gl_FUNC_FPENDING.
501
502 2004-11-11  Paul Eggert  <eggert@cs.ucla.edu>
503
504         * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead
505         of replacing opterr, getopt, etc.  This should handle the
506         powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson.
507
508 2004-11-11  Simon Josefsson  <jas@extundo.com>
509
510         * strtok_r.m4: New file.
511
512         * getopt.m4: Replace opterr.
513
514 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
515
516         * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
517
518 2004-11-10  Jim Meyering  <jim@meyering.net>
519
520         * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING.
521
522 2004-11-08  Simon Josefsson  <jas@extundo.com>
523
524         * getaddrinfo.m4: New file.
525
526 2004-11-09  Paul Eggert  <eggert@cs.ucla.edu>
527
528         * strftime.m4 (_gl_STRFTIME_PREREQS): Remove.  Move its body to
529         gl_FUNC_STRFTIME.
530         (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE
531         and AC_REQUIRE when possible, to avoid duplicate checks.
532         Check for <wchar.h>.
533
534 2004-11-09  Bruno Haible  <bruno@clisp.org>
535
536         * sockpfaf.m4: New file.
537
538 2004-11-03  Albert Chin <china@thewrittenword.com>
539             Paul Eggert  <eggert@cs.ucla.edu>
540
541         * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
542         equivalent, substitute $ac_type for equivalent type rather than
543         blindly using uint32_t *always* which won't work if uint32_t is not
544         available.  Define _UINT32_T to work around typedef of uint32_t if
545         <sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
546         2.5.1.
547
548 2004-11-02  Paul Eggert  <eggert@cs.ucla.edu>
549
550         * jm-macros.m4: Sync from coreutils.
551         (gl_MACROS): Check for mbrlen, for pathchk.
552         (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
553
554 2004-11-02  Bruno Haible  <bruno@clisp.org>
555
556         * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv()
557         returns void.
558
559 2004-11-01  Paul Eggert  <eggert@cs.ucla.edu>
560
561         * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
562         fflush_unlocked, flockfile, funlockfile, funlockfile,
563         fputs_unlocked, putc_unlocked.
564
565 2004-10-22  Paul Eggert  <eggert@cs.ucla.edu>
566
567         * getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
568
569 2004-10-15  Paul Eggert  <eggert@cs.ucla.edu>
570
571         * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
572         implementation of getopt_long.  Problem reported by Alexander Taler in:
573         http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
574
575 2004-10-11  Yoann Vandoorselaere  <yoann@prelude-ids.org>
576
577         * vsnprintf.m4: New file.
578
579 2004-10-05  Bruno Haible  <bruno@clisp.org>
580
581         * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check
582         for the declaration of strsep.
583
584 2004-10-04  Paul Eggert  <eggert@cs.ucla.edu>
585
586         * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove.  All uses removed.
587
588         * unlocked-io.m4: Add copyright notice.
589         (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
590
591 2004-10-04  Simon Josefsson  <jas@extundo.com>
592
593         * memmem.m4: New file.
594
595 2004-10-01  Yoann Vandoorselaere <yoann@prelude-ids.org>
596
597         * strsep.m4: New file.
598
599 2004-09-30  Simon Josefsson  <jas@extundo.com>
600
601         * snprintf.m4: New file.
602
603 2004-09-09  Bruno Haible  <bruno@clisp.org>
604
605         * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with
606         modifications.
607         * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
608
609 2004-09-08  Bruno Haible  <bruno@clisp.org>
610
611         * stdint.m4: New file, taken from GNU clisp with modifications.
612
613 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
614
615         * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA.
616
617 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
618
619         * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody
620         uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
621         Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
622         Check for program_invocation_name, program_invocation_short_name,
623         flockfile, funlockfile, features.h, _getopt_long_only_r.
624
625 2004-08-12  Simon Josefsson  <jas@extundo.com>
626
627         * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
628         as discussed with Paul Eggert in threads rooted at
629         <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
630         and
631         <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
632         Before, the test was empty, and relied on ELIDE_CODE in source
633         code.)
634         (gl_PREREQ_GETOPT): New macro.
635         (gl_GETOPT): Use them.
636
637 2004-08-11  Paul Eggert  <eggert@cs.ucla.edu>
638
639         Merge from coreutils.
640
641         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
642
643         * obstack.m4 (gl_PREREQ_OBSTACK): Require
644         gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
645
646 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
647
648         * uint32_t.m4, uintptr_t.m4: New files.
649         * sha1.m4: Renamed from sha.m4.
650         (gl_SHA1): Renamed from gl_SHA.  All uses changed.
651
652 2004-08-08  Simon Josefsson  <jas@extundo.com>
653
654         * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
655         Check getpass declaration.
656
657 2004-08-06  Paul Eggert  <eggert@cs.ucla.edu>
658
659         More merge from coreutils.
660
661         * utimens.m4, utimecmp.m4: New files.
662         * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
663         fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
664         prereq.m4, sha.m4: Import changes from coreutils.
665
666 2004-08-05  Paul Eggert  <eggert@cs.ucla.edu>
667
668         Merge from coreutils.
669
670         * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
671         New files.
672
673         * dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
674         FILESYSTEM_PREFIX_LEN ->
675         FILE_SYSTEM_PREFIX_LEN.
676         FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX ->
677         FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.
678         FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR ->
679         FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
680
681         * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
682         prerequisite modules now handle the DOS stuff.
683         Don't check for unistd.h.
684
685 2004-08-03  Simon Josefsson  <jas@extundo.com>
686
687         * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it.
688
689 2004-08-02  Simon Josefsson  <jas@extundo.com>
690
691         * getsubopt.m4: New file.
692
693 2004-08-03  Paul Eggert  <eggert@cs.ucla.edu>
694
695         * fatal.m4: Remove, as the "fatal" module wasn't used or working.
696
697 2004-07-13  Robert Millan  <robertmh@gnu.org>
698
699         * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
700
701 2004-06-22  Paul Eggert  <eggert@cs.ucla.edu>
702
703         * argz.m4: New file, which is autoupdated from libtool.
704
705 2004-06-01  Jim Meyering  <jim@meyering.net>
706
707         * calloc.m4: New file.
708
709 2004-06-01  Paul Eggert  <eggert@cs.ucla.edu>
710
711         Merge from coreutils CVS.
712
713         * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4,
714         makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4,
715         putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4,
716         strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4,
717         xstrtol.m4: Fix copyright date and/or serial number.
718
719         * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
720         See if we need an fchown replacement.
721         (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
722         (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
723         and use the replacement function if we detect either defect.
724
725         * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR,
726         gl_UTIMECMP.
727
728 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
729
730         * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI
731         C B3910B A.05.55 [Dec 04 2003].  Problem reported by Jim Meyering.
732         Also, fix a typo in a diagnostic.
733
734 2004-05-30  Paul Eggert  <eggert@cs.ucla.edu>
735
736         * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC
737         or AC_FUNC_REALLOC.
738
739 2004-05-20  Andreas Schwab  <schwab@suse.de>
740
741         * free.m4: Replace free if it not known to work, not the other
742         way round.
743
744 2004-05-17  Derek R. Price  <derek@ximbiot.com>
745             Paul Eggert  <eggert@cs.ucla.edu>
746
747         * argp: Depend on alloca.
748
749 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
750
751         * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
752         for backward compatibility with older code.  We need our own
753         alloca.h if _AIX is defined.  Define HAVE_ALLOCA if we discover
754         it under some other name, and our alloca.h will define it.
755
756 2004-05-13  Paul Eggert  <eggert@cs.ucla.edu>
757
758         * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC.
759         Check for gettimeofday.
760         * settime.m4 (gl_SETTIME): Require gl_TIMESPEC.
761         Check for settimeofday, stime.
762
763 2004-04-20  Paul Eggert  <eggert@twinsun.com>
764
765         * host-os.m4: Add a copyright notice.
766
767 2004-04-20  Jim Meyering  <jim@meyering.net>
768
769         Change UTILS_ to gl_ in AC_DEFINE'd names.
770         Change utils_- and jm_-prefixed variables, too.
771         * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
772         UTILS_FUNC_MKDIR_TRAILING_SLASH.
773         * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
774
775         * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
776         Don't emit trailing blanks.
777         Also rename jm_-prefixed variables to have gl_ prefix.
778
779         * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS.
780         Also rename jm_-prefixed variables to have gl_ prefix.
781
782         * jm-macros.m4: Reflect the renamings.
783         * prereq.m4: Likewise.
784
785 2004-04-19  Jim Meyering  <jim@meyering.net>
786
787         * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
788         now that readutmp.c may call `free (0)'.
789
790 2004-04-19  Bruno Haible  <bruno@clisp.org>
791
792         * mbrtowc.m4: Change jm_ to gl_ in cache variables as well.
793         * inttypes_h.m4: Likewise.
794         * stdint_h.m4: Likewise.
795         * intmax_t.m4: Likewise.
796         * uintmax_t.m4: Likewise.
797
798 2004-04-18  Jim Meyering  <jim@meyering.net>
799
800         * prereq.m4: Don't forbid jm_ prefix.
801
802         * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
803         * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4:
804         * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4:
805         * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4:
806         * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4:
807         * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4:
808         * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
809         * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
810         * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4:
811         * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4:
812         * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4:
813         * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4:
814         * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4:
815         * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4:
816         * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
817         Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
818
819 2004-04-16  Jim Meyering  <jim@meyering.net>
820
821         * prereq.m4 (jm_PREREQ_STAT): Remove macro.  It is specific to
822         coreutils' stat program.
823         (gl_PREREQ): Don't require jm_PREREQ_STAT.
824
825 2004-03-31  Jim Meyering  <jim@meyering.net>
826
827         * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
828         Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
829         * xalloc.m4: Likewise.
830
831 2004-03-30  Jim Meyering  <jim@meyering.net>
832
833         * realloc.m4: Remove file, since now it does no more than
834         AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
835         the `configure.ac' section of module/realloc.
836         * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
837
838 2004-03-30  Paul Eggert  <eggert@twinsun.com>
839
840         Merge from coreutils.
841
842         * inttostr.m4: New file.
843         * getdate.m4 (gl_GETDATE): Remove time-related stuff.
844         Require AM_STDBOOL_H and gl_TIMESPEC instead.
845         Require gl_CLOCK_TIME.
846         * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
847
848 2004-03-30  Jim Meyering  <jim@meyering.net>
849
850         Merge from coreutils.
851
852         Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
853         * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
854         on some systems one must include <grp.h> before it.
855         Reported by Christian Krackowizer.
856
857 2004-03-29  Paul Eggert  <eggert@twinsun.com>
858
859         * cloexec.m4: New file.
860
861 2004-03-18  Paul Eggert  <eggert@twinsun.com>
862             Bruno Haible  <bruno@clisp.org>
863
864         * mbswidth.m4 (gl_MBSWIDTH): Also test whether <wchar.h> declares
865         mbswidth.
866
867 2004-03-07  Paul Eggert  <eggert@twinsun.com>
868
869         * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
870         All uses changed.  Check for sa_sigaction member; this fixes
871         a bug first reported by Jason Andrade in
872         <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
873
874 2004-01-18  Simon Josefsson  <jas@extundo.com>
875
876         * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared.
877
878 2004-02-18  Bruno Haible  <bruno@clisp.org>
879
880         * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
881         Reported by Derek Robert Price <derek@ximbiot.com>.
882
883 2004-02-06  Karl Berry  <karl@gnu.org>
884
885         * po.m4: update from gettext 0.14.1.
886
887 2004-02-03  Bruno Haible  <bruno@clisp.org>
888
889         * pipe.m4: New file, from GNU gettext.
890
891 2004-01-27  Bruno Haible  <bruno@clisp.org>
892
893         * execute.m4: New file, from GNU gettext.
894
895 2003-11-24  Bruno Haible  <bruno@clisp.org>
896
897         * allocsa.m4: New file, from GNU gettext.
898
899 2003-11-24  Bruno Haible  <bruno@clisp.org>
900
901         * eealloc.m4: New file, from GNU gettext.
902
903 2004-01-15  Paul Eggert  <eggert@twinsun.com>
904
905         Merge from coreutils.
906
907         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
908         * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
909         (gl_DEFAULT_POSIX2_VERSION): Move
910         the documentation from 'configure' into 'config.hin',
911         so that 'configure --help' isn't burdened by it and
912         we don't have to worry about its formatting there.
913         Reword the documentation so that it's more succinct
914         and can be run together into a single paragraph.
915         * same.m4 (gl_SAME): Check for pathconf.
916
917 2004-01-15  Jim Meyering  <jim@meyering.net>
918
919         Merge from coreutils.
920
921         * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
922         if no library is required.
923         * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
924         * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
925         * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
926         (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
927         * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
928         * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
929         value, $ac_cv_search_crypt, if it's "none required".
930         * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
931         * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
932         not gl_FUNC_GETLOADAVG.
933         * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
934         gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
935
936 2004-01-15  Alexandre Duret-Lutz  <adl@gnu.org>
937
938         Merge from coreutils.
939
940         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
941         value, $ac_cv_search_nanosleep, if it's "none required".
942
943 2003-12-03  Bruno Haible  <bruno@clisp.org>
944
945         * gettext.m4: Upgrade from gettext-0.13.
946         * po.m4: Upgrade from gettext-0.13.
947         * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
948         * intmax.m4: New file, from gettext-0.13.
949         * printf-posix.m4: New file, from gettext-0.13.
950
951 2003-11-25  Bruno Haible  <bruno@clisp.org>
952
953         * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require
954         gt_TYPE_SSIZE_T.
955
956 2003-11-17  Bruno Haible  <bruno@clisp.org>
957
958         * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T.
959
960 2003-11-12  Paul Eggert  <eggert@twinsun.com>
961
962         * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or
963         gl_PTRDIFF_MAX.
964
965 2003-11-11  Bruno Haible  <bruno@clisp.org>
966
967         * size_max.m4: New file.
968         * ptrdiff_max.m4: New file.
969         * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
970         * xalloc.m4 (gl_PREREQ_XALLOC): New macro.
971         (gl_XALLOC): Invoke it.
972
973 2003-11-04  Bruno Haible  <bruno@clisp.org>
974
975         * xsize.m4: New file.
976
977 2003-11-03  Bruno Haible  <bruno@clisp.org>
978
979         * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid.
980
981 2003-10-30  Paul Eggert  <eggert@cs.ucla.edu>
982
983         * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to
984         netbsd*-gnu*.  Suggested by Robert Millan.
985
986 2003-10-29  Paul Eggert  <eggert@twinsun.com>
987
988         * xalloc.m4 (gl_XALLOC): Undo previous change.
989
990 2003-10-29  Paul Eggert  <eggert@twinsun.com>
991
992         * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu.  Add comments
993         to it, and to knetbsd*-gnu and kfreebsd*-gnu.  Remove the '*' from
994         after the 'gnu' in these cases.  This fixes some bugs in the
995         previous change, and is based on suggestions by Robert Millan.
996
997 2003-10-28  Paul Eggert  <eggert@twinsun.com>
998
999         * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and
1000         GNU/KNetBSD.  These implementations use glibc atop the FreeBSD and
1001         NetBSD kernels.  Requested by Richard Stallman.
1002
1003 2003-10-26  Paul Eggert  <eggert@twinsun.com>
1004
1005         * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
1006         now uses inline.
1007
1008 2003-10-23  Paul Eggert  <eggert@twinsun.com>
1009
1010         * getline.m4 (AM_FUNC_GETLINE):
1011         Don't include getndelim2.o twice into LIBOBJS; this breaks on some
1012         hosts.  Problem reported by Derek Robert Price in
1013         <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
1014         This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
1015         * getndelim2.m4 (gl_GETNDELIM2): Likewise.
1016
1017 2003-10-20  Bruno Haible  <bruno@clisp.org>
1018
1019         * wait-process.m4: New file.
1020
1021 2003-10-14  Bruno Haible  <bruno@clisp.org>
1022
1023         * sig_atomic_t: New file, from GNU gettext.
1024         * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T.
1025
1026 2003-10-12  Paul Eggert  <eggert@twinsun.com>
1027
1028         * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE.
1029
1030 2003-10-10  Simon Josefsson  <jas@extundo.com>
1031
1032         * argp.m4: Add AC_C_INLINE.
1033
1034 2003-10-08  Paul Eggert  <eggert@twinsun.com>
1035
1036         * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
1037
1038 2003-10-06  Bruno Haible  <bruno@clisp.org>
1039
1040         * fatal-signal.m4: New file.
1041         * signalblocking.m4: New file, from GNU gettext.
1042
1043 2003-09-27  Paul Eggert  <eggert@twinsun.com>
1044
1045         * free.m4: New file.
1046
1047 2003-09-26  Bruno Haible  <bruno@clisp.org>
1048
1049         * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
1050         Don't define stpncpy through config.h; it's now done through stpncpy.h.
1051
1052 2003-09-25  Simon Josefsson  <jas@extundo.com>
1053             Bruno Haible  <bruno@clisp.org>
1054
1055         * getdomainname.m4: New file.
1056
1057 2003-09-17  Paul Eggert  <eggert@twinsun.com>
1058
1059         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
1060         to avoid spurious warnings like "AC_RUN_IFELSE was called before
1061         gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
1062
1063 2003-09-12  Paul Eggert  <eggert@twinsun.com>
1064
1065         * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it.
1066
1067         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
1068         and AC_MINIX, too, so that their extensions are available.
1069
1070         * prereq.m4 (jm_PREREQ_ADDEXT): Remove.  All uses removed.
1071         This macro has been superseded by gl_BACKUPFILE.
1072
1073         More patches to assume C89 or better.
1074
1075         * error.m4 (gl_ERROR): Don't check for vprintf.
1076
1077         * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
1078         unconditionally.
1079         * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
1080         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
1081         Include <string.h>, <stdlib.h> unconditionally.
1082         * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
1083         * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
1084         * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
1085         or for string.h.
1086         * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h
1087         or strtoul.
1088
1089         * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
1090         * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
1091         * userspec.m4 (gl_USERSPEC): Likewise.
1092         * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
1093         * xstrtod.m4 (gl_XSTRTOD): Likewise.
1094         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
1095         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
1096         memcpy, memset.
1097         (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
1098         * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
1099         * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
1100         * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
1101         * userspec.m4 (gl_USERSPEC): Do not check for string.h.
1102         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
1103         strtoul.
1104
1105 2003-09-11  Paul Eggert  <eggert@twinsun.com>
1106
1107         More patches to assume C89 or better.
1108         * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
1109         * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
1110         string.h, memchr, STDC_HEADERS.
1111
1112 2003-09-10  Bruno Haible  <bruno@clisp.org>
1113
1114         * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
1115         * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
1116         * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
1117         * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
1118         * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove
1119         <stdlib.h> and <string.h> checks.
1120         * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
1121         * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
1122
1123 2003-09-09  Paul Eggert  <eggert@twinsun.com>
1124
1125         More patches to assume C89 or better.
1126         * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
1127         * getopt.m4 (gl_GETOPT): Don't check for string.h.
1128         * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
1129         or for string.h.
1130         * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
1131         * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
1132         headers.
1133         * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
1134         string.h.
1135         * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
1136         * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
1137         * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
1138         or for string.h.
1139         * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
1140         * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
1141         C headers.
1142         * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
1143         memcpy.
1144         * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
1145         * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
1146         * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
1147         * memcoll.m4 (gl_MEMCOLL): Likewise.
1148         * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
1149         * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
1150         string.h, free.
1151         * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
1152         * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
1153         * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
1154         C headers, or for string.h.
1155         * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
1156         (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
1157         * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
1158         headers, memory.h, stdlib.h, string.h, strings.h.
1159         * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
1160         * posixver.m4 (gl_POSIXVER): Don't check for getenv.
1161         * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
1162         strchr.
1163         * readtokens.m4 (gl_READTOKENS): Don't check for standard C
1164         headers, memory.h, string.h.
1165         * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
1166         * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
1167         free.
1168         * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
1169         * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
1170         * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
1171         * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
1172         * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
1173         * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
1174
1175 2003-09-09  Derek Robert Price  <derek@ximbiot.com>
1176
1177         * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
1178         C89 spec.
1179
1180 2003-09-08  Paul Eggert  <eggert@twinsun.com>
1181
1182         Assume C89 or better; remove K&R cruft.
1183         * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
1184         * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
1185         string.h, getenv, malloc.
1186         * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
1187         headers.
1188         * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
1189         * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
1190         do not check for strerror.
1191         * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
1192         * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
1193         * fatal.m4 (gl_FATAL): Do not require STDC headers, and
1194         do not check for doprnt or vprintf.
1195         * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove.  All uses removed.
1196         * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
1197
1198 2003-09-06  Paul Eggert  <eggert@twinsun.com>
1199
1200         * time_r.m4: New file.
1201         * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
1202         * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
1203         Check for timegm declaration.
1204         (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
1205         Do not check for gmtime_r.
1206         Replace mktime if __mktime_internal does not exist and if mktime
1207         hasn't been replaced already.
1208
1209 2003-08-31  Simon Josefsson  <jas@extundo.com>
1210
1211         * timegm.m4: New file.
1212
1213 2003-08-26  Bruno Haible  <bruno@clisp.org>
1214
1215         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
1216         This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
1217         followed by '#define fnmatch fnmatch_posix' gives an error.
1218
1219 2003-08-27  Jim Meyering  <jim@meyering.net>
1220
1221         * mkstemp.m4: Require that the system mkstemp be able to create
1222         70 temporary files, not just 30.  Tru64 V4.0F's mkstemp function
1223         would fail after 32.  Reported by Danny Levinson.  Details here:
1224         http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
1225
1226 2003-08-20  Karl Berry  <karl@gnu.org>
1227
1228         * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
1229
1230 2003-08-19  Jim Meyering  <jim@meyering.net>
1231
1232         * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
1233         http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
1234
1235 2003-08-19  Bruno Haible  <bruno@clisp.org>
1236
1237         * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
1238
1239 2003-08-18  Jim Meyering  <jim@meyering.net>
1240
1241         * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
1242         * lib-ld.m4: Likewise.
1243
1244 2003-08-17  Simon Josefsson  <jas@extundo.com>
1245
1246         * argp.m4: New file.
1247
1248 2003-08-17  Simon Josefsson  <jas@extundo.com>
1249
1250         * xstrndup.m4: New file.
1251
1252 2003-08-16  Jim Meyering  <jim@meyering.net>
1253
1254         * utimes.m4 (gl_FUNC_UTIMES): New file.
1255         * utimes.m4: Removed.
1256         * utimes-null.m4: Renamed from utimes.m4.
1257
1258         * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
1259         to 1MB, so as not to render systems with no stack size limit (e.g.,
1260         linux-2.2.x) unusable.  Suggestion and code from Bruno Haible.
1261         Include <unistd.h>.  On some systems,
1262         it is required for the definition of _SC_PAGESIZE.
1263
1264 2003-08-16  Paul Eggert  <eggert@twinsun.com>
1265
1266         Merges from coreutils, etc.
1267         * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
1268         error in gl_FUNC_MATCH.  This fixes a bug I introduced on 2003-05-28.
1269         * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
1270         fixing a typo.
1271         * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
1272         * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
1273
1274 2003-08-16  Jim Meyering  <jim@meyering.net>
1275         and Paul Eggert  <eggert@cs.ucla.edu>
1276
1277         Merges from coreutils, etc.
1278
1279         * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
1280         using the latest version from cvs.  This avoids problems with #line
1281         directives using a vendor (Sun) compiler.
1282         (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
1283         Don't set GETGROUPS_LIB here; now it's
1284         done via getgroups.m4's wrapper function.
1285         AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
1286         rather than just in sh-util/configure.in, so that the
1287         now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
1288         same.
1289         Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
1290         AC_FUNC_GETLOADAVG where to find getloadavg.c.
1291         Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
1292         UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
1293         gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
1294         Remove code that is now done by the newly-required macros.
1295         Append $(EXEEXT) to DF_PROG.
1296         AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
1297         Do not invoke or require the following here,
1298         since prereq.m4 or some gnulib .m4 now does this for us:
1299         gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
1300         jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
1301         jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
1302         jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
1303         jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
1304         AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
1305         vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
1306         AC_FUNC_OBSTACK.
1307         Do not replace the following functions, as this is now the job
1308         of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
1309         getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
1310         strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
1311         atexit getpass, strdup, getpagesize.
1312         Replace 'raise'.
1313         Do not check for the following functions, as this is now the job
1314         of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
1315         getcwd, getmntinfo, resolvepath.  But check for sysctl, setreuid,
1316         setregid.
1317         (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
1318         Check for sys/sysctl.h.
1319         (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
1320         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Invoke gt_TYPE_SSIZE_T instead
1321         of checking for ssize_t ourselves.
1322
1323         * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
1324         Require every macro that gnulib/modules/* suggests for us.
1325         (jm_PREREQ_ADDEXT): New macro.
1326         (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
1327         Require jm_AC_TYPE_LONG_LONG instead of invoking it.
1328
1329         * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
1330         (gl_PHYSMEM): Use it.
1331         Also check for `table' function.
1332         Check for new headers and functions.
1333         Add check for sys/sysmp.h.
1334         With suggestions from Kaveh Ghazi.
1335         Ignore headers that are present but cannot be compiled.  This
1336         avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
1337         C 5.4.
1338
1339 2003-08-16  Jim Meyering  <jim@meyering.net>
1340
1341         Merges from coreutils.
1342         * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
1343         prefix.  Adjust cache variables similarly.  Create 500 rather than
1344         just 300 files, to exercise bug on Darwin6.5, too.
1345         * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
1346         * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
1347         Reported by mkc@mathdogs.com.
1348         Also change use of $am_cv_sys_posix_termios
1349         to $ac_cv_sys_posix_termios.  Reported by Andreas Schwab.
1350         * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
1351         and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
1352         * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
1353         /proc/mounts until it finds one with matching device number.  This is
1354         unnecessary when the FILE argument *is* a mount point.  No stat call
1355         is necessary in that case.  So, disable the statvfs-testing code on
1356         systems with GNU libc.  Reported by Andrei Gaponenko via Tim Waugh
1357         as RedHat bug# 84846.
1358         * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
1359         to 1MB, so as not to render systems with no stack size limit (e.g.,
1360         linux-2.2.x) unusable.  Suggestion and code from Bruno Haible.
1361         Include <unistd.h>.  On some systems,
1362         it is required for the definition of _SC_PAGESIZE.
1363
1364 2003-08-15  Jim Meyering  <jim@meyering.net>
1365         and Paul Eggert  <eggert@cs.ucla.edu>
1366
1367         Merges from coreutils, etc.
1368         * strftime.m4 (_jm_STRFTIME_PREREQS):
1369         Require gl_FUNC_TZSET_CLOBBER.
1370         * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
1371         ut_exit.ut_termination, and ut_exit.e_termination members.
1372
1373 2003-08-14  Paul Eggert  <eggert@twinsun.com>
1374
1375         Help the merge from coreutils.
1376         * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
1377         (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
1378         * tzset.m4: Use it too.
1379
1380 2003-08-14  Jim Meyering  <jim@meyering.net>
1381
1382         Merge from coreutils.
1383         * tzset.m4: New file.
1384         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
1385         test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
1386         systems would end up using the latter.  MOUNTED_GETMNTENT1 support
1387         is inadequate on such systems: 1) detecting whether a file system
1388         is remote doesn't work  2) the MOUNTED_VMOUNT code reports the
1389         HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
1390         merely /MOUNT_POINT.  Reported by Mike Jetzer.
1391
1392 2003-08-13  Paul Eggert  <eggert@twinsun.com>
1393
1394         * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
1395         Check for isascii.
1396
1397         * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
1398         lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
1399         Undo previous (whitespace-only) change.
1400
1401 2003-08-12  Paul Eggert  <eggert@twinsun.com>
1402
1403         * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
1404         lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
1405         Normalize leading white space and remove trailing white space.
1406
1407         Merge from coreutils
1408         * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
1409
1410         * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
1411         0.12.1.  These files are now being upgraded automatically by
1412         ../config/srclist-update.
1413
1414 2003-08-11  Bruno Haible  <bruno@clisp.org>
1415
1416         * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
1417
1418 2003-08-09  Paul Eggert  <eggert@twinsun.com>
1419
1420         * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
1421         apparently Emacs's Unicode mode got confused before my 2003-08-05
1422         checkin.
1423
1424 2003-08-08  Paul Eggert  <eggert@twinsun.com>
1425
1426         * extensions.m4: New file.
1427         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
1428         Require gl_USE_SYSTEM_EXTENSIONS.
1429         * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
1430         Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
1431
1432 2003-08-07  Paul Eggert  <eggert@twinsun.com>
1433
1434         * restrict.m4: New file.
1435         * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
1436
1437 2003-08-07  Bruno Haible  <bruno@clisp.org>
1438
1439         * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
1440         the module 'getndelim2' compatible with the module 'getline'.
1441
1442 2003-08-05  Paul Eggert  <eggert@twinsun.com>
1443
1444         * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
1445         byte with "\201" to avoid glitches when editing that source file
1446         with multi-gnome-terminal.
1447
1448 2003-07-31  Bruno Haible  <bruno@clisp.org>
1449
1450         * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
1451
1452 2003-07-18  Bruno Haible  <bruno@clisp.org>
1453
1454         * getndelim2.m4: New file.
1455         * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
1456         invoke gl_PREREQ_GETNDELIM2.
1457         (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
1458         gl_PREREQ_GETNDELIM2.
1459         * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
1460         gl_GETNDELIM2.
1461
1462 2003-07-17  Bruno Haible  <bruno@clisp.org>
1463
1464         * Makefile.am.in: Remove file.
1465         * Makefile.am: Remove file.
1466         * Makefile.in: Remove file.
1467
1468 2003-07-17  Bruno Haible  <bruno@clisp.org>
1469
1470         * getnline.m4: New file.
1471
1472 2003-07-14  Simon Josefsson  <jas@extundo.com>
1473
1474         * mempcpy.m4: New file.
1475
1476 2003-07-10  Jim Meyering  <jim@meyering.net>
1477
1478         * clock_time.m4: Remove trailing blank.
1479         * intmax_t.m4: Likewise.
1480
1481 2003-07-01  Paul Eggert  <eggert@twinsun.com>
1482
1483         * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
1484         xreadlink.c now includes it unconditionally.
1485
1486 2003-07-01  Bruno Haible  <bruno@clisp.org>
1487
1488         * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
1489         should be sufficient.
1490         Reported by Paul Eggert.
1491
1492 2003-06-25  Bruno Haible  <bruno@clisp.org>
1493
1494         * readlink.m4: New file.
1495
1496 2003-06-22  Bruno Haible  <bruno@clisp.org>
1497
1498         Portability to mingw32.
1499         * ssize_t.m4: New file, from GNU gettext.
1500         * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
1501         * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
1502
1503 2003-06-11  Bruno Haible  <bruno@clisp.org>
1504
1505         * sysexits.m4: New file.
1506
1507 2003-06-10  Simon Josefsson  <jas@extundo.com>
1508
1509         * strchrnul.m4: New file.
1510
1511 2003-06-07  Bruno Haible  <bruno@clisp.org>
1512
1513         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
1514         gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
1515         AC_CONFIG_LINKS. Needed to allow for a different name of the lib
1516         directory.
1517         * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
1518         AC_CONFIG_LINKS. Needed to allow for a different name of the lib
1519         directory.
1520
1521 2003-06-04  Paul Eggert  <eggert@twinsun.com>
1522
1523         * human.m4 (gl_HUMAN): Require AM_STDBOOL_H.  Check for
1524         locale.h, localeconv.  This merges changes from coreutils.
1525
1526         * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
1527         It can be removed after the next Autoconf is released.
1528         * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
1529         needed.
1530
1531 2003-05-30  Bruno Haible  <bruno@clisp.org>
1532
1533         * gettext.m4: Upgrade to gettext-0.12.1.
1534         * nls.m4: New file, from gettext-0.12.1.
1535         * po.m4: New file, from gettext-0.12.1.
1536         * progtest.m4: Upgrade to gettext-0.12.1.
1537
1538 2003-05-28  Paul Eggert  <eggert@twinsun.com>
1539
1540         Assume the headers required for C89 freestanding compilers.
1541         * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
1542         * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
1543         * human.m4 (gl_HUMAN): Likewise.
1544         * pathmax.m4 (gl_PATHMAX): Likewise.
1545         * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
1546         * userspec.m4 (gl_USERSPEC): Likewise.
1547         * xreadlink.m4 (gl_XREADLINK): Likewise.
1548         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
1549         * quote.m4 (gl_QUOTE): Don't check for stddef.h.
1550
1551 2003-05-26  Jim Meyering  <jim@meyering.net>
1552
1553         Merge in a change from coreutils:
1554         * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
1555         that is guaranteed to be `no'.  Use `no_such_member' to indicate
1556         that condition, rather than `-1' which is slightly misleading.
1557         Change the name of the cache variable to have the gl_ prefix.
1558         Prompted by a patch from Richard Dawe for DJGPP.
1559
1560 2003-05-17  Bruno Haible  <bruno@clisp.org>
1561
1562         * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
1563         expansion for AC_EGREP_CPP.
1564         * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
1565         * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
1566         Suggested by Akim Demaille <akim@epita.fr> in
1567         http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
1568
1569 2003-04-21  Paul Eggert  <eggert@twinsun.com>
1570
1571         * error.m4 (gl_ERROR): Do not put under dynamic conditions some
1572         code which expansion is under static control.  Patch imported from
1573         Akim Demaille's patch to Bison; see
1574         <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
1575
1576 2003-04-14  Bruno Haible  <bruno@clisp.org>
1577
1578         * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
1579
1580 2003-04-10  Bruno Haible  <bruno@clisp.org>
1581
1582         * findprog.m4: New file.
1583         * eaccess.m4: New file.
1584
1585 2003-04-04  Bruno Haible  <bruno@clisp.org>
1586
1587         * linebreak.m4: New file.
1588
1589 2003-04-03  Bruno Haible  <bruno@clisp.org>
1590
1591         * utf-ucs4.m4: New file.
1592         * ucs4-utf.m4: New file.
1593
1594 2003-03-30  Bruno Haible  <bruno@clisp.org>
1595
1596         * copy-file.m4 (gl_COPY_FILE): Add check for chown().
1597
1598 2003-03-28  Bruno Haible  <bruno@clisp.org>
1599
1600         * copy-file.m4: New file.
1601
1602 2003-03-18  Bruno Haible  <bruno@clisp.org>
1603
1604         * onceonly.m4: Use m4_defn instead of defn, for better error checking.
1605         * onceonly_2_57.m4: Likewise.
1606
1607 2003-03-17  Bruno Haible  <bruno@clisp.org>
1608
1609         * onceonly.m4: Require autoconf 2.54 or newer.
1610         (m4_quote): Remove macro.
1611         * onceonly_2_57.m4: Require autoconf 2.54 or newer.
1612
1613 2003-03-14  Bruno Haible  <bruno@clisp.org>
1614
1615         * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
1616         AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
1617
1618 2003-03-13  Paul Eggert  <eggert@twinsun.com>
1619
1620         * onceonly.m4 (m4_quote): New macro.
1621         (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
1622         Quote AC_FOREACH variable-expansions properly.
1623
1624 2003-02-19  Paolo Bonzini  <bonzini@gnu.org>
1625
1626         * poll.m4: New file.
1627
1628 2003-02-18  Paolo Bonzini  <bonzini@gnu.org>
1629
1630         * mathl.m4: New file.
1631
1632 2003-02-17  Bruno Haible  <bruno@clisp.org>
1633
1634         * mkdtemp.m4: New file, from GNU gettext with modifications.
1635
1636 2003-02-02  Jim Meyering  <jim@meyering.net>
1637
1638         * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
1639         e.g. glibc-2.2.93.
1640
1641 2003-01-31  Bruno Haible  <bruno@clisp.org>
1642
1643         * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
1644         'rpl_rename'.
1645         * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
1646         'rpl_strnlen'.
1647         * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
1648         'rpl_strtod'.
1649         * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
1650         'rpl_utime'.
1651
1652 2003-01-30  Bruno Haible  <bruno@clisp.org>
1653
1654         * signed.m4: New file, from GNU gettext.
1655         * longdouble.m4: New file, from GNU gettext.
1656         * wchar_t.m4: New file, from GNU gettext.
1657         * wint_t.m4: New file, from GNU gettext.
1658         * vasnprintf.m4: New file.
1659         * vasprintf.m4: New file.
1660
1661 2003-01-29  Bruno Haible  <bruno@clisp.org>
1662
1663         * stpncpy.m4: New file.
1664
1665 2003-01-23  Jim Meyering  <jim@meyering.net>
1666
1667         * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
1668         from working on systems without dirfd (at least Irix and OSF1/Tru64).
1669
1670 2003-01-16  Jim Meyering  <jim@meyering.net>
1671
1672         * regex.m4: The `regex' struct is both input and output.
1673         Initialize it before each use.  Patch by Tim Waugh.
1674
1675 2003-01-11  Bruno Haible  <bruno@clisp.org>
1676
1677         * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
1678         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
1679         suffix.
1680
1681 2003-01-11  Bruno Haible  <bruno@clisp.org>
1682
1683         * md5.m4 (gl_MD5): Require AC_C_INLINE.
1684
1685 2003-01-11  Bruno Haible  <bruno@clisp.org>
1686
1687         * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
1688
1689 2003-01-12  Paul Eggert  <eggert@twinsun.com>
1690
1691         Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
1692         to avoid collisions with libcurses and libreadline.
1693
1694         * getstr.m4: Remove.
1695         * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
1696
1697 2003-01-10  Bruno Haible  <bruno@clisp.org>
1698
1699         * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
1700
1701 2003-01-09  Bruno Haible  <bruno@clisp.org>
1702
1703         * stdbool.m4 (AM_STDBOOL_H): New macro.
1704
1705 2002-12-31  Paul Eggert  <eggert@twinsun.com>
1706
1707         * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
1708
1709 2002-12-24  Bruno Haible  <bruno@clisp.org>
1710
1711         General infrasructure.
1712         * README: Rewritten.
1713         * onceonly.m4: New file.
1714         * onceonly_2_57.m4: New file.
1715
1716         Module atexit.
1717         * atexit.m4: New file.
1718
1719         Module strtod.
1720         * strtod.m4: New file.
1721
1722         Module strtol.
1723         * strtol.m4: New file.
1724
1725         Module strtoul.
1726         * strtoul.m4: New file.
1727
1728         Module memchr.
1729         * memchr.m4: New file.
1730
1731         Module memcmp.
1732         * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
1733         (jm_FUNC_MEMCMP): Invoke it.
1734
1735         Module memcpy.
1736         * memcpy.m4: New file.
1737
1738         Module memmove.
1739         * memmove.m4: New file.
1740
1741         Module memset.
1742         * memset.m4: New file.
1743
1744         Module strcspn.
1745         * strcspn.m4: New file.
1746
1747         Module strpbrk.
1748         * strpbrk.m4: New file.
1749
1750         Module strstr.
1751         * strstr.m4: New file.
1752
1753         Module strerror.
1754         * strerror.m4: New file.
1755
1756         Module mktime.
1757         * mktime.m4: Renamed from jm-mktime.m4.
1758         (gl_PREREQ_MKTIME): New macro.
1759         (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
1760
1761         Module malloc.
1762         * malloc.m4 (gl_PREREQ_MALLOC): New macro.
1763         (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
1764         Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
1765
1766         Module realloc.
1767         * realloc.m4 (gl_PREREQ_REALLOC): New macro.
1768         (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
1769         Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
1770
1771         Module strftime.
1772         * tm_gmtoff.m4: New file, extracted from strftime.m4.
1773         * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
1774         Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
1775         gl_TM_GMTOFF.
1776         (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
1777
1778         Module xalloc.
1779         * xalloc.m4: New file.
1780
1781         Module alloca.
1782         * alloca.m4: New file.
1783
1784         Module putenv.
1785         * putenv.m4 (gl_PREREQ_PUTENV): New macro.
1786         (jm_FUNC_PUTENV): Invoke it.
1787
1788         Module setenv.
1789         * setenv.m4 (gt_FUNC_SETENV): New macro.
1790         (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
1791         when invoked twice.
1792         (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
1793         gt_FUNC_SETENV.
1794
1795         Module memrchr.
1796         * memrchr.m4: New file.
1797
1798         Module stpcpy.
1799         * stpcpy.m4: New file.
1800
1801         Module strcase.
1802         * strcase.m4: New file.
1803
1804         Module strdup.
1805         * strdup.m4: New file.
1806
1807         Module strnlen.
1808         * strnlen.m4: New file.
1809
1810         Module strndup.
1811         * strndup.m4: New file.
1812
1813         Module xstrtod.
1814         * xstrtod.m4: New file.
1815
1816         Module xstrtol.
1817         * xstrtol.m4: New file.
1818
1819         Module getdate.
1820         * getdate.m4: New file.
1821
1822         Module unlocked-io.
1823         * unlocked-io.m4: Renamed from jm-glibc-io.m4.
1824         (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
1825         * jm-glibc-io.m4n: Remove file.
1826
1827         Module long-options.
1828         * long-options.m4: New file.
1829
1830         Module md5.
1831         * md5.m4: New file.
1832
1833         Module sha.
1834         * sha.m4: New file.
1835
1836         Module getstr.
1837         * getstr.m4: New file.
1838
1839         Module getline.
1840         * getline.m4 (gl_PREREQ_GETLINE): New macro.
1841         (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
1842         <sys/types.h>, for size_t. Use the function name gnu_getline, not
1843         simply getline. Infoke gl_PREREQ_GETLINE.
1844
1845         Module obstack.
1846         * obstack.m4: New file.
1847
1848         Module hash.
1849         * hash.m4: New file.
1850
1851         Module readtokens.
1852         * readtokens.m4: New file.
1853
1854         Module strverscmp.
1855         * strverscmp.m4: New file.
1856
1857         Module stdbool.
1858         * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
1859
1860         Module strtoll.
1861         * strtoll.m4: New file.
1862
1863         Module strtoull.
1864         * strtoull.m4: New file.
1865
1866         Module strtoimax.
1867         * strtoimax.m4: New file.
1868
1869         Module strtoumax.
1870         * strtoumax.m4: New file.
1871
1872         Module xstrtoimax.
1873         * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
1874         Moved the strtol prerequisites to strtol.m4.
1875         Moved the strtoll prerequisites to strtoll.m4.
1876         Moved the strtoimax prerequisites to strtoimax.m4.
1877
1878         Module xstrtoumax.
1879         * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
1880         Moved the strtoul prerequisites to strtoul.m4.
1881         Moved the strtoull prerequisites to strtoull.m4.
1882         Moved the strtoumax prerequisites to strtoumax.m4.
1883
1884         Module chown.
1885         * chown.m4 (gl_PREREQ_CHOWN): New macro.
1886         (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
1887
1888         Module dup2.
1889         * dup2.m4: New file.
1890
1891         Module ftruncate.
1892         * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
1893         (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
1894
1895         Module getgroups.
1896         * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
1897         (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
1898
1899         Module gettimeofday.
1900         * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
1901         (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
1902         gl_PREREQ_GETTIMEOFDAY.
1903
1904         Module mkdir.
1905         * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
1906         (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
1907
1908         Module mkstemp.
1909         * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
1910         (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
1911         jm_AC_TYPE_UINTMAX_T.
1912         (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
1913
1914         Module stat.
1915         * stat.m4 (gl_PREREQ_STAT): New macro.
1916         (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
1917
1918         Module lstat.
1919         * lstat.m4 (gl_PREREQ_LSTAT): New macro.
1920         (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
1921
1922         Module timespec.
1923         * timespec.m4 (gl_TIMESPEC): New macro.
1924         (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
1925         * st_mtim.m4: Indentation.
1926
1927         Module nanosleep.
1928         * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
1929         (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
1930         gl_PREREQ_NANOSLEEP.
1931
1932         Module regex.
1933         * regex.m4 (jm_PREREQ_REGEX): New macro.
1934         (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
1935         (gl_REGEX): New macro.
1936
1937         Module rename.
1938         * rename.m4 (gl_PREREQ_RENAME): New macro.
1939         (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
1940
1941         Module rmdir.
1942         * rmdir.m4: New file.
1943
1944         Module utime.
1945         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
1946         * utime.m4 (gl_PREREQ_UTIME): New macro.
1947         (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
1948
1949         Module dirname.
1950         * dirname.m4: New file.
1951
1952         Module getopt.
1953         * getopt.m4: New file.
1954
1955         Module unistd-safer.
1956         * unistd-safer.m4: New file.
1957
1958         Module fnmatch.
1959         * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
1960         declaration.
1961         (gl_PREREQ_FNMATCH_EXTRA): New macro.
1962         (gl_FUNC_FNMATCH_POSIX): New macro.
1963         (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
1964         gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
1965         simply fnmatch.
1966
1967         Module exclude.
1968         * exclude.m4: New file.
1969
1970         Module human.
1971         * human.m4: New file.
1972
1973         Module acl.
1974         * acl.m4: Nop.
1975
1976         Module backupfile.
1977         * backupfile.m4: New file.
1978         * d-ino.m4: Indentation.
1979
1980         Module fsusage.
1981         * fsusage.m4 (gl_FSUSAGE): New macro.
1982         (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
1983         (gl_PREREQ_FSUSAGE_EXTRA): New macro.
1984
1985         Module dirfd.
1986         * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
1987
1988         Module euidaccess.
1989         * euidaccess.m4: New file.
1990
1991         Module file-type.
1992         * file-type.m4: New file.
1993
1994         Module fileblocks.
1995         * fileblocks.m4: New file.
1996
1997         Module filemode.
1998         * filemode.m4: New file.
1999
2000         Module isdir.
2001         * isdir.m4: New file.
2002
2003         Module lchown.
2004         * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
2005         (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
2006
2007         Module makepath.
2008         * makepath.m4: New file.
2009
2010         Module modechange.
2011         * modechange.m4: New file.
2012
2013         Module mountlist.
2014         * mountlist.m4: New file.
2015         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
2016         Indentation.
2017
2018         Module path-concat.
2019         * path-concat.m4: New file.
2020
2021         Module pathmax.
2022         * pathmax.m4: New file.
2023
2024         Module same.
2025         * same.m4: New file.
2026
2027         Module save-cwd.
2028         * save-cwd.m4: New file.
2029
2030         Module savedir.
2031         * savedir.m4: New file.
2032
2033         Module xgetcwd.
2034         * xgetcwd.m4: New file.
2035         * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
2036
2037         Module xreadlink.
2038         * xreadlink.m4: New file.
2039
2040         Module safe-read.
2041         * safe-read.m4: New file.
2042
2043         Module safe-write.
2044         * safe-write.m4: New file.
2045
2046         Module closeout.
2047         * closeout.m4: New file.
2048
2049         Module stdio-safer.
2050         * stdio-safer.m4: New file.
2051
2052         Module getpass.
2053         * getpass.m4: New file.
2054
2055         Module getugroups.
2056         * getugroups.m4: New file.
2057
2058         Module group-member.
2059         * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
2060         (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
2061
2062         Module idcache.
2063         * idcache.m4: New file.
2064
2065         Module userspec.
2066         * userspec.m4: New file.
2067
2068         Module gettime.
2069         * clock_time.m4: New file.
2070         * gettime.m4: New file.
2071
2072         Module settime.
2073         * settime.m4: New file.
2074
2075         Module posixtm.
2076         * posixtm.m4: New file.
2077
2078         Module gethostname.
2079         * gethostname.m4: New file.
2080
2081         Module canon-host.
2082         * canon-host.m4: New file.
2083
2084         Module gettext.
2085         * codeset.m4: New file, from gettext-0.11.5.
2086         * gettext.m4: New file, from gettext-0.11.5.
2087         * glibc21.m4: New file, from gettext-0.11.5.
2088         * iconv.m4: New file, from gettext-0.11.5.
2089         * intdiv0.m4: New file, from gettext-0.11.5.
2090         * inttypes-pri.m4: New file, from gettext-0.11.5.
2091         * inttypes.m4: New file, from gettext-0.11.5.
2092         * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
2093         * isc-posix.m4: New file, from gettext-0.11.5.
2094         * lcmessage.m4: New file, from gettext-0.11.5.
2095         * lib-ld.m4: New file, from gettext-0.11.5.
2096         * lib-link.m4: New file, from gettext-0.11.5.
2097         * lib-prefix.m4: New file, from gettext-0.11.5.
2098         * progtest.m4: New file, from gettext-0.11.5.
2099         * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
2100         * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
2101         * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
2102
2103         Module localcharset.
2104         * localcharset.m4: New file.
2105
2106         Module hard-locale.
2107         * hard-locale.m4: New file.
2108
2109         Module mbswidth.
2110         * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
2111         onceonly macros.
2112         * mbrtowc.m4: Add comment.
2113
2114         Module memcasecmp.
2115         * memcasecmp.m4: New file.
2116
2117         Module memcoll.
2118         * memcoll.m4: New file.
2119
2120         Module unicodeio.
2121         * unicodeio.m4: New file.
2122
2123         Module rpmatch.
2124         * rpmatch.m4: New file.
2125
2126         Module yesno.
2127         * yesno.m4: New file.
2128
2129         Module exitfail.
2130         * exitfail.m4: New file.
2131
2132         Module c-stack.
2133         * c-stack.m4 (gl_C_STACK): New macro.
2134         (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
2135
2136         Module error.
2137         * error.m4 (gl_ERROR): New macro.
2138         (jm_PREREQ_ERROR): Use onceonly macros.
2139
2140         Module fatal.
2141         * fatal.m4: New file.
2142
2143         Module getloadavg.
2144         * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
2145         (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
2146
2147         Module getpagesize.
2148         * getpagesize.m4: New file.
2149
2150         Module getusershell.
2151         * getusershell.m4: New file.
2152
2153         Module physmem.
2154         * physmem.m4: New file.
2155
2156         Module posixver.
2157         * posixver.m4: New file.
2158
2159         Module quotearg.
2160         * quotearg.m4: New file.
2161
2162         Module quote.
2163         * quote.m4: New file.
2164
2165         Module readutmp.
2166         * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
2167
2168         Module sig2str.
2169         * sig2str.m4: New file.
2170
2171         Other.
2172         * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
2173         ulonglong.m4.
2174         * intmax_t.m4: New file.
2175         * d-type.m4: Indentation.
2176         * jm-macros.m4: Update.
2177         * prereq.m4 (jm_PREREQ): Update.
2178         (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
2179         (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
2180         (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
2181         (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
2182         (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
2183         (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
2184         (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
2185         (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
2186         (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
2187         (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
2188         (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
2189         (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
2190         (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
2191         (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
2192         (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
2193         (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
2194         (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
2195         (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
2196         * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
2197
2198 2002-12-18  Bruno Haible  <bruno@clisp.org>
2199
2200         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
2201         * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
2202
2203 2002-12-17  Bruno Haible  <bruno@clisp.org>
2204
2205         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
2206         stdlib.h, string.h.
2207
2208 2002-12-11  Bruno Haible  <bruno@clisp.org>
2209
2210         * setenv.m4: New file, from gettext-0.11.5.
2211
2212 2002-12-06  Paul Eggert  <eggert@twinsun.com>
2213
2214         Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
2215         a pain in practice to deal with generated m4 files.  This change
2216         goes together with the 2002-12-04 unlocked-io.h change in ../lib.
2217
2218         * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
2219         and jm-glibc-io.m4, as they are no longer a special case.
2220         * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
2221         kludge and the auto-generation stuff.  Check only whether the
2222         functions are declared, not whether they exist, since older hosts
2223         that don't declare the functions can't use the optimization anyway.
2224
2225 2002-07-06  Jim Meyering  <meyering@lucent.com>
2226
2227         * README: Don't mention Makefile.am.in.
2228         Outline how I've tested changes to .m4 files.  Yep, it's a pain.
2229
2230 2002-06-11  Paul Eggert  <eggert@twinsun.com>
2231
2232         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
2233
2234 2002-06-22  Jim Meyering  <meyering@lucent.com>
2235
2236         * c-stack.m4: New file, from diffutils-2.8.2.
2237         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
2238
2239         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
2240         now that configure.ac uses AC_GNU_SOURCE.
2241         (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
2242         * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
2243
2244         Update to latest tools.  Suggestions from Paul Eggert.
2245         * stdbool.m4: New file, from diffutils-2.8.2.
2246         * gnu-source.m4: Update from diffutils-2.8.2.
2247         * fnmatch.m4: Likewise.
2248         * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
2249         to AC_HEADER_STDBOOL
2250
2251 2002-06-21  Jim Meyering  <meyering@lucent.com>
2252
2253         * c-bs-a.m4: Add comment, from diffutils-2.8.2.
2254         * mbrtowc.m4: Likewise.
2255
2256         * mbstate_t.m4: Update from diffutils-2.8.2.
2257         * mbswidth.m4: Reflect name change:
2258         s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
2259         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
2260
2261         * lib-link.m4: Update from gettext-0.11.2.
2262         * gettext.m4: Likewise.
2263
2264         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
2265         From Alfred M. Szmidt.
2266
2267 2002-05-19  Paul Eggert  <eggert@twinsun.com>
2268
2269         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
2270
2271 2002-06-07  Jim Meyering  <meyering@lucent.com>
2272
2273         * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
2274         They're needed at least for NetBSD 1.5.2.
2275         ($statxfs_includes): Include those same headers.
2276         ($statxfs_includes): Include sys/vfs.h if available.
2277         ($statxfs_includes): Likewise for sys/statvfs.h.
2278         Check for the following members in both structs statfs and statvfs:
2279         f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
2280
2281 2002-06-01  Jim Meyering  <meyering@lucent.com>
2282
2283         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
2284         s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
2285
2286 2002-05-28  Jim Meyering  <meyering@lucent.com>
2287
2288         * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
2289         Reported by Volker Borchert.
2290
2291 2002-05-27  Jim Meyering  <meyering@lucent.com>
2292
2293         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
2294         localtime.
2295
2296         * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
2297         use the replacement function; it wouldn't resolve at link time.
2298         Reported by Volker Borchert.
2299
2300 2002-04-30  Jim Meyering  <meyering@lucent.com>
2301
2302         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
2303
2304 2002-04-29  Paul Eggert  <eggert@twinsun.com>
2305
2306         * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
2307         Do not check for alloca.h (no longer used) or stdbool.h (was never
2308         used?).  Add AM_C_PROTOTYPES since hard-locale.h uses it.
2309
2310 2002-04-28  Paul Eggert  <eggert@twinsun.com>
2311
2312         * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
2313
2314 2002-04-29  Jim Meyering  <meyering@lucent.com>
2315
2316         * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
2317         * prereq.m4: Add jm_PREREQ_STRNLEN.
2318         Use AC_FUNC_STRNLEN here instead.
2319
2320         * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
2321         With autoconf-2.53a, it's part of AC_PROG_CC.
2322
2323 2002-04-28  Paul Eggert  <eggert@twinsun.com>
2324
2325         * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
2326         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
2327
2328 2002-04-24  Jim Meyering  <meyering@lucent.com>
2329
2330         * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
2331         (jm_PREREQ): Use it.
2332
2333         * getloadavg.m4: Check for these headers: locale.h unistd.h
2334         mach/mach.h fcntl.h.
2335         Check for this function: setlocale.
2336
2337 2002-04-16  Jim Meyering  <meyering@lucent.com>
2338
2339         * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
2340         ut_pid, ut_id, ut_exit.
2341
2342 2002-04-12  Jim Meyering  <meyering@lucent.com>
2343
2344         * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
2345         check for f_type in sys/mount.h.  Instead, just test for the existence
2346         of the getmntinfo function.  Needed for Darwin 5.3.
2347
2348         * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
2349         This is necessary at least on Darwin 5.3.
2350
2351         * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
2352         AC_FUNC_STRNLEN.  Otherwise, we'd end up putting two copies of strnlen.o
2353         in the library, and that makes some versions of ranlib object.
2354
2355 2002-04-09  Jim Meyering  <meyering@lucent.com>
2356
2357         * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
2358         to be more precise.  Rather than saying we're checking whether the
2359         function `works', say what we're testing.
2360         * realloc.m4 (jm_FUNC_REALLOC): Likewise.
2361         Reported by Bruno Haible.
2362
2363 2002-02-27  Paul Eggert  <eggert@twinsun.com>
2364
2365         * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
2366         Check for clock_settime.
2367
2368 2002-02-25  Paul Eggert  <eggert@twinsun.com>
2369
2370         * acl.m4: New file.
2371         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
2372         Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
2373
2374 2002-02-16  gettextize  <bug-gnu-gettext@gnu.org>
2375
2376         * codeset.m4: Upgrade to gettext-0.11.
2377         * gettext.m4: Upgrade to gettext-0.11.
2378         * glibc21.m4: Upgrade to gettext-0.11.
2379         * iconv.m4: Upgrade to gettext-0.11.
2380         * isc-posix.m4: Upgrade to gettext-0.11.
2381         * lcmessage.m4: Upgrade to gettext-0.11.
2382         * lib-ld.m4: New file, from gettext-0.11.
2383         * lib-link.m4: New file, from gettext-0.11.
2384         * lib-prefix.m4: New file, from gettext-0.11.
2385         * progtest.m4: Upgrade to gettext-0.11.
2386
2387 2002-02-15  Paul Eggert  <eggert@twinsun.com>
2388
2389         * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
2390         (jm_PREREQ): Use it.
2391
2392 2002-01-26  Jim Meyering  <meyering@lucent.com>
2393
2394         * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
2395         * strnlen.m4: Remove file, now that it's part of autoconf.
2396
2397 2002-01-22  Paul Eggert  <eggert@twinsun.com>
2398
2399         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
2400
2401 2002-01-19  Jim Meyering  <meyering@lucent.com>
2402
2403         * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
2404         Remove useless quotes: DF_PROG="df".
2405         * strnlen.m4: New file.
2406
2407 2001-12-14  Jim Meyering  <meyering@lucent.com>
2408
2409         * jm-macros.m4 (jm_MACROS): Check for iswspace.
2410         Suggestion from Bruno Haible.
2411
2412 2001-11-20  Jim Meyering  <meyering@lucent.com>
2413
2414         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
2415         SunOS 4.1.4 and Solaris 2.5.1 lose, too.
2416
2417 2001-11-19  Jim Meyering  <meyering@lucent.com>
2418
2419         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
2420         directory.  Use "conftestXXXXXX" as the template.
2421         Suggestion from Paul Eggert.
2422
2423         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
2424         so the test doesn't mistakenly hit the max-open-files limit.
2425
2426 2001-11-18  Jim Meyering  <meyering@lucent.com>
2427
2428         * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
2429
2430 2001-11-17  Jim Meyering  <meyering@lucent.com>
2431
2432         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
2433         Prompted by a report from Bob Proulx.
2434
2435         * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
2436         Instead, require UTILS_FUNC_MKSTEMP.
2437
2438 2001-11-11  Jim Meyering  <meyering@lucent.com>
2439
2440         * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
2441         Now, that's done as part of AC_FUNC_STRTOD.
2442
2443 2001-10-22  Paul Eggert  <eggert@twinsun.com>
2444
2445         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
2446         WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
2447
2448 2001-11-10  Jim Meyering  <meyering@lucent.com>
2449
2450         * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
2451         (jm_PREREQ): Use it.
2452
2453 2001-11-09  Jim Meyering  <meyering@lucent.com>
2454
2455         * jm-macros.m4: Require autoconf-2.52f.
2456         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
2457         Use these AC_-prefixed names, not the AM_-prefixed ones.
2458
2459         * afs.m4 (jm_AFS): Quote the body.  Patch by Akim Demaille.
2460
2461 2001-11-04  Jim Meyering  <meyering@lucent.com>
2462
2463         * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
2464
2465 2001-11-03  Jim Meyering  <meyering@lucent.com>
2466
2467         * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
2468         of AC_DEFUN.
2469
2470         * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
2471         know the name of the variable in the macro definition.
2472
2473 2001-11-01  Jim Meyering  <meyering@lucent.com>
2474
2475         * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
2476         * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
2477
2478 2001-10-20  Paul Eggert  <eggert@twinsun.com>
2479
2480         * error.m4 (jm_PREREQ_ERROR):
2481         Do not invoke AC_CHECK_FUNCS with strerror_r, as
2482         AC_FUNC_STRERROR_R does that.
2483         Check for strerror declaration.
2484
2485         * strerror_r.m4: Add copyright notice, as nontrivial m4 files
2486         are supposed to have them these days.
2487         (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
2488         Merge changes from latest Autoconf CVS.
2489         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
2490         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
2491         POSIX decided to standardize on the int flavor of strerror_r.
2492
2493 2001-09-30  Jim Meyering  <meyering@lucent.com>
2494
2495         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
2496         `struct fsstat' has the `f_fstypename' member.
2497         Use that to define FS_TYPE, which is now used to make
2498         the getfsstat link test tighter.
2499
2500 2001-09-29  Jim Meyering  <meyering@lucent.com>
2501
2502         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
2503         [one-argument getmntent function]): Include stdio.h before mntent.h.
2504         SunOS 4.1.x needs it for the declaration of `FILE'.
2505         Patch by Volker Borchert.
2506
2507         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
2508         Check for these headers: sys/param.h sys/ucred.h sys/mount.h
2509         sys/fs_types.h, and make the link-test for getfsstat guard #include
2510         directives with appropriate #if HAVE_*_H tests so that we can
2511         detect getfsstat on Apple Darwin1.3.7 systems.
2512         Reported by Nelson Beebe.
2513         Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
2514
2515 2001-09-28  Paul Eggert  <eggert@twinsun.com>
2516
2517         Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
2518         #defines strtoimax.  Also treat the other strto* functions
2519         like strtoimax.
2520
2521         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
2522         Check for strtoul and strtoumax,
2523         as those declarations are made even in the signed case.
2524         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
2525         Likewise, for strtol and strtoimax.
2526
2527 2001-09-24  Jim Meyering  <meyering@lucent.com>
2528
2529         * gettext.m4: Use the version from gettext-0.10.40, not CVS.
2530
2531 2001-09-23  Jim Meyering  <meyering@lucent.com>
2532
2533         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
2534         instead of the mere test for existence of mntent.h.  The latter
2535         would get a false-positive on AIX 3.4 systems.
2536         In the outer getmntent if-block, don't die if neither of the getmntent
2537         tests succeeds.  Instead, just fall through and continue with the
2538         remaining tests.
2539
2540 2001-09-22  Jim Meyering  <meyering@lucent.com>
2541
2542         * gettext.m4: New file.  From gettext.
2543         * lcmessage.m4: Sync with gettext -- this changes only comments.
2544         * progtest.m4: Likewise
2545         * isc-posix.m4: Decrement serial number to sync with gettext.
2546         * glibc21.m4: Likewise.
2547
2548         * libintl.m4: Remove.  No longer used.
2549
2550 2001-09-20  Jim Meyering  <meyering@lucent.com>
2551
2552         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
2553         strtoimax.
2554         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
2555         strtoumax.
2556
2557 2001-09-17  Jim Meyering  <meyering@lucent.com>
2558
2559         * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
2560         * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
2561         * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
2562         * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
2563         * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
2564         whenever the right hand side need not be expanded by the shell.
2565
2566 2001-09-16  Paul Eggert  <eggert@twinsun.com>
2567
2568         * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
2569         library.  It's not correct, as some older glibcs are buggy.
2570         fnmatch wasn't fixed until glibc 2.2.
2571
2572         Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
2573         special shell magic here.
2574
2575 2001-09-16  Jim Meyering  <meyering@lucent.com>
2576
2577         * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
2578         * jm-macros.m4: Require it.
2579
2580 2001-09-15  Jim Meyering  <meyering@lucent.com>
2581
2582         * jm-macros.m4: Check for help2man.
2583
2584 2001-09-11  Jim Meyering  <meyering@lucent.com>
2585
2586         * host-os.m4 (UTILS_HOST_OS): New file/macro.
2587         The body, by Paul Eggert, was moved here from configure.in.
2588         * jm-macros.m4: Require UTILS_HOST_OS.
2589
2590 2001-09-04  Paul Eggert  <eggert@twinsun.com>
2591
2592         * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
2593         (jm_PREREQ): Use it.
2594
2595 2001-09-03  Paul Eggert  <eggert@twinsun.com>
2596
2597         * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
2598         sys/param.h, as pathmax.h includes them.
2599
2600 2001-09-03  Paul Eggert  <eggert@twinsun.com>
2601
2602         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
2603         (jm_PREREQ_XGETCWD): New macro.
2604
2605         * getcwd.m4: New file.
2606
2607 2001-09-01  Jim Meyering  <meyering@lucent.com>
2608
2609         * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
2610         Used by df.
2611
2612 2001-08-30  Paul Eggert  <eggert@twinsun.com>
2613
2614         Simplify code, partly by assuming autoconf 2.52 semantics.
2615
2616         * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
2617
2618         * inttypes.m4 (AC_PREREQ): Bump to 2.52.
2619         (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
2620         All uses removed.
2621         (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
2622         Move AC_REQUIRE to next-to-top level, to avoid confusion.
2623         Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
2624         * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
2625         * jm-macros.m4 (jm_MACROS): Likewise.
2626
2627         * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
2628
2629         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
2630         Quote first arg of AC_DEFUN.
2631         Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
2632         since they are needed to parse the include file even if we need
2633         only xstrtoimax.  Simplify logic behind the args to AC_REPLACE.
2634         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
2635         but with opposite signedness.
2636
2637 2001-08-30  Paul Eggert  <eggert@twinsun.com>
2638
2639         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
2640         (jm_PREREQ_EXCLUDE): New macro.
2641
2642 2001-08-26  Jim Meyering  <meyering@lucent.com>
2643
2644         * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
2645
2646         * xstrtoimax.m4: New file.
2647         * xstrtoumax.m4: Add comments explaining why we
2648         AC_REPLACE_FUNCS(strtol).
2649
2650 2001-06-20  Paul Eggert  <eggert@twinsun.com>
2651
2652         * inttypes.m4: Add AC_PREREQ(2.13).
2653         (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
2654         (jm_AC_TYPE_INTMAX_T): New macro.
2655         (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
2656
2657         * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
2658
2659         * longlong.m4: Renamed from ulonglong.m4.
2660         * inttypes.m4: Renamed from inttypes_h.m4.
2661         * uintmax_t.m4: Removed.
2662
2663 2001-08-12  Jim Meyering  <meyering@lucent.com>
2664
2665         * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
2666         d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
2667         fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
2668         group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
2669         jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
2670         link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
2671         mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
2672         prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
2673         rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
2674         strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
2675         utime.m4, utimes.m4, xstrtoumax.m4:
2676         Quote the first argument in each use of AC_DEFUN.
2677
2678 2001-08-05  Jim Meyering  <meyering@lucent.com>
2679
2680         * jm-macros.m4: Require autoconf-2.52.
2681
2682 2001-08-03  Paul Eggert  <eggert@twinsun.com>
2683
2684         The following changes are from gettext 0.10.39 as maintained by
2685         Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
2686
2687         * codeset.m4: Upgrade to serial AM1.
2688         (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
2689         all uses changed.  Quote first arg of AC_DEFUN.
2690         (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
2691
2692         * iconv.m4: Upgrade to serial AM2.
2693         (AM_ICONV): Renamed from jm_ICONV; all uses changed.
2694         Add --with-libconv-prefix.
2695         Quote first arg of AC_DEFUN.  Add description for ICONV_CONST.
2696         (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
2697         (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
2698         (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
2699         * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
2700
2701         * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
2702         * getline.m4 (AM_FUNC_GETLINE): Likewise.
2703         * glibc21.m4 (jm_GLIBC21): Likewise.
2704         * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
2705         * isc-posix.m4 (AC_ISC_POSIX): Likewise.
2706         * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
2707         * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
2708         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
2709         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
2710
2711         * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
2712         string.h any more.
2713
2714         * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
2715         not the default value.
2716
2717         2001-06-25  Bruno Haible  <haible@clisp.cons.org>
2718         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
2719         Also check for mbsinit.  Needed for SCO 3.2v5.0.2.
2720         Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
2721         Also check for iswcntrl, used for wcwidth fallback.
2722         Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
2723         to Autoconf 2.13.
2724
2725 2001-08-03  Jim Meyering  <meyering@lucent.com>
2726
2727         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
2728         as it was in the original.  Reported by Paul Eggert.
2729
2730 2001-07-16  Jim Meyering  <meyering@lucent.com>
2731
2732         * gettimeofday.m4: New file.
2733         Prompted by a report from Bernhard Baehr.
2734
2735 2001-07-15  Jim Meyering  <meyering@lucent.com>
2736
2737         * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
2738         Now it's in ../Makefile.cfg.
2739
2740 2001-07-04  Jim Meyering  <meyering@lucent.com>
2741
2742         * Makefile.am.in (glibc-io.struct): New target.  Rework the code
2743         that generates jm-glibc-io.m4 so that it doesn't trigger any make
2744         distcheck failure.
2745
2746 2001-07-02  Jim Meyering  <meyering@lucent.com>
2747
2748         The following changes were prompted by suggestions from Bruno Haible.
2749
2750         * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
2751         is now generated.
2752         * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
2753         definition of EXTRA_DIST.
2754         (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
2755         ensure that the generated file is created/updated whenever the list
2756         of $(unlocked_functions) is changed.
2757         (jm-glibc-io.m4): New rule.
2758         (unlocked-io.h): New rule -- currently unused.
2759
2760 2001-06-24  Jim Meyering  <meyering@lucent.com>
2761
2762         * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
2763         unmatched right bracket, rather than kludging it with an extra,
2764         falsely-matching quote in a comment.  Patch by Akim Demaille.
2765
2766 2001-05-27  Jim Meyering  <meyering@lucent.com>
2767
2768         * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
2769         Check for ut_type in struct utmp.
2770
2771 2001-05-22  Jim Meyering  <meyering@lucent.com>
2772
2773         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
2774         now that we use the package-supplied version unconditionally.
2775         (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
2776
2777 2001-05-21  Jim Meyering  <meyering@lucent.com>
2778
2779         * regex.m4: Change a couple backticks to single quotes to avoid shell
2780         syntax errors.
2781
2782 2001-05-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
2783
2784         * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
2785
2786 2001-05-11  Paul Eggert  <eggert@twinsun.com>
2787
2788         * strftime.m4 (jm_FUNC_GNU_STRFTIME):
2789         Don't bother to check library strftime, since
2790         we'll be using our own my_strftime function anyway.
2791         Define my_strftime instead of strftime.
2792
2793 2001-05-15  Jim Meyering  <meyering@lucent.com>
2794
2795         * regex.m4: Use proper quoting so brackets appear in the test program.
2796         Reported by, and with help from, Bruno Haible.
2797
2798 2001-05-13  Jim Meyering  <meyering@lucent.com>
2799
2800         * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
2801
2802 2000-11-26  Paul Eggert  <eggert@twinsun.com>
2803
2804         * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
2805
2806 2001-04-21  Jim Meyering  <meyering@lucent.com>
2807
2808         * rmdir-errno.m4: Write to a new file, so that a restrictive umask
2809         doesn't interfere.
2810
2811 2001-04-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
2812
2813         * ftruncate.m4: Check for chsize.
2814         Link with ftruncate.o unconditionally if ftruncate is missing.
2815         This was required when cross-compiling to i586-mingw32msvc.
2816
2817 2001-03-24  Jim Meyering  <meyering@lucent.com>
2818
2819         * jm-macros.m4: Require autoconf-2.49d.
2820
2821 2001-03-20  Bruno Haible  <haible@clisp.cons.org>
2822
2823         * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
2824
2825 2001-03-17  Jim Meyering  <meyering@lucent.com>
2826
2827         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
2828         now that the version in autoconf is equivalent.
2829         (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
2830
2831         * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
2832         Suggestion from Akim Demaille.
2833
2834         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
2835         (jm_PREREQ_TEMPNAME): New function.
2836
2837 2001-02-25  Paul Eggert  <eggert@twinsun.com>
2838
2839         * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
2840         lacks mkstemp.  Compile our own tempname.c if we compile our own
2841         mkstemp.c, as mkstemp relies on tempname.
2842
2843 2001-03-01  Jim Meyering  <meyering@lucent.com>
2844
2845         * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
2846         AH_VERBATIM really does output its argument verbatim.
2847
2848 2001-02-18  Paul Eggert  <eggert@twinsun.com>
2849
2850         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
2851
2852 2001-02-17  Jim Meyering  <meyering@lucent.com>
2853
2854         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
2855         getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
2856         further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
2857         UnixWare 7.1.1.
2858
2859         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
2860         rather than AC_CACHE_VAL.
2861
2862 2001-02-17  Paul Eggert  <eggert@twinsun.com>
2863
2864         * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
2865         * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
2866         Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
2867         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
2868
2869 2001-02-07  Jim Meyering  <meyering@lucent.com>
2870
2871         * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
2872
2873 2001-02-05  Jim Meyering  <meyering@lucent.com>
2874
2875         * jm-macros.m4: Require autoconf-2.14d (not yet released), because
2876         it includes the patch required for `large file' support with at least
2877         HP-UX's 10.20 /bin/cc.
2878
2879 2001-02-03  Jim Meyering  <meyering@lucent.com>
2880
2881         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
2882         AS_IF, now that it works once again (mysteriously).
2883         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
2884
2885 2001-01-30  Jim Meyering  <meyering@lucent.com>
2886
2887         Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
2888         * chown.m4: Rename conftestchown to conftest.chown.
2889         * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
2890         * utimes.m4: s/conftestdata/conftest.data/
2891         Inspired by Pavel Roskin's change in autoconf.
2892
2893 2001-01-27  Jim Meyering  <meyering@lucent.com>
2894
2895         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
2896         a use of AS_IF.
2897         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
2898
2899 2001-01-26  Jim Meyering  <meyering@lucent.com>
2900
2901         * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
2902         quotearg.c includes it.
2903
2904 2001-01-15  Bruno Haible  <haible@clisp.cons.org>
2905
2906         * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
2907         has const.
2908
2909 2001-01-20  Jim Meyering  <meyering@lucent.com>
2910
2911         Be sure that headers are checked before used in code compiled
2912         for the type checks.
2913         * jm-macros.m4 (jm_MACROS): Remove all header checks.
2914         In place of that, invoke jm_CHECK_ALL_TYPES.
2915         (jm_CHECK_ALL_HEADERS): New functions with the above checks.
2916         (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
2917         Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
2918         The check for ssize_t was mistakenly run before the test for unistd.h.
2919
2920         The configure-time check for stdbool.h was missing.
2921         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
2922         (jm_PREREQ_HASH): New function.
2923
2924 2001-01-17  Jim Meyering  <meyering@lucent.com>
2925
2926         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
2927         for autoconf-2.49c.
2928         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
2929
2930 2001-01-14  Jim Meyering  <meyering@lucent.com>
2931
2932         * rename.m4: Use temporary directories named conftestdir{,2}, not
2933         foo and bar.  Create conftestdir/ in the script, not in the C code.
2934         Remove directories in the script, not in the C code.
2935         Remove conftestdir{,2} before trying to create the directory.
2936         Make the entire configure script fail if the mkdir fails.
2937
2938 2001-01-02  Volker Borchert  <bt@teknon.de>
2939
2940         * rename.m4: New file.
2941         * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
2942
2943 2001-01-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
2944
2945         * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
2946         expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
2947         so `make install' also works in VPATH builds.
2948
2949 2001-01-01  Jim Meyering  <meyering@lucent.com>
2950
2951         * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
2952         on systems with utmpx.h.  It's necessary for the declaration of utmp's
2953         ut_user member.  Reported by Andreas Jaeger.
2954
2955         * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
2956         They are required for the declarations of getgrgid and getpwuid resp.
2957         (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
2958         Reported by Andreas Jaeger.
2959
2960 2000-12-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2961
2962         * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
2963         prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
2964         can be used in subdirectories.
2965
2966 2000-12-26  Jim Meyering  <meyering@lucent.com>
2967
2968         * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
2969         with autoheader.
2970
2971 2000-12-17  Jim Meyering  <meyering@lucent.com>
2972
2973         * dos.m4 (jm_AC_DOS): New file and macro.
2974         * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
2975
2976 2000-12-06  Paul Eggert  <eggert@twinsun.com>
2977
2978         * off_t-format.m4: Remove this file.
2979         * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
2980
2981 2000-12-06  Jim Meyering  <meyering@lucent.com>
2982
2983         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
2984         strtoull, we may well need the replacement strtoul, too.
2985         Check for declarations of strtoul and strtoull.
2986         Check for strtol.  Mainly as a cue to cause automake to include
2987         strtol.c -- that file is included by each of strtoul.c and strtoull.c.
2988         Check for limits.h -- strtol.c needs it.
2989
2990 2000-12-02  Jim Meyering  <meyering@lucent.com>
2991
2992         * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
2993         * jm-macros.m4 (jm_MACROS): require it.
2994
2995 2000-11-30  Jim Meyering  <meyering@lucent.com>
2996
2997         * jm-macros.m4 (jm_MACROS): Check for stdint.h.
2998
2999 2000-11-30  Jim Meyering  <meyering@lucent.com>
3000
3001         * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
3002
3003 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
3004
3005         * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
3006
3007 2000-11-04  Jim Meyering  <meyering@lucent.com>
3008
3009         * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
3010
3011 2000-10-29  Jim Meyering  <meyering@lucent.com>
3012
3013         * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
3014         * ls-mntd-fs.m4: Likewise
3015
3016 2000-10-28  Jim Meyering  <meyering@lucent.com>
3017
3018         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
3019         (jm_PREREQ_MEMCHR): New function.
3020
3021 2000-10-21  Jim Meyering  <meyering@lucent.com>
3022
3023         * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
3024         * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
3025         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
3026
3027 2000-09-18  Jim Meyering  <meyering@lucent.com>
3028
3029         * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
3030         Otherwise, everyone ends up linking with -lelf for some configurations.
3031         Reported by Mike Stone.
3032
3033 2000-08-26  Jim Meyering  <meyering@lucent.com>
3034
3035         * jm-macros.m4: Use jm_FUNC_FPENDING.
3036         * fpending.m4: New file.
3037
3038 2000-08-20  Jim Meyering  <meyering@lucent.com>
3039
3040         * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
3041         `#if !HAVE_UTMPX_H'.  The latter would lose on systems with neither
3042         utmp.h nor utmpx.h.  Reported by Eli Zaretskii.
3043
3044 2000-08-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
3045
3046         Improve fileutils installation on systems where running
3047         programs (like install) can't be unlinked.
3048         * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
3049         * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
3050
3051 2000-08-06  Paul Eggert  <eggert@twinsun.com>
3052
3053         * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
3054         not char, for compatibility with glibc 2.1.3 strftime.c.
3055
3056 2000-07-23  Paul Eggert  <eggert@twinsun.com>
3057
3058         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
3059
3060 2000-07-23  Jim Meyering  <meyering@lucent.com>
3061
3062         * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
3063         getgrgid, getpwuid, getuid.
3064
3065 2000-07-16  Bruno Haible  <haible@clisp.cons.org>
3066
3067         * mbswidth.m4: New file.
3068         * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
3069
3070 2000-07-14  Jim Meyering  <meyering@lucent.com>
3071
3072         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
3073
3074 2000-07-10  Paul Eggert  <eggert@twinsun.com>
3075
3076         From a suggestion by Bruno Haible.
3077         * mbstate_t.m4 (AC_MBSTATE_T):
3078         Renamed from AC_MBSTATE_T_OBJECT.  All uses changed.
3079         Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
3080         and mbstate_t, to a single-part test that simply defines mbstate_t.
3081         * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
3082
3083 2000-07-10  Jim Meyering  <meyering@lucent.com>
3084
3085         * strerror_r.m4: Mirror the correction made in autoconf.
3086
3087         * gnu-source.m4: Output to confdefs.h directly.
3088         Suggestion from Akim Demaille.
3089
3090 2000-07-09  Jim Meyering  <meyering@lucent.com>
3091
3092         * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
3093         to link seq.  If so, set SEQ_LIBM to -lm.  From Bruno Haible.
3094
3095         * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
3096         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
3097
3098 2000-07-05  Bruno Haible  <haible@clisp.cons.org>
3099
3100         * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
3101         to strerror_r.
3102         Include <ctype.h> for use of isalpha.
3103
3104 2000-07-05  Paul Eggert  <eggert@twinsun.com>
3105         and Bruno Haible  <haible@clisp.cons.org>
3106
3107         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
3108         only if the test for an object-type mbstate_t fails.  This
3109         prevents us from mistakenly reporting that mbstate_t is a
3110         system object type after we "#define mbstate_t int" to work
3111         around its lack.
3112
3113 2000-07-04  Jim Meyering  <meyering@lucent.com>
3114
3115         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
3116         of the deprecated AC_CHECKING.
3117
3118 2000-07-03  Jim Meyering  <meyering@lucent.com>
3119
3120         * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
3121
3122 2000-07-03  Paul Eggert  <eggert@twinsun.com>
3123
3124         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
3125         Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
3126
3127 2000-07-02  Jim Meyering  <meyering@lucent.com>
3128
3129         * mbstate_t.m4: Also define mbstate_t, if necessary.
3130
3131         * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
3132         AC_LIBOBJ(function_name).
3133         * chown.m4: Likewise.
3134         * fnmatch.m4: Likewise.
3135         * ftruncate.m4: Likewise.
3136         * getgroups.m4: Likewise.
3137         * getline.m4: Likewise.
3138         * group-member.m4: Likewise.
3139         * jm-macros.m4: Likewise.
3140         * lstat.m4: Likewise.
3141         * malloc.m4: Likewise.
3142         * memcmp.m4: Likewise.
3143         * nanosleep.m4: Likewise.
3144         * putenv.m4: Likewise.
3145         * realloc.m4: Likewise.
3146         * regex.m4: Likewise.
3147         * stat.m4: Likewise.
3148         * strftime.m4: Likewise.
3149
3150 2000-07-01  Jim Meyering  <meyering@lucent.com>
3151
3152         * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
3153         problem.
3154
3155 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
3156
3157         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
3158         macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
3159
3160 2000-07-01  Jim Meyering  <meyering@lucent.com>
3161
3162         * uptime.m4: Put double quotes around use of $cross_compiling.
3163
3164 2000-06-28  Jim Meyering  <meyering@lucent.com>
3165
3166         * mbstate_t.m4: Use stdlib.h, not stdio.h.  The latter is not included
3167         by quotearg.c, for which we perform this test.  From Bruno Haible.
3168
3169 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
3170
3171         * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
3172         * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
3173         <utmpx.h> exists, put readutmp.o into LIBOBJS.
3174
3175 2000-06-25  Jim Meyering  <meyering@lucent.com>
3176
3177         * mbstate_t.m4: Include stdio.h before wchar.h to work around
3178         Linux header bug when _XOPEN_SOURCE is defined to 500.
3179
3180 2000-06-24  Jim Meyering  <meyering@lucent.com>
3181
3182         * strerror_r.m4: Revive this file -- to try out an experimental
3183         version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
3184         for which strerror does return char*, but which lacks a conveniently
3185         accessible declaration of the function.  If the compile-test says
3186         strerror_r doesn't work, then resort to a `run'-test that works on
3187         BeOS and segfaults on DEC Unix.
3188
3189 2000-06-19  Paul Eggert  <eggert@twinsun.com>
3190
3191         * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
3192         * prereq.m4 (jm_PREREQ_QUOTEARG): Use it.  Add check for iswprint.
3193
3194 2000-06-23  Jim Meyering  <meyering@lucent.com>
3195
3196         * afs.m4: Add missing AC_MSG_RESULT.
3197         Reported by Bruno Haible.
3198
3199         * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
3200         Suggestion from Bruno Haible.
3201
3202 2000-06-21  Jim Meyering  <meyering@lucent.com>
3203
3204         * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
3205
3206 2000-06-18  Jim Meyering  <meyering@lucent.com>
3207
3208         * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
3209
3210         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
3211         `checking whether...' message to be consistent with that of the
3212         lstat test.
3213
3214 2000-06-16  Bruno Haible  <haible@clisp.cons.org>
3215
3216         * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
3217
3218 2000-06-12  Jim Meyering  <meyering@lucent.com>
3219
3220         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
3221         from autoconf, and tweak the latter to accept an optional argument.
3222         * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
3223         the optional argument, `lib'.
3224
3225 2000-06-08  Jim Meyering  <meyering@lucent.com>
3226
3227         * largefile.m4: Remove file (now that it's part of autoconf).
3228
3229 2000-06-04  Paul Eggert  <eggert@twinsun.com>
3230
3231         Rewrite largefile configuration so that we don't need to run
3232         getconf and don't need AC_CANONICAL_HOST.  [I'm leaving the use of
3233         AC_CANONICAL_HOST in configure.in -- jmm]
3234
3235         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
3236         AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
3237         (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
3238         (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
3239         CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
3240         All uses changed.
3241         Instead of inspecting the output of getconf, try to compile the
3242         test program without and with the macro definition.
3243         (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
3244         for getconf.  Instead, check for the needed flags by compiling
3245         test programs.
3246
3247 2000-06-03  Jim Meyering  <meyering@lucent.com>
3248
3249         * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
3250         now that autoconf requires that.
3251
3252         * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
3253         #undefs.  E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
3254         Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
3255
3256 2000-05-26  Bruno Haible  <haible@clisp.cons.org>
3257
3258         * glibc21.m4: New file.
3259         * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
3260
3261 2000-05-28  Jim Meyering  <meyering@lucent.com>
3262
3263         * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
3264         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
3265         * stat.m4: Likewise.
3266         * lstat.m4: Likewise.
3267         * lstat-slash.m4: Remove file (absorbed into autoconf).
3268
3269         * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
3270         * strerror_r.m4: Remove file (absorbed into autoconf).
3271
3272 2000-05-26  Jim Meyering  <meyering@lucent.com>
3273
3274         * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
3275
3276 2000-05-24  Jim Meyering  <meyering@lucent.com>
3277
3278         * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
3279         autoconf requires that.
3280         * lib-check.m4: Likewise.
3281         * jm-macros.m4: Likewise.
3282         * strftime.m4: Likewise.
3283
3284         * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
3285         now that autoconf requires that.
3286
3287 2000-05-22  Jim Meyering  <meyering@lucent.com>
3288
3289         * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
3290         * lstat.m4: Likewise.
3291
3292 2000-05-20  Jim Meyering  <meyering@lucent.com>
3293
3294         * prereq.m4 (jm_PREREQ_HUMAN): New macro.
3295         (jm_PREREQ): Use it.
3296
3297 2000-05-09  Jim Meyering  <meyering@lucent.com>
3298
3299         * gettext.m4: Rename this...
3300         * libintl.m4: ...to this.
3301
3302 2000-05-06  Jim Meyering  <meyering@lucent.com>
3303
3304         * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
3305         (AC_REPLACE_FUNCS): Add strnlen.
3306
3307         * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
3308         * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
3309
3310         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
3311         AC_SEARCH_LIBS call for nanosleep.
3312         (LIB_NANOSLEEP): Set and AC_SUBST.
3313
3314 2000-05-03  Paul Eggert  <eggert@twinsun.com>
3315
3316         * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
3317         be 500, instead of _GNU_SOURCE to be 1, to work around glibc
3318         2.1.3 bug.  This avoids a clash when files like regex.c define
3319         _GNU_SOURCE.
3320
3321 2000-05-05  Jim Meyering  <meyering@lucent.com>
3322
3323         * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
3324         call for clock_gettime.
3325         (LIB_CLOCK_GETTIME): Set and AC_SUBST.
3326
3327         * search-libs.m4: Update from autoconf.
3328
3329         su doesn't work on Solaris 2.6.
3330         * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
3331         <shadow.h>.  Reported by Dragos Harabor.
3332
3333 2000-05-03  Jim Meyering  <meyering@lucent.com>
3334
3335         * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
3336
3337 2000-05-02  Paul Eggert  <eggert@twinsun.com>
3338
3339         * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
3340         this is needed to make ftello visible (e.g. glibc 2.1.3).  Use
3341         compile-time test, rather than inspecting host and OS, to
3342         decide whether to define _LARGEFILE_SOURCE.
3343
3344 2000-05-01  Jim Meyering  <meyering@lucent.com>
3345
3346         * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
3347
3348         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
3349         Based on a patch from Bruno Haible.
3350
3351 2000-04-18  Jim Meyering  <meyering@lucent.com>
3352
3353         * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
3354         (jm_PREREQ): Use it.
3355
3356 2000-04-17  Jim Meyering  <meyering@lucent.com>
3357
3358         Get it right :-)
3359         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
3360         actual #define via AH_VERBATIM.  Don't need separate AC_DEFINE.
3361         Suggestion from Akim Demaille.
3362
3363 2000-04-14  Jim Meyering  <meyering@lucent.com>
3364
3365         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
3366         of AC_DEFINE.  Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
3367
3368 2000-04-13  Jim Meyering  <meyering@lucent.com>
3369
3370         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
3371         to insert required #ifndef into config.h.in.
3372         Suggestion from Akim Demaille.
3373
3374 2000-04-12  Jim Meyering  <meyering@lucent.com>
3375
3376         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
3377         `AC_CHECK_HEADER' to check for locale.h.  Thanks to a report from
3378         Christian Krackowizer.
3379
3380         More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
3381         * jm-macros.m4 (_GNU_SOURCE): Define.
3382         (AC_SYS_LARGEFILE): Require.
3383         (AM_C_PROTOTYPES): Require.
3384
3385 2000-04-05  Paul Eggert  <eggert@twinsun.com>
3386
3387         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
3388         IRIX if the installer said otherwise.
3389
3390 2000-04-05  Jim Meyering  <meyering@lucent.com>
3391
3392         Portability tweaks required for ultrix4.3.
3393         * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
3394         (jm_CHECK_DECLS): Add getutent to the list of functions.
3395         (_jm_DECL_HEADERS): Add utmpx.h.
3396         From John David Anglin.
3397
3398         * strftime.m4: Back out the 2000-04-02 change.
3399         Instead of that change, simply undefine putenv in the test program.
3400
3401 2000-04-03  Jim Meyering  <meyering@lucent.com>
3402
3403         * gettext.m4: Fix typo in comment.
3404
3405         * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
3406         textutils/configure.in).  Suggestion from Paul Eggert.
3407         (AC_CHECK_FUNCS): Add nl_langinfo.  (also from textutils/configure.in)
3408
3409 2000-04-02  Paul Eggert  <eggert@twinsun.com>
3410
3411         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
3412         variable in the shell rather than using putenv, which isn't
3413         portable.  This avoids the configure-time inter-test dependency
3414         on the potentially-renamed putenv function.
3415
3416 2000-03-30  Paul Eggert  <eggert@twinsun.com>
3417
3418         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
3419         before checking struct stat.st_blksize, so that
3420         HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
3421
3422 2000-03-29  Paul Eggert  <eggert@twinsun.com>
3423
3424         * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
3425         since strftime.c uses HAVE_STRFTIME to decide whether to use
3426         the underlying strftime.
3427
3428 2000-03-10  Jim Meyering  <meyering@lucent.com>
3429
3430         * lib-check.m4: Look for getspnam in -lgen, too.
3431         From Marco Franzen.
3432
3433 2000-02-02  Bruno Haible  <haible@clisp.cons.org>
3434
3435         * codeset.m4: New file.
3436         * iconv.m4: New file.
3437         * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
3438
3439 2000-03-04  Jim Meyering  <meyering@lucent.com>
3440
3441         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
3442         for lib/localcharset.c.
3443
3444 2000-03-03  Jim Meyering  <meyering@lucent.com>
3445
3446         * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
3447
3448 2000-03-02  Jim Meyering  <meyering@lucent.com>
3449
3450         * timespec.m4: Require AC_HEADER_TIME before the cache check so
3451         the messages come out on separate lines.
3452
3453         * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
3454         rather than jm_CHECK_DECLARATIONS.
3455         * decl.m4: Remove now-unused file.
3456
3457         * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
3458
3459 2000-02-27  Jim Meyering  <meyering@lucent.com>
3460
3461         * check-decl.m4: Add getenv to the list.
3462
3463 2000-02-23  Jim Meyering  <meyering@lucent.com>
3464
3465         * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
3466         in place of my hack.
3467
3468 2000-02-10  Jim Meyering  <meyering@lucent.com>
3469
3470         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
3471         gnu_nanosleep to rpl_nanosleep.
3472
3473 2000-02-09  Jim Meyering  <meyering@lucent.com>
3474
3475         * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
3476         struct spwd, rather than in struct passwd.  Reported by Gaël Quéri.
3477
3478 2000-02-08  Akim Demaille  <akim@epita.fr>
3479
3480         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
3481         `[' and `]' and remove uses of `changequote'.
3482         (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
3483         (AC_SYS_LARGEFILE): Likewise.
3484         * gettext.m4 (AM_GNU_GETTEXT): Likewise.
3485         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
3486         of changequote.
3487         * regex.m4 (jm_INCLUDED_REGEX): Likewise.
3488         * readdir.m4 (jm_FUNC_READDIR): Likewise
3489         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
3490         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
3491
3492 2000-02-05  Jim Meyering  <meyering@lucent.com>
3493
3494         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
3495         Remove explicit use of AC_HEADER_TIME.  It is required by
3496         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Using AC_HEADER_TIME and
3497         `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
3498         in autoconf whereby the expansion of the latter ended up preceding
3499         the expansion of its prerequisite, AC_HEADER_TIME.
3500         Reported by Volker Borchert.
3501
3502 2000-02-03  Jim Meyering  <meyering@lucent.com>
3503
3504         * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
3505
3506 2000-02-02  Jim Meyering  <meyering@lucent.com>
3507
3508         * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
3509         definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
3510         Reported by Eli Zaretskii.
3511
3512 2000-01-31  Jim Meyering  <meyering@lucent.com>
3513
3514         * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
3515         functions.  Add the time.h and sys/time.h headers along with the
3516         AC_REQUIRE'ment of AC_HEADER_TIME.
3517
3518 2000-01-30  Jim Meyering  <meyering@lucent.com>
3519
3520         * lib-check.m4: Clean up some kludgy old shadow password tests.
3521
3522         * prereq.m4 (utmp_includes): Define.
3523         Check for ut_user and ut_name members in both struct utmpx
3524         and struct utmp.
3525
3526 2000-01-29  Jim Meyering  <meyering@lucent.com>
3527
3528         * lib-check.m4: New file containing library-related checks from
3529         fileutils and sh-utils (textutils had none).
3530
3531 2000-01-28  Jim Meyering  <meyering@lucent.com>
3532
3533         * perl.m4: Change format of warning message to look more like that
3534         from the missing script.  Suggestion from François Pinard.
3535
3536 2000-01-25  Jim Meyering  <meyering@lucent.com>
3537
3538         * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
3539         as time.h in the compile check.
3540         * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
3541         Fix typo in cross-compiling case: s/yes/no/.
3542
3543 2000-01-23  Jim Meyering  <meyering@lucent.com>
3544
3545         * jm-macros.m4: Move df-related tests here from fileutils/configure.in
3546
3547         * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
3548         (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
3549
3550         * fsusage.m4: New file.  Extracted from fileutils/configure.in.
3551         s/space/ac_fsusage_space/.
3552         (jm_FILE_SYSTEM_USAGE): Take two parameters.
3553
3554         * ftruncate.m4: New file (derived from part of fileutils/configure.in).
3555         * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
3556         (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
3557
3558         * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
3559         AC_SUBST these here, rather than just in sh-util/configure.in, so
3560         that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
3561         all the same.
3562         (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
3563         (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
3564         (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
3565         (AC_SUBST(POW_LIBM)): Likewise.
3566         (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
3567
3568 2000-01-22  Jim Meyering  <meyering@lucent.com>
3569
3570         * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
3571
3572         * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
3573
3574         * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
3575         configure.in
3576         (AC_CHECK_HEADERS): Likewise for sh-utils.
3577         (AC_CHECK_HEADERS): Likewise for textutils.
3578         Merge the three lists of headers.
3579
3580         * prereq.m4 (jm_PREREQ_ADDEXT): New macro.  Parts moved here
3581         from fileutils' configure.in.
3582
3583         * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
3584         Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
3585
3586         * check-decl.m4: Use #if rather than #ifdef.
3587         Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
3588         (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
3589         (_jm_DECL_HEADERS): Define new function.
3590         (jm_CHECK_DECLARATIONS): Require it.
3591
3592 2000-01-19  Jim Meyering  <meyering@lucent.com>
3593
3594         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
3595         Use AC_HEADER_TIME.  Volker Borchert reported that OpenBSD-2.3/sparc
3596         defines `struct timespec' in <sys/time.h>
3597
3598         * c-bs-a.m4: Remove uses of changequote altogether.
3599         Thanks to Akim for explaining.
3600
3601 2000-01-16  Jim Meyering  <meyering@lucent.com>
3602
3603         * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
3604         AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
3605         jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
3606         AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
3607
3608 2000-01-16  Jim Meyering  <meyering@lucent.com>
3609
3610         * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
3611         because the latter didn't work.
3612
3613 2000-01-15  Jim Meyering  <meyering@lucent.com>
3614
3615         * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
3616         (AC_REPLACE_FUNCS): Add memcpy and memset.
3617         Add these, too: stime strcspn stpcpy strstr strtol strtoul.
3618         Add strpbrk.
3619         Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
3620
3621 2000-01-12  Jim Meyering  <meyering@lucent.com>
3622
3623         * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
3624         (jm_PREREQ): Use it.
3625         (jm_PREREQ_READUTMP): New macro.
3626         (jm_PREREQ): Use it.
3627
3628 2000-01-11  Paul Eggert  <eggert@twinsun.com>
3629
3630         Quote multibyte characters correctly.
3631         * c-bs-a.m4: New file.
3632         * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
3633         (jm_PREREQ): Use it.
3634
3635 2000-01-11  Paul Eggert  <eggert@twinsun.com>
3636
3637         * uintmax_t.m4: Port to autoconf 2.13.
3638
3639 2000-01-08  Jim Meyering  <meyering@ascend.com>
3640
3641         * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
3642         * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
3643
3644 2000-01-04  Jim Meyering  <meyering@ascend.com>
3645
3646         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
3647         jm_STRUCT_DIRENT_D_TYPE.
3648         * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
3649         jm_STRUCT_DIRENT_D_INO.
3650         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
3651         jm_STRUCT_UTIMBUF.
3652         * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
3653         * utime.m4: Likewise.
3654
3655         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
3656         * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
3657
3658 2000-01-03  Paul Eggert  <eggert@twinsun.com>
3659
3660         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
3661         (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
3662
3663 2000-01-02  Jim Meyering  <meyering@ascend.com>
3664
3665         * search-libs.m4: Escape `$' in $3 of dnl comment.  I no longer
3666         remember if this is necessary.
3667
3668 1999-12-26  Jim Meyering  <meyering@ascend.com>
3669
3670         * jm-macros.m4: Use it here.
3671         * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
3672
3673 1999-12-23  Jim Meyering  <meyering@ascend.com>
3674
3675         * jm-macros.m4: Check for clock_gettime (moved from
3676         fileutils/configure.in)
3677         Check for gettimeofday.
3678
3679 1999-12-20  Jim Meyering  <meyering@ascend.com>
3680
3681         * strftime.m4: Remove kludge, now that I'm using the fixed
3682         autoconf-2.14a-1999-12-20.
3683
3684 1999-12-19  Jim Meyering  <meyering@ascend.com>
3685
3686         * lstat-slash.m4: New file.
3687         * jm-macros.m4: Use the new macro:
3688         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
3689
3690 1999-12-07  Jim Meyering  <meyering@ascend.com>
3691
3692         * perl.m4: Require that File::Compare be available, too.
3693         Too many systems seem to lack it.
3694
3695         * strftime.m4: Add checks for most of the cpp macros tested in
3696         GNU's strftime.c.  Prompted by a patch from Paul Eggert.
3697
3698 1999-11-18  Paul Eggert  <eggert@twinsun.com>
3699
3700         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
3701         problem with the QNX 4.25 shell, which doesn't propagate exit
3702         status of failed commands inside shell assignments.
3703
3704 1999-11-17  Jim Meyering  <meyering@ascend.com>
3705
3706         * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
3707
3708 1999-11-07  Jim Meyering  <meyering@ascend.com>
3709
3710         * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
3711
3712 1999-11-06  Jim Meyering  <meyering@ascend.com>
3713
3714         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
3715         * jm-macros.m4 (jm_MACROS): Use it here.
3716
3717 1999-11-05  Jim Meyering  <meyering@ascend.com>
3718
3719         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
3720         of textutils, fileutils, and sh-utils into this one (shared between
3721         those packages) file.
3722         Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
3723         AC_STRUCT_ST_BLKSIZE.
3724
3725 1999-11-03  Jim Meyering  <meyering@ascend.com>
3726
3727         * ssize_t.m4: Remove file.  No longer needed since the new version of
3728         AC_CHECK_TYPE checks includes unistd.h.
3729         * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
3730         Suggestion from Akim Demaille.
3731
3732 1999-10-30  Jim Meyering  <meyering@ascend.com>
3733
3734         * uintmax_t.m4: Require 2.14a.  Remove backslash before backtick in
3735         m4-quoted string.
3736         * ls-mntd-fs.m4: Likewise.
3737         * jm-macros.m4: Likewise.  Also, use AC_TYPE_SSIZE_T instead
3738         * jm-winsz1.m4: Likewise.
3739
3740         * const.m4: Remove file, since the fix made it into the experimental
3741         version of autoconf.
3742         * mktime.m4: Likewise.
3743
3744         * check-type.m4: Remove file, now that the latest version of
3745         AC_CHECK_TYPE takes a third arg to specify additional #includes.
3746
3747         * ssize_t.m4: New file, requires experimental version of autoconf.
3748         * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
3749         AC_CHECK_TYPE.
3750
3751 1999-10-04  Jim Meyering  <meyering@ascend.com>
3752
3753         * jm-macros.m4: Don't require autoconf-2.14.1.
3754
3755 1999-09-22  Paul Eggert  <eggert@twinsun.com>
3756
3757         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
3758         2.95.1 bug with HP-UX 10.20.
3759
3760 1999-09-17  Jim Meyering  <meyering@ascend.com>
3761
3762         * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
3763         Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
3764         due to missing strdup (against sh-utils-2.0).
3765
3766 1999-08-29  Jim Meyering  <meyering@ascend.com>
3767
3768         * jm-macros.m4: Require jm_BISON.
3769         * bison.m4: New file.
3770
3771 1999-08-17  Paul Eggert  <eggert@twinsun.com>
3772
3773         * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
3774         in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
3775
3776 1999-08-05  Jim Meyering  <meyering@ascend.com>
3777
3778         * getline.m4: Rename test file from conftestdata to conftest.data
3779         to avoid conflicts with `conftest' on 8+3 filesystems.
3780         Suggestion from Eli Zaretskii.
3781
3782 1999-08-04  Jim Meyering  <meyering@ascend.com>
3783
3784         * jm-macros.m4: Move a 4-line block of code from the configure.in of
3785         fileutils and sh-utils (textutils's getline test was inadequate).
3786         (AM_FUNC_GETLINE): Run this test.
3787         (AC_CHECK_FUNCS): Check for getdelim.
3788         Reported by Bob Proulx.
3789
3790 1999-08-02  Jim Meyering  <meyering@ascend.com>
3791
3792         * jm-macros.m4: Add a comment.
3793
3794 1999-08-01  Jim Meyering  <meyering@ascend.com>
3795
3796         * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
3797
3798 1999-08-01  Paul Eggert  <eggert@twinsun.com>
3799
3800         * lfs.m4: Remove this file.
3801         * largefile.m4: New file.  It contains the old contents of
3802         lfs.m4, except that all names with prefix AC_LFS have been
3803         changed to use the prefix AC_SYS_LARGEFILE instead, to be
3804         compatible with future autoconf versions.  Also, some minor m4
3805         quoting problems have been fixed.
3806
3807 1999-07-16  Paul Eggert  <eggert@twinsun.com>
3808
3809         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
3810         that we can shift, multiply and divide unsigned long long
3811         values; Ultrix cc can't do it.
3812
3813 1999-07-14  Paul Eggert  <eggert@twinsun.com>
3814
3815         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
3816         <inttypes.h> defines strtoumax as a macro (and not as a
3817         function).
3818
3819 1999-07-05  Paul Eggert  <eggert@twinsun.com>
3820
3821         * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
3822         Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
3823         (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
3824         and simplify the shell code.
3825
3826 1999-07-03  Paul Eggert  <eggert@twinsun.com>
3827
3828         * mktime.m4: New file, which is a preview of what should appear
3829         in the next public autoconf release.
3830
3831 1999-07-20  Jim Meyering  <meyering@ascend.com>
3832
3833         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
3834
3835 1999-07-15  Jim Meyering  <meyering@ascend.com>
3836
3837         * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
3838
3839 1999-05-22  Jim Meyering  <meyering@ascend.com>
3840
3841         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
3842
3843 1999-05-20  Jim Meyering  <meyering@ascend.com>
3844
3845         * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
3846         Add a colon after each `then' in case $4 is empty.
3847
3848 1999-05-16  Jim Meyering  <meyering@ascend.com>
3849
3850         * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
3851
3852 1999-05-10  Jim Meyering  <meyering@ascend.com>
3853
3854         * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
3855
3856         * jm-macros.m4: Require 2.14.1, since we use newly-renamed
3857         AC_FUNC_MKTIME.
3858
3859 1999-05-10  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3860
3861         * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
3862
3863 1999-05-04  Paul Eggert  <eggert@twinsun.com>
3864
3865         * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
3866         not CPPFLAGS, so that linking works correctly in IRIX.
3867
3868 1999-04-30  Paul Eggert  <eggert@twinsun.com>
3869
3870         * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
3871
3872 1999-04-20  Jim Meyering  <meyering@ascend.com>
3873
3874         * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
3875         AC_REPLACE xstroull if necessary.  From Paul Eggert.
3876         (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
3877
3878 1999-04-20  Paul Eggert  <eggert@twinsun.com>
3879
3880         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
3881         long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
3882         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
3883         jm_AC_TYPE_UNSIGNED_LONG_LONG.
3884         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
3885
3886         * lfs.m4: Port to AIX and HP-UX.  Support cross-compilation.
3887
3888 1999-04-18  Jim Meyering  <meyering@ascend.com>
3889
3890         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
3891         * jm-macros.m4: Use it.
3892
3893 1999-04-06  Jim Meyering  <meyering@ascend.com>
3894
3895         * strftime.m4: Remove test for %f.
3896
3897 1999-03-29  Jim Meyering  <meyering@ascend.com>
3898
3899         * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
3900         superset of the AC_TYPE_* checks in the textutils, fileutils,
3901         and sh-utils, plus AC_TYPE_PID_T.  Paul Eggert suggested adding
3902         AC_TYPE_PID_T.
3903
3904 1999-03-28  Jim Meyering  <meyering@ascend.com>
3905
3906         * jm-macros.m4: Define GNU_PACKAGE here.
3907         Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
3908         replaced e.g., in the *.sh files of the sh-utils.
3909
3910 1999-03-20  Jim Meyering  <meyering@ascend.com>
3911
3912         * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
3913         * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
3914         Don't depend on AM_GLIBC.  Suggestions from Alain Magloire.
3915
3916 1999-03-19  Jim Meyering  <meyering@ascend.com>
3917
3918         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
3919
3920 1999-03-12  Jim Meyering  <meyering@ascend.com>
3921
3922         * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
3923
3924 1999-03-07  Jim Meyering  <meyering@ascend.com>
3925
3926         * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
3927
3928 1999-02-17  Jim Meyering  <meyering@ascend.com>
3929
3930         * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
3931         in macro definition.  From Eli Zaretskii and Alain Magloire.
3932
3933 1999-02-07  Jim Meyering  <meyering@ascend.com>
3934
3935         * group-member.m4: New file -- extracted from sh-utils' configure.in.
3936
3937         1999-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
3938         * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
3939
3940 1999-02-06  Jim Meyering  <meyering@ascend.com>
3941
3942         * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
3943         * fnmatch.m4: Likewise.
3944         * getgroups.m4: Likewise.
3945         * lstat.m4: Likewise.
3946         * malloc.m4: Likewise.
3947         * putenv.m4: Likewise.
3948         * realloc.m4: Likewise.
3949         * regex.m4: Likewise.
3950         * stat.m4: Likewise.
3951         * strftime.m4: Likewise.
3952         Suggestion from Alain Magloire.
3953
3954         * chown.m4: Use `.$ac_objext', not `.o'.
3955         * fnmatch.m4: Likewise.
3956         * getgroups.m4: Likewise.
3957         * getline.m4: Likewise.
3958         * lstat.m4: Likewise.
3959         * malloc.m4: Likewise.
3960         * memcmp.m4: Likewise.
3961         * putenv.m4: Likewise.
3962         * realloc.m4: Likewise.
3963         * regex.m4: Likewise.
3964         * stat.m4: Likewise.
3965         * strftime.m4: Likewise.
3966         Suggestion from Alain Magloire.
3967
3968         * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
3969         an argument.
3970
3971         * regex.m4: Add a run-time Test for proper operation of
3972         re_compile_pattern.
3973
3974 1999-01-31  Jim Meyering  <meyering@ascend.com>
3975
3976         * getloadavg.m4: Check for locale.h and the function, setlocale.
3977
3978 1999-01-30  Jim Meyering  <meyering@ascend.com>
3979
3980         * check-type.m4: Use 3-arg form of AC_DEFINE.
3981
3982         * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
3983         rather than my private copy, now that the official one is up to date.
3984         * mktime.m4: Remove file.
3985
3986         * getloadavg.m4: Use 3-arg form of AC_DEFINE.
3987         * uptime.m4: Likewise.
3988         * uintmax_t.m4: Likewise.
3989
3990 1999-01-28  Jim Meyering  <meyering@ascend.com>
3991
3992         * jm-macros.m4: Use jm_AFS.
3993         * afs.m4: New file (from fileutils' configure.in).
3994
3995         * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
3996         * chown.m4: Likewise.
3997         * d-ino.m4: Likewise.
3998         * d-type.m4: Likewise.
3999         * fnmatch.m4: Likewise.
4000         * getgroups.m4: Likewise.
4001         * gettext.m4: Likewise.
4002         * jm-mktime.m4: Likewise.
4003         * jm-winsz2.m4: Likewise.
4004         * lcmessage.m4: Likewise.
4005         * ls-mntd-fs.m4: Likewise.
4006         * malloc.m4: Likewise.
4007         * memcmp.m4: Likewise.
4008         * putenv.m4: Likewise.
4009         * realloc.m4: Likewise.
4010         * st_mtim.m4: Likewise.
4011         * strftime.m4: Likewise.
4012
4013 1999-01-16  Jim Meyering  <meyering@ascend.com>
4014
4015         * jm-macros.m4 (ARGMATCH_DIE): Define.
4016         (ARGMATCH_DIE_DECL): Define.
4017
4018 1999-01-12  Jim Meyering  <meyering@ascend.com>
4019
4020         * Makefile.am.in: Rewrite to avoid using fmt.
4021         Reported by Lars Hecking.
4022
4023 1999-01-10  Jim Meyering  <meyering@ascend.com>
4024
4025         * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
4026         gross kludge.
4027         * inttypes_h.m4: Likewise.
4028         * lstat.m4: Likewise.
4029         * malloc.m4: Likewise.
4030         * readdir.m4: Likewise.
4031         * realloc.m4: Likewise.
4032         * st_dm_mode.m4: Likewise.
4033         * stat.m4: Likewise.
4034         * utimbuf.m4: Likewise.
4035         * utimes.m4: Likewise.
4036
4037         * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
4038         AC_CHECK_FUNCS hack.  Now, it's still a hack, but at least the
4039         comments in config.h.in are meaningful.
4040
4041         * jm-macros.m4: Require autoconf-2.13 here.
4042
4043         * regex.m4: By default, don't use the included regex.c on systems
4044         with glibc 2.  Suggestion from Uli Drepper.
4045
4046 1999-01-02  Jim Meyering  <meyering@ascend.com>
4047
4048         * jm-macros.m4: Replace strcasecmp and strncasecmp.
4049
4050 1998-12-18  Jim Meyering  <meyering@ascend.com>
4051
4052         * Makefile.am.in (Makefile.am): Simplify rule.
4053         Based on a suggestion from Lars Hecking.
4054
4055 1998-11-16  Jim Meyering  <meyering@ascend.com>
4056
4057         * lfs.m4: Double-quote the `uname...` expression.
4058
4059 1998-11-16  Paul Eggert  <eggert@twinsun.com>
4060
4061         * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
4062
4063 1998-11-14  Jim Meyering  <meyering@ascend.com>
4064
4065         * lstat.m4: Correct comment.  POSIX does not permit it to succeed.
4066         * stat.m4: Likewise.
4067
4068 1998-11-03  Jim Meyering  <meyering@ascend.com>
4069
4070         * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
4071         * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
4072
4073 1998-10-18  Jim Meyering  <meyering@ascend.com>
4074
4075         * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
4076
4077 1998-10-17  Jim Meyering  <meyering@ascend.com>
4078
4079         * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
4080         include, though we still hard-code the `require'-like AC_CHECK_HEADERS
4081         calls for those previously hard-coded headers.  Instead, take a new
4082         parameter.
4083         (jm_CHECK_DECLARATIONS): Reflect interface change.
4084         * check-decl.m4 (jm_CHECK_DECLS): Likewise.
4085         (jm_CHECK_DECL_LOCALTIME_R): New macro.
4086
4087         * mktime.m4: Test for spring-forward gap before long-running test.
4088
4089 1998-10-14  Jim Meyering  <meyering@ascend.com>
4090
4091         * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
4092         instead of "TZ=America/Vancouver".  From Paul Eggert.
4093
4094 1998-10-11  Jim Meyering  <meyering@ascend.com>
4095
4096         * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
4097         This adds a test for a recently added compatibility fix for mktime.c.
4098         * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
4099
4100 1998-09-27  Jim Meyering  <meyering@ascend.com>
4101
4102         * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
4103
4104         * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro.  Extracted from
4105         ../configure.in, including a change from Gordon Matzigkeit to allow
4106         cross-compiling for the Hurd.
4107
4108         * glibc.m4: New file/macro to test for the GNU C Library
4109         versions 1 and 2.  From Gordon Matzigkeit.
4110         Indent.
4111
4112 1998-09-21  Jim Meyering  <meyering@ascend.com>
4113
4114         * chown.m4: Declare locals: before, after.  From Andries Brouwer.
4115
4116 1998-08-18  Paul Eggert  <eggert@twinsun.com>
4117
4118         Port nanosecond-resolution times to UnixWare 2.1.2 and
4119         pedantic Solaris 2.6.
4120
4121         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
4122         AC_STRUCT_ST_MTIM.
4123         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
4124         Generate name of ns member, instead of just 1 or undef.
4125         Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
4126
4127 1998-08-15  Jim Meyering  <meyering@ascend.com>
4128
4129         * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
4130         * check-type.m4: New file.  Replacement for AC_CHECK_TYPE.
4131         * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
4132         instead of jm_TYPE_SSIZE_T.
4133
4134 1998-08-12  Jim Meyering  <meyering@ascend.com>
4135
4136         * st_dm_mode.m4: New file.  From Johan Danielsson.
4137
4138 1998-08-02  Jim Meyering  <meyering@ascend.com>
4139
4140         * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
4141         in acconfig.h manually.
4142
4143 1998-07-31  Paul Eggert  <eggert@twinsun.com>
4144
4145         * st_mtim.m4: New file.
4146
4147 1998-07-28  Jim Meyering  <meyering@ascend.com>
4148
4149         * utimes.m4: Undef stat.
4150
4151 1998-07-25  Jim Meyering  <meyering@ascend.com>
4152
4153         * utime.m4 (jm_FUNC_UTIME): New file and macro.
4154         * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
4155
4156 1998-07-09  Manfred Hollstein  <manfred@s-direktnet.de>
4157
4158         * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
4159         uid and gid actually remain unchanged.
4160
4161 1998-07-07  Jim Meyering  <meyering@ascend.com>
4162
4163         * jm-glibc-io.m4: Remove fclose_unlocked.
4164
4165 1998-07-04  Jim Meyering  <meyering@ascend.com>
4166
4167         * regex.m4: Use syscmd, ifelse, and sysval.  Mainly as an exercise
4168         to prove that this macro can be used in packages without regex.c.
4169
4170 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4171
4172         * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
4173         is to be used.
4174
4175 1998-07-03  Jim Meyering  <meyering@ascend.com>
4176
4177         * gettext.m4: Add -lintl if it's found to be necessary.
4178
4179         * gettext.m4: New file -- from gettext-0.10.35.
4180         * lcmessage.m4: Likewise.
4181         * progtest.m4: Likewise.
4182
4183         * regex.m4 (jm_WITH_REGEX): New file and macro.
4184         * jm-macros.m4: Require the new macro.
4185
4186 1998-06-29  Jim Meyering  <meyering@ascend.com>
4187
4188         * fstypename.m4: Include sys/param.h.  NetBSD 1.3.1 requires this
4189         for the definition of NGROUPS (used in a system header included
4190         by sys/mount.h).
4191
4192 1998-06-28  Jim Meyering  <meyering@ascend.com>
4193
4194         * ls-mntd-fs.m4: New file.
4195         * fstypename.m4: New file.
4196
4197         * jm-macros.m4: Require the new macro.
4198         * jm-glibc-io.m4: New file.
4199
4200 1998-05-19  Jim Meyering  <meyering@ascend.com>
4201
4202         * jm-macros.m4: Add jm_FUNC_LCHOWN.
4203         * lchown.m4: New file.
4204
4205         * Makefile.am.in: New file.
4206         * Makefile.am (Makefile.am): Depend on Makefile.am.in.
4207
4208 1998-05-14  Jim Meyering  <meyering@ascend.com>
4209
4210         * Makefile.am (EXTRA_DIST): Add them.
4211         * jm-macros.m4: New file.
4212         * utimbuf.m4: New file.
4213
4214 1998-05-12  Jim Meyering  <meyering@ascend.com>
4215
4216         * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
4217
4218 1998-05-11  Jim Meyering  <meyering@ascend.com>
4219
4220         * isc-posix.m4: New file.
4221
4222 1998-05-10  Jim Meyering  <meyering@ascend.com>
4223
4224         * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
4225
4226 1998-05-09  Jim Meyering  <meyering@ascend.com>
4227
4228         * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
4229         (EXTRA_DIST): Remove mktime.m4, now that the new version is included
4230         with automake.
4231
4232         * ssize_t.m4: New file.
4233         * mktime.m4: Remove file -- the new automake has this now.
4234
4235 1998-04-26  Jim Meyering  <meyering@ascend.com>
4236
4237         * assert.m4: New file.
4238         * Makefile.am (EXTRA_DIST): Add assert.m4.
4239
4240 1998-04-05  Jim Meyering  <meyering@ascend.com>
4241
4242         * prereq.m4 (jm_PREREQ_REGEX): New macro.
4243         (jm_PREREQ): Use it here.
4244
4245 1998-03-23  Jim Meyering  <meyering@eng.ascend.com>
4246
4247         * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
4248         in acconfig.h.
4249
4250 1998-03-15  Jim Meyering  <meyering@eng.ascend.com>
4251
4252         * prereq.m4: New file.
4253         * error.m4: New file.
4254         * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
4255
4256 1998-02-07  Jim Meyering  <meyering@eng.ascend.com>
4257
4258         * getline.m4: Don't set am_cv_func_working_getline before the
4259         cache-check for the same variable -- that defeated the purpose of
4260         the test; the test program was never run.  This was a problem only
4261         on systems with losing getline functions -- HP-UX 10.20 is one.
4262         Reported by Bjorn Helgaas.
4263
4264 1998-02-06  Jim Meyering  <meyering@eng.ascend.com>
4265
4266         * Makefile.am (EXTRA_DIST): Add perl.m4.
4267
4268 1998-01-10  Jim Meyering  <meyering@na-net.ornl.gov>
4269
4270         * Makefile.am (EXTRA_DIST): Add const.m4.
4271
4272         * const.m4: New file.  Use an initializer in this declaration
4273         typedef int charset[2]; const charset x;
4274         Reported by Bob Glickstein.
4275
4276 1997-12-21  Jim Meyering  <meyering@na-net.ornl.gov>
4277
4278         * chown.m4: Fix reversed types on -1 args to chown.
4279         From Kaveh Ghazi.
4280
4281 1997-12-14  Jim Meyering  <meyering@na-net.ornl.gov>
4282
4283         * check-decl.m4: s/DECLARATION_/DECL_/g.
4284         Add lseek and memchr.
4285
4286         * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
4287         T.E.Dickey <dickey@clark.net> said that some older preprocessors
4288         have a 20-character limit on names.
4289
4290 1997-11-30  Jim Meyering  <meyering@na-net.ornl.gov>
4291
4292         * inttypes_h.m4: New file.
4293         * uintmax_t.m4: New file.
4294         * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
4295
4296 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
4297   Free Software Foundation, Inc.
4298 Copying and distribution of this file, with or without modification,
4299 are permitted provided the copyright notice and this notice are preserved.