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