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