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