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