9ef09f1631fe1f276a42cdda0a1f893492c5980c
[platform/upstream/coreutils.git] / m4 / ChangeLog
1 2004-04-14  Jim Meyering  <jim@meyering.net>
2
3         * jm-macros.m4: Require cu_PREREQ_STAT_PROG.
4
5         * prereq.m4: Move prerequisite function for src/stat.c to ...
6         * stat-prog.m4 (cu_PREREQ_STAT_PROG): New file.  Contents from prereq.m4.
7
8 2004-04-13  Jim Meyering  <jim@meyering.net>
9
10         Change `jm_' in AC_DEFINE'd names to `gl_'.  Update all uses.
11
12         * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
13         * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4:
14         * dos.m4, error.m4, fpending.m4, fstypename.m4, fsusage.m4:
15         * ftruncate.m4, getdate.m4, getgroups.m4, gettext.m4, glibc21.m4:
16         * group-member.m4, human.m4, intmax.m4, intmax_t.m4, inttostr.m4:
17         * inttypes_h.m4, jm-macros.m4, jm-mktime.m4, jm-winsz1.m4:
18         * jm-winsz2.m4, lchown.m4, lib-check.m4, link-follow.m4, longlong.m4:
19         * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
20         * memchr.m4, memcmp.m4, mkstemp.m4, mountlist.m4, nanosleep.m4:
21         * path-concat.m4, perl.m4, prereq.m4, putenv.m4, quotearg.m4:
22         * regex.m4, stat.m4, stdint_h.m4, strftime.m4, strtoimax.m4:
23         * strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4, uintmax_t.m4:
24         * ulonglong.m4, unlink-busy.m4, unlocked-io.m4, uptime.m4, utimbuf.m4:
25         * utime.m4, utimens.m4, utimes-null.m4, vasnprintf.m4, xstrtoimax.m4:
26         * xstrtol.m4, xstrtoumax.m4: Change jm_ to gl_ in AC_DEFINE'd names.
27
28 2004-03-27  Paul Eggert  <eggert@twinsun.com>
29
30         * utimecmp.m4: New file.
31         * prereq.m4 (jm_PREREQ): Require gl_UTIMECMP.
32
33 2004-04-07  Paul Eggert  <eggert@twinsun.com>
34
35         * jm-macros.m4 (jm_MACROS): Check for fdatasync within
36         -lrt and -lposix4, so that it can be used in Solaris 2.5.1 and later.
37
38 2004-03-30  Paul Eggert  <eggert@twinsun.com>
39
40         * c-stack.m4, getline.m4, getndelim2.m4, mbswidth.m4, po.m4,
41         strdup.m4, xsize.m4: Sync from gnulib.
42
43         * allocsa.m4, cloexec.m4, eealloc.m4, inttostr.m4, mbstate_t.m4:
44         New files, from gnulib.
45
46         * prereq.m4 (jm_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR.
47
48 2004-03-31  Jim Meyering  <jim@meyering.net>
49
50         * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
51         Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
52         * xalloc.m4: Likewise.
53
54         * realloc.m4: Remove file, since now it does no more than
55         AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
56         the `configure.ac' section of module/realloc.
57         * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
58
59 2004-02-29  Paul Eggert  <eggert@twinsun.com>
60
61         * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
62         * getdate.m4 (gl_GETDATE): Remove time-related stuff.
63         Require AM_STDBOOL_H and gl_TIMESPEC instead.
64         Require gl_CLOCK_TIME.
65
66 2004-03-07  Paul Eggert  <eggert@twinsun.com>
67
68         * Makefile.am.in (Makefile.am):
69         Don't use $<, as it doesn't work with Solaris make.
70
71 2004-01-29  Jim Meyering  <jim@meyering.net>
72
73         Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
74         * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
75         on some systems one must include <grp.h> before it.
76         Reported by Christian Krackowizer.
77
78 2004-01-16  Jim Meyering  <jim@meyering.net>
79
80         * onceonly.m4: Sync with version from gettext-0.13.1.
81
82 2003-10-08  Paul Eggert  <eggert@twinsun.com>
83
84         Merge from gnulib.
85
86         * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
87
88 2003-08-26  Bruno Haible  <bruno@clisp.org>
89
90         Merge from gnulib.
91
92         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
93         This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
94         followed by '#define fnmatch fnmatch_posix' gives an error.
95
96 2004-01-14  Paul Eggert  <eggert@twinsun.com>
97
98         * posixv.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
99
100 2004-01-13  Jim Meyering  <jim@meyering.net>
101
102         * gettext.m4, lib-ld.m4, lib-prefix.m4, nls.m4, po.m4:
103         Update from gettext-0.13.1.
104         * intmax.m4, isc-posix.m4, printf-posix.m4, size_max.m4, xsize.m4:
105         New files.  From gettext-0.13.1.
106
107 2004-01-11  Paul Eggert  <eggert@twinsun.com>
108
109         * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): Move
110         the documentation from 'configure' into 'config.hin',
111         so that 'configure --help' isn't burdened by it and
112         we don't have to worry about its formatting there.
113         Reword the documentation so that it's more succinct
114         and can be run together into a single paragraph.
115
116 2004-01-12  Jim Meyering  <jim@meyering.net>
117
118         * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
119
120 2003-12-20  Jim Meyering  <jim@meyering.net>
121
122         * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
123
124         * open-max.m4 (UTILS_SYS_OPEN_MAX): Remove file.  No longer used.
125
126         * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
127         value, $ac_cv_search_crypt, if it's "none required".
128
129 2003-12-19  Jim Meyering  <jim@meyering.net>
130
131         * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
132         if no library is required.
133
134 2003-12-18  Jim Meyering  <jim@meyering.net>
135
136         * search-libs.m4 (AC_SEARCH_LIBS): Remove file/macro, now that
137         this replacement is no longer needed.  Besides, this macro has
138         no effect with autoconf-2.58, since `undefine' in package-supplied
139         .m4 files is no longer honored.  Reported by Andreas Schwab.
140
141         Remove now-unnecessary (and unused) files.  They also used `undefine'.
142         * isc-posix.m4 (AC_ISC_POSIX): Remove file.
143         * getloadavg.m4 (gl_FUNC_GETLOADAVG): Remove file.
144         * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
145         not gl_FUNC_GETLOADAVG.
146
147 2003-11-08  Jim Meyering  <jim@meyering.net>
148
149         * inttypes.m4: Sync from gnulib (this file was previously empty,
150         to work around some sort of problem).
151
152 2003-11-08  Alexandre Duret-Lutz  <adl@gnu.org>
153
154         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
155         value, $ac_cv_search_nanosleep, if it's "none required".
156
157 2003-11-05  Paul Eggert  <eggert@twinsun.com>
158
159         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
160
161 2003-11-05  Jim Meyering  <jim@meyering.net>
162
163         * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
164         * free.m4: New file, from gnulib.
165
166         * exitfail.m4, host-os.m4, strndup.m4: Update from gnulib.
167
168         * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
169         (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
170
171 2003-10-13  Paul Eggert  <eggert@twinsun.com>
172
173         * xalloc.m4: Import latest version from gnulib.
174
175 2003-10-06  Jim Meyering  <jim@meyering.net>
176
177         * ftw.m4: Remove now-unused file.
178
179 2003-10-05  Jim Meyering  <jim@meyering.net>
180
181         * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
182
183 2003-09-17  Paul Eggert  <eggert@twinsun.com>
184
185         Update from gnulib.
186         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
187         to avoid spurious warnings like "AC_RUN_IFELSE was called before
188         gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
189
190 2003-09-12  Paul Eggert  <eggert@twinsun.com>
191
192         More patches to assume C89 or better.
193
194         * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
195         * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
196         * userspec.m4 (gl_USERSPEC): Likewise.
197         * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
198         * xstrtod.m4 (gl_XSTRTOD): Likewise.
199         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
200         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
201         memcpy, memset.
202         (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
203         * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
204         * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
205         * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
206         * userspec.m4 (gl_USERSPEC): Do not check for string.h.
207         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
208         strtoul.
209
210 2003-09-12  Paul Eggert  <eggert@twinsun.com>
211
212         * error.m4 (gl_ERROR): Don't check for vprintf.
213         Require AC_FUNC_STRERROR_R rather than invoking it.
214
215 2003-09-12  Paul Eggert  <eggert@twinsun.com>
216
217         * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
218         unconditionally.
219         * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
220         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
221         Include <string.h>, <stdlib.h> unconditionally.
222         * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
223         * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
224         * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
225         or for string.h.
226         * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlb.h
227         or strtoul.
228         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
229         and AC_MINIX, too, so that their extensions are available.
230
231         * prereq.m4 (jm_PREREQ_ADDEXT): Remove.  All uses removed.
232         This macro has been superseded by gl_BACKUPFILE.
233
234 2003-09-12  Jim Meyering  <jim@meyering.net>
235
236         * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
237         gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
238         * readtokens.m4: New file, from gnulib
239         * md5.m4: Likewise.
240         * makepath.m4: Likewise.
241         * long-options.m4: Likewise.
242         * idcache.m4: Likewise.
243         * getugroups.m4: Likewise.
244
245 2003-09-11  Paul Eggert  <eggert@twinsun.com>
246
247         More patches to assume C89 or better.
248         * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
249         * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
250         string.h, memchr, STDC_HEADERS.
251
252 2003-09-10  Bruno Haible  <bruno@clisp.org>
253
254         * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
255         * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
256         * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
257         * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
258         * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
259         * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
260
261 2003-09-09  Paul Eggert  <eggert@twinsun.com>
262
263         * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
264         * getopt.m4 (gl_GETOPT): Don't check for string.h.
265         * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
266         * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
267         headers.
268         * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
269         string.h.
270         * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
271         * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
272         * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
273         * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
274         * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
275         * memcoll.m4 (gl_MEMCOLL): Likewise.
276         * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
277         * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
278         string.h, free.
279         * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
280         * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
281         * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
282         C headers, or for string.h.
283         * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
284         (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
285         * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
286         headers, memory.h, stdlib.h, string.h, strings.h.
287         * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
288         * posixver.m4 (gl_POSIXVER): Don't check for getenv.
289         * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
290         strchr.
291         * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
292         * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
293         free.
294         * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
295         * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
296         * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
297         * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
298
299 2003-09-09  Derek Robert Price  <derek@ximbiot.com>
300
301         * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
302         C89 spec.
303
304 2003-09-08  Paul Eggert  <eggert@twinsun.com>
305
306         Assume C89 or better; remove K&R cruft.
307         * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
308         * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
309         string.h, getenv, malloc.
310         * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
311         headers.
312         * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
313         * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
314         do not check for strerror.
315         * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
316         * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
317         * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove.  All uses removed.
318         * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
319
320 2003-08-27  Jim Meyering  <jim@meyering.net>
321
322         * mkstemp.m4: Require that the system mkstemp be able to create
323         70 temporary files, not just 30.  Tru64 V4.0F's mkstemp function
324         would fail after 32.  Reported by Danny Levinson.  Details here:
325         http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
326
327 2003-08-19  Jim Meyering  <jim@meyering.net>
328
329         * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
330         http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
331
332 2003-08-18  Paul Eggert <eggert@twinsun.com>
333
334         * same.m4 (gl_SAME): Do not check for stdlib.h or string.h or free.
335         Check for pathconf.
336
337 2003-08-18  Jim Meyering  <jim@meyering.net>
338
339         * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
340         * lib-ld.m4: Likewise.
341         * po.m4: Likewise.
342
343 2003-08-18  Paul Eggert  <eggert@twinsun.com>
344         and Jim Meyering  <jim@meyering.net>
345
346         It turns out that we need AM_NLS and AM_PO_SUBDIRS after all;
347         otherwise po/POTFILES and po/Makefile aren't built by 'configure'.
348         I'm not sure why I didn't catch this earlier; most likely some
349         leftover build files.  Sorry about that.
350         * gettextext.m4 (AM_NLS, AM_PO_SUBDIRS): Remove definitions.
351         * nls.m4, po.m4: New files, taken from gnulib / gettext.
352
353 2003-08-16  Paul Eggert  <eggert@twinsun.com>
354
355         Sync with gnulib.
356
357         * gettextext.m4: New file.
358
359         * atexit.m4, backupfile.m4, canon-host.m4, clock_time.m4,
360         closeout.m4, dirname.m4, dup2.m4, euidaccess.m4, exclude.m4,
361         exitfail.m4, file-type.m4, fileblocks.m4, filemode.m4, getdate.m4,
362         gethostname.m4, getloadavg.m4, getopt.m4, getpagesize.m4,
363         getpass.m4, getusershell.m4, hard-locale.m4, hash.m4, malloc.m4,
364         memchr.m4, memcpy.m4, memmove.m4, memrchr.m4, memset.m4,
365         modechange.m4, mountlist.m4, obstack.m4, path-concat.m4,
366         pathmax.m4, physmem.m4, posixtm.m4, posixver.m4, quote.m4,
367         quotearg.m4, readlink.m4, readutmp.m4, realloc.m4, rmdir.m4,
368         rpmatch.m4, safe-read.m4, safe-write.m4, same.m4, save-cwd.m4,
369         savedir.m4, settime.m4, sha.m4, sig2str.m4, stdio-safer.m4,
370         stpcpy.m4, strcase.m4, strcspn.m4, strdup.m4, strndup.m4,
371         strnlen.m4, strpbrk.m4, strstr.m4, strtod.m4, strtoimax.m4,
372         strtol.m4, strtoll.m4, strtoul.m4, strtoull.m4, strtoumax.m4,
373         strverscmp.m4, ulonglong.m4, unicodeio.m4, unistd-safer.m4,
374         userspec.m4, xalloc.m4, xgetcwd.m4, xreadlink.m4, xstrtod.m4,
375         xstrtol.m4, yesno.m4: New files, from gnulib.
376
377         * acl.m4, check-decl.m4, chown.m4, c-stack.m4, d-ino.m4,
378         d-type.m4, fileblocks.m4, fsusage.m4, ftruncate.m4, getcwd.m4,
379         getgroups.m4, getline.m4, getndelim2.m4, gettext.m4,
380         gettimeofday.m4, group-member.m4, host-os.m4, iconv.m4,
381         intmax_t.m4, inttypes-pri.m4, jm-macros.m4, lchown.m4, lib-ld.m4,
382         lib-link.m4, lib-prefix.m4, longdouble.m4, longlong.m4,
383         ls-mntd-fs.m4, lstat.m4, mbrtowc.m4, mbswidth.m4, memcmp.m4,
384         mkdir-slash.m4, mkstemp.m4, nanosleep.m4, onceonly.m4, prereq.m4,
385         progtest.m4, putenv.m4, readdir.m4, rename.m4, stat.m4, tzset.m4,
386         utimbuf.m4, utime.m4, vasnprintf.m4, xstrtoimax.m4, xstrtoumax.m4:
387         Sync with gnulib.
388
389 2003-08-15  Jim Meyering  <jim@meyering.net>
390
391         * utimes.m4 (gl_FUNC_UTIMES): Use `conftest.utimes' as the test
392         file name, not `x'.  The former will be removed automatically.
393
394 2003-08-13  Jim Meyering  <jim@meyering.net>
395
396         * README: Remove file.
397         * Makefile.am.in: Simplify.
398         (Makefile.am): Remove README.
399
400 2003-08-10  Jim Meyering  <jim@meyering.net>
401
402         * utimes.m4 (gl_FUNC_UTIMES): New file.
403         * utimens.m4: Require gl_FUNC_UTIMES.
404         Don't check for utime or utimes.
405
406         * utimes.m4: Removed.
407         * utimes-null.m4: Renamed from utimes.m4.
408
409 2003-08-06  Paul Eggert  <eggert@twinsun.com>
410
411         * prereq.m4 (jm_PREREQ): Require gl_UTIMENS.
412         * utimens.m4: New file.
413
414 2003-08-08  Paul Eggert  <eggert@twinsun.com>
415
416         * vasnprintf.m4 (gl_PREREQ_VASNPRINTF):
417         Solaris 2.5.1 needs -lw to get the wcslen function.
418
419 2003-08-08  Paul Eggert  <eggert@twinsun.com>
420
421         Use new gnulib 'extensions' module.
422         * extensions.m4, unlocked-io.m4: New files, from gnulib.
423         * gnu-source.m4, jm-glibc-io.m4: Remove.
424         * timespec.m4: Merge from gnulib.
425
426 2003-08-08  Paul Eggert  <eggert@twinsun.com>
427
428         * jm-macros.m4 (jm_MACROS): Replace jm_INCLUDED_REGEX([lib/regex.c])
429         with gl_REGEX.
430         Replace jm_FUNC_MKTIME with gl_FUNC_MKTIME.
431         Remove redundant AC_FUNC_FNMATCH_GNU, jm_FUNC_MKTIME.
432         Remove AC_FUNC_VPRINTF.
433         Add gl_ERROR.
434
435 2003-08-05  Paul Eggert  <eggert@twinsun.com>
436
437         * jm-macros.m4 (jm_MACROS): Use gl_GETNDELIM2 rather than
438         checking for getdelim.
439         (jm_CHECK_ALL_TYPES): Use gt_TYPE_SSIZE_T for ssize_t rather
440         than rolling our own.
441         Merge getline from gnulib.
442         * getline.m4: Merge from gnulib.
443         * getndelim2.m4, ssize_t.m4: New files, from gnulib.
444
445 2003-08-04  Paul Eggert  <eggert@twinsun.com>
446
447         * regex.m4: Merge with gnulib.
448         (gl_REGEX): New macro.
449         (jm_INCLUDED_REGEX): Don't assume Latin-1 encoding of source code.
450         * restrict.m4: Merge with gnulib.
451         (gl_C_RESTRICT): Renamed from ACX_C_RESTRICT.  All uses changed.
452         Rename cache vars to gl_cv_*.  Incorporate latest Autoconf CVS tricks.
453
454 2003-08-05  Paul Eggert  <eggert@twinsun.com>
455
456         * gnu-source.m4: New file, taken from gnulib, with support
457         added for __EXTENSIONS__ a la Solaris.
458         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Call gl_TIMESPEC rather
459         than jm_CHECK_TYPE_STRUCT_TIMESPEC.
460         * st_mtim.m4: Sync with gnulib (white space change only).
461         * timespec.m4: Sync with gnulib, except also require
462         AC_GNU_SOURCE.
463
464 2003-08-05  Paul Eggert  <eggert@twinsun.com>
465
466         * prereq.m4 (jm_PREREQ_PHYSMEM, jm_PREREQ_STAT): Ignore headers
467         that are present but cannot be compiled.  This avoids spurious warnings
468         on Solaris 9 sparc with Forte Developer 7 C 5.4.
469
470 2003-08-04  Paul Eggert  <eggert@twinsun.com>
471
472         Merge fnmatch module from gnulib.
473         * fnmatch.m4: New file, from gnulib.
474         * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FNMATCH_GNU
475         instead of AC_FUNC_ERROR_AT_LINE.
476
477 2003-08-04  Paul Eggert  <eggert@twinsun.com>
478
479         * error.m4: Sync from gnulib.
480
481 2003-07-23  Jim Meyering  <jim@meyering.net>
482
483         * lstat.m4, mkstemp.m4, regex.m4, stat.m4: Normalize naming of Sun
484         operating systems in comments, e.g., SunOS4 -> SunOS 4,
485         Solaris5.9 -> Solaris 9.  From Paul Eggert.
486
487 2003-07-18  Paul Eggert  <eggert@twinsun.com>
488
489         * jm-macros.m4 (jm_MACROS): Invoke gl_MEMCOLL.
490         * memcoll.m4: New file, from gnulib.
491         Based on a patch from Andreas Schwab.
492
493 2003-07-14  Jim Meyering  <jim@meyering.net>
494
495         * Makefile.am.in: Correct comment on first line.
496
497 2003-07-12  Jim Meyering  <jim@meyering.net>
498
499         * jm-macros.m4 (OPTIONAL_BIN_ZCRIPTS): Remove unused variable.
500
501 2003-07-10  Jim Meyering  <jim@meyering.net>
502
503         * jm-macros.m4 (jm_MACROS): Require gl_FUNC_VASPRINTF and
504         gl_FUNC_VASNPRINTF.
505
506         * longdouble.m4, signed.m4, vasnprintf.m4, vasprintf.m4, wchar_t.m4:
507         * wint_t.m4: New files, in support of new asprintf use.  From gnulib.
508
509         * stdint_h.m4: New file.
510         * inttypes_h.m4: New file.
511         * uintmax_t.m4: New file.
512         * intmax_t.m4: New file.
513         * inttypes.m4: Remove file.  Use intmax_t.m4 and uintmax_t.m4
514         from gnulib, instead.
515
516 2003-06-09  Jim Meyering  <jim@meyering.net>
517
518         * tzset.m4 (gl_FUNC_TZSET_CLOBBER): Also define gmtime.
519         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Likewise.
520         Suggestion from Paul Eggert.
521
522 2003-06-08  Jim Meyering  <jim@meyering.net>
523
524         * tzset.m4 (gl_FUNC_TZSET_CLOBBER): New file/macro.
525         Used by strftime.m4.
526         * strftime.m4 (_jm_STRFTIME_PREREQS): Require gl_FUNC_TZSET_CLOBBER.
527
528 2003-06-07  Jim Meyering  <jim@meyering.net>
529
530         * strftime.m4: Update from gnulib.
531         * tm_gmtoff.m4: New file, used by strftime.m4.
532         * mktime.m4: New file.  From gnulib.
533
534 2003-06-06  Jim Meyering  <jim@meyering.net>
535
536         * jm-macros.m4: Require gl_FUNC_ALLOCA.
537         * alloca.m4: New file, from gnulib.
538
539         * stdbool.m4: Update from gnulib.
540
541 2003-06-04  Paul Eggert  <eggert@twinsun.com>
542
543         Merge human.c etc. from gnulib.
544         * human.m4: New file, from gnulib.
545         * prereq.m4 (jm_PREREQ): Use gl_HUMAN, not jm_PREREQ_HUMAN.
546         (jm_prereq_HUMAN): Remove.
547
548 2003-06-02  Jim Meyering  <jim@meyering.net>
549
550         * jm-macros.m4 (jm_MACROS): Require AM_STDBOOL_H.
551
552 2003-05-26  Jim Meyering  <jim@meyering.net>
553
554         * dirfd.m4 (UTILS_FUNC_DIRFD): Merge in change from gnulib,
555         fixing an M4 quoting bug.
556
557         * lib-ld.m4 (AC_LIB_PROG_LD_GNU): Use TAB-SP, not SP-TAB
558         when setting IFS.
559         * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
560
561 2003-05-06  Jim Meyering  <jim@meyering.net>
562
563         * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for the
564         declaration of getcwd *before* checking for the getcwd kernel bug.
565         Otherwise, configure-time `checking ...' messages would be intermixed.
566
567 2003-05-02  Jim Meyering  <jim@meyering.net>
568
569         * readdir.m4 (GL_FUNC_READDIR): Revive dead file.  Change name to
570         have GL_ (not jm_) prefix.  Adjust cache variables similarly.
571         Create 500 rather than just 300 files, to exercise bug on
572         Darwin6.5, too.
573         * jm-macros.m4 (jm_MACROS): Require GL_FUNC_READDIR.
574
575 2003-04-25  Jim Meyering  <jim@meyering.net>
576
577         * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): If PATH_MAX
578         is not defined, don't run the test, and don't use the wrapper.
579         Otherwise, on the Hurd, it would take a long time to create
580         and remove a hierarchy about 4000 levels deep.
581         Based on a patch from Robert Millan.
582
583 2003-04-22  Jim Meyering  <jim@meyering.net>
584
585         Aesthetics.
586         * gettext.m4: Change an occurrence of [ \t] to [\t ].
587
588 2003-04-07  Jim Meyering  <jim@meyering.net>
589
590         * prereq.m4 (jm_PREREQ_STAT): Add prerequisites and #includes
591         for Ultrix 4.4.
592
593 2003-04-02  Jim Meyering  <jim@meyering.net>
594
595         * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
596
597 2003-03-19  Jim Meyering  <jim@meyering.net>
598
599         * ftw.m4 (AC_FUNC_FTW): Require AC_HEADER_STAT.
600
601 2003-03-17  Richard Dawe  <rich@phekda.freeserve.co.uk>
602
603         * jm-macros.m4 (jm_MACROS): Include $(EXEEXT) in DF_PROG's program
604         name, since automake only adds $(EXEEXT) to programs in its *_PROGRAMS.
605         Arrange to compile the corresponding stub function if fchdir is missing.
606
607 2003-03-18  Jim Meyering  <jim@meyering.net>
608
609         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
610         test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
611         systems would end up using the latter.  MOUNTED_GETMNTENT1 support
612         is inadequate on such systems: 1) detecting whether a file system
613         is remote doesn't work  2) the MOUNTED_VMOUNT code reports the
614         HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
615         merely /MOUNT_POINT.  Reported by Mike Jetzer.
616
617 2003-03-17  Jim Meyering  <jim@meyering.net>
618
619         * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
620         that is guaranteed to be `no'.  Use `no_such_member' to indicate
621         that condition, rather than `-1' which is slightly misleading.
622         Change the name of the cache variable to have the gl_ prefix.
623         Prompted by a patch from Richard Dawe for DJGPP.
624
625 2003-03-14  Jim Meyering  <jim@meyering.net>
626
627         * prereq.m4 (jm_PREREQ): Also forbid the gl_[A-Z] prefix.
628         Don't require jm_PREREQ_C_STACK.
629
630 2003-03-13  Paul Eggert  <eggert@twinsun.com>
631
632         [from gnulib]
633         * onceonly.m4 (m4_quote): New macro.
634         (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
635         Quote AC_FOREACH variable-expansions properly.
636
637 2003-03-13  Jim Meyering  <jim@meyering.net>
638
639         * jm-macros.m4 (jm_MACROS): Arrange to compile the corresponding stub
640         function if any of the following is missing: fchown, lstat, readlink.
641         From Richard Dawe.
642
643 2003-03-07  Jim Meyering  <jim@meyering.net>
644
645         * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
646         using the latest version from cvs.  This avoids problems with #line
647         directives using a vendor (Sun) compiler.
648
649         * jm-macros.m4: Don't require AC_SYS_MMAP_STACK.
650         * mmap-stack.m4 (AC_SYS_MMAP_STACK): Remove file.
651
652 2003-03-06  Jim Meyering  <jim@meyering.net>
653
654         * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for
655         declaration of getcwd.
656
657 2003-03-04  Jim Meyering  <jim@meyering.net>
658
659         * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): New macro.
660         * jm-macros.m4: Require GL_FUNC_GETCWD_PATH_MAX.
661
662         `df /some/mount-point' no longer hangs when an unrelated hard-mount
663         is unavailable
664         * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
665         /proc/mounts until it finds one with matching device number.  This is
666         unnecessary when the FILE argument *is* a mount point.  No stat call
667         is necessary in that case.  So, disable the statvfs-testing code on
668         systems with GNU libc.  Reported by Andrei Gaponenko via Tim Waugh
669         as RedHat bug# 84846.
670
671 2003-02-27  Jim Meyering  <jim@meyering.net>
672
673         * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for `table' function.
674         Reported by Kaveh Ghazi.
675
676         * prereq.m4 (gl_SYS__SYSTEM_CONFIGURATION): New function.
677         (jm_PREREQ_PHYSMEM): Check for new headers and functions.
678         Use gl_SYS__SYSTEM_CONFIGURATION.
679         With suggestions from Kaveh Ghazi.
680
681 2003-02-19  Jim Meyering  <jim@meyering.net>
682
683         * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
684         to 1MB, so as not to render systems with no stack size limit (e.g.,
685         linux-2.2.x) unusable.  Suggestion and code from Bruno Haible.
686
687 2003-02-17  Jim Meyering  <jim@meyering.net>
688
689         * prereq.m4 (jm_PREREQ_PHYSMEM): Undo last change, since
690         Kaveh Ghazi found a better way to get the required information.
691         Add check for sys/sysmp.h.
692
693 2003-02-15  Jim Meyering  <jim@meyering.net>
694
695         * mmap-stack.m4: New file.
696
697         * jm-macros.m4: Require AC_SYS_MMAP_STACK.
698
699         Add Irix6 support to physmem.c.
700         * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for sys/sysget.h
701         and sys/sysinfo.h.
702         Also check for sysget.
703         Reported by Kaveh Ghazi.
704
705 2003-02-12  Jim Meyering  <jim@meyering.net>
706
707         * restrict.m4 (ACX_C_RESTRICT): Remove #ifndef -- so now this
708         macro also checks for support when using a C++ compiler.
709         Also, remove the test for SGI's __restrict.
710         Suggested by Steven G. Johnson.
711
712         * regex.m4 (jm_PREREQ_REGEX): Require ACX_C_RESTRICT.
713
714         * restrict.m4 (ACX_C_RESTRICT): Minor syntactic changes:
715         Split long lines, use AC_COMPILE_IFELSE, indent, use `case'
716         instead of nested `if's, remove unnecessary quotes.
717
718         * restrict.m4 (ACX_C_RESTRICT): New macro.
719         Copied directly from the URL in the comments.
720         By Steven G. Johnson.
721
722 2003-02-09  Jim Meyering  <jim@meyering.net>
723
724         * check-decl.m4 (jm_CHECK_DECLS): Add euidaccess.
725
726 2003-02-03  Jim Meyering  <jim@meyering.net>
727
728         * c-stack.m4: Include <unistd.h>.  On some systems,
729         it is required for the definition of _SC_PAGESIZE.
730
731 2003-02-02  Jim Meyering  <jim@meyering.net>
732
733         * onceonly.m4: New file.  From gnulib.
734
735         * regex.m4 (jm_PREREQ_REGEX): New function, from gnulib.
736         (jm_INCLUDED_REGEX): Use it.
737         * prereq.m4 (jm_PREREQ_REGEX): Remove.
738
739 2003-01-31  Jim Meyering  <jim@meyering.net>
740
741         * open-max.m4 (UTILS_SYS_OPEN_MAX): New file/macro.
742         * jm-macros.m4 (jm_MACROS): Require UTILS_SYS_OPEN_MAX.
743
744 2003-01-29  Jim Meyering  <jim@meyering.net>
745
746         * regex.m4: Detect broken re_search in e.g. glibc-2.2.93.
747
748 2003-01-23  Jim Meyering  <jim@meyering.net>
749
750         * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
751         from working on systems without dirfd (at least Irix and OSF1/Tru64).
752
753         Merge in change by Bruno Haible from gnulib.
754         * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
755
756 2003-01-16  Jim Meyering  <jim@meyering.net>
757
758         * regex.m4: The `regex' struct is both input and output.
759         Initialize it before each use.  Patch by Tim Waugh.
760
761 2003-01-15  Jim Meyering  <jim@meyering.net>
762
763         * jm-macros.m4: Require AC_FUNC_FTW.
764
765 2003-01-12  Jim Meyering  <jim@meyering.net>
766
767         * ftw.m4: New file.
768
769 2003-01-11  Jim Meyering  <jim@meyering.net>
770
771         * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): New file and macro.
772         * jm-macros.m4: Require AC_FUNC_CANONICALIZE_FILE_NAME.
773         (jm_MACROS): No longer check for resolvepath or canonicalize_file_name.
774
775 2002-12-15  Jim Meyering  <jim@meyering.net>
776
777         * jm-glibc-io.m4n: Remove now-unused file.
778         * Makefile.am.in (Makefile.am): Remove jm-glibc-io.m4
779         and jm-glibc-io.m4n.
780
781 2002-12-11  Jim Meyering  <jim@meyering.net>
782
783         * jm-glibc-io.m4: Maintain this file manually rather than generating it.
784         Generating it caused too much trouble.  From gnulib.
785
786 2002-11-19  Jim Meyering  <jim@meyering.net>
787
788         * jm-macros.m4: Require Autoconf-2.56.
789
790 2002-09-30  Akim Demaille  <akim@epita.fr>
791
792         * prereq.m4: Use AC_REQUIRE everywhere it is possible.
793         (jm_PREREQ_CANON_HOST): Remove duplicates.
794
795 2002-11-10  Jim Meyering  <jim@meyering.net>
796
797         * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(raise).
798
799 2002-10-30  Paul Eggert  <eggert@twinsun.com>
800
801         * getgroups.m4 (jm_FUNC_GETGROUPS):
802         Fix typo: cv_func_getgroups_works -> ac_cv_func_getgroups_works.
803
804 2002-10-07  Paul Eggert  <eggert@twinsun.com>
805
806         * prereq.m4 (jm_PREREQ_HUMAN): Check for locale.h, localeconv,
807         AC_HEADER_STDBOOL.  No need to check for limits.h since it's in
808         freestanding C89.  No need to check for stdlib.h or string.h since
809         autoconf does this now.
810
811 2002-10-12  Paul Eggert  <eggert@twionsun.com>
812
813         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Remove fenv.h.
814
815 2002-09-29  Jim Meyering  <jim@meyering.net>
816
817         * gettext.m4 (AM_INTL_SUBDIR): Don't require gt_HEADER_INTTYPES_H.
818         It's not necessary with autoconf-2.54.
819
820 2002-09-28  Jim Meyering  <jim@meyering.net>
821
822         * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
823         and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
824         * jm-macros.m4 (jm_MACROS): Don't set GETGROUPS_LIB here; now it's
825         done via getgroups.m4's wrapper function.
826
827         * strerror_r.m4: Remove file -- now it's part of autoconf-2.54.
828         Reported by Akim Demaille.
829
830 2002-09-25  Jim Meyering  <jim@meyering.net>
831
832         * gettext.m4: Upgrade to gettext-0.11.5.
833
834 2002-09-07  Bruno Haible  <bruno@clisp.org>
835
836         * host-os.m4 (UTILS_HOST_OS): Add a case for freebsd*-gnu*.
837
838 2002-09-17  Jim Meyering  <jim@meyering.net>
839
840         * jm-macros.m4 (jm_MACROS): Require gt_INTTYPES_PRI.
841         * inttypes-pri.m4 (gt_INTTYPES_PRI): New file, mostly from gettext.
842
843 2002-09-16  Jim Meyering  <jim@meyering.net>
844
845         * prereq.m4: Forbid symbols matching ^jm_[A-Z].
846         (jm_PREREQ_QUOTEARG): Add jm_FUNC_MEMCMP.
847         From Akim Demaille.
848
849         * error.m4 (jm_PREREQ_ERROR): Check for libintl.h.
850         Reported by Akim Demaille.
851
852 2002-09-13  Jim Meyering  <jim@meyering.net>
853
854         * jm-macros.m4 (jm_MACROS): Require autoconf-2.54.
855
856 2002-09-09  Jim Meyering  <jim@meyering.net>
857
858         * getloadavg.m4: Remove file -- now it's part of autoconf-2.53c.
859         * jm-macros.m4: Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
860         AC_FUNC_GETLOADAVG where to find getloadavg.c.
861
862 2002-09-03  Jim Meyering  <jim@meyering.net>
863
864         * gnu-source.m4: Remove file -- now it's part of autoconf-2.53c.
865         * mbstate_t.m4: Likewise.
866         * fnmatch.m4: Likewise.
867
868 2002-08-05  Jim Meyering  <jim@meyering.net>
869
870         * jm-winsz1.m4: Also change use of $am_cv_sys_posix_termios
871         to $ac_cv_sys_posix_termios.  Reported by Andreas Schwab.
872
873 2002-08-03  Jim Meyering  <jim@meyering.net>
874
875         * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
876         Reported by mkc@mathdogs.com.
877
878 2002-08-01  Jim Meyering  <jim@meyering.net>
879
880         * prereq.m4 (jm_PREREQ_TEMPNAME): lib/tempname.c may use uintmax_t,
881         so require jm_AC_TYPE_UINTMAX_T.  Patch by Joe Orton.
882
883 2002-07-28  Jim Meyering  <jim@meyering.net>
884
885         * jm-macros.m4: Don't require jm_FUNC_READDIR.
886         * readdir.m4 (jm_FUNC_READDIR): Remove file/macro.  No longer needed.
887
888 2002-07-27  Jim Meyering  <jim@meyering.net>
889
890         * prereq.m4 (jm_PREREQ_READUTMP): Don't check just
891         `struct utmpx.ut_exit' and `struct utmp.ut_exit'.  Instead, check
892         all combinations of utmp/utmpx and ut_termination/e_termination
893         and ut_exit/e_exit.
894
895 2002-07-23  Jim Meyering  <jim@meyering.net>
896
897         * c-bs-a.m4 (AC_C_BACKSLASH_A): Remove file, now that autoconf
898         provides this macro.
899
900 2002-07-20  Jim Meyering  <jim@meyering.net>
901
902         * intdiv0.m4: New file.  From gettex-0.11.3.
903
904         * jm-macros.m4: Require autoconf-2.53b.
905         Use new macros AC_FUNC_MALLOC and AC_FUNC_REALLOC,
906         in place of jm_-prefixed ones.  Thanks, Akim!
907         * malloc.m4: Remove file, now that autoconf provides this macro.
908         * realloc.m4: Likewise.
909
910 2002-07-18  gettextize  <bug-gnu-gettext@gnu.org>
911
912         * gettext.m4: Upgrade to gettext-0.11.3.
913         * iconv.m4: Upgrade to gettext-0.11.3.
914         * isc-posix.m4: Upgrade to gettext-0.11.3.
915         * lcmessage.m4: Upgrade to gettext-0.11.3.
916         * lib-link.m4: Upgrade to gettext-0.11.3.
917
918 2002-07-17  Jim Meyering  <jim@meyering.net>
919
920         * boottime.m4: New file.  Extracted from sh-utils' configure.ac
921         and extended to work also with *BSD systems.
922
923 2002-07-15  Jim Meyering  <jim@meyering.net>
924
925         FreeBSD support for uname and uptime.
926         * jm-macros.m4 (jm_MACROS): Check for the sysctl function.
927         (jm_CHECK_ALL_HEADERS): Check for sys/sysctl.h.
928         Suggestion from Bruno Haible.
929
930 2002-06-11  Paul Eggert  <eggert@twinsun.com>
931
932         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
933
934 2002-06-22  Jim Meyering  <jim@meyering.net>
935
936         * c-stack.m4: New file, from diffutils-2.8.2.
937         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
938
939         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
940         now that configure.ac uses AC_GNU_SOURCE.
941         (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
942         * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
943
944         Update to latest tools.  Suggestions from Paul Eggert.
945         * stdbool.m4: New file, from diffutils-2.8.2.
946         * gnu-source.m4: Update from diffutils-2.8.2.
947         * fnmatch.m4: Likewise.
948         * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
949         to AC_HEADER_STDBOOL
950
951 2002-06-21  Jim Meyering  <jim@meyering.net>
952
953         * c-bs-a.m4: Add comment, from diffutils-2.8.2.
954         * mbrtowc.m4: Likewise.
955
956         * mbstate_t.m4: Update from diffutils-2.8.2.
957         * mbswidth.m4: Reflect name change:
958         s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
959         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
960
961         * lib-link.m4: Update from gettext-0.11.2.
962         * gettext.m4: Likewise.
963
964         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
965         From Alfred M. Szmidt.
966
967 2002-05-19  Paul Eggert  <eggert@twinsun.com>
968
969         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
970
971 2002-06-07  Jim Meyering  <jim@meyering.net>
972
973         * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
974         They're needed at least for NetBSD 1.5.2.
975         ($statxfs_includes): Include those same headers.
976         ($statxfs_includes): Include sys/vfs.h if available.
977         ($statxfs_includes): Likewise for sys/statvfs.h.
978         Check for the following members in both structs statfs and statvfs:
979         f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
980
981 2002-06-01  Jim Meyering  <jim@meyering.net>
982
983         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
984         s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
985
986 2002-05-28  Jim Meyering  <jim@meyering.net>
987
988         * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
989         Reported by Volker Borchert.
990
991 2002-05-27  Jim Meyering  <jim@meyering.net>
992
993         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
994         localtime.
995
996         * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
997         use the replacement function; it wouldn't resolve at link time.
998         Reported by Volker Borchert.
999
1000 2002-04-30  Jim Meyering  <jim@meyering.net>
1001
1002         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
1003
1004 2002-04-29  Paul Eggert  <eggert@twinsun.com>
1005
1006         * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
1007         Do not check for alloca.h (no longer used) or stdbool.h (was never
1008         used?).  Add AM_C_PROTOTYPES since hard-locale.h uses it.
1009
1010 2002-04-28  Paul Eggert  <eggert@twinsun.com>
1011
1012         * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
1013
1014 2002-04-29  Jim Meyering  <jim@meyering.net>
1015
1016         * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
1017         * prereq.m4: Add jm_PREREQ_STRNLEN.
1018         Use AC_FUNC_STRNLEN here instead.
1019
1020         * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
1021         With autoconf-2.53a, it's part of AC_PROG_CC.
1022
1023 2002-04-28  Paul Eggert  <eggert@twinsun.com>
1024
1025         * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
1026         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
1027
1028 2002-04-24  Jim Meyering  <jim@meyering.net>
1029
1030         * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
1031         (jm_PREREQ): Use it.
1032
1033         * getloadavg.m4: Check for these headers: locale.h unistd.h
1034         mach/mach.h fcntl.h.
1035         Check for this function: setlocale.
1036
1037 2002-04-16  Jim Meyering  <jim@meyering.net>
1038
1039         * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
1040         ut_pid, ut_id, ut_exit.
1041
1042 2002-04-12  Jim Meyering  <jim@meyering.net>
1043
1044         * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
1045         check for f_type in sys/mount.h.  Instead, just test for the existence
1046         of the getmntinfo function.  Needed for Darwin 5.3.
1047
1048         * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
1049         This is necessary at least on Darwin 5.3.
1050
1051         * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
1052         AC_FUNC_STRNLEN.  Otherwise, we'd end up putting two copies of strnlen.o
1053         in the library, and that makes some versions of ranlib object.
1054
1055 2002-04-09  Jim Meyering  <jim@meyering.net>
1056
1057         * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
1058         to be more precise.  Rather than saying we're checking whether the
1059         function `works', say what we're testing.
1060         * realloc.m4 (jm_FUNC_REALLOC): Likewise.
1061         Reported by Bruno Haible.
1062
1063 2002-02-27  Paul Eggert  <eggert@twinsun.com>
1064
1065         * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
1066         Check for clock_settime.
1067
1068 2002-02-25  Paul Eggert  <eggert@twinsun.com>
1069
1070         * acl.m4: New file.
1071         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
1072         Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
1073
1074 2002-02-16  gettextize  <bug-gnu-gettext@gnu.org>
1075
1076         * codeset.m4: Upgrade to gettext-0.11.
1077         * gettext.m4: Upgrade to gettext-0.11.
1078         * glibc21.m4: Upgrade to gettext-0.11.
1079         * iconv.m4: Upgrade to gettext-0.11.
1080         * isc-posix.m4: Upgrade to gettext-0.11.
1081         * lcmessage.m4: Upgrade to gettext-0.11.
1082         * lib-ld.m4: New file, from gettext-0.11.
1083         * lib-link.m4: New file, from gettext-0.11.
1084         * lib-prefix.m4: New file, from gettext-0.11.
1085         * progtest.m4: Upgrade to gettext-0.11.
1086
1087 2002-02-15  Paul Eggert  <eggert@twinsun.com>
1088
1089         * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
1090         (jm_PREREQ): Use it.
1091
1092 2002-01-26  Jim Meyering  <jim@meyering.net>
1093
1094         * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
1095         * strnlen.m4: Remove file, now that it's part of autoconf.
1096
1097 2002-01-22  Paul Eggert  <eggert@twinsun.com>
1098
1099         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
1100
1101 2002-01-19  Jim Meyering  <jim@meyering.net>
1102
1103         * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
1104         Remove useless quotes: DF_PROG="df".
1105         * strnlen.m4: New file.
1106
1107 2001-12-14  Jim Meyering  <jim@meyering.net>
1108
1109         * jm-macros.m4 (jm_MACROS): Check for iswspace.
1110         Suggestion from Bruno Haible.
1111
1112 2001-11-20  Jim Meyering  <jim@meyering.net>
1113
1114         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
1115         SunOS 4.1.4 and Solaris 2.5.1 lose, too.
1116
1117 2001-11-19  Jim Meyering  <jim@meyering.net>
1118
1119         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
1120         directory.  Use "conftestXXXXXX" as the template.
1121         Suggestion from Paul Eggert.
1122
1123         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
1124         so the test doesn't mistakenly hit the max-open-files limit.
1125
1126 2001-11-18  Jim Meyering  <jim@meyering.net>
1127
1128         * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
1129
1130 2001-11-17  Jim Meyering  <jim@meyering.net>
1131
1132         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
1133         Prompted by a report from Bob Proulx.
1134
1135         * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
1136         Instead, require UTILS_FUNC_MKSTEMP.
1137
1138 2001-11-11  Jim Meyering  <jim@meyering.net>
1139
1140         * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
1141         Now, that's done as part of AC_FUNC_STRTOD.
1142
1143 2001-10-22  Paul Eggert  <eggert@twinsun.com>
1144
1145         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
1146         WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
1147
1148 2001-11-10  Jim Meyering  <jim@meyering.net>
1149
1150         * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
1151         (jm_PREREQ): Use it.
1152
1153 2001-11-09  Jim Meyering  <jim@meyering.net>
1154
1155         * jm-macros.m4: Require autoconf-2.52f.
1156         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
1157         Use these AC_-prefixed names, not the AM_-prefixed ones.
1158
1159         * afs.m4 (jm_AFS): Quote the body.  Patch by Akim Demaille.
1160
1161 2001-11-04  Jim Meyering  <jim@meyering.net>
1162
1163         * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
1164
1165 2001-11-03  Jim Meyering  <jim@meyering.net>
1166
1167         * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
1168         of AC_DEFUN.
1169
1170         * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
1171         know the name of the variable in the macro definition.
1172
1173 2001-11-01  Jim Meyering  <jim@meyering.net>
1174
1175         * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
1176         * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
1177
1178 2001-10-20  Paul Eggert  <eggert@twinsun.com>
1179
1180         * error.m4 (jm_PREREQ_ERROR):
1181         Do not invoke AC_CHECK_FUNCS with strerror_r, as
1182         AC_FUNC_STRERROR_R does that.
1183         Check for strerror declaration.
1184
1185         * strerror_r.m4: Add copyright notice, as nontrivial m4 files
1186         are supposed to have them these days.
1187         (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
1188         Merge changes from latest Autoconf CVS.
1189         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
1190         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
1191         POSIX decided to standardize on the int flavor of strerror_r.
1192
1193 2001-09-30  Jim Meyering  <jim@meyering.net>
1194
1195         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
1196         `struct fsstat' has the `f_fstypename' member.
1197         Use that to define FS_TYPE, which is now used to make
1198         the getfsstat link test tighter.
1199
1200 2001-09-29  Jim Meyering  <jim@meyering.net>
1201
1202         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1203         [one-argument getmntent function]): Include stdio.h before mntent.h.
1204         SunOS 4.1.x needs it for the declaration of `FILE'.
1205         Patch by Volker Borchert.
1206
1207         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1208         Check for these headers: sys/param.h sys/ucred.h sys/mount.h
1209         sys/fs_types.h, and make the link-test for getfsstat guard #include
1210         directives with appropriate #if HAVE_*_H tests so that we can
1211         detect getfsstat on Apple Darwin1.3.7 systems.
1212         Reported by Nelson Beebe.
1213         Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
1214
1215 2001-09-28  Paul Eggert  <eggert@twinsun.com>
1216
1217         Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
1218         #defines strtoimax.  Also treat the other strto* functions
1219         like strtoimax.
1220
1221         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1222         Check for strtoul and strtoumax,
1223         as those declarations are made even in the signed case.
1224         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
1225         Likewise, for strtol and strtoimax.
1226
1227 2001-09-24  Jim Meyering  <jim@meyering.net>
1228
1229         * gettext.m4: Use the version from gettext-0.10.40, not CVS.
1230
1231 2001-09-23  Jim Meyering  <jim@meyering.net>
1232
1233         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
1234         instead of the mere test for existence of mntent.h.  The latter
1235         would get a false-positive on AIX 3.4 systems.
1236         In the outer getmntent if-block, don't die if neither of the getmntent
1237         tests succeeds.  Instead, just fall through and continue with the
1238         remaining tests.
1239
1240 2001-09-22  Jim Meyering  <jim@meyering.net>
1241
1242         * gettext.m4: New file.  From gettext.
1243         * lcmessage.m4: Sync with gettext -- this changes only comments.
1244         * progtest.m4: Likewise
1245         * isc-posix.m4: Decrement serial number to sync with gettext.
1246         * glibc21.m4: Likewise.
1247
1248         * libintl.m4: Remove.  No longer used.
1249
1250 2001-09-20  Jim Meyering  <jim@meyering.net>
1251
1252         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
1253         strtoimax.
1254         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
1255         strtoumax.
1256
1257 2001-09-17  Jim Meyering  <jim@meyering.net>
1258
1259         * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
1260         * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
1261         * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
1262         * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
1263         * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
1264         whenever the right hand side need not be expanded by the shell.
1265
1266 2001-09-16  Paul Eggert  <eggert@twinsun.com>
1267
1268         * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
1269         library.  It's not correct, as some older glibcs are buggy.
1270         fnmatch wasn't fixed until glibc 2.2.
1271
1272         Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
1273         special shell magic here.
1274
1275 2001-09-16  Jim Meyering  <jim@meyering.net>
1276
1277         * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
1278         * jm-macros.m4: Require it.
1279
1280 2001-09-15  Jim Meyering  <jim@meyering.net>
1281
1282         * jm-macros.m4: Check for help2man.
1283
1284 2001-09-11  Jim Meyering  <jim@meyering.net>
1285
1286         * host-os.m4 (UTILS_HOST_OS): New file/macro.
1287         The body, by Paul Eggert, was moved here from configure.in.
1288         * jm-macros.m4: Require UTILS_HOST_OS.
1289
1290 2001-09-04  Paul Eggert  <eggert@twinsun.com>
1291
1292         * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
1293         (jm_PREREQ): Use it.
1294
1295 2001-09-03  Paul Eggert  <eggert@twinsun.com>
1296
1297         * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
1298         sys/param.h, as pathmax.h includes them.
1299
1300 2001-09-03  Paul Eggert  <eggert@twinsun.com>
1301
1302         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
1303         (jm_PREREQ_XGETCWD): New macro.
1304
1305         * getcwd.m4: New file.
1306
1307 2001-09-01  Jim Meyering  <jim@meyering.net>
1308
1309         * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
1310         Used by df.
1311
1312 2001-08-30  Paul Eggert  <eggert@twinsun.com>
1313
1314         Simplify code, partly by assuming autoconf 2.52 semantics.
1315
1316         * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
1317
1318         * inttypes.m4 (AC_PREREQ): Bump to 2.52.
1319         (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
1320         All uses removed.
1321         (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
1322         Move AC_REQUIRE to next-to-top level, to avoid confusion.
1323         Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
1324         * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
1325         * jm-macros.m4 (jm_MACROS): Likewise.
1326
1327         * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
1328
1329         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1330         Quote first arg of AC_DEFUN.
1331         Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
1332         since they are needed to parse the include file even if we need
1333         only xstrtoimax.  Simplify logic behind the args to AC_REPLACE.
1334         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
1335         but with opposite signedness.
1336
1337 2001-08-30  Paul Eggert  <eggert@twinsun.com>
1338
1339         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
1340         (jm_PREREQ_EXCLUDE): New macro.
1341
1342 2001-08-26  Jim Meyering  <jim@meyering.net>
1343
1344         * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
1345
1346         * xstrtoimax.m4: New file.
1347         * xstrtoumax.m4: Add comments explaining why we
1348         AC_REPLACE_FUNCS(strtol).
1349
1350 2001-06-20  Paul Eggert  <eggert@twinsun.com>
1351
1352         * inttypes.m4: Add AC_PREREQ(2.13).
1353         (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
1354         (jm_AC_TYPE_INTMAX_T): New macro.
1355         (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
1356
1357         * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
1358
1359         * longlong.m4: Renamed from ulonglong.m4.
1360         * inttypes.m4: Renamed from inttypes_h.m4.
1361         * uintmax_t.m4: Removed.
1362
1363 2001-08-12  Jim Meyering  <jim@meyering.net>
1364
1365         * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
1366         d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
1367         fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
1368         group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
1369         jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
1370         link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
1371         mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
1372         prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
1373         rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
1374         strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
1375         utime.m4, utimes.m4, xstrtoumax.m4:
1376         Quote the first argument in each use of AC_DEFUN.
1377
1378 2001-08-05  Jim Meyering  <jim@meyering.net>
1379
1380         * jm-macros.m4: Require autoconf-2.52.
1381
1382 2001-08-03  Paul Eggert  <eggert@twinsun.com>
1383
1384         The following changes are from gettext 0.10.39 as maintained by
1385         Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
1386
1387         * codeset.m4: Upgrade to serial AM1.
1388         (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
1389         all uses changed.  Quote first arg of AC_DEFUN.
1390         (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
1391
1392         * iconv.m4: Upgrade to serial AM2.
1393         (AM_ICONV): Renamed from jm_ICONV; all uses changed.
1394         Add --with-libconv-prefix.
1395         Quote first arg of AC_DEFUN.  Add description for ICONV_CONST.
1396         (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
1397         (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
1398         (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
1399         * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
1400
1401         * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
1402         * getline.m4 (AM_FUNC_GETLINE): Likewise.
1403         * glibc21.m4 (jm_GLIBC21): Likewise.
1404         * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
1405         * isc-posix.m4 (AC_ISC_POSIX): Likewise.
1406         * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
1407         * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
1408         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
1409         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
1410
1411         * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
1412         string.h any more.
1413
1414         * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
1415         not the default value.
1416
1417         2001-06-25  Bruno Haible  <haible@clisp.cons.org>
1418         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
1419         Also check for mbsinit.  Needed for SCO 3.2v5.0.2.
1420         Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
1421         Also check for iswcntrl, used for wcwidth fallback.
1422         Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
1423         to Autoconf 2.13.
1424
1425 2001-08-03  Jim Meyering  <jim@meyering.net>
1426
1427         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
1428         as it was in the original.  Reported by Paul Eggert.
1429
1430 2001-07-16  Jim Meyering  <jim@meyering.net>
1431
1432         * gettimeofday.m4: New file.
1433         Prompted by a report from Bernhard Baehr.
1434
1435 2001-07-15  Jim Meyering  <jim@meyering.net>
1436
1437         * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
1438         Now it's in ../Makefile.cfg.
1439
1440 2001-07-04  Jim Meyering  <jim@meyering.net>
1441
1442         * Makefile.am.in (glibc-io.struct): New target.  Rework the code
1443         that generates jm-glibc-io.m4 so that it doesn't trigger any make
1444         distcheck failure.
1445
1446 2001-07-02  Jim Meyering  <jim@meyering.net>
1447
1448         The following changes were prompted by suggestions from Bruno Haible.
1449
1450         * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
1451         is now generated.
1452         * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
1453         definition of EXTRA_DIST.
1454         (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
1455         ensure that the generated file is created/updated whenever the list
1456         of $(unlocked_functions) is changed.
1457         (jm-glibc-io.m4): New rule.
1458         (unlocked-io.h): New rule -- currently unused.
1459
1460 2001-06-24  Jim Meyering  <jim@meyering.net>
1461
1462         * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
1463         unmatched right bracket, rather than kludging it with an extra,
1464         falsely-matching quote in a comment.  Patch by Akim Demaille.
1465
1466 2001-05-27  Jim Meyering  <jim@meyering.net>
1467
1468         * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
1469         Check for ut_type in struct utmp.
1470
1471 2001-05-22  Jim Meyering  <jim@meyering.net>
1472
1473         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
1474         now that we use the package-supplied version unconditionally.
1475         (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
1476
1477 2001-05-21  Jim Meyering  <jim@meyering.net>
1478
1479         * regex.m4: Change a couple backticks to single quotes to avoid shell
1480         syntax errors.
1481
1482 2001-05-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
1483
1484         * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
1485
1486 2001-05-11  Paul Eggert  <eggert@twinsun.com>
1487
1488         * strftime.m4 (jm_FUNC_GNU_STRFTIME):
1489         Don't bother to check library strftime, since
1490         we'll be using our own my_strftime function anyway.
1491         Define my_strftime instead of strftime.
1492
1493 2001-05-15  Jim Meyering  <jim@meyering.net>
1494
1495         * regex.m4: Use proper quoting so brackets appear in the test program.
1496         Reported by, and with help from, Bruno Haible.
1497
1498 2001-05-13  Jim Meyering  <jim@meyering.net>
1499
1500         * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
1501
1502 2000-11-26  Paul Eggert  <eggert@twinsun.com>
1503
1504         * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
1505
1506 2001-04-21  Jim Meyering  <jim@meyering.net>
1507
1508         * rmdir-errno.m4: Write to a new file, so that a restrictive umask
1509         doesn't interfere.
1510
1511 2001-04-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
1512
1513         * ftruncate.m4: Check for chsize.
1514         Link with ftruncate.o unconditionally if ftruncate is missing.
1515         This was required when cross-compiling to i586-mingw32msvc.
1516
1517 2001-03-24  Jim Meyering  <jim@meyering.net>
1518
1519         * jm-macros.m4: Require autoconf-2.49d.
1520
1521 2001-03-20  Bruno Haible  <haible@clisp.cons.org>
1522
1523         * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
1524
1525 2001-03-17  Jim Meyering  <jim@meyering.net>
1526
1527         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
1528         now that the version in autoconf is equivalent.
1529         (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
1530
1531         * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
1532         Suggestion from Akim Demaille.
1533
1534         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
1535         (jm_PREREQ_TEMPNAME): New function.
1536
1537 2001-02-25  Paul Eggert  <eggert@twinsun.com>
1538
1539         * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
1540         lacks mkstemp.  Compile our own tempname.c if we compile our own
1541         mkstemp.c, as mkstemp relies on tempname.
1542
1543 2001-03-01  Jim Meyering  <jim@meyering.net>
1544
1545         * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
1546         AH_VERBATIM really does output its argument verbatim.
1547
1548 2001-02-18  Paul Eggert  <eggert@twinsun.com>
1549
1550         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
1551
1552 2001-02-17  Jim Meyering  <jim@meyering.net>
1553
1554         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
1555         getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
1556         further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
1557         UnixWare 7.1.1.
1558
1559         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
1560         rather than AC_CACHE_VAL.
1561
1562 2001-02-17  Paul Eggert  <eggert@twinsun.com>
1563
1564         * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
1565         * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
1566         Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
1567         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
1568
1569 2001-02-07  Jim Meyering  <jim@meyering.net>
1570
1571         * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
1572
1573 2001-02-05  Jim Meyering  <jim@meyering.net>
1574
1575         * jm-macros.m4: Require autoconf-2.14d (not yet released), because
1576         it includes the patch required for `large file' support with at least
1577         HP-UX's 10.20 /bin/cc.
1578
1579 2001-02-03  Jim Meyering  <jim@meyering.net>
1580
1581         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
1582         AS_IF, now that it works once again (mysteriously).
1583         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1584
1585 2001-01-30  Jim Meyering  <jim@meyering.net>
1586
1587         Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
1588         * chown.m4: Rename conftestchown to conftest.chown.
1589         * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
1590         * utimes.m4: s/conftestdata/conftest.data/
1591         Inspired by Pavel Roskin's change in autoconf.
1592
1593 2001-01-27  Jim Meyering  <jim@meyering.net>
1594
1595         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
1596         a use of AS_IF.
1597         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1598
1599 2001-01-26  Jim Meyering  <jim@meyering.net>
1600
1601         * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
1602         quotearg.c includes it.
1603
1604 2001-01-15  Bruno Haible  <haible@clisp.cons.org>
1605
1606         * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
1607         has const.
1608
1609 2001-01-20  Jim Meyering  <jim@meyering.net>
1610
1611         Be sure that headers are checked before used in code compiled
1612         for the type checks.
1613         * jm-macros.m4 (jm_MACROS): Remove all header checks.
1614         In place of that, invoke jm_CHECK_ALL_TYPES.
1615         (jm_CHECK_ALL_HEADERS): New functions with the above checks.
1616         (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
1617         Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
1618         The check for ssize_t was mistakenly run before the test for unistd.h.
1619
1620         The configure-time check for stdbool.h was missing.
1621         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
1622         (jm_PREREQ_HASH): New function.
1623
1624 2001-01-17  Jim Meyering  <jim@meyering.net>
1625
1626         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
1627         for autoconf-2.49c.
1628         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
1629
1630 2001-01-14  Jim Meyering  <jim@meyering.net>
1631
1632         * rename.m4: Use temporary directories named conftestdir{,2}, not
1633         foo and bar.  Create conftestdir/ in the script, not in the C code.
1634         Remove directories in the script, not in the C code.
1635         Remove conftestdir{,2} before trying to create the directory.
1636         Make the entire configure script fail if the mkdir fails.
1637
1638 2001-01-02  Volker Borchert  <bt@teknon.de>
1639
1640         * rename.m4: New file.
1641         * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
1642
1643 2001-01-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
1644
1645         * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
1646         expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
1647         so `make install' also works in VPATH builds.
1648
1649 2001-01-01  Jim Meyering  <jim@meyering.net>
1650
1651         * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
1652         on systems with utmpx.h.  It's necessary for the declaration of utmp's
1653         ut_user member.  Reported by Andreas Jaeger.
1654
1655         * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
1656         They are required for the declarations of getgrgid and getpwuid resp.
1657         (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
1658         Reported by Andreas Jaeger.
1659
1660 2000-12-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
1661
1662         * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
1663         prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
1664         can be used in subdirectories.
1665
1666 2000-12-26  Jim Meyering  <jim@meyering.net>
1667
1668         * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
1669         with autoheader.
1670
1671 2000-12-17  Jim Meyering  <jim@meyering.net>
1672
1673         * dos.m4 (jm_AC_DOS): New file and macro.
1674         * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
1675
1676 2000-12-06  Paul Eggert  <eggert@twinsun.com>
1677
1678         * off_t-format.m4: Remove this file.
1679         * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
1680
1681 2000-12-06  Jim Meyering  <jim@meyering.net>
1682
1683         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
1684         strtoull, we may well need the replacement strtoul, too.
1685         Check for declarations of strtoul and strtoull.
1686         Check for strtol.  Mainly as a cue to cause automake to include
1687         strtol.c -- that file is included by each of strtoul.c and strtoull.c.
1688         Check for limits.h -- strtol.c needs it.
1689
1690 2000-12-02  Jim Meyering  <jim@meyering.net>
1691
1692         * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
1693         * jm-macros.m4 (jm_MACROS): require it.
1694
1695 2000-11-30  Jim Meyering  <jim@meyering.net>
1696
1697         * jm-macros.m4 (jm_MACROS): Check for stdint.h.
1698
1699 2000-11-30  Jim Meyering  <jim@meyering.net>
1700
1701         * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
1702
1703 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
1704
1705         * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
1706
1707 2000-11-04  Jim Meyering  <jim@meyering.net>
1708
1709         * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
1710
1711 2000-10-29  Jim Meyering  <jim@meyering.net>
1712
1713         * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
1714         * ls-mntd-fs.m4: Likewise
1715
1716 2000-10-28  Jim Meyering  <jim@meyering.net>
1717
1718         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
1719         (jm_PREREQ_MEMCHR): New function.
1720
1721 2000-10-21  Jim Meyering  <jim@meyering.net>
1722
1723         * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
1724         * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
1725         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
1726
1727 2000-09-18  Jim Meyering  <jim@meyering.net>
1728
1729         * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
1730         Otherwise, everyone ends up linking with -lelf for some configurations.
1731         Reported by Mike Stone.
1732
1733 2000-08-26  Jim Meyering  <jim@meyering.net>
1734
1735         * jm-macros.m4: Use jm_FUNC_FPENDING.
1736         * fpending.m4: New file.
1737
1738 2000-08-20  Jim Meyering  <jim@meyering.net>
1739
1740         * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
1741         `#if !HAVE_UTMPX_H'.  The latter would lose on systems with neither
1742         utmp.h nor utmpx.h.  Reported by Eli Zaretskii.
1743
1744 2000-08-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1745
1746         Improve fileutils installation on systems where running
1747         programs (like install) can't be unlinked.
1748         * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
1749         * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
1750
1751 2000-08-06  Paul Eggert  <eggert@twinsun.com>
1752
1753         * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
1754         not char, for compatibility with glibc 2.1.3 strftime.c.
1755
1756 2000-07-23  Paul Eggert  <eggert@twinsun.com>
1757
1758         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
1759
1760 2000-07-23  Jim Meyering  <jim@meyering.net>
1761
1762         * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
1763         getgrgid, getpwuid, getuid.
1764
1765 2000-07-16  Bruno Haible  <haible@clisp.cons.org>
1766
1767         * mbswidth.m4: New file.
1768         * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
1769
1770 2000-07-14  Jim Meyering  <jim@meyering.net>
1771
1772         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
1773
1774 2000-07-10  Paul Eggert  <eggert@twinsun.com>
1775
1776         From a suggestion by Bruno Haible.
1777         * mbstate_t.m4 (AC_MBSTATE_T):
1778         Renamed from AC_MBSTATE_T_OBJECT.  All uses changed.
1779         Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
1780         and mbstate_t, to a single-part test that simply defines mbstate_t.
1781         * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
1782
1783 2000-07-10  Jim Meyering  <jim@meyering.net>
1784
1785         * strerror_r.m4: Mirror the correction made in autoconf.
1786
1787         * gnu-source.m4: Output to confdefs.h directly.
1788         Suggestion from Akim Demaille.
1789
1790 2000-07-09  Jim Meyering  <jim@meyering.net>
1791
1792         * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
1793         to link seq.  If so, set SEQ_LIBM to -lm.  From Bruno Haible.
1794
1795         * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
1796         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
1797
1798 2000-07-05  Bruno Haible  <haible@clisp.cons.org>
1799
1800         * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
1801         to strerror_r.
1802         Include <ctype.h> for use of isalpha.
1803
1804 2000-07-05  Paul Eggert  <eggert@twinsun.com>
1805         and Bruno Haible  <haible@clisp.cons.org>
1806
1807         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
1808         only if the test for an object-type mbstate_t fails.  This
1809         prevents us from mistakenly reporting that mbstate_t is a
1810         system object type after we "#define mbstate_t int" to work
1811         around its lack.
1812
1813 2000-07-04  Jim Meyering  <jim@meyering.net>
1814
1815         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
1816         of the deprecated AC_CHECKING.
1817
1818 2000-07-03  Jim Meyering  <jim@meyering.net>
1819
1820         * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
1821
1822 2000-07-03  Paul Eggert  <eggert@twinsun.com>
1823
1824         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
1825         Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
1826
1827 2000-07-02  Jim Meyering  <jim@meyering.net>
1828
1829         * mbstate_t.m4: Also define mbstate_t, if necessary.
1830
1831         * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
1832         AC_LIBOBJ(function_name).
1833         * chown.m4: Likewise.
1834         * fnmatch.m4: Likewise.
1835         * ftruncate.m4: Likewise.
1836         * getgroups.m4: Likewise.
1837         * getline.m4: Likewise.
1838         * group-member.m4: Likewise.
1839         * jm-macros.m4: Likewise.
1840         * lstat.m4: Likewise.
1841         * malloc.m4: Likewise.
1842         * memcmp.m4: Likewise.
1843         * nanosleep.m4: Likewise.
1844         * putenv.m4: Likewise.
1845         * realloc.m4: Likewise.
1846         * regex.m4: Likewise.
1847         * stat.m4: Likewise.
1848         * strftime.m4: Likewise.
1849
1850 2000-07-01  Jim Meyering  <jim@meyering.net>
1851
1852         * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
1853         problem.
1854
1855 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
1856
1857         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
1858         macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
1859
1860 2000-07-01  Jim Meyering  <jim@meyering.net>
1861
1862         * uptime.m4: Put double quotes around use of $cross_compiling.
1863
1864 2000-06-28  Jim Meyering  <jim@meyering.net>
1865
1866         * mbstate_t.m4: Use stdlib.h, not stdio.h.  The latter is not included
1867         by quotearg.c, for which we perform this test.  From Bruno Haible.
1868
1869 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
1870
1871         * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
1872         * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
1873         <utmpx.h> exists, put readutmp.o into LIBOBJS.
1874
1875 2000-06-25  Jim Meyering  <jim@meyering.net>
1876
1877         * mbstate_t.m4: Include stdio.h before wchar.h to work around
1878         Linux header bug when _XOPEN_SOURCE is defined to 500.
1879
1880 2000-06-24  Jim Meyering  <jim@meyering.net>
1881
1882         * strerror_r.m4: Revive this file -- to try out an experimental
1883         version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
1884         for which strerror does return char*, but which lacks a conveniently
1885         accessible declaration of the function.  If the compile-test says
1886         strerror_r doesn't work, then resort to a `run'-test that works on
1887         BeOS and segfaults on DEC Unix.
1888
1889 2000-06-19  Paul Eggert  <eggert@twinsun.com>
1890
1891         * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
1892         * prereq.m4 (jm_PREREQ_QUOTEARG): Use it.  Add check for iswprint.
1893
1894 2000-06-23  Jim Meyering  <jim@meyering.net>
1895
1896         * afs.m4: Add missing AC_MSG_RESULT.
1897         Reported by Bruno Haible.
1898
1899         * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
1900         Suggestion from Bruno Haible.
1901
1902 2000-06-21  Jim Meyering  <jim@meyering.net>
1903
1904         * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
1905
1906 2000-06-18  Jim Meyering  <jim@meyering.net>
1907
1908         * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
1909
1910         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
1911         `checking whether...' message to be consistent with that of the
1912         lstat test.
1913
1914 2000-06-16  Bruno Haible  <haible@clisp.cons.org>
1915
1916         * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
1917
1918 2000-06-12  Jim Meyering  <jim@meyering.net>
1919
1920         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
1921         from autoconf, and tweak the latter to accept an optional argument.
1922         * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
1923         the optional argument, `lib'.
1924
1925 2000-06-08  Jim Meyering  <jim@meyering.net>
1926
1927         * largefile.m4: Remove file (now that it's part of autoconf).
1928
1929 2000-06-04  Paul Eggert  <eggert@twinsun.com>
1930
1931         Rewrite largefile configuration so that we don't need to run
1932         getconf and don't need AC_CANONICAL_HOST.  [I'm leaving the use of
1933         AC_CANONICAL_HOST in configure.in -- jmm]
1934
1935         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
1936         AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
1937         (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
1938         (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
1939         CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
1940         All uses changed.
1941         Instead of inspecting the output of getconf, try to compile the
1942         test program without and with the macro definition.
1943         (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
1944         for getconf.  Instead, check for the needed flags by compiling
1945         test programs.
1946
1947 2000-06-03  Jim Meyering  <jim@meyering.net>
1948
1949         * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
1950         now that autoconf requires that.
1951
1952         * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
1953         #undefs.  E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
1954         Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
1955
1956 2000-05-26  Bruno Haible  <haible@clisp.cons.org>
1957
1958         * glibc21.m4: New file.
1959         * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
1960
1961 2000-05-28  Jim Meyering  <jim@meyering.net>
1962
1963         * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
1964         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1965         * stat.m4: Likewise.
1966         * lstat.m4: Likewise.
1967         * lstat-slash.m4: Remove file (absorbed into autoconf).
1968
1969         * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
1970         * strerror_r.m4: Remove file (absorbed into autoconf).
1971
1972 2000-05-26  Jim Meyering  <jim@meyering.net>
1973
1974         * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
1975
1976 2000-05-24  Jim Meyering  <jim@meyering.net>
1977
1978         * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
1979         autoconf requires that.
1980         * lib-check.m4: Likewise.
1981         * jm-macros.m4: Likewise.
1982         * strftime.m4: Likewise.
1983
1984         * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
1985         now that autoconf requires that.
1986
1987 2000-05-22  Jim Meyering  <jim@meyering.net>
1988
1989         * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1990         * lstat.m4: Likewise.
1991
1992 2000-05-20  Jim Meyering  <jim@meyering.net>
1993
1994         * prereq.m4 (jm_PREREQ_HUMAN): New macro.
1995         (jm_PREREQ): Use it.
1996
1997 2000-05-09  Jim Meyering  <jim@meyering.net>
1998
1999         * gettext.m4: Rename this...
2000         * libintl.m4: ...to this.
2001
2002 2000-05-06  Jim Meyering  <jim@meyering.net>
2003
2004         * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
2005         (AC_REPLACE_FUNCS): Add strnlen.
2006
2007         * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
2008         * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
2009
2010         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
2011         AC_SEARCH_LIBS call for nanosleep.
2012         (LIB_NANOSLEEP): Set and AC_SUBST.
2013
2014 2000-05-03  Paul Eggert  <eggert@twinsun.com>
2015
2016         * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
2017         be 500, instead of _GNU_SOURCE to be 1, to work around glibc
2018         2.1.3 bug.  This avoids a clash when files like regex.c define
2019         _GNU_SOURCE.
2020
2021 2000-05-05  Jim Meyering  <jim@meyering.net>
2022
2023         * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
2024         call for clock_gettime.
2025         (LIB_CLOCK_GETTIME): Set and AC_SUBST.
2026
2027         * search-libs.m4: Update from autoconf.
2028
2029         su doesn't work on Solaris 2.6.
2030         * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
2031         <shadow.h>.  Reported by Dragos Harabor.
2032
2033 2000-05-03  Jim Meyering  <jim@meyering.net>
2034
2035         * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
2036
2037 2000-05-02  Paul Eggert  <eggert@twinsun.com>
2038
2039         * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
2040         this is needed to make ftello visible (e.g. glibc 2.1.3).  Use
2041         compile-time test, rather than inspecting host and OS, to
2042         decide whether to define _LARGEFILE_SOURCE.
2043
2044 2000-05-01  Jim Meyering  <jim@meyering.net>
2045
2046         * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
2047
2048         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
2049         Based on a patch from Bruno Haible.
2050
2051 2000-04-18  Jim Meyering  <jim@meyering.net>
2052
2053         * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
2054         (jm_PREREQ): Use it.
2055
2056 2000-04-17  Jim Meyering  <jim@meyering.net>
2057
2058         Get it right :-)
2059         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
2060         actual #define via AH_VERBATIM.  Don't need separate AC_DEFINE.
2061         Suggestion from Akim Demaille.
2062
2063 2000-04-14  Jim Meyering  <jim@meyering.net>
2064
2065         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
2066         of AC_DEFINE.  Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
2067
2068 2000-04-13  Jim Meyering  <jim@meyering.net>
2069
2070         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
2071         to insert required #ifndef into config.h.in.
2072         Suggestion from Akim Demaille.
2073
2074 2000-04-12  Jim Meyering  <jim@meyering.net>
2075
2076         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
2077         `AC_CHECK_HEADER' to check for locale.h.  Thanks to a report from
2078         Christian Krackowizer.
2079
2080         More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
2081         * jm-macros.m4 (_GNU_SOURCE): Define.
2082         (AC_SYS_LARGEFILE): Require.
2083         (AM_C_PROTOTYPES): Require.
2084
2085 2000-04-05  Paul Eggert  <eggert@twinsun.com>
2086
2087         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
2088         IRIX if the installer said otherwise.
2089
2090 2000-04-05  Jim Meyering  <jim@meyering.net>
2091
2092         Portability tweaks required for ultrix4.3.
2093         * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
2094         (jm_CHECK_DECLS): Add getutent to the list of functions.
2095         (_jm_DECL_HEADERS): Add utmpx.h.
2096         From John David Anglin.
2097
2098         * strftime.m4: Back out the 2000-04-02 change.
2099         Instead of that change, simply undefine putenv in the test program.
2100
2101 2000-04-03  Jim Meyering  <jim@meyering.net>
2102
2103         * gettext.m4: Fix typo in comment.
2104
2105         * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
2106         textutils/configure.in).  Suggestion from Paul Eggert.
2107         (AC_CHECK_FUNCS): Add nl_langinfo.  (also from textutils/configure.in)
2108
2109 2000-04-02  Paul Eggert  <eggert@twinsun.com>
2110
2111         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
2112         variable in the shell rather than using putenv, which isn't
2113         portable.  This avoids the configure-time inter-test dependency
2114         on the potentially-renamed putenv function.
2115
2116 2000-03-30  Paul Eggert  <eggert@twinsun.com>
2117
2118         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
2119         before checking struct stat.st_blksize, so that
2120         HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
2121
2122 2000-03-29  Paul Eggert  <eggert@twinsun.com>
2123
2124         * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
2125         since strftime.c uses HAVE_STRFTIME to decide whether to use
2126         the underlying strftime.
2127
2128 2000-03-10  Jim Meyering  <jim@meyering.net>
2129
2130         * lib-check.m4: Look for getspnam in -lgen, too.
2131         From Marco Franzen.
2132
2133 2000-02-02  Bruno Haible  <haible@clisp.cons.org>
2134
2135         * codeset.m4: New file.
2136         * iconv.m4: New file.
2137         * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
2138
2139 2000-03-04  Jim Meyering  <jim@meyering.net>
2140
2141         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
2142         for lib/localcharset.c.
2143
2144 2000-03-03  Jim Meyering  <jim@meyering.net>
2145
2146         * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
2147
2148 2000-03-02  Jim Meyering  <jim@meyering.net>
2149
2150         * timespec.m4: Require AC_HEADER_TIME before the cache check so
2151         the messages come out on separate lines.
2152
2153         * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
2154         rather than jm_CHECK_DECLARATIONS.
2155         * decl.m4: Remove now-unused file.
2156
2157         * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
2158
2159 2000-02-27  Jim Meyering  <jim@meyering.net>
2160
2161         * check-decl.m4: Add getenv to the list.
2162
2163 2000-02-23  Jim Meyering  <jim@meyering.net>
2164
2165         * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
2166         in place of my hack.
2167
2168 2000-02-10  Jim Meyering  <jim@meyering.net>
2169
2170         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
2171         gnu_nanosleep to rpl_nanosleep.
2172
2173 2000-02-09  Jim Meyering  <jim@meyering.net>
2174
2175         * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
2176         struct spwd, rather than in struct passwd.  Reported by Gaël Quéri.
2177
2178 2000-02-08  Akim Demaille  <akim@epita.fr>
2179
2180         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
2181         `[' and `]' and remove uses of `changequote'.
2182         (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
2183         (AC_SYS_LARGEFILE): Likewise.
2184         * gettext.m4 (AM_GNU_GETTEXT): Likewise.
2185         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
2186         of changequote.
2187         * regex.m4 (jm_INCLUDED_REGEX): Likewise.
2188         * readdir.m4 (jm_FUNC_READDIR): Likewise
2189         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
2190         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
2191
2192 2000-02-05  Jim Meyering  <jim@meyering.net>
2193
2194         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
2195         Remove explicit use of AC_HEADER_TIME.  It is required by
2196         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Using AC_HEADER_TIME and
2197         `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
2198         in autoconf whereby the expansion of the latter ended up preceding
2199         the expansion of its prerequisite, AC_HEADER_TIME.
2200         Reported by Volker Borchert.
2201
2202 2000-02-03  Jim Meyering  <jim@meyering.net>
2203
2204         * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
2205
2206 2000-02-02  Jim Meyering  <jim@meyering.net>
2207
2208         * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
2209         definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
2210         Reported by Eli Zaretskii.
2211
2212 2000-01-31  Jim Meyering  <jim@meyering.net>
2213
2214         * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
2215         functions.  Add the time.h and sys/time.h headers along with the
2216         AC_REQUIRE'ment of AC_HEADER_TIME.
2217
2218 2000-01-30  Jim Meyering  <jim@meyering.net>
2219
2220         * lib-check.m4: Clean up some kludgy old shadow password tests.
2221
2222         * prereq.m4 (utmp_includes): Define.
2223         Check for ut_user and ut_name members in both struct utmpx
2224         and struct utmp.
2225
2226 2000-01-29  Jim Meyering  <jim@meyering.net>
2227
2228         * lib-check.m4: New file containing library-related checks from
2229         fileutils and sh-utils (textutils had none).
2230
2231 2000-01-28  Jim Meyering  <jim@meyering.net>
2232
2233         * perl.m4: Change format of warning message to look more like that
2234         from the missing script.  Suggestion from François Pinard.
2235
2236 2000-01-25  Jim Meyering  <jim@meyering.net>
2237
2238         * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
2239         as time.h in the compile check.
2240         * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
2241         Fix typo in cross-compiling case: s/yes/no/.
2242
2243 2000-01-23  Jim Meyering  <jim@meyering.net>
2244
2245         * jm-macros.m4: Move df-related tests here from fileutils/configure.in
2246
2247         * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
2248         (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
2249
2250         * fsusage.m4: New file.  Extracted from fileutils/configure.in.
2251         s/space/ac_fsusage_space/.
2252         (jm_FILE_SYSTEM_USAGE): Take two parameters.
2253
2254         * ftruncate.m4: New file (derived from part of fileutils/configure.in).
2255         * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
2256         (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
2257
2258         * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
2259         AC_SUBST these here, rather than just in sh-util/configure.in, so
2260         that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
2261         all the same.
2262         (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
2263         (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
2264         (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
2265         (AC_SUBST(POW_LIBM)): Likewise.
2266         (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
2267
2268 2000-01-22  Jim Meyering  <jim@meyering.net>
2269
2270         * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
2271
2272         * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
2273
2274         * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
2275         configure.in
2276         (AC_CHECK_HEADERS): Likewise for sh-utils.
2277         (AC_CHECK_HEADERS): Likewise for textutils.
2278         Merge the three lists of headers.
2279
2280         * prereq.m4 (jm_PREREQ_ADDEXT): New macro.  Parts moved here
2281         from fileutils' configure.in.
2282
2283         * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
2284         Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
2285
2286         * check-decl.m4: Use #if rather than #ifdef.
2287         Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
2288         (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
2289         (_jm_DECL_HEADERS): Define new function.
2290         (jm_CHECK_DECLARATIONS): Require it.
2291
2292 2000-01-19  Jim Meyering  <jim@meyering.net>
2293
2294         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
2295         Use AC_HEADER_TIME.  Volker Borchert reported that OpenBSD-2.3/sparc
2296         defines `struct timespec' in <sys/time.h>
2297
2298         * c-bs-a.m4: Remove uses of changequote altogether.
2299         Thanks to Akim for explaining.
2300
2301 2000-01-16  Jim Meyering  <jim@meyering.net>
2302
2303         * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
2304         AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
2305         jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
2306         AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
2307
2308 2000-01-16  Jim Meyering  <jim@meyering.net>
2309
2310         * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
2311         because the latter didn't work.
2312
2313 2000-01-15  Jim Meyering  <jim@meyering.net>
2314
2315         * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
2316         (AC_REPLACE_FUNCS): Add memcpy and memset.
2317         Add these, too: stime strcspn stpcpy strstr strtol strtoul.
2318         Add strpbrk.
2319         Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
2320
2321 2000-01-12  Jim Meyering  <jim@meyering.net>
2322
2323         * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
2324         (jm_PREREQ): Use it.
2325         (jm_PREREQ_READUTMP): New macro.
2326         (jm_PREREQ): Use it.
2327
2328 2000-01-11  Paul Eggert  <eggert@twinsun.com>
2329
2330         Quote multibyte characters correctly.
2331         * c-bs-a.m4: New file.
2332         * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
2333         (jm_PREREQ): Use it.
2334
2335 2000-01-11  Paul Eggert  <eggert@twinsun.com>
2336
2337         * uintmax_t.m4: Port to autoconf 2.13.
2338
2339 2000-01-08  Jim Meyering  <meyering@ascend.com>
2340
2341         * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
2342         * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
2343
2344 2000-01-04  Jim Meyering  <meyering@ascend.com>
2345
2346         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
2347         jm_STRUCT_DIRENT_D_TYPE.
2348         * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
2349         jm_STRUCT_DIRENT_D_INO.
2350         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
2351         jm_STRUCT_UTIMBUF.
2352         * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
2353         * utime.m4: Likewise.
2354
2355         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
2356         * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
2357
2358 2000-01-03  Paul Eggert  <eggert@twinsun.com>
2359
2360         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
2361         (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
2362
2363 2000-01-02  Jim Meyering  <meyering@ascend.com>
2364
2365         * search-libs.m4: Escape `$' in $3 of dnl comment.  I no longer
2366         remember if this is necessary.
2367
2368 1999-12-26  Jim Meyering  <meyering@ascend.com>
2369
2370         * jm-macros.m4: Use it here.
2371         * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
2372
2373 1999-12-23  Jim Meyering  <meyering@ascend.com>
2374
2375         * jm-macros.m4: Check for clock_gettime (moved from
2376         fileutils/configure.in)
2377         Check for gettimeofday.
2378
2379 1999-12-20  Jim Meyering  <meyering@ascend.com>
2380
2381         * strftime.m4: Remove kludge, now that I'm using the fixed
2382         autoconf-2.14a-1999-12-20.
2383
2384 1999-12-19  Jim Meyering  <meyering@ascend.com>
2385
2386         * lstat-slash.m4: New file.
2387         * jm-macros.m4: Use the new macro:
2388         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2389
2390 1999-12-07  Jim Meyering  <meyering@ascend.com>
2391
2392         * perl.m4: Require that File::Compare be available, too.
2393         Too many systems seem to lack it.
2394
2395         * strftime.m4: Add checks for most of the cpp macros tested in
2396         GNU's strftime.c.  Prompted by a patch from Paul Eggert.
2397
2398 1999-11-18  Paul Eggert  <eggert@twinsun.com>
2399
2400         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
2401         problem with the QNX 4.25 shell, which doesn't propagate exit
2402         status of failed commands inside shell assignments.
2403
2404 1999-11-17  Jim Meyering  <meyering@ascend.com>
2405
2406         * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
2407
2408 1999-11-07  Jim Meyering  <meyering@ascend.com>
2409
2410         * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
2411
2412 1999-11-06  Jim Meyering  <meyering@ascend.com>
2413
2414         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
2415         * jm-macros.m4 (jm_MACROS): Use it here.
2416
2417 1999-11-05  Jim Meyering  <meyering@ascend.com>
2418
2419         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
2420         of textutils, fileutils, and sh-utils into this one (shared between
2421         those packages) file.
2422         Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
2423         AC_STRUCT_ST_BLKSIZE.
2424
2425 1999-11-03  Jim Meyering  <meyering@ascend.com>
2426
2427         * ssize_t.m4: Remove file.  No longer needed since the new version of
2428         AC_CHECK_TYPE checks includes unistd.h.
2429         * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
2430         Suggestion from Akim Demaille.
2431
2432 1999-10-30  Jim Meyering  <meyering@ascend.com>
2433
2434         * uintmax_t.m4: Require 2.14a.  Remove backslash before backtick in
2435         m4-quoted string.
2436         * ls-mntd-fs.m4: Likewise.
2437         * jm-macros.m4: Likewise.  Also, use AC_TYPE_SSIZE_T instead
2438         * jm-winsz1.m4: Likewise.
2439
2440         * const.m4: Remove file, since the fix made it into the experimental
2441         version of autoconf.
2442         * mktime.m4: Likewise.
2443
2444         * check-type.m4: Remove file, now that the latest version of
2445         AC_CHECK_TYPE takes a third arg to specify additional #includes.
2446
2447         * ssize_t.m4: New file, requires experimental version of autoconf.
2448         * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
2449         AC_CHECK_TYPE.
2450
2451 1999-10-04  Jim Meyering  <meyering@ascend.com>
2452
2453         * jm-macros.m4: Don't require autoconf-2.14.1.
2454
2455 1999-09-22  Paul Eggert  <eggert@twinsun.com>
2456
2457         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
2458         2.95.1 bug with HP-UX 10.20.
2459
2460 1999-09-17  Jim Meyering  <meyering@ascend.com>
2461
2462         * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
2463         Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
2464         due to missing strdup (against sh-utils-2.0).
2465
2466 1999-08-29  Jim Meyering  <meyering@ascend.com>
2467
2468         * jm-macros.m4: Require jm_BISON.
2469         * bison.m4: New file.
2470
2471 1999-08-17  Paul Eggert  <eggert@twinsun.com>
2472
2473         * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
2474         in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
2475
2476 1999-08-05  Jim Meyering  <meyering@ascend.com>
2477
2478         * getline.m4: Rename test file from conftestdata to conftest.data
2479         to avoid conflicts with `conftest' on 8+3 filesystems.
2480         Suggestion from Eli Zaretskii.
2481
2482 1999-08-04  Jim Meyering  <meyering@ascend.com>
2483
2484         * jm-macros.m4: Move a 4-line block of code from the configure.in of
2485         fileutils and sh-utils (textutils's getline test was inadequate).
2486         (AM_FUNC_GETLINE): Run this test.
2487         (AC_CHECK_FUNCS): Check for getdelim.
2488         Reported by Bob Proulx.
2489
2490 1999-08-02  Jim Meyering  <meyering@ascend.com>
2491
2492         * jm-macros.m4: Add a comment.
2493
2494 1999-08-01  Jim Meyering  <meyering@ascend.com>
2495
2496         * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
2497
2498 1999-08-01  Paul Eggert  <eggert@twinsun.com>
2499
2500         * lfs.m4: Remove this file.
2501         * largefile.m4: New file.  It contains the old contents of
2502         lfs.m4, except that all names with prefix AC_LFS have been
2503         changed to use the prefix AC_SYS_LARGEFILE instead, to be
2504         compatible with future autoconf versions.  Also, some minor m4
2505         quoting problems have been fixed.
2506
2507 1999-07-16  Paul Eggert  <eggert@twinsun.com>
2508
2509         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
2510         that we can shift, multiply and divide unsigned long long
2511         values; Ultrix cc can't do it.
2512
2513 1999-07-14  Paul Eggert  <eggert@twinsun.com>
2514
2515         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
2516         <inttypes.h> defines strtoumax as a macro (and not as a
2517         function).
2518
2519 1999-07-05  Paul Eggert  <eggert@twinsun.com>
2520
2521         * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
2522         Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
2523         (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
2524         and simplify the shell code.
2525
2526 1999-07-03  Paul Eggert  <eggert@twinsun.com>
2527
2528         * mktime.m4: New file, which is a preview of what should appear
2529         in the next public autoconf release.
2530
2531 1999-07-20  Jim Meyering  <meyering@ascend.com>
2532
2533         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
2534
2535 1999-07-15  Jim Meyering  <meyering@ascend.com>
2536
2537         * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
2538
2539 1999-05-22  Jim Meyering  <meyering@ascend.com>
2540
2541         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
2542
2543 1999-05-20  Jim Meyering  <meyering@ascend.com>
2544
2545         * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
2546         Add a colon after each `then' in case $4 is empty.
2547
2548 1999-05-16  Jim Meyering  <meyering@ascend.com>
2549
2550         * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
2551
2552 1999-05-10  Jim Meyering  <meyering@ascend.com>
2553
2554         * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
2555
2556         * jm-macros.m4: Require 2.14.1, since we use newly-renamed
2557         AC_FUNC_MKTIME.
2558
2559 1999-05-10  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2560
2561         * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
2562
2563 1999-05-04  Paul Eggert  <eggert@twinsun.com>
2564
2565         * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
2566         not CPPFLAGS, so that linking works correctly in IRIX.
2567
2568 1999-04-30  Paul Eggert  <eggert@twinsun.com>
2569
2570         * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
2571
2572 1999-04-20  Jim Meyering  <meyering@ascend.com>
2573
2574         * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
2575         AC_REPLACE xstroull if necessary.  From Paul Eggert.
2576         (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
2577
2578 1999-04-20  Paul Eggert  <eggert@twinsun.com>
2579
2580         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
2581         long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
2582         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
2583         jm_AC_TYPE_UNSIGNED_LONG_LONG.
2584         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
2585
2586         * lfs.m4: Port to AIX and HP-UX.  Support cross-compilation.
2587
2588 1999-04-18  Jim Meyering  <meyering@ascend.com>
2589
2590         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
2591         * jm-macros.m4: Use it.
2592
2593 1999-04-06  Jim Meyering  <meyering@ascend.com>
2594
2595         * strftime.m4: Remove test for %f.
2596
2597 1999-03-29  Jim Meyering  <meyering@ascend.com>
2598
2599         * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
2600         superset of the AC_TYPE_* checks in the textutils, fileutils,
2601         and sh-utils, plus AC_TYPE_PID_T.  Paul Eggert suggested adding
2602         AC_TYPE_PID_T.
2603
2604 1999-03-28  Jim Meyering  <meyering@ascend.com>
2605
2606         * jm-macros.m4: Define GNU_PACKAGE here.
2607         Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
2608         replaced e.g., in the *.sh files of the sh-utils.
2609
2610 1999-03-20  Jim Meyering  <meyering@ascend.com>
2611
2612         * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
2613         * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
2614         Don't depend on AM_GLIBC.  Suggestions from Alain Magloire.
2615
2616 1999-03-19  Jim Meyering  <meyering@ascend.com>
2617
2618         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
2619
2620 1999-03-12  Jim Meyering  <meyering@ascend.com>
2621
2622         * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
2623
2624 1999-03-07  Jim Meyering  <meyering@ascend.com>
2625
2626         * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
2627
2628 1999-02-17  Jim Meyering  <meyering@ascend.com>
2629
2630         * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
2631         in macro definition.  From Eli Zaretskii and Alain Magloire.
2632
2633 1999-02-07  Jim Meyering  <meyering@ascend.com>
2634
2635         * group-member.m4: New file -- extracted from sh-utils' configure.in.
2636
2637         1999-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
2638         * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
2639
2640 1999-02-06  Jim Meyering  <meyering@ascend.com>
2641
2642         * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
2643         * fnmatch.m4: Likewise.
2644         * getgroups.m4: Likewise.
2645         * lstat.m4: Likewise.
2646         * malloc.m4: Likewise.
2647         * putenv.m4: Likewise.
2648         * realloc.m4: Likewise.
2649         * regex.m4: Likewise.
2650         * stat.m4: Likewise.
2651         * strftime.m4: Likewise.
2652         Suggestion from Alain Magloire.
2653
2654         * chown.m4: Use `.$ac_objext', not `.o'.
2655         * fnmatch.m4: Likewise.
2656         * getgroups.m4: Likewise.
2657         * getline.m4: Likewise.
2658         * lstat.m4: Likewise.
2659         * malloc.m4: Likewise.
2660         * memcmp.m4: Likewise.
2661         * putenv.m4: Likewise.
2662         * realloc.m4: Likewise.
2663         * regex.m4: Likewise.
2664         * stat.m4: Likewise.
2665         * strftime.m4: Likewise.
2666         Suggestion from Alain Magloire.
2667
2668         * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
2669         an argument.
2670
2671         * regex.m4: Add a run-time Test for proper operation of
2672         re_compile_pattern.
2673
2674 1999-01-31  Jim Meyering  <meyering@ascend.com>
2675
2676         * getloadavg.m4: Check for locale.h and the function, setlocale.
2677
2678 1999-01-30  Jim Meyering  <meyering@ascend.com>
2679
2680         * check-type.m4: Use 3-arg form of AC_DEFINE.
2681
2682         * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
2683         rather than my private copy, now that the official one is up to date.
2684         * mktime.m4: Remove file.
2685
2686         * getloadavg.m4: Use 3-arg form of AC_DEFINE.
2687         * uptime.m4: Likewise.
2688         * uintmax_t.m4: Likewise.
2689
2690 1999-01-28  Jim Meyering  <meyering@ascend.com>
2691
2692         * jm-macros.m4: Use jm_AFS.
2693         * afs.m4: New file (from fileutils' configure.in).
2694
2695         * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
2696         * chown.m4: Likewise.
2697         * d-ino.m4: Likewise.
2698         * d-type.m4: Likewise.
2699         * fnmatch.m4: Likewise.
2700         * getgroups.m4: Likewise.
2701         * gettext.m4: Likewise.
2702         * jm-mktime.m4: Likewise.
2703         * jm-winsz2.m4: Likewise.
2704         * lcmessage.m4: Likewise.
2705         * ls-mntd-fs.m4: Likewise.
2706         * malloc.m4: Likewise.
2707         * memcmp.m4: Likewise.
2708         * putenv.m4: Likewise.
2709         * realloc.m4: Likewise.
2710         * st_mtim.m4: Likewise.
2711         * strftime.m4: Likewise.
2712
2713 1999-01-16  Jim Meyering  <meyering@ascend.com>
2714
2715         * jm-macros.m4 (ARGMATCH_DIE): Define.
2716         (ARGMATCH_DIE_DECL): Define.
2717
2718 1999-01-12  Jim Meyering  <meyering@ascend.com>
2719
2720         * Makefile.am.in: Rewrite to avoid using fmt.
2721         Reported by Lars Hecking.
2722
2723 1999-01-10  Jim Meyering  <meyering@ascend.com>
2724
2725         * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
2726         gross kludge.
2727         * inttypes_h.m4: Likewise.
2728         * lstat.m4: Likewise.
2729         * malloc.m4: Likewise.
2730         * readdir.m4: Likewise.
2731         * realloc.m4: Likewise.
2732         * st_dm_mode.m4: Likewise.
2733         * stat.m4: Likewise.
2734         * utimbuf.m4: Likewise.
2735         * utimes.m4: Likewise.
2736
2737         * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
2738         AC_CHECK_FUNCS hack.  Now, it's still a hack, but at least the
2739         comments in config.h.in are meaningful.
2740
2741         * jm-macros.m4: Require autoconf-2.13 here.
2742
2743         * regex.m4: By default, don't use the included regex.c on systems
2744         with glibc 2.  Suggestion from Uli Drepper.
2745
2746 1999-01-02  Jim Meyering  <meyering@ascend.com>
2747
2748         * jm-macros.m4: Replace strcasecmp and strncasecmp.
2749
2750 1998-12-18  Jim Meyering  <meyering@ascend.com>
2751
2752         * Makefile.am.in (Makefile.am): Simplify rule.
2753         Based on a suggestion from Lars Hecking.
2754
2755 1998-11-16  Jim Meyering  <meyering@ascend.com>
2756
2757         * lfs.m4: Double-quote the `uname...` expression.
2758
2759 1998-11-16  Paul Eggert  <eggert@twinsun.com>
2760
2761         * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
2762
2763 1998-11-14  Jim Meyering  <meyering@ascend.com>
2764
2765         * lstat.m4: Correct comment.  POSIX does not permit it to succeed.
2766         * stat.m4: Likewise.
2767
2768 1998-11-03  Jim Meyering  <meyering@ascend.com>
2769
2770         * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
2771         * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
2772
2773 1998-10-18  Jim Meyering  <meyering@ascend.com>
2774
2775         * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
2776
2777 1998-10-17  Jim Meyering  <meyering@ascend.com>
2778
2779         * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
2780         include, though we still hard-code the `require'-like AC_CHECK_HEADERS
2781         calls for those previously hard-coded headers.  Instead, take a new
2782         parameter.
2783         (jm_CHECK_DECLARATIONS): Reflect interface change.
2784         * check-decl.m4 (jm_CHECK_DECLS): Likewise.
2785         (jm_CHECK_DECL_LOCALTIME_R): New macro.
2786
2787         * mktime.m4: Test for spring-forward gap before long-running test.
2788
2789 1998-10-14  Jim Meyering  <meyering@ascend.com>
2790
2791         * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
2792         instead of "TZ=America/Vancouver".  From Paul Eggert.
2793
2794 1998-10-11  Jim Meyering  <meyering@ascend.com>
2795
2796         * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
2797         This adds a test for a recently added compatibility fix for mktime.c.
2798         * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
2799
2800 1998-09-27  Jim Meyering  <meyering@ascend.com>
2801
2802         * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
2803
2804         * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro.  Extracted from
2805         ../configure.in, including a change from Gordon Matzigkeit to allow
2806         cross-compiling for the Hurd.
2807
2808         * glibc.m4: New file/macro to test for the GNU C Library
2809         versions 1 and 2.  From Gordon Matzigkeit.
2810         Indent.
2811
2812 1998-09-21  Jim Meyering  <meyering@ascend.com>
2813
2814         * chown.m4: Declare locals: before, after.  From Andries Brouwer.
2815
2816 1998-08-18  Paul Eggert  <eggert@twinsun.com>
2817
2818         Port nanosecond-resolution times to UnixWare 2.1.2 and
2819         pedantic Solaris 2.6.
2820
2821         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
2822         AC_STRUCT_ST_MTIM.
2823         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
2824         Generate name of ns member, instead of just 1 or undef.
2825         Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
2826
2827 1998-08-15  Jim Meyering  <meyering@ascend.com>
2828
2829         * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
2830         * check-type.m4: New file.  Replacement for AC_CHECK_TYPE.
2831         * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
2832         instead of jm_TYPE_SSIZE_T.
2833
2834 1998-08-12  Jim Meyering  <meyering@ascend.com>
2835
2836         * st_dm_mode.m4: New file.  From Johan Danielsson.
2837
2838 1998-08-02  Jim Meyering  <meyering@ascend.com>
2839
2840         * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
2841         in acconfig.h manually.
2842
2843 1998-07-31  Paul Eggert  <eggert@twinsun.com>
2844
2845         * st_mtim.m4: New file.
2846
2847 1998-07-28  Jim Meyering  <meyering@ascend.com>
2848
2849         * utimes.m4: Undef stat.
2850
2851 1998-07-25  Jim Meyering  <meyering@ascend.com>
2852
2853         * utime.m4 (jm_FUNC_UTIME): New file and macro.
2854         * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
2855
2856 1998-07-09  Manfred Hollstein  <manfred@s-direktnet.de>
2857
2858         * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
2859         uid and gid actually remain unchanged.
2860
2861 1998-07-07  Jim Meyering  <meyering@ascend.com>
2862
2863         * jm-glibc-io.m4: Remove fclose_unlocked.
2864
2865 1998-07-04  Jim Meyering  <meyering@ascend.com>
2866
2867         * regex.m4: Use syscmd, ifelse, and sysval.  Mainly as an exercise
2868         to prove that this macro can be used in packages without regex.c.
2869
2870 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2871
2872         * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
2873         is to be used.
2874
2875 1998-07-03  Jim Meyering  <meyering@ascend.com>
2876
2877         * gettext.m4: Add -lintl if it's found to be necessary.
2878
2879         * gettext.m4: New file -- from gettext-0.10.35.
2880         * lcmessage.m4: Likewise.
2881         * progtest.m4: Likewise.
2882
2883         * regex.m4 (jm_WITH_REGEX): New file and macro.
2884         * jm-macros.m4: Require the new macro.
2885
2886 1998-06-29  Jim Meyering  <meyering@ascend.com>
2887
2888         * fstypename.m4: Include sys/param.h.  NetBSD 1.3.1 requires this
2889         for the definition of NGROUPS (used in a system header included
2890         by sys/mount.h).
2891
2892 1998-06-28  Jim Meyering  <meyering@ascend.com>
2893
2894         * ls-mntd-fs.m4: New file.
2895         * fstypename.m4: New file.
2896
2897         * jm-macros.m4: Require the new macro.
2898         * jm-glibc-io.m4: New file.
2899
2900 1998-05-19  Jim Meyering  <meyering@ascend.com>
2901
2902         * jm-macros.m4: Add jm_FUNC_LCHOWN.
2903         * lchown.m4: New file.
2904
2905         * Makefile.am.in: New file.
2906         * Makefile.am (Makefile.am): Depend on Makefile.am.in.
2907
2908 1998-05-14  Jim Meyering  <meyering@ascend.com>
2909
2910         * Makefile.am (EXTRA_DIST): Add them.
2911         * jm-macros.m4: New file.
2912         * utimbuf.m4: New file.
2913
2914 1998-05-12  Jim Meyering  <meyering@ascend.com>
2915
2916         * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
2917
2918 1998-05-11  Jim Meyering  <meyering@ascend.com>
2919
2920         * isc-posix.m4: New file.
2921
2922 1998-05-10  Jim Meyering  <meyering@ascend.com>
2923
2924         * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
2925
2926 1998-05-09  Jim Meyering  <meyering@ascend.com>
2927
2928         * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
2929         (EXTRA_DIST): Remove mktime.m4, now that the new version is included
2930         with automake.
2931
2932         * ssize_t.m4: New file.
2933         * mktime.m4: Remove file -- the new automake has this now.
2934
2935 1998-04-26  Jim Meyering  <meyering@ascend.com>
2936
2937         * assert.m4: New file.
2938         * Makefile.am (EXTRA_DIST): Add assert.m4.
2939
2940 1998-04-05  Jim Meyering  <meyering@ascend.com>
2941
2942         * prereq.m4 (jm_PREREQ_REGEX): New macro.
2943         (jm_PREREQ): Use it here.
2944
2945 1998-03-23  Jim Meyering  <meyering@eng.ascend.com>
2946
2947         * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
2948         in acconfig.h.
2949
2950 1998-03-15  Jim Meyering  <meyering@eng.ascend.com>
2951
2952         * prereq.m4: New file.
2953         * error.m4: New file.
2954         * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
2955
2956 1998-02-07  Jim Meyering  <meyering@eng.ascend.com>
2957
2958         * getline.m4: Don't set am_cv_func_working_getline before the
2959         cache-check for the same variable -- that defeated the purpose of
2960         the test; the test program was never run.  This was a problem only
2961         on systems with losing getline functions -- HP-UX 10.20 is one.
2962         Reported by Bjorn Helgaas.
2963
2964 1998-02-06  Jim Meyering  <meyering@eng.ascend.com>
2965
2966         * Makefile.am (EXTRA_DIST): Add perl.m4.
2967
2968 1998-01-10  Jim Meyering  <meyering@na-net.ornl.gov>
2969
2970         * Makefile.am (EXTRA_DIST): Add const.m4.
2971
2972         * const.m4: New file.  Use an initializer in this declaration
2973         typedef int charset[2]; const charset x;
2974         Reported by Bob Glickstein.
2975
2976 1997-12-21  Jim Meyering  <meyering@na-net.ornl.gov>
2977
2978         * chown.m4: Fix reversed types on -1 args to chown.
2979         From Kaveh Ghazi.
2980
2981 1997-12-14  Jim Meyering  <meyering@na-net.ornl.gov>
2982
2983         * check-decl.m4: s/DECLARATION_/DECL_/g.
2984         Add lseek and memchr.
2985
2986         * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
2987         T.E.Dickey <dickey@clark.net> said that some older preprocessors
2988         have a 20-character limit on names.
2989
2990 1997-11-30  Jim Meyering  <meyering@na-net.ornl.gov>
2991
2992         * inttypes_h.m4: New file.
2993         * uintmax_t.m4: New file.
2994         * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.