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