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