Add base64.
[pspp] / m4 / ChangeLog
1 2004-11-30  Simon Josefsson  <jas@extundo.com>
2
3         * base64.m4: New file.
4
5 2004-11-30  Simon Josefsson  <jas@extundo.com>
6
7         * restrict.m4: Add copyright and copying conditions.
8
9 2004-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10
11         * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
12         GL_FUNC_GETCWD_PATH_MAX for consistency.  All uses changed.
13         Use the _ONCE methods, for efficiency.
14         Check for fcntl.h.  In test program, include <errno.h>
15         and <fcntl.h> if available.  Remove old K&R cruft from
16         test program.  Check for common errors in GNU/Linux,
17         OpenBSD, and Solaris.  Just set gl_cv_func_getcwd_path_max;
18         don't do AC_LIBOBJ, as that's getcwd.m4's job.
19         * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
20         AC_FUNC_GETCWD_NULL.  All used changed.  Change cache variable
21         name accordingly.
22         (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros.  Revamp to
23         accommodate new getcwd.c.
24         * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
25         * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
26         * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
27         that's all we need now.
28
29 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
30
31         * utimens.m4 (gl_UTIMENS): Check for futimes function.
32
33 2004-11-23  Sergey Poznyakoff  <gray@Mirddin.farlep.net>
34
35         * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
36         argp-parse.c depends on getopt internals, that means we should
37         always use our getopt, to be on the safe side.
38         * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
39         order not to spoil the result of an eventual previous invocation
40         of gl_GETOPT_SUBSTITUTE.
41
42 2004-11-17  Paul Eggert  <eggert@cs.ucla.edu>
43
44         * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
45         that mishandle size_t overflow.
46
47 2004-11-16  Paul Eggert  <eggert@cs.ucla.edu>
48
49         * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
50
51 2004-11-13  Jim Meyering  <jim@meyering.net>
52
53         * jm-macros.m4: Do require gl_FUNC_FPENDING.
54
55 2004-11-11  Paul Eggert  <eggert@cs.ucla.edu>
56
57         * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead
58         of replacing opterr, getopt, etc.  This should handle the
59         powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson.
60
61 2004-11-11  Simon Josefsson  <jas@extundo.com>
62
63         * strtok_r.m4: New file.
64
65         * getopt.m4: Replace opterr.
66
67 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
68
69         * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
70
71 2004-11-10  Jim Meyering  <jim@meyering.net>
72
73         * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING.
74
75 2004-11-08  Simon Josefsson  <jas@extundo.com>
76
77         * getaddrinfo.m4: New file.
78
79 2004-11-09  Paul Eggert  <eggert@cs.ucla.edu>
80
81         * strftime.m4 (_gl_STRFTIME_PREREQS): Remove.  Move its body to
82         gl_FUNC_STRFTIME.
83         (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE
84         and AC_REQUIRE when possible, to avoid duplicate checks.
85         Check for <wchar.h>.
86
87 2004-11-09  Bruno Haible  <bruno@clisp.org>
88
89         * sockpfaf.m4: New file.
90
91 2004-11-03  Albert Chin <china@thewrittenword.com>
92             Paul Eggert  <eggert@cs.ucla.edu>
93
94         * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
95         equivalent, substitute $ac_type for equivalent type rather than
96         blindly using uint32_t *always* which won't work if uint32_t is not
97         available.  Define _UINT32_T to work around typedef of uint32_t if
98         <sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
99         2.5.1.
100
101 2004-11-02  Paul Eggert  <eggert@cs.ucla.edu>
102
103         * jm-macros.m4: Sync from coreutils.
104         (gl_MACROS): Check for mbrlen, for pathchk.
105         (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
106
107 2004-11-02  Bruno Haible  <bruno@clisp.org>
108
109         * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv()
110         returns void.
111
112 2004-11-01  Paul Eggert  <eggert@cs.ucla.edu>
113
114         * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
115         fflush_unlocked, flockfile, funlockfile, funlockfile,
116         fputs_unlocked, putc_unlocked.
117
118 2004-10-22  Paul Eggert  <eggert@cs.ucla.edu>
119
120         * getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
121
122 2004-10-15  Paul Eggert  <eggert@cs.ucla.edu>
123
124         * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
125         implementation of getopt_long.  Problem reported by Alexander Taler in:
126         http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
127
128 2004-10-11  Yoann Vandoorselaere  <yoann@prelude-ids.org>
129
130         * vsnprintf.m4: New file.
131
132 2004-10-05  Bruno Haible  <bruno@clisp.org>
133
134         * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check
135         for the declaration of strsep.
136
137 2004-10-04  Paul Eggert  <eggert@cs.ucla.edu>
138
139         * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove.  All uses removed.
140
141         * unlocked-io.m4: Add copyright notice.
142         (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
143
144 2004-10-04  Simon Josefsson  <jas@extundo.com>
145
146         * memmem.m4: New file.
147
148 2004-10-01  Yoann Vandoorselaere <yoann@prelude-ids.org>
149
150         * strsep.m4: New file.
151
152 2004-09-30  Simon Josefsson  <jas@extundo.com>
153
154         * snprintf.m4: New file.
155
156 2004-09-09  Bruno Haible  <bruno@clisp.org>
157
158         * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with
159         modifications.
160         * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
161
162 2004-09-08  Bruno Haible  <bruno@clisp.org>
163
164         * stdint.m4: New file, taken from GNU clisp with modifications.
165
166 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
167
168         * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA.
169
170 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
171
172         * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody
173         uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
174         Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
175         Check for program_invocation_name, program_invocation_short_name,
176         flockfile, funlockfile, features.h, _getopt_long_only_r.
177
178 2004-08-12  Simon Josefsson  <jas@extundo.com>
179
180         * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
181         as discussed with Paul Eggert in threads rooted at
182         <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
183         and
184         <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
185         Before, the test was empty, and relied on ELIDE_CODE in source
186         code.)
187         (gl_PREREQ_GETOPT): New macro.
188         (gl_GETOPT): Use them.
189
190 2004-08-11  Paul Eggert  <eggert@cs.ucla.edu>
191
192         Merge from coreutils.
193
194         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
195
196         * obstack.m4 (gl_PREREQ_OBSTACK): Require
197         gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
198
199 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
200
201         * uint32_t.m4, uintptr_t.m4: New files.
202         * sha1.m4: Renamed from sha.m4.
203         (gl_SHA1): Renamed from gl_SHA.  All uses changed.
204
205 2004-08-08  Simon Josefsson  <jas@extundo.com>
206
207         * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
208         Check getpass declaration.
209
210 2004-08-06  Paul Eggert  <eggert@cs.ucla.edu>
211
212         More merge from coreutils.
213
214         * utimens.m4, utimecmp.m4: New files.
215         * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
216         fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
217         prereq.m4, sha.m4: Import changes from coreutils.
218
219 2004-08-05  Paul Eggert  <eggert@cs.ucla.edu>
220
221         Merge from coreutils.
222
223         * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
224         New files.
225
226         * dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
227         FILESYSTEM_PREFIX_LEN ->
228         FILE_SYSTEM_PREFIX_LEN.
229         FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX ->
230         FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.
231         FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR ->
232         FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
233
234         * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
235         prerequisite modules now handle the DOS stuff.
236         Don't check for unistd.h.
237
238 2004-08-03  Simon Josefsson  <jas@extundo.com>
239
240         * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it.
241
242 2004-08-02  Simon Josefsson  <jas@extundo.com>
243
244         * getsubopt.m4: New file.
245
246 2004-08-03  Paul Eggert  <eggert@cs.ucla.edu>
247
248         * fatal.m4: Remove, as the "fatal" module wasn't used or working.
249
250 2004-07-13  Robert Millan  <robertmh@gnu.org>
251
252         * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
253
254 2004-06-22  Paul Eggert  <eggert@cs.ucla.edu>
255
256         * argz.m4: New file, which is autoupdated from libtool.
257
258 2004-06-01  Jim Meyering  <jim@meyering.net>
259
260         * calloc.m4: New file.
261
262 2004-06-01  Paul Eggert  <eggert@cs.ucla.edu>
263
264         Merge from coreutils CVS.
265
266         * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4,
267         makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4,
268         putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4,
269         strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4,
270         xstrtol.m4: Fix copyright date and/or serial number.
271
272         * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
273         See if we need an fchown replacement.
274         (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
275         (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
276         and use the replacement function if we detect either defect.
277
278         * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR,
279         gl_UTIMECMP.
280
281 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
282
283         * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI
284         C B3910B A.05.55 [Dec 04 2003].  Problem reported by Jim Meyering.
285         Also, fix a typo in a diagnostic.
286
287 2004-05-30  Paul Eggert  <eggert@cs.ucla.edu>
288
289         * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC
290         or AC_FUNC_REALLOC.
291
292 2004-05-20  Andreas Schwab  <schwab@suse.de>
293
294         * free.m4: Replace free if it not known to work, not the other
295         way round.
296
297 2004-05-17  Derek R. Price  <derek@ximbiot.com>
298             Paul Eggert  <eggert@cs.ucla.edu>
299
300         * argp: Depend on alloca.
301
302 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
303
304         * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
305         for backward compatibility with older code.  We need our own
306         alloca.h if _AIX is defined.  Define HAVE_ALLOCA if we discover
307         it under some other name, and our alloca.h will define it.
308
309 2004-05-13  Paul Eggert  <eggert@cs.ucla.edu>
310
311         * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC.
312         Check for gettimeofday.
313         * settime.m4 (gl_SETTIME): Require gl_TIMESPEC.
314         Check for settimeofday, stime.
315
316 2004-04-20  Paul Eggert  <eggert@twinsun.com>
317
318         * host-os.m4: Add a copyright notice.
319
320 2004-04-20  Jim Meyering  <jim@meyering.net>
321
322         Change UTILS_ to gl_ in AC_DEFINE'd names.
323         Change utils_- and jm_-prefixed variables, too.
324         * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
325         UTILS_FUNC_MKDIR_TRAILING_SLASH.
326         * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
327
328         * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
329         Don't emit trailing blanks.
330         Also rename jm_-prefixed variables to have gl_ prefix.
331
332         * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS.
333         Also rename jm_-prefixed variables to have gl_ prefix.
334
335         * jm-macros.m4: Reflect the renamings.
336         * prereq.m4: Likewise.
337
338 2004-04-19  Jim Meyering  <jim@meyering.net>
339
340         * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
341         now that readutmp.c may call `free (0)'.
342
343 2004-04-19  Bruno Haible  <bruno@clisp.org>
344
345         * mbrtowc.m4: Change jm_ to gl_ in cache variables as well.
346         * inttypes_h.m4: Likewise.
347         * stdint_h.m4: Likewise.
348         * intmax_t.m4: Likewise.
349         * uintmax_t.m4: Likewise.
350
351 2004-04-18  Jim Meyering  <jim@meyering.net>
352
353         * prereq.m4: Don't forbid jm_ prefix.
354
355         * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
356         * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4:
357         * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4:
358         * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4:
359         * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4:
360         * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4:
361         * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
362         * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
363         * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4:
364         * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4:
365         * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4:
366         * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4:
367         * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4:
368         * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4:
369         * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
370         Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
371
372 2004-04-16  Jim Meyering  <jim@meyering.net>
373
374         * prereq.m4 (jm_PREREQ_STAT): Remove macro.  It is specific to
375         coreutils' stat program.
376         (gl_PREREQ): Don't require jm_PREREQ_STAT.
377
378 2004-03-31  Jim Meyering  <jim@meyering.net>
379
380         * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
381         Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
382         * xalloc.m4: Likewise.
383
384 2004-03-30  Jim Meyering  <jim@meyering.net>
385
386         * realloc.m4: Remove file, since now it does no more than
387         AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
388         the `configure.ac' section of module/realloc.
389         * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
390
391 2004-03-30  Paul Eggert  <eggert@twinsun.com>
392
393         Merge from coreutils.
394
395         * inttostr.m4: New file.
396         * getdate.m4 (gl_GETDATE): Remove time-related stuff.
397         Require AM_STDBOOL_H and gl_TIMESPEC instead.
398         Require gl_CLOCK_TIME.
399         * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
400
401 2004-03-30  Jim Meyering  <jim@meyering.net>
402
403         Merge from coreutils.
404
405         Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
406         * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
407         on some systems one must include <grp.h> before it.
408         Reported by Christian Krackowizer.
409
410 2004-03-29  Paul Eggert  <eggert@twinsun.com>
411
412         * cloexec.m4: New file.
413
414 2004-03-18  Paul Eggert  <eggert@twinsun.com>
415             Bruno Haible  <bruno@clisp.org>
416
417         * mbswidth.m4 (gl_MBSWIDTH): Also test whether <wchar.h> declares
418         mbswidth.
419
420 2004-03-07  Paul Eggert  <eggert@twinsun.com>
421
422         * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
423         All uses changed.  Check for sa_sigaction member; this fixes
424         a bug first reported by Jason Andrade in
425         <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
426
427 2004-01-18  Simon Josefsson  <jas@extundo.com>
428
429         * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared.
430
431 2004-02-18  Bruno Haible  <bruno@clisp.org>
432
433         * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
434         Reported by Derek Robert Price <derek@ximbiot.com>.
435
436 2004-02-06  Karl Berry  <karl@gnu.org>
437
438         * po.m4: update from gettext 0.14.1.
439
440 2004-02-03  Bruno Haible  <bruno@clisp.org>
441
442         * pipe.m4: New file, from GNU gettext.
443
444 2004-01-27  Bruno Haible  <bruno@clisp.org>
445
446         * execute.m4: New file, from GNU gettext.
447
448 2003-11-24  Bruno Haible  <bruno@clisp.org>
449
450         * allocsa.m4: New file, from GNU gettext.
451
452 2003-11-24  Bruno Haible  <bruno@clisp.org>
453
454         * eealloc.m4: New file, from GNU gettext.
455
456 2004-01-15  Paul Eggert  <eggert@twinsun.com>
457
458         Merge from coreutils.
459
460         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
461         * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
462         (gl_DEFAULT_POSIX2_VERSION): Move
463         the documentation from 'configure' into 'config.hin',
464         so that 'configure --help' isn't burdened by it and
465         we don't have to worry about its formatting there.
466         Reword the documentation so that it's more succinct
467         and can be run together into a single paragraph.
468         * same.m4 (gl_SAME): Check for pathconf.
469
470 2004-01-15  Jim Meyering  <jim@meyering.net>
471
472         Merge from coreutils.
473
474         * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
475         if no library is required.
476         * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
477         * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
478         * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
479         (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
480         * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
481         * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
482         value, $ac_cv_search_crypt, if it's "none required".
483         * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
484         * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
485         not gl_FUNC_GETLOADAVG.
486         * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
487         gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
488
489 2004-01-15  Alexandre Duret-Lutz  <adl@gnu.org>
490
491         Merge from coreutils.
492
493         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
494         value, $ac_cv_search_nanosleep, if it's "none required".
495
496 2003-12-03  Bruno Haible  <bruno@clisp.org>
497
498         * gettext.m4: Upgrade from gettext-0.13.
499         * po.m4: Upgrade from gettext-0.13.
500         * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
501         * intmax.m4: New file, from gettext-0.13.
502         * printf-posix.m4: New file, from gettext-0.13.
503
504 2003-11-25  Bruno Haible  <bruno@clisp.org>
505
506         * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require
507         gt_TYPE_SSIZE_T.
508
509 2003-11-17  Bruno Haible  <bruno@clisp.org>
510
511         * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T.
512
513 2003-11-12  Paul Eggert  <eggert@twinsun.com>
514
515         * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or
516         gl_PTRDIFF_MAX.
517
518 2003-11-11  Bruno Haible  <bruno@clisp.org>
519
520         * size_max.m4: New file.
521         * ptrdiff_max.m4: New file.
522         * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
523         * xalloc.m4 (gl_PREREQ_XALLOC): New macro.
524         (gl_XALLOC): Invoke it.
525
526 2003-11-04  Bruno Haible  <bruno@clisp.org>
527
528         * xsize.m4: New file.
529
530 2003-11-03  Bruno Haible  <bruno@clisp.org>
531
532         * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid.
533
534 2003-10-30  Paul Eggert  <eggert@cs.ucla.edu>
535
536         * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to
537         netbsd*-gnu*.  Suggested by Robert Millan.
538
539 2003-10-29  Paul Eggert  <eggert@twinsun.com>
540
541         * xalloc.m4 (gl_XALLOC): Undo previous change.
542
543 2003-10-29  Paul Eggert  <eggert@twinsun.com>
544
545         * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu.  Add comments
546         to it, and to knetbsd*-gnu and kfreebsd*-gnu.  Remove the '*' from
547         after the 'gnu' in these cases.  This fixes some bugs in the
548         previous change, and is based on suggestions by Robert Millan.
549
550 2003-10-28  Paul Eggert  <eggert@twinsun.com>
551
552         * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and
553         GNU/KNetBSD.  These implementations use glibc atop the FreeBSD and
554         NetBSD kernels.  Requested by Richard Stallman.
555
556 2003-10-26  Paul Eggert  <eggert@twinsun.com>
557
558         * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
559         now uses inline.
560
561 2003-10-23  Paul Eggert  <eggert@twinsun.com>
562
563         * getline.m4 (AM_FUNC_GETLINE):
564         Don't include getndelim2.o twice into LIBOBJS; this breaks on some
565         hosts.  Problem reported by Derek Robert Price in
566         <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
567         This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
568         * getndelim2.m4 (gl_GETNDELIM2): Likewise.
569
570 2003-10-20  Bruno Haible  <bruno@clisp.org>
571
572         * wait-process.m4: New file.
573
574 2003-10-14  Bruno Haible  <bruno@clisp.org>
575
576         * sig_atomic_t: New file, from GNU gettext.
577         * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T.
578
579 2003-10-12  Paul Eggert  <eggert@twinsun.com>
580
581         * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE.
582
583 2003-10-10  Simon Josefsson  <jas@extundo.com>
584
585         * argp.m4: Add AC_C_INLINE.
586
587 2003-10-08  Paul Eggert  <eggert@twinsun.com>
588
589         * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
590
591 2003-10-06  Bruno Haible  <bruno@clisp.org>
592
593         * fatal-signal.m4: New file.
594         * signalblocking.m4: New file, from GNU gettext.
595
596 2003-09-27  Paul Eggert  <eggert@twinsun.com>
597
598         * free.m4: New file.
599
600 2003-09-26  Bruno Haible  <bruno@clisp.org>
601
602         * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
603         Don't define stpncpy through config.h; it's now done through stpncpy.h.
604
605 2003-09-25  Simon Josefsson  <jas@extundo.com>
606             Bruno Haible  <bruno@clisp.org>
607
608         * getdomainname.m4: New file.
609
610 2003-09-17  Paul Eggert  <eggert@twinsun.com>
611
612         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
613         to avoid spurious warnings like "AC_RUN_IFELSE was called before
614         gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
615
616 2003-09-12  Paul Eggert  <eggert@twinsun.com>
617
618         * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it.
619
620         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
621         and AC_MINIX, too, so that their extensions are available.
622
623         * prereq.m4 (jm_PREREQ_ADDEXT): Remove.  All uses removed.
624         This macro has been superseded by gl_BACKUPFILE.
625
626         More patches to assume C89 or better.
627
628         * error.m4 (gl_ERROR): Don't check for vprintf.
629
630         * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
631         unconditionally.
632         * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
633         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
634         Include <string.h>, <stdlib.h> unconditionally.
635         * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
636         * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
637         * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
638         or for string.h.
639         * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h
640         or strtoul.
641
642         * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
643         * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
644         * userspec.m4 (gl_USERSPEC): Likewise.
645         * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
646         * xstrtod.m4 (gl_XSTRTOD): Likewise.
647         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
648         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
649         memcpy, memset.
650         (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
651         * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
652         * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
653         * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
654         * userspec.m4 (gl_USERSPEC): Do not check for string.h.
655         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
656         strtoul.
657
658 2003-09-11  Paul Eggert  <eggert@twinsun.com>
659
660         More patches to assume C89 or better.
661         * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
662         * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
663         string.h, memchr, STDC_HEADERS.
664
665 2003-09-10  Bruno Haible  <bruno@clisp.org>
666
667         * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
668         * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
669         * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
670         * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
671         * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove
672         <stdlib.h> and <string.h> checks.
673         * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
674         * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
675
676 2003-09-09  Paul Eggert  <eggert@twinsun.com>
677
678         More patches to assume C89 or better.
679         * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
680         * getopt.m4 (gl_GETOPT): Don't check for string.h.
681         * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
682         or for string.h.
683         * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
684         * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
685         headers.
686         * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
687         string.h.
688         * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
689         * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
690         * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
691         or for string.h.
692         * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
693         * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
694         C headers.
695         * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
696         memcpy.
697         * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
698         * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
699         * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
700         * memcoll.m4 (gl_MEMCOLL): Likewise.
701         * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
702         * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
703         string.h, free.
704         * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
705         * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
706         * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
707         C headers, or for string.h.
708         * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
709         (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
710         * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
711         headers, memory.h, stdlib.h, string.h, strings.h.
712         * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
713         * posixver.m4 (gl_POSIXVER): Don't check for getenv.
714         * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
715         strchr.
716         * readtokens.m4 (gl_READTOKENS): Don't check for standard C
717         headers, memory.h, string.h.
718         * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
719         * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
720         free.
721         * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
722         * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
723         * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
724         * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
725         * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
726         * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
727
728 2003-09-09  Derek Robert Price  <derek@ximbiot.com>
729
730         * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
731         C89 spec.
732
733 2003-09-08  Paul Eggert  <eggert@twinsun.com>
734
735         Assume C89 or better; remove K&R cruft.
736         * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
737         * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
738         string.h, getenv, malloc.
739         * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
740         headers.
741         * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
742         * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
743         do not check for strerror.
744         * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
745         * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
746         * fatal.m4 (gl_FATAL): Do not require STDC headers, and
747         do not check for doprnt or vprintf.
748         * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove.  All uses removed.
749         * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
750
751 2003-09-06  Paul Eggert  <eggert@twinsun.com>
752
753         * time_r.m4: New file.
754         * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
755         * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
756         Check for timegm declaration.
757         (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
758         Do not check for gmtime_r.
759         Replace mktime if __mktime_internal does not exist and if mktime
760         hasn't been replaced already.
761
762 2003-08-31  Simon Josefsson  <jas@extundo.com>
763
764         * timegm.m4: New file.
765
766 2003-08-26  Bruno Haible  <bruno@clisp.org>
767
768         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
769         This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
770         followed by '#define fnmatch fnmatch_posix' gives an error.
771
772 2003-08-27  Jim Meyering  <jim@meyering.net>
773
774         * mkstemp.m4: Require that the system mkstemp be able to create
775         70 temporary files, not just 30.  Tru64 V4.0F's mkstemp function
776         would fail after 32.  Reported by Danny Levinson.  Details here:
777         http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
778
779 2003-08-20  Karl Berry  <karl@gnu.org>
780
781         * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
782
783 2003-08-19  Jim Meyering  <jim@meyering.net>
784
785         * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
786         http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
787
788 2003-08-19  Bruno Haible  <bruno@clisp.org>
789
790         * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
791
792 2003-08-18  Jim Meyering  <jim@meyering.net>
793
794         * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
795         * lib-ld.m4: Likewise.
796
797 2003-08-17  Simon Josefsson  <jas@extundo.com>
798
799         * argp.m4: New file.
800
801 2003-08-17  Simon Josefsson  <jas@extundo.com>
802
803         * xstrndup.m4: New file.
804
805 2003-08-16  Jim Meyering  <jim@meyering.net>
806
807         * utimes.m4 (gl_FUNC_UTIMES): New file.
808         * utimes.m4: Removed.
809         * utimes-null.m4: Renamed from utimes.m4.
810
811         * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
812         to 1MB, so as not to render systems with no stack size limit (e.g.,
813         linux-2.2.x) unusable.  Suggestion and code from Bruno Haible.
814         Include <unistd.h>.  On some systems,
815         it is required for the definition of _SC_PAGESIZE.
816
817 2003-08-16  Paul Eggert  <eggert@twinsun.com>
818
819         Merges from coreutils, etc.
820         * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
821         error in gl_FUNC_MATCH.  This fixes a bug I introduced on 2003-05-28.
822         * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
823         fixing a typo.
824         * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
825         * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
826
827 2003-08-16  Jim Meyering  <jim@meyering.net>
828         and Paul Eggert  <eggert@cs.ucla.edu>
829
830         Merges from coreutils, etc.
831
832         * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
833         using the latest version from cvs.  This avoids problems with #line
834         directives using a vendor (Sun) compiler.
835         (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
836         Don't set GETGROUPS_LIB here; now it's
837         done via getgroups.m4's wrapper function.
838         AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
839         rather than just in sh-util/configure.in, so that the
840         now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
841         same.
842         Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
843         AC_FUNC_GETLOADAVG where to find getloadavg.c.
844         Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
845         UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
846         gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
847         Remove code that is now done by the newly-required macros.
848         Append $(EXEEXT) to DF_PROG.
849         AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
850         Do not invoke or require the following here,
851         since prereq.m4 or some gnulib .m4 now does this for us:
852         gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
853         jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
854         jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
855         jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
856         jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
857         AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
858         vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
859         AC_FUNC_OBSTACK.
860         Do not replace the following functions, as this is now the job
861         of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
862         getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
863         strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
864         atexit getpass, strdup, getpagesize.
865         Replace 'raise'.
866         Do not check for the following functions, as this is now the job
867         of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
868         getcwd, getmntinfo, resolvepath.  But check for sysctl, setreuid,
869         setregid.
870         (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
871         Check for sys/sysctl.h.
872         (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
873         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Invoke gt_TYPE_SSIZE_T instead
874         of checking for ssize_t ourselves.
875
876         * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
877         Require every macro that gnulib/modules/* suggests for us.
878         (jm_PREREQ_ADDEXT): New macro.
879         (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
880         Require jm_AC_TYPE_LONG_LONG instead of invoking it.
881
882         * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
883         (gl_PHYSMEM): Use it.
884         Also check for `table' function.
885         Check for new headers and functions.
886         Add check for sys/sysmp.h.
887         With suggestions from Kaveh Ghazi.
888         Ignore headers that are present but cannot be compiled.  This
889         avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
890         C 5.4.
891
892 2003-08-16  Jim Meyering  <jim@meyering.net>
893
894         Merges from coreutils.
895         * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
896         prefix.  Adjust cache variables similarly.  Create 500 rather than
897         just 300 files, to exercise bug on Darwin6.5, too.
898         * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
899         * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
900         Reported by mkc@mathdogs.com.
901         Also change use of $am_cv_sys_posix_termios
902         to $ac_cv_sys_posix_termios.  Reported by Andreas Schwab.
903         * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
904         and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
905         * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
906         /proc/mounts until it finds one with matching device number.  This is
907         unnecessary when the FILE argument *is* a mount point.  No stat call
908         is necessary in that case.  So, disable the statvfs-testing code on
909         systems with GNU libc.  Reported by Andrei Gaponenko via Tim Waugh
910         as RedHat bug# 84846.
911         * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
912         to 1MB, so as not to render systems with no stack size limit (e.g.,
913         linux-2.2.x) unusable.  Suggestion and code from Bruno Haible.
914         Include <unistd.h>.  On some systems,
915         it is required for the definition of _SC_PAGESIZE.
916
917 2003-08-15  Jim Meyering  <jim@meyering.net>
918         and Paul Eggert  <eggert@cs.ucla.edu>
919
920         Merges from coreutils, etc.
921         * strftime.m4 (_jm_STRFTIME_PREREQS):
922         Require gl_FUNC_TZSET_CLOBBER.
923         * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
924         ut_exit.ut_termination, and ut_exit.e_termination members.
925
926 2003-08-14  Paul Eggert  <eggert@twinsun.com>
927
928         Help the merge from coreutils.
929         * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
930         (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
931         * tzset.m4: Use it too.
932
933 2003-08-14  Jim Meyering  <jim@meyering.net>
934
935         Merge from coreutils.
936         * tzset.m4: New file.
937         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
938         test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
939         systems would end up using the latter.  MOUNTED_GETMNTENT1 support
940         is inadequate on such systems: 1) detecting whether a file system
941         is remote doesn't work  2) the MOUNTED_VMOUNT code reports the
942         HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
943         merely /MOUNT_POINT.  Reported by Mike Jetzer.
944
945 2003-08-13  Paul Eggert  <eggert@twinsun.com>
946
947         * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
948         Check for isascii.
949
950         * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
951         lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
952         Undo previous (whitespace-only) change.
953
954 2003-08-12  Paul Eggert  <eggert@twinsun.com>
955
956         * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
957         lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
958         Normalize leading white space and remove trailing white space.
959
960         Merge from coreutils
961         * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
962
963         * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
964         0.12.1.  These files are now being upgraded automatically by
965         ../config/srclist-update.
966
967 2003-08-11  Bruno Haible  <bruno@clisp.org>
968
969         * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
970
971 2003-08-09  Paul Eggert  <eggert@twinsun.com>
972
973         * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
974         apparently Emacs's Unicode mode got confused before my 2003-08-05
975         checkin.
976
977 2003-08-08  Paul Eggert  <eggert@twinsun.com>
978
979         * extensions.m4: New file.
980         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
981         Require gl_USE_SYSTEM_EXTENSIONS.
982         * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
983         Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
984
985 2003-08-07  Paul Eggert  <eggert@twinsun.com>
986
987         * restrict.m4: New file.
988         * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
989
990 2003-08-07  Bruno Haible  <bruno@clisp.org>
991
992         * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
993         the module 'getndelim2' compatible with the module 'getline'.
994
995 2003-08-05  Paul Eggert  <eggert@twinsun.com>
996
997         * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
998         byte with "\201" to avoid glitches when editing that source file
999         with multi-gnome-terminal.
1000
1001 2003-07-31  Bruno Haible  <bruno@clisp.org>
1002
1003         * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
1004
1005 2003-07-18  Bruno Haible  <bruno@clisp.org>
1006
1007         * getndelim2.m4: New file.
1008         * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
1009         invoke gl_PREREQ_GETNDELIM2.
1010         (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
1011         gl_PREREQ_GETNDELIM2.
1012         * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
1013         gl_GETNDELIM2.
1014
1015 2003-07-17  Bruno Haible  <bruno@clisp.org>
1016
1017         * Makefile.am.in: Remove file.
1018         * Makefile.am: Remove file.
1019         * Makefile.in: Remove file.
1020
1021 2003-07-17  Bruno Haible  <bruno@clisp.org>
1022
1023         * getnline.m4: New file.
1024
1025 2003-07-14  Simon Josefsson  <jas@extundo.com>
1026
1027         * mempcpy.m4: New file.
1028
1029 2003-07-10  Jim Meyering  <jim@meyering.net>
1030
1031         * clock_time.m4: Remove trailing blank.
1032         * intmax_t.m4: Likewise.
1033
1034 2003-07-01  Paul Eggert  <eggert@twinsun.com>
1035
1036         * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
1037         xreadlink.c now includes it unconditionally.
1038
1039 2003-07-01  Bruno Haible  <bruno@clisp.org>
1040
1041         * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
1042         should be sufficient.
1043         Reported by Paul Eggert.
1044
1045 2003-06-25  Bruno Haible  <bruno@clisp.org>
1046
1047         * readlink.m4: New file.
1048
1049 2003-06-22  Bruno Haible  <bruno@clisp.org>
1050
1051         Portability to mingw32.
1052         * ssize_t.m4: New file, from GNU gettext.
1053         * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
1054         * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
1055
1056 2003-06-11  Bruno Haible  <bruno@clisp.org>
1057
1058         * sysexits.m4: New file.
1059
1060 2003-06-10  Simon Josefsson  <jas@extundo.com>
1061
1062         * strchrnul.m4: New file.
1063
1064 2003-06-07  Bruno Haible  <bruno@clisp.org>
1065
1066         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
1067         gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
1068         AC_CONFIG_LINKS. Needed to allow for a different name of the lib
1069         directory.
1070         * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
1071         AC_CONFIG_LINKS. Needed to allow for a different name of the lib
1072         directory.
1073
1074 2003-06-04  Paul Eggert  <eggert@twinsun.com>
1075
1076         * human.m4 (gl_HUMAN): Require AM_STDBOOL_H.  Check for
1077         locale.h, localeconv.  This merges changes from coreutils.
1078
1079         * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
1080         It can be removed after the next Autoconf is released.
1081         * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
1082         needed.
1083
1084 2003-05-30  Bruno Haible  <bruno@clisp.org>
1085
1086         * gettext.m4: Upgrade to gettext-0.12.1.
1087         * nls.m4: New file, from gettext-0.12.1.
1088         * po.m4: New file, from gettext-0.12.1.
1089         * progtest.m4: Upgrade to gettext-0.12.1.
1090
1091 2003-05-28  Paul Eggert  <eggert@twinsun.com>
1092
1093         Assume the headers required for C89 freestanding compilers.
1094         * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
1095         * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
1096         * human.m4 (gl_HUMAN): Likewise.
1097         * pathmax.m4 (gl_PATHMAX): Likewise.
1098         * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
1099         * userspec.m4 (gl_USERSPEC): Likewise.
1100         * xreadlink.m4 (gl_XREADLINK): Likewise.
1101         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
1102         * quote.m4 (gl_QUOTE): Don't check for stddef.h.
1103
1104 2003-05-26  Jim Meyering  <jim@meyering.net>
1105
1106         Merge in a change from coreutils:
1107         * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
1108         that is guaranteed to be `no'.  Use `no_such_member' to indicate
1109         that condition, rather than `-1' which is slightly misleading.
1110         Change the name of the cache variable to have the gl_ prefix.
1111         Prompted by a patch from Richard Dawe for DJGPP.
1112
1113 2003-05-17  Bruno Haible  <bruno@clisp.org>
1114
1115         * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
1116         expansion for AC_EGREP_CPP.
1117         * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
1118         * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
1119         Suggested by Akim Demaille <akim@epita.fr> in
1120         http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
1121
1122 2003-04-21  Paul Eggert  <eggert@twinsun.com>
1123
1124         * error.m4 (gl_ERROR): Do not put under dynamic conditions some
1125         code which expansion is under static control.  Patch imported from
1126         Akim Demaille's patch to Bison; see
1127         <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
1128
1129 2003-04-14  Bruno Haible  <bruno@clisp.org>
1130
1131         * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
1132
1133 2003-04-10  Bruno Haible  <bruno@clisp.org>
1134
1135         * findprog.m4: New file.
1136         * eaccess.m4: New file.
1137
1138 2003-04-04  Bruno Haible  <bruno@clisp.org>
1139
1140         * linebreak.m4: New file.
1141
1142 2003-04-03  Bruno Haible  <bruno@clisp.org>
1143
1144         * utf-ucs4.m4: New file.
1145         * ucs4-utf.m4: New file.
1146
1147 2003-03-30  Bruno Haible  <bruno@clisp.org>
1148
1149         * copy-file.m4 (gl_COPY_FILE): Add check for chown().
1150
1151 2003-03-28  Bruno Haible  <bruno@clisp.org>
1152
1153         * copy-file.m4: New file.
1154
1155 2003-03-18  Bruno Haible  <bruno@clisp.org>
1156
1157         * onceonly.m4: Use m4_defn instead of defn, for better error checking.
1158         * onceonly_2_57.m4: Likewise.
1159
1160 2003-03-17  Bruno Haible  <bruno@clisp.org>
1161
1162         * onceonly.m4: Require autoconf 2.54 or newer.
1163         (m4_quote): Remove macro.
1164         * onceonly_2_57.m4: Require autoconf 2.54 or newer.
1165
1166 2003-03-14  Bruno Haible  <bruno@clisp.org>
1167
1168         * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
1169         AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
1170
1171 2003-03-13  Paul Eggert  <eggert@twinsun.com>
1172
1173         * onceonly.m4 (m4_quote): New macro.
1174         (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
1175         Quote AC_FOREACH variable-expansions properly.
1176
1177 2003-02-19  Paolo Bonzini  <bonzini@gnu.org>
1178
1179         * poll.m4: New file.
1180
1181 2003-02-18  Paolo Bonzini  <bonzini@gnu.org>
1182
1183         * mathl.m4: New file.
1184
1185 2003-02-17  Bruno Haible  <bruno@clisp.org>
1186
1187         * mkdtemp.m4: New file, from GNU gettext with modifications.
1188
1189 2003-02-02  Jim Meyering  <jim@meyering.net>
1190
1191         * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
1192         e.g. glibc-2.2.93.
1193
1194 2003-01-31  Bruno Haible  <bruno@clisp.org>
1195
1196         * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
1197         'rpl_rename'.
1198         * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
1199         'rpl_strnlen'.
1200         * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
1201         'rpl_strtod'.
1202         * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
1203         'rpl_utime'.
1204
1205 2003-01-30  Bruno Haible  <bruno@clisp.org>
1206
1207         * signed.m4: New file, from GNU gettext.
1208         * longdouble.m4: New file, from GNU gettext.
1209         * wchar_t.m4: New file, from GNU gettext.
1210         * wint_t.m4: New file, from GNU gettext.
1211         * vasnprintf.m4: New file.
1212         * vasprintf.m4: New file.
1213
1214 2003-01-29  Bruno Haible  <bruno@clisp.org>
1215
1216         * stpncpy.m4: New file.
1217
1218 2003-01-23  Jim Meyering  <jim@meyering.net>
1219
1220         * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
1221         from working on systems without dirfd (at least Irix and OSF1/Tru64).
1222
1223 2003-01-16  Jim Meyering  <jim@meyering.net>
1224
1225         * regex.m4: The `regex' struct is both input and output.
1226         Initialize it before each use.  Patch by Tim Waugh.
1227
1228 2003-01-11  Bruno Haible  <bruno@clisp.org>
1229
1230         * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
1231         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
1232         suffix.
1233
1234 2003-01-11  Bruno Haible  <bruno@clisp.org>
1235
1236         * md5.m4 (gl_MD5): Require AC_C_INLINE.
1237
1238 2003-01-11  Bruno Haible  <bruno@clisp.org>
1239
1240         * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
1241
1242 2003-01-12  Paul Eggert  <eggert@twinsun.com>
1243
1244         Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
1245         to avoid collisions with libcurses and libreadline.
1246
1247         * getstr.m4: Remove.
1248         * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
1249
1250 2003-01-10  Bruno Haible  <bruno@clisp.org>
1251
1252         * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
1253
1254 2003-01-09  Bruno Haible  <bruno@clisp.org>
1255
1256         * stdbool.m4 (AM_STDBOOL_H): New macro.
1257
1258 2002-12-31  Paul Eggert  <eggert@twinsun.com>
1259
1260         * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
1261
1262 2002-12-24  Bruno Haible  <bruno@clisp.org>
1263
1264         General infrasructure.
1265         * README: Rewritten.
1266         * onceonly.m4: New file.
1267         * onceonly_2_57.m4: New file.
1268
1269         Module atexit.
1270         * atexit.m4: New file.
1271
1272         Module strtod.
1273         * strtod.m4: New file.
1274
1275         Module strtol.
1276         * strtol.m4: New file.
1277
1278         Module strtoul.
1279         * strtoul.m4: New file.
1280
1281         Module memchr.
1282         * memchr.m4: New file.
1283
1284         Module memcmp.
1285         * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
1286         (jm_FUNC_MEMCMP): Invoke it.
1287
1288         Module memcpy.
1289         * memcpy.m4: New file.
1290
1291         Module memmove.
1292         * memmove.m4: New file.
1293
1294         Module memset.
1295         * memset.m4: New file.
1296
1297         Module strcspn.
1298         * strcspn.m4: New file.
1299
1300         Module strpbrk.
1301         * strpbrk.m4: New file.
1302
1303         Module strstr.
1304         * strstr.m4: New file.
1305
1306         Module strerror.
1307         * strerror.m4: New file.
1308
1309         Module mktime.
1310         * mktime.m4: Renamed from jm-mktime.m4.
1311         (gl_PREREQ_MKTIME): New macro.
1312         (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
1313
1314         Module malloc.
1315         * malloc.m4 (gl_PREREQ_MALLOC): New macro.
1316         (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
1317         Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
1318
1319         Module realloc.
1320         * realloc.m4 (gl_PREREQ_REALLOC): New macro.
1321         (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
1322         Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
1323
1324         Module strftime.
1325         * tm_gmtoff.m4: New file, extracted from strftime.m4.
1326         * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
1327         Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
1328         gl_TM_GMTOFF.
1329         (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
1330
1331         Module xalloc.
1332         * xalloc.m4: New file.
1333
1334         Module alloca.
1335         * alloca.m4: New file.
1336
1337         Module putenv.
1338         * putenv.m4 (gl_PREREQ_PUTENV): New macro.
1339         (jm_FUNC_PUTENV): Invoke it.
1340
1341         Module setenv.
1342         * setenv.m4 (gt_FUNC_SETENV): New macro.
1343         (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
1344         when invoked twice.
1345         (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
1346         gt_FUNC_SETENV.
1347
1348         Module memrchr.
1349         * memrchr.m4: New file.
1350
1351         Module stpcpy.
1352         * stpcpy.m4: New file.
1353
1354         Module strcase.
1355         * strcase.m4: New file.
1356
1357         Module strdup.
1358         * strdup.m4: New file.
1359
1360         Module strnlen.
1361         * strnlen.m4: New file.
1362
1363         Module strndup.
1364         * strndup.m4: New file.
1365
1366         Module xstrtod.
1367         * xstrtod.m4: New file.
1368
1369         Module xstrtol.
1370         * xstrtol.m4: New file.
1371
1372         Module getdate.
1373         * getdate.m4: New file.
1374
1375         Module unlocked-io.
1376         * unlocked-io.m4: Renamed from jm-glibc-io.m4.
1377         (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
1378         * jm-glibc-io.m4n: Remove file.
1379
1380         Module long-options.
1381         * long-options.m4: New file.
1382
1383         Module md5.
1384         * md5.m4: New file.
1385
1386         Module sha.
1387         * sha.m4: New file.
1388
1389         Module getstr.
1390         * getstr.m4: New file.
1391
1392         Module getline.
1393         * getline.m4 (gl_PREREQ_GETLINE): New macro.
1394         (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
1395         <sys/types.h>, for size_t. Use the function name gnu_getline, not
1396         simply getline. Infoke gl_PREREQ_GETLINE.
1397
1398         Module obstack.
1399         * obstack.m4: New file.
1400
1401         Module hash.
1402         * hash.m4: New file.
1403
1404         Module readtokens.
1405         * readtokens.m4: New file.
1406
1407         Module strverscmp.
1408         * strverscmp.m4: New file.
1409
1410         Module stdbool.
1411         * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
1412
1413         Module strtoll.
1414         * strtoll.m4: New file.
1415
1416         Module strtoull.
1417         * strtoull.m4: New file.
1418
1419         Module strtoimax.
1420         * strtoimax.m4: New file.
1421
1422         Module strtoumax.
1423         * strtoumax.m4: New file.
1424
1425         Module xstrtoimax.
1426         * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
1427         Moved the strtol prerequisites to strtol.m4.
1428         Moved the strtoll prerequisites to strtoll.m4.
1429         Moved the strtoimax prerequisites to strtoimax.m4.
1430
1431         Module xstrtoumax.
1432         * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
1433         Moved the strtoul prerequisites to strtoul.m4.
1434         Moved the strtoull prerequisites to strtoull.m4.
1435         Moved the strtoumax prerequisites to strtoumax.m4.
1436
1437         Module chown.
1438         * chown.m4 (gl_PREREQ_CHOWN): New macro.
1439         (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
1440
1441         Module dup2.
1442         * dup2.m4: New file.
1443
1444         Module ftruncate.
1445         * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
1446         (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
1447
1448         Module getgroups.
1449         * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
1450         (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
1451
1452         Module gettimeofday.
1453         * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
1454         (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
1455         gl_PREREQ_GETTIMEOFDAY.
1456
1457         Module mkdir.
1458         * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
1459         (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
1460
1461         Module mkstemp.
1462         * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
1463         (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
1464         jm_AC_TYPE_UINTMAX_T.
1465         (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
1466
1467         Module stat.
1468         * stat.m4 (gl_PREREQ_STAT): New macro.
1469         (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
1470
1471         Module lstat.
1472         * lstat.m4 (gl_PREREQ_LSTAT): New macro.
1473         (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
1474
1475         Module timespec.
1476         * timespec.m4 (gl_TIMESPEC): New macro.
1477         (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
1478         * st_mtim.m4: Indentation.
1479
1480         Module nanosleep.
1481         * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
1482         (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
1483         gl_PREREQ_NANOSLEEP.
1484
1485         Module regex.
1486         * regex.m4 (jm_PREREQ_REGEX): New macro.
1487         (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
1488         (gl_REGEX): New macro.
1489
1490         Module rename.
1491         * rename.m4 (gl_PREREQ_RENAME): New macro.
1492         (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
1493
1494         Module rmdir.
1495         * rmdir.m4: New file.
1496
1497         Module utime.
1498         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
1499         * utime.m4 (gl_PREREQ_UTIME): New macro.
1500         (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
1501
1502         Module dirname.
1503         * dirname.m4: New file.
1504
1505         Module getopt.
1506         * getopt.m4: New file.
1507
1508         Module unistd-safer.
1509         * unistd-safer.m4: New file.
1510
1511         Module fnmatch.
1512         * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
1513         declaration.
1514         (gl_PREREQ_FNMATCH_EXTRA): New macro.
1515         (gl_FUNC_FNMATCH_POSIX): New macro.
1516         (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
1517         gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
1518         simply fnmatch.
1519
1520         Module exclude.
1521         * exclude.m4: New file.
1522
1523         Module human.
1524         * human.m4: New file.
1525
1526         Module acl.
1527         * acl.m4: Nop.
1528
1529         Module backupfile.
1530         * backupfile.m4: New file.
1531         * d-ino.m4: Indentation.
1532
1533         Module fsusage.
1534         * fsusage.m4 (gl_FSUSAGE): New macro.
1535         (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
1536         (gl_PREREQ_FSUSAGE_EXTRA): New macro.
1537
1538         Module dirfd.
1539         * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
1540
1541         Module euidaccess.
1542         * euidaccess.m4: New file.
1543
1544         Module file-type.
1545         * file-type.m4: New file.
1546
1547         Module fileblocks.
1548         * fileblocks.m4: New file.
1549
1550         Module filemode.
1551         * filemode.m4: New file.
1552
1553         Module isdir.
1554         * isdir.m4: New file.
1555
1556         Module lchown.
1557         * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
1558         (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
1559
1560         Module makepath.
1561         * makepath.m4: New file.
1562
1563         Module modechange.
1564         * modechange.m4: New file.
1565
1566         Module mountlist.
1567         * mountlist.m4: New file.
1568         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
1569         Indentation.
1570
1571         Module path-concat.
1572         * path-concat.m4: New file.
1573
1574         Module pathmax.
1575         * pathmax.m4: New file.
1576
1577         Module same.
1578         * same.m4: New file.
1579
1580         Module save-cwd.
1581         * save-cwd.m4: New file.
1582
1583         Module savedir.
1584         * savedir.m4: New file.
1585
1586         Module xgetcwd.
1587         * xgetcwd.m4: New file.
1588         * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
1589
1590         Module xreadlink.
1591         * xreadlink.m4: New file.
1592
1593         Module safe-read.
1594         * safe-read.m4: New file.
1595
1596         Module safe-write.
1597         * safe-write.m4: New file.
1598
1599         Module closeout.
1600         * closeout.m4: New file.
1601
1602         Module stdio-safer.
1603         * stdio-safer.m4: New file.
1604
1605         Module getpass.
1606         * getpass.m4: New file.
1607
1608         Module getugroups.
1609         * getugroups.m4: New file.
1610
1611         Module group-member.
1612         * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
1613         (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
1614
1615         Module idcache.
1616         * idcache.m4: New file.
1617
1618         Module userspec.
1619         * userspec.m4: New file.
1620
1621         Module gettime.
1622         * clock_time.m4: New file.
1623         * gettime.m4: New file.
1624
1625         Module settime.
1626         * settime.m4: New file.
1627
1628         Module posixtm.
1629         * posixtm.m4: New file.
1630
1631         Module gethostname.
1632         * gethostname.m4: New file.
1633
1634         Module canon-host.
1635         * canon-host.m4: New file.
1636
1637         Module gettext.
1638         * codeset.m4: New file, from gettext-0.11.5.
1639         * gettext.m4: New file, from gettext-0.11.5.
1640         * glibc21.m4: New file, from gettext-0.11.5.
1641         * iconv.m4: New file, from gettext-0.11.5.
1642         * intdiv0.m4: New file, from gettext-0.11.5.
1643         * inttypes-pri.m4: New file, from gettext-0.11.5.
1644         * inttypes.m4: New file, from gettext-0.11.5.
1645         * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
1646         * isc-posix.m4: New file, from gettext-0.11.5.
1647         * lcmessage.m4: New file, from gettext-0.11.5.
1648         * lib-ld.m4: New file, from gettext-0.11.5.
1649         * lib-link.m4: New file, from gettext-0.11.5.
1650         * lib-prefix.m4: New file, from gettext-0.11.5.
1651         * progtest.m4: New file, from gettext-0.11.5.
1652         * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
1653         * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
1654         * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
1655
1656         Module localcharset.
1657         * localcharset.m4: New file.
1658
1659         Module hard-locale.
1660         * hard-locale.m4: New file.
1661
1662         Module mbswidth.
1663         * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
1664         onceonly macros.
1665         * mbrtowc.m4: Add comment.
1666
1667         Module memcasecmp.
1668         * memcasecmp.m4: New file.
1669
1670         Module memcoll.
1671         * memcoll.m4: New file.
1672
1673         Module unicodeio.
1674         * unicodeio.m4: New file.
1675
1676         Module rpmatch.
1677         * rpmatch.m4: New file.
1678
1679         Module yesno.
1680         * yesno.m4: New file.
1681
1682         Module exitfail.
1683         * exitfail.m4: New file.
1684
1685         Module c-stack.
1686         * c-stack.m4 (gl_C_STACK): New macro.
1687         (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
1688
1689         Module error.
1690         * error.m4 (gl_ERROR): New macro.
1691         (jm_PREREQ_ERROR): Use onceonly macros.
1692
1693         Module fatal.
1694         * fatal.m4: New file.
1695
1696         Module getloadavg.
1697         * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
1698         (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
1699
1700         Module getpagesize.
1701         * getpagesize.m4: New file.
1702
1703         Module getusershell.
1704         * getusershell.m4: New file.
1705
1706         Module physmem.
1707         * physmem.m4: New file.
1708
1709         Module posixver.
1710         * posixver.m4: New file.
1711
1712         Module quotearg.
1713         * quotearg.m4: New file.
1714
1715         Module quote.
1716         * quote.m4: New file.
1717
1718         Module readutmp.
1719         * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
1720
1721         Module sig2str.
1722         * sig2str.m4: New file.
1723
1724         Other.
1725         * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
1726         ulonglong.m4.
1727         * intmax_t.m4: New file.
1728         * d-type.m4: Indentation.
1729         * jm-macros.m4: Update.
1730         * prereq.m4 (jm_PREREQ): Update.
1731         (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
1732         (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
1733         (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
1734         (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
1735         (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
1736         (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
1737         (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
1738         (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
1739         (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
1740         (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
1741         (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
1742         (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
1743         (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
1744         (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
1745         (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
1746         (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
1747         (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
1748         (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
1749         * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
1750
1751 2002-12-18  Bruno Haible  <bruno@clisp.org>
1752
1753         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
1754         * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
1755
1756 2002-12-17  Bruno Haible  <bruno@clisp.org>
1757
1758         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
1759         stdlib.h, string.h.
1760
1761 2002-12-11  Bruno Haible  <bruno@clisp.org>
1762
1763         * setenv.m4: New file, from gettext-0.11.5.
1764
1765 2002-12-06  Paul Eggert  <eggert@twinsun.com>
1766
1767         Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
1768         a pain in practice to deal with generated m4 files.  This change
1769         goes together with the 2002-12-04 unlocked-io.h change in ../lib.
1770
1771         * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
1772         and jm-glibc-io.m4, as they are no longer a special case.
1773         * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
1774         kludge and the auto-generation stuff.  Check only whether the
1775         functions are declared, not whether they exist, since older hosts
1776         that don't declare the functions can't use the optimization anyway.
1777
1778 2002-07-06  Jim Meyering  <meyering@lucent.com>
1779
1780         * README: Don't mention Makefile.am.in.
1781         Outline how I've tested changes to .m4 files.  Yep, it's a pain.
1782
1783 2002-06-11  Paul Eggert  <eggert@twinsun.com>
1784
1785         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
1786
1787 2002-06-22  Jim Meyering  <meyering@lucent.com>
1788
1789         * c-stack.m4: New file, from diffutils-2.8.2.
1790         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
1791
1792         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
1793         now that configure.ac uses AC_GNU_SOURCE.
1794         (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
1795         * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
1796
1797         Update to latest tools.  Suggestions from Paul Eggert.
1798         * stdbool.m4: New file, from diffutils-2.8.2.
1799         * gnu-source.m4: Update from diffutils-2.8.2.
1800         * fnmatch.m4: Likewise.
1801         * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
1802         to AC_HEADER_STDBOOL
1803
1804 2002-06-21  Jim Meyering  <meyering@lucent.com>
1805
1806         * c-bs-a.m4: Add comment, from diffutils-2.8.2.
1807         * mbrtowc.m4: Likewise.
1808
1809         * mbstate_t.m4: Update from diffutils-2.8.2.
1810         * mbswidth.m4: Reflect name change:
1811         s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
1812         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
1813
1814         * lib-link.m4: Update from gettext-0.11.2.
1815         * gettext.m4: Likewise.
1816
1817         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
1818         From Alfred M. Szmidt.
1819
1820 2002-05-19  Paul Eggert  <eggert@twinsun.com>
1821
1822         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
1823
1824 2002-06-07  Jim Meyering  <meyering@lucent.com>
1825
1826         * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
1827         They're needed at least for NetBSD 1.5.2.
1828         ($statxfs_includes): Include those same headers.
1829         ($statxfs_includes): Include sys/vfs.h if available.
1830         ($statxfs_includes): Likewise for sys/statvfs.h.
1831         Check for the following members in both structs statfs and statvfs:
1832         f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
1833
1834 2002-06-01  Jim Meyering  <meyering@lucent.com>
1835
1836         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
1837         s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
1838
1839 2002-05-28  Jim Meyering  <meyering@lucent.com>
1840
1841         * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
1842         Reported by Volker Borchert.
1843
1844 2002-05-27  Jim Meyering  <meyering@lucent.com>
1845
1846         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
1847         localtime.
1848
1849         * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
1850         use the replacement function; it wouldn't resolve at link time.
1851         Reported by Volker Borchert.
1852
1853 2002-04-30  Jim Meyering  <meyering@lucent.com>
1854
1855         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
1856
1857 2002-04-29  Paul Eggert  <eggert@twinsun.com>
1858
1859         * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
1860         Do not check for alloca.h (no longer used) or stdbool.h (was never
1861         used?).  Add AM_C_PROTOTYPES since hard-locale.h uses it.
1862
1863 2002-04-28  Paul Eggert  <eggert@twinsun.com>
1864
1865         * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
1866
1867 2002-04-29  Jim Meyering  <meyering@lucent.com>
1868
1869         * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
1870         * prereq.m4: Add jm_PREREQ_STRNLEN.
1871         Use AC_FUNC_STRNLEN here instead.
1872
1873         * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
1874         With autoconf-2.53a, it's part of AC_PROG_CC.
1875
1876 2002-04-28  Paul Eggert  <eggert@twinsun.com>
1877
1878         * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
1879         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
1880
1881 2002-04-24  Jim Meyering  <meyering@lucent.com>
1882
1883         * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
1884         (jm_PREREQ): Use it.
1885
1886         * getloadavg.m4: Check for these headers: locale.h unistd.h
1887         mach/mach.h fcntl.h.
1888         Check for this function: setlocale.
1889
1890 2002-04-16  Jim Meyering  <meyering@lucent.com>
1891
1892         * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
1893         ut_pid, ut_id, ut_exit.
1894
1895 2002-04-12  Jim Meyering  <meyering@lucent.com>
1896
1897         * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
1898         check for f_type in sys/mount.h.  Instead, just test for the existence
1899         of the getmntinfo function.  Needed for Darwin 5.3.
1900
1901         * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
1902         This is necessary at least on Darwin 5.3.
1903
1904         * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
1905         AC_FUNC_STRNLEN.  Otherwise, we'd end up putting two copies of strnlen.o
1906         in the library, and that makes some versions of ranlib object.
1907
1908 2002-04-09  Jim Meyering  <meyering@lucent.com>
1909
1910         * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
1911         to be more precise.  Rather than saying we're checking whether the
1912         function `works', say what we're testing.
1913         * realloc.m4 (jm_FUNC_REALLOC): Likewise.
1914         Reported by Bruno Haible.
1915
1916 2002-02-27  Paul Eggert  <eggert@twinsun.com>
1917
1918         * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
1919         Check for clock_settime.
1920
1921 2002-02-25  Paul Eggert  <eggert@twinsun.com>
1922
1923         * acl.m4: New file.
1924         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
1925         Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
1926
1927 2002-02-16  gettextize  <bug-gnu-gettext@gnu.org>
1928
1929         * codeset.m4: Upgrade to gettext-0.11.
1930         * gettext.m4: Upgrade to gettext-0.11.
1931         * glibc21.m4: Upgrade to gettext-0.11.
1932         * iconv.m4: Upgrade to gettext-0.11.
1933         * isc-posix.m4: Upgrade to gettext-0.11.
1934         * lcmessage.m4: Upgrade to gettext-0.11.
1935         * lib-ld.m4: New file, from gettext-0.11.
1936         * lib-link.m4: New file, from gettext-0.11.
1937         * lib-prefix.m4: New file, from gettext-0.11.
1938         * progtest.m4: Upgrade to gettext-0.11.
1939
1940 2002-02-15  Paul Eggert  <eggert@twinsun.com>
1941
1942         * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
1943         (jm_PREREQ): Use it.
1944
1945 2002-01-26  Jim Meyering  <meyering@lucent.com>
1946
1947         * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
1948         * strnlen.m4: Remove file, now that it's part of autoconf.
1949
1950 2002-01-22  Paul Eggert  <eggert@twinsun.com>
1951
1952         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
1953
1954 2002-01-19  Jim Meyering  <meyering@lucent.com>
1955
1956         * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
1957         Remove useless quotes: DF_PROG="df".
1958         * strnlen.m4: New file.
1959
1960 2001-12-14  Jim Meyering  <meyering@lucent.com>
1961
1962         * jm-macros.m4 (jm_MACROS): Check for iswspace.
1963         Suggestion from Bruno Haible.
1964
1965 2001-11-20  Jim Meyering  <meyering@lucent.com>
1966
1967         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
1968         SunOS 4.1.4 and Solaris 2.5.1 lose, too.
1969
1970 2001-11-19  Jim Meyering  <meyering@lucent.com>
1971
1972         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
1973         directory.  Use "conftestXXXXXX" as the template.
1974         Suggestion from Paul Eggert.
1975
1976         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
1977         so the test doesn't mistakenly hit the max-open-files limit.
1978
1979 2001-11-18  Jim Meyering  <meyering@lucent.com>
1980
1981         * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
1982
1983 2001-11-17  Jim Meyering  <meyering@lucent.com>
1984
1985         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
1986         Prompted by a report from Bob Proulx.
1987
1988         * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
1989         Instead, require UTILS_FUNC_MKSTEMP.
1990
1991 2001-11-11  Jim Meyering  <meyering@lucent.com>
1992
1993         * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
1994         Now, that's done as part of AC_FUNC_STRTOD.
1995
1996 2001-10-22  Paul Eggert  <eggert@twinsun.com>
1997
1998         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
1999         WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
2000
2001 2001-11-10  Jim Meyering  <meyering@lucent.com>
2002
2003         * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
2004         (jm_PREREQ): Use it.
2005
2006 2001-11-09  Jim Meyering  <meyering@lucent.com>
2007
2008         * jm-macros.m4: Require autoconf-2.52f.
2009         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
2010         Use these AC_-prefixed names, not the AM_-prefixed ones.
2011
2012         * afs.m4 (jm_AFS): Quote the body.  Patch by Akim Demaille.
2013
2014 2001-11-04  Jim Meyering  <meyering@lucent.com>
2015
2016         * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
2017
2018 2001-11-03  Jim Meyering  <meyering@lucent.com>
2019
2020         * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
2021         of AC_DEFUN.
2022
2023         * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
2024         know the name of the variable in the macro definition.
2025
2026 2001-11-01  Jim Meyering  <meyering@lucent.com>
2027
2028         * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
2029         * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
2030
2031 2001-10-20  Paul Eggert  <eggert@twinsun.com>
2032
2033         * error.m4 (jm_PREREQ_ERROR):
2034         Do not invoke AC_CHECK_FUNCS with strerror_r, as
2035         AC_FUNC_STRERROR_R does that.
2036         Check for strerror declaration.
2037
2038         * strerror_r.m4: Add copyright notice, as nontrivial m4 files
2039         are supposed to have them these days.
2040         (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
2041         Merge changes from latest Autoconf CVS.
2042         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
2043         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
2044         POSIX decided to standardize on the int flavor of strerror_r.
2045
2046 2001-09-30  Jim Meyering  <meyering@lucent.com>
2047
2048         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
2049         `struct fsstat' has the `f_fstypename' member.
2050         Use that to define FS_TYPE, which is now used to make
2051         the getfsstat link test tighter.
2052
2053 2001-09-29  Jim Meyering  <meyering@lucent.com>
2054
2055         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
2056         [one-argument getmntent function]): Include stdio.h before mntent.h.
2057         SunOS 4.1.x needs it for the declaration of `FILE'.
2058         Patch by Volker Borchert.
2059
2060         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
2061         Check for these headers: sys/param.h sys/ucred.h sys/mount.h
2062         sys/fs_types.h, and make the link-test for getfsstat guard #include
2063         directives with appropriate #if HAVE_*_H tests so that we can
2064         detect getfsstat on Apple Darwin1.3.7 systems.
2065         Reported by Nelson Beebe.
2066         Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
2067
2068 2001-09-28  Paul Eggert  <eggert@twinsun.com>
2069
2070         Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
2071         #defines strtoimax.  Also treat the other strto* functions
2072         like strtoimax.
2073
2074         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
2075         Check for strtoul and strtoumax,
2076         as those declarations are made even in the signed case.
2077         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
2078         Likewise, for strtol and strtoimax.
2079
2080 2001-09-24  Jim Meyering  <meyering@lucent.com>
2081
2082         * gettext.m4: Use the version from gettext-0.10.40, not CVS.
2083
2084 2001-09-23  Jim Meyering  <meyering@lucent.com>
2085
2086         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
2087         instead of the mere test for existence of mntent.h.  The latter
2088         would get a false-positive on AIX 3.4 systems.
2089         In the outer getmntent if-block, don't die if neither of the getmntent
2090         tests succeeds.  Instead, just fall through and continue with the
2091         remaining tests.
2092
2093 2001-09-22  Jim Meyering  <meyering@lucent.com>
2094
2095         * gettext.m4: New file.  From gettext.
2096         * lcmessage.m4: Sync with gettext -- this changes only comments.
2097         * progtest.m4: Likewise
2098         * isc-posix.m4: Decrement serial number to sync with gettext.
2099         * glibc21.m4: Likewise.
2100
2101         * libintl.m4: Remove.  No longer used.
2102
2103 2001-09-20  Jim Meyering  <meyering@lucent.com>
2104
2105         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
2106         strtoimax.
2107         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
2108         strtoumax.
2109
2110 2001-09-17  Jim Meyering  <meyering@lucent.com>
2111
2112         * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
2113         * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
2114         * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
2115         * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
2116         * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
2117         whenever the right hand side need not be expanded by the shell.
2118
2119 2001-09-16  Paul Eggert  <eggert@twinsun.com>
2120
2121         * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
2122         library.  It's not correct, as some older glibcs are buggy.
2123         fnmatch wasn't fixed until glibc 2.2.
2124
2125         Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
2126         special shell magic here.
2127
2128 2001-09-16  Jim Meyering  <meyering@lucent.com>
2129
2130         * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
2131         * jm-macros.m4: Require it.
2132
2133 2001-09-15  Jim Meyering  <meyering@lucent.com>
2134
2135         * jm-macros.m4: Check for help2man.
2136
2137 2001-09-11  Jim Meyering  <meyering@lucent.com>
2138
2139         * host-os.m4 (UTILS_HOST_OS): New file/macro.
2140         The body, by Paul Eggert, was moved here from configure.in.
2141         * jm-macros.m4: Require UTILS_HOST_OS.
2142
2143 2001-09-04  Paul Eggert  <eggert@twinsun.com>
2144
2145         * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
2146         (jm_PREREQ): Use it.
2147
2148 2001-09-03  Paul Eggert  <eggert@twinsun.com>
2149
2150         * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
2151         sys/param.h, as pathmax.h includes them.
2152
2153 2001-09-03  Paul Eggert  <eggert@twinsun.com>
2154
2155         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
2156         (jm_PREREQ_XGETCWD): New macro.
2157
2158         * getcwd.m4: New file.
2159
2160 2001-09-01  Jim Meyering  <meyering@lucent.com>
2161
2162         * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
2163         Used by df.
2164
2165 2001-08-30  Paul Eggert  <eggert@twinsun.com>
2166
2167         Simplify code, partly by assuming autoconf 2.52 semantics.
2168
2169         * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
2170
2171         * inttypes.m4 (AC_PREREQ): Bump to 2.52.
2172         (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
2173         All uses removed.
2174         (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
2175         Move AC_REQUIRE to next-to-top level, to avoid confusion.
2176         Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
2177         * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
2178         * jm-macros.m4 (jm_MACROS): Likewise.
2179
2180         * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
2181
2182         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
2183         Quote first arg of AC_DEFUN.
2184         Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
2185         since they are needed to parse the include file even if we need
2186         only xstrtoimax.  Simplify logic behind the args to AC_REPLACE.
2187         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
2188         but with opposite signedness.
2189
2190 2001-08-30  Paul Eggert  <eggert@twinsun.com>
2191
2192         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
2193         (jm_PREREQ_EXCLUDE): New macro.
2194
2195 2001-08-26  Jim Meyering  <meyering@lucent.com>
2196
2197         * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
2198
2199         * xstrtoimax.m4: New file.
2200         * xstrtoumax.m4: Add comments explaining why we
2201         AC_REPLACE_FUNCS(strtol).
2202
2203 2001-06-20  Paul Eggert  <eggert@twinsun.com>
2204
2205         * inttypes.m4: Add AC_PREREQ(2.13).
2206         (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
2207         (jm_AC_TYPE_INTMAX_T): New macro.
2208         (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
2209
2210         * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
2211
2212         * longlong.m4: Renamed from ulonglong.m4.
2213         * inttypes.m4: Renamed from inttypes_h.m4.
2214         * uintmax_t.m4: Removed.
2215
2216 2001-08-12  Jim Meyering  <meyering@lucent.com>
2217
2218         * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
2219         d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
2220         fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
2221         group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
2222         jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
2223         link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
2224         mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
2225         prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
2226         rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
2227         strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
2228         utime.m4, utimes.m4, xstrtoumax.m4:
2229         Quote the first argument in each use of AC_DEFUN.
2230
2231 2001-08-05  Jim Meyering  <meyering@lucent.com>
2232
2233         * jm-macros.m4: Require autoconf-2.52.
2234
2235 2001-08-03  Paul Eggert  <eggert@twinsun.com>
2236
2237         The following changes are from gettext 0.10.39 as maintained by
2238         Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
2239
2240         * codeset.m4: Upgrade to serial AM1.
2241         (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
2242         all uses changed.  Quote first arg of AC_DEFUN.
2243         (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
2244
2245         * iconv.m4: Upgrade to serial AM2.
2246         (AM_ICONV): Renamed from jm_ICONV; all uses changed.
2247         Add --with-libconv-prefix.
2248         Quote first arg of AC_DEFUN.  Add description for ICONV_CONST.
2249         (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
2250         (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
2251         (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
2252         * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
2253
2254         * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
2255         * getline.m4 (AM_FUNC_GETLINE): Likewise.
2256         * glibc21.m4 (jm_GLIBC21): Likewise.
2257         * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
2258         * isc-posix.m4 (AC_ISC_POSIX): Likewise.
2259         * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
2260         * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
2261         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
2262         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
2263
2264         * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
2265         string.h any more.
2266
2267         * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
2268         not the default value.
2269
2270         2001-06-25  Bruno Haible  <haible@clisp.cons.org>
2271         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
2272         Also check for mbsinit.  Needed for SCO 3.2v5.0.2.
2273         Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
2274         Also check for iswcntrl, used for wcwidth fallback.
2275         Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
2276         to Autoconf 2.13.
2277
2278 2001-08-03  Jim Meyering  <meyering@lucent.com>
2279
2280         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
2281         as it was in the original.  Reported by Paul Eggert.
2282
2283 2001-07-16  Jim Meyering  <meyering@lucent.com>
2284
2285         * gettimeofday.m4: New file.
2286         Prompted by a report from Bernhard Baehr.
2287
2288 2001-07-15  Jim Meyering  <meyering@lucent.com>
2289
2290         * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
2291         Now it's in ../Makefile.cfg.
2292
2293 2001-07-04  Jim Meyering  <meyering@lucent.com>
2294
2295         * Makefile.am.in (glibc-io.struct): New target.  Rework the code
2296         that generates jm-glibc-io.m4 so that it doesn't trigger any make
2297         distcheck failure.
2298
2299 2001-07-02  Jim Meyering  <meyering@lucent.com>
2300
2301         The following changes were prompted by suggestions from Bruno Haible.
2302
2303         * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
2304         is now generated.
2305         * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
2306         definition of EXTRA_DIST.
2307         (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
2308         ensure that the generated file is created/updated whenever the list
2309         of $(unlocked_functions) is changed.
2310         (jm-glibc-io.m4): New rule.
2311         (unlocked-io.h): New rule -- currently unused.
2312
2313 2001-06-24  Jim Meyering  <meyering@lucent.com>
2314
2315         * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
2316         unmatched right bracket, rather than kludging it with an extra,
2317         falsely-matching quote in a comment.  Patch by Akim Demaille.
2318
2319 2001-05-27  Jim Meyering  <meyering@lucent.com>
2320
2321         * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
2322         Check for ut_type in struct utmp.
2323
2324 2001-05-22  Jim Meyering  <meyering@lucent.com>
2325
2326         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
2327         now that we use the package-supplied version unconditionally.
2328         (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
2329
2330 2001-05-21  Jim Meyering  <meyering@lucent.com>
2331
2332         * regex.m4: Change a couple backticks to single quotes to avoid shell
2333         syntax errors.
2334
2335 2001-05-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
2336
2337         * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
2338
2339 2001-05-11  Paul Eggert  <eggert@twinsun.com>
2340
2341         * strftime.m4 (jm_FUNC_GNU_STRFTIME):
2342         Don't bother to check library strftime, since
2343         we'll be using our own my_strftime function anyway.
2344         Define my_strftime instead of strftime.
2345
2346 2001-05-15  Jim Meyering  <meyering@lucent.com>
2347
2348         * regex.m4: Use proper quoting so brackets appear in the test program.
2349         Reported by, and with help from, Bruno Haible.
2350
2351 2001-05-13  Jim Meyering  <meyering@lucent.com>
2352
2353         * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
2354
2355 2000-11-26  Paul Eggert  <eggert@twinsun.com>
2356
2357         * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
2358
2359 2001-04-21  Jim Meyering  <meyering@lucent.com>
2360
2361         * rmdir-errno.m4: Write to a new file, so that a restrictive umask
2362         doesn't interfere.
2363
2364 2001-04-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
2365
2366         * ftruncate.m4: Check for chsize.
2367         Link with ftruncate.o unconditionally if ftruncate is missing.
2368         This was required when cross-compiling to i586-mingw32msvc.
2369
2370 2001-03-24  Jim Meyering  <meyering@lucent.com>
2371
2372         * jm-macros.m4: Require autoconf-2.49d.
2373
2374 2001-03-20  Bruno Haible  <haible@clisp.cons.org>
2375
2376         * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
2377
2378 2001-03-17  Jim Meyering  <meyering@lucent.com>
2379
2380         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
2381         now that the version in autoconf is equivalent.
2382         (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
2383
2384         * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
2385         Suggestion from Akim Demaille.
2386
2387         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
2388         (jm_PREREQ_TEMPNAME): New function.
2389
2390 2001-02-25  Paul Eggert  <eggert@twinsun.com>
2391
2392         * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
2393         lacks mkstemp.  Compile our own tempname.c if we compile our own
2394         mkstemp.c, as mkstemp relies on tempname.
2395
2396 2001-03-01  Jim Meyering  <meyering@lucent.com>
2397
2398         * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
2399         AH_VERBATIM really does output its argument verbatim.
2400
2401 2001-02-18  Paul Eggert  <eggert@twinsun.com>
2402
2403         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
2404
2405 2001-02-17  Jim Meyering  <meyering@lucent.com>
2406
2407         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
2408         getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
2409         further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
2410         UnixWare 7.1.1.
2411
2412         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
2413         rather than AC_CACHE_VAL.
2414
2415 2001-02-17  Paul Eggert  <eggert@twinsun.com>
2416
2417         * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
2418         * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
2419         Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
2420         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
2421
2422 2001-02-07  Jim Meyering  <meyering@lucent.com>
2423
2424         * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
2425
2426 2001-02-05  Jim Meyering  <meyering@lucent.com>
2427
2428         * jm-macros.m4: Require autoconf-2.14d (not yet released), because
2429         it includes the patch required for `large file' support with at least
2430         HP-UX's 10.20 /bin/cc.
2431
2432 2001-02-03  Jim Meyering  <meyering@lucent.com>
2433
2434         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
2435         AS_IF, now that it works once again (mysteriously).
2436         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
2437
2438 2001-01-30  Jim Meyering  <meyering@lucent.com>
2439
2440         Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
2441         * chown.m4: Rename conftestchown to conftest.chown.
2442         * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
2443         * utimes.m4: s/conftestdata/conftest.data/
2444         Inspired by Pavel Roskin's change in autoconf.
2445
2446 2001-01-27  Jim Meyering  <meyering@lucent.com>
2447
2448         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
2449         a use of AS_IF.
2450         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
2451
2452 2001-01-26  Jim Meyering  <meyering@lucent.com>
2453
2454         * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
2455         quotearg.c includes it.
2456
2457 2001-01-15  Bruno Haible  <haible@clisp.cons.org>
2458
2459         * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
2460         has const.
2461
2462 2001-01-20  Jim Meyering  <meyering@lucent.com>
2463
2464         Be sure that headers are checked before used in code compiled
2465         for the type checks.
2466         * jm-macros.m4 (jm_MACROS): Remove all header checks.
2467         In place of that, invoke jm_CHECK_ALL_TYPES.
2468         (jm_CHECK_ALL_HEADERS): New functions with the above checks.
2469         (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
2470         Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
2471         The check for ssize_t was mistakenly run before the test for unistd.h.
2472
2473         The configure-time check for stdbool.h was missing.
2474         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
2475         (jm_PREREQ_HASH): New function.
2476
2477 2001-01-17  Jim Meyering  <meyering@lucent.com>
2478
2479         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
2480         for autoconf-2.49c.
2481         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
2482
2483 2001-01-14  Jim Meyering  <meyering@lucent.com>
2484
2485         * rename.m4: Use temporary directories named conftestdir{,2}, not
2486         foo and bar.  Create conftestdir/ in the script, not in the C code.
2487         Remove directories in the script, not in the C code.
2488         Remove conftestdir{,2} before trying to create the directory.
2489         Make the entire configure script fail if the mkdir fails.
2490
2491 2001-01-02  Volker Borchert  <bt@teknon.de>
2492
2493         * rename.m4: New file.
2494         * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
2495
2496 2001-01-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
2497
2498         * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
2499         expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
2500         so `make install' also works in VPATH builds.
2501
2502 2001-01-01  Jim Meyering  <meyering@lucent.com>
2503
2504         * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
2505         on systems with utmpx.h.  It's necessary for the declaration of utmp's
2506         ut_user member.  Reported by Andreas Jaeger.
2507
2508         * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
2509         They are required for the declarations of getgrgid and getpwuid resp.
2510         (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
2511         Reported by Andreas Jaeger.
2512
2513 2000-12-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2514
2515         * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
2516         prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
2517         can be used in subdirectories.
2518
2519 2000-12-26  Jim Meyering  <meyering@lucent.com>
2520
2521         * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
2522         with autoheader.
2523
2524 2000-12-17  Jim Meyering  <meyering@lucent.com>
2525
2526         * dos.m4 (jm_AC_DOS): New file and macro.
2527         * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
2528
2529 2000-12-06  Paul Eggert  <eggert@twinsun.com>
2530
2531         * off_t-format.m4: Remove this file.
2532         * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
2533
2534 2000-12-06  Jim Meyering  <meyering@lucent.com>
2535
2536         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
2537         strtoull, we may well need the replacement strtoul, too.
2538         Check for declarations of strtoul and strtoull.
2539         Check for strtol.  Mainly as a cue to cause automake to include
2540         strtol.c -- that file is included by each of strtoul.c and strtoull.c.
2541         Check for limits.h -- strtol.c needs it.
2542
2543 2000-12-02  Jim Meyering  <meyering@lucent.com>
2544
2545         * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
2546         * jm-macros.m4 (jm_MACROS): require it.
2547
2548 2000-11-30  Jim Meyering  <meyering@lucent.com>
2549
2550         * jm-macros.m4 (jm_MACROS): Check for stdint.h.
2551
2552 2000-11-30  Jim Meyering  <meyering@lucent.com>
2553
2554         * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
2555
2556 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
2557
2558         * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
2559
2560 2000-11-04  Jim Meyering  <meyering@lucent.com>
2561
2562         * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
2563
2564 2000-10-29  Jim Meyering  <meyering@lucent.com>
2565
2566         * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
2567         * ls-mntd-fs.m4: Likewise
2568
2569 2000-10-28  Jim Meyering  <meyering@lucent.com>
2570
2571         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
2572         (jm_PREREQ_MEMCHR): New function.
2573
2574 2000-10-21  Jim Meyering  <meyering@lucent.com>
2575
2576         * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
2577         * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
2578         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
2579
2580 2000-09-18  Jim Meyering  <meyering@lucent.com>
2581
2582         * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
2583         Otherwise, everyone ends up linking with -lelf for some configurations.
2584         Reported by Mike Stone.
2585
2586 2000-08-26  Jim Meyering  <meyering@lucent.com>
2587
2588         * jm-macros.m4: Use jm_FUNC_FPENDING.
2589         * fpending.m4: New file.
2590
2591 2000-08-20  Jim Meyering  <meyering@lucent.com>
2592
2593         * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
2594         `#if !HAVE_UTMPX_H'.  The latter would lose on systems with neither
2595         utmp.h nor utmpx.h.  Reported by Eli Zaretskii.
2596
2597 2000-08-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2598
2599         Improve fileutils installation on systems where running
2600         programs (like install) can't be unlinked.
2601         * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
2602         * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
2603
2604 2000-08-06  Paul Eggert  <eggert@twinsun.com>
2605
2606         * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
2607         not char, for compatibility with glibc 2.1.3 strftime.c.
2608
2609 2000-07-23  Paul Eggert  <eggert@twinsun.com>
2610
2611         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
2612
2613 2000-07-23  Jim Meyering  <meyering@lucent.com>
2614
2615         * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
2616         getgrgid, getpwuid, getuid.
2617
2618 2000-07-16  Bruno Haible  <haible@clisp.cons.org>
2619
2620         * mbswidth.m4: New file.
2621         * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
2622
2623 2000-07-14  Jim Meyering  <meyering@lucent.com>
2624
2625         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
2626
2627 2000-07-10  Paul Eggert  <eggert@twinsun.com>
2628
2629         From a suggestion by Bruno Haible.
2630         * mbstate_t.m4 (AC_MBSTATE_T):
2631         Renamed from AC_MBSTATE_T_OBJECT.  All uses changed.
2632         Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
2633         and mbstate_t, to a single-part test that simply defines mbstate_t.
2634         * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
2635
2636 2000-07-10  Jim Meyering  <meyering@lucent.com>
2637
2638         * strerror_r.m4: Mirror the correction made in autoconf.
2639
2640         * gnu-source.m4: Output to confdefs.h directly.
2641         Suggestion from Akim Demaille.
2642
2643 2000-07-09  Jim Meyering  <meyering@lucent.com>
2644
2645         * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
2646         to link seq.  If so, set SEQ_LIBM to -lm.  From Bruno Haible.
2647
2648         * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
2649         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
2650
2651 2000-07-05  Bruno Haible  <haible@clisp.cons.org>
2652
2653         * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
2654         to strerror_r.
2655         Include <ctype.h> for use of isalpha.
2656
2657 2000-07-05  Paul Eggert  <eggert@twinsun.com>
2658         and Bruno Haible  <haible@clisp.cons.org>
2659
2660         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
2661         only if the test for an object-type mbstate_t fails.  This
2662         prevents us from mistakenly reporting that mbstate_t is a
2663         system object type after we "#define mbstate_t int" to work
2664         around its lack.
2665
2666 2000-07-04  Jim Meyering  <meyering@lucent.com>
2667
2668         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
2669         of the deprecated AC_CHECKING.
2670
2671 2000-07-03  Jim Meyering  <meyering@lucent.com>
2672
2673         * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
2674
2675 2000-07-03  Paul Eggert  <eggert@twinsun.com>
2676
2677         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
2678         Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
2679
2680 2000-07-02  Jim Meyering  <meyering@lucent.com>
2681
2682         * mbstate_t.m4: Also define mbstate_t, if necessary.
2683
2684         * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
2685         AC_LIBOBJ(function_name).
2686         * chown.m4: Likewise.
2687         * fnmatch.m4: Likewise.
2688         * ftruncate.m4: Likewise.
2689         * getgroups.m4: Likewise.
2690         * getline.m4: Likewise.
2691         * group-member.m4: Likewise.
2692         * jm-macros.m4: Likewise.
2693         * lstat.m4: Likewise.
2694         * malloc.m4: Likewise.
2695         * memcmp.m4: Likewise.
2696         * nanosleep.m4: Likewise.
2697         * putenv.m4: Likewise.
2698         * realloc.m4: Likewise.
2699         * regex.m4: Likewise.
2700         * stat.m4: Likewise.
2701         * strftime.m4: Likewise.
2702
2703 2000-07-01  Jim Meyering  <meyering@lucent.com>
2704
2705         * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
2706         problem.
2707
2708 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
2709
2710         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
2711         macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
2712
2713 2000-07-01  Jim Meyering  <meyering@lucent.com>
2714
2715         * uptime.m4: Put double quotes around use of $cross_compiling.
2716
2717 2000-06-28  Jim Meyering  <meyering@lucent.com>
2718
2719         * mbstate_t.m4: Use stdlib.h, not stdio.h.  The latter is not included
2720         by quotearg.c, for which we perform this test.  From Bruno Haible.
2721
2722 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
2723
2724         * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
2725         * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
2726         <utmpx.h> exists, put readutmp.o into LIBOBJS.
2727
2728 2000-06-25  Jim Meyering  <meyering@lucent.com>
2729
2730         * mbstate_t.m4: Include stdio.h before wchar.h to work around
2731         Linux header bug when _XOPEN_SOURCE is defined to 500.
2732
2733 2000-06-24  Jim Meyering  <meyering@lucent.com>
2734
2735         * strerror_r.m4: Revive this file -- to try out an experimental
2736         version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
2737         for which strerror does return char*, but which lacks a conveniently
2738         accessible declaration of the function.  If the compile-test says
2739         strerror_r doesn't work, then resort to a `run'-test that works on
2740         BeOS and segfaults on DEC Unix.
2741
2742 2000-06-19  Paul Eggert  <eggert@twinsun.com>
2743
2744         * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
2745         * prereq.m4 (jm_PREREQ_QUOTEARG): Use it.  Add check for iswprint.
2746
2747 2000-06-23  Jim Meyering  <meyering@lucent.com>
2748
2749         * afs.m4: Add missing AC_MSG_RESULT.
2750         Reported by Bruno Haible.
2751
2752         * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
2753         Suggestion from Bruno Haible.
2754
2755 2000-06-21  Jim Meyering  <meyering@lucent.com>
2756
2757         * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
2758
2759 2000-06-18  Jim Meyering  <meyering@lucent.com>
2760
2761         * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
2762
2763         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
2764         `checking whether...' message to be consistent with that of the
2765         lstat test.
2766
2767 2000-06-16  Bruno Haible  <haible@clisp.cons.org>
2768
2769         * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
2770
2771 2000-06-12  Jim Meyering  <meyering@lucent.com>
2772
2773         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
2774         from autoconf, and tweak the latter to accept an optional argument.
2775         * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
2776         the optional argument, `lib'.
2777
2778 2000-06-08  Jim Meyering  <meyering@lucent.com>
2779
2780         * largefile.m4: Remove file (now that it's part of autoconf).
2781
2782 2000-06-04  Paul Eggert  <eggert@twinsun.com>
2783
2784         Rewrite largefile configuration so that we don't need to run
2785         getconf and don't need AC_CANONICAL_HOST.  [I'm leaving the use of
2786         AC_CANONICAL_HOST in configure.in -- jmm]
2787
2788         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
2789         AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
2790         (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
2791         (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
2792         CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
2793         All uses changed.
2794         Instead of inspecting the output of getconf, try to compile the
2795         test program without and with the macro definition.
2796         (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
2797         for getconf.  Instead, check for the needed flags by compiling
2798         test programs.
2799
2800 2000-06-03  Jim Meyering  <meyering@lucent.com>
2801
2802         * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
2803         now that autoconf requires that.
2804
2805         * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
2806         #undefs.  E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
2807         Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
2808
2809 2000-05-26  Bruno Haible  <haible@clisp.cons.org>
2810
2811         * glibc21.m4: New file.
2812         * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
2813
2814 2000-05-28  Jim Meyering  <meyering@lucent.com>
2815
2816         * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
2817         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2818         * stat.m4: Likewise.
2819         * lstat.m4: Likewise.
2820         * lstat-slash.m4: Remove file (absorbed into autoconf).
2821
2822         * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
2823         * strerror_r.m4: Remove file (absorbed into autoconf).
2824
2825 2000-05-26  Jim Meyering  <meyering@lucent.com>
2826
2827         * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
2828
2829 2000-05-24  Jim Meyering  <meyering@lucent.com>
2830
2831         * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
2832         autoconf requires that.
2833         * lib-check.m4: Likewise.
2834         * jm-macros.m4: Likewise.
2835         * strftime.m4: Likewise.
2836
2837         * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
2838         now that autoconf requires that.
2839
2840 2000-05-22  Jim Meyering  <meyering@lucent.com>
2841
2842         * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2843         * lstat.m4: Likewise.
2844
2845 2000-05-20  Jim Meyering  <meyering@lucent.com>
2846
2847         * prereq.m4 (jm_PREREQ_HUMAN): New macro.
2848         (jm_PREREQ): Use it.
2849
2850 2000-05-09  Jim Meyering  <meyering@lucent.com>
2851
2852         * gettext.m4: Rename this...
2853         * libintl.m4: ...to this.
2854
2855 2000-05-06  Jim Meyering  <meyering@lucent.com>
2856
2857         * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
2858         (AC_REPLACE_FUNCS): Add strnlen.
2859
2860         * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
2861         * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
2862
2863         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
2864         AC_SEARCH_LIBS call for nanosleep.
2865         (LIB_NANOSLEEP): Set and AC_SUBST.
2866
2867 2000-05-03  Paul Eggert  <eggert@twinsun.com>
2868
2869         * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
2870         be 500, instead of _GNU_SOURCE to be 1, to work around glibc
2871         2.1.3 bug.  This avoids a clash when files like regex.c define
2872         _GNU_SOURCE.
2873
2874 2000-05-05  Jim Meyering  <meyering@lucent.com>
2875
2876         * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
2877         call for clock_gettime.
2878         (LIB_CLOCK_GETTIME): Set and AC_SUBST.
2879
2880         * search-libs.m4: Update from autoconf.
2881
2882         su doesn't work on Solaris 2.6.
2883         * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
2884         <shadow.h>.  Reported by Dragos Harabor.
2885
2886 2000-05-03  Jim Meyering  <meyering@lucent.com>
2887
2888         * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
2889
2890 2000-05-02  Paul Eggert  <eggert@twinsun.com>
2891
2892         * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
2893         this is needed to make ftello visible (e.g. glibc 2.1.3).  Use
2894         compile-time test, rather than inspecting host and OS, to
2895         decide whether to define _LARGEFILE_SOURCE.
2896
2897 2000-05-01  Jim Meyering  <meyering@lucent.com>
2898
2899         * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
2900
2901         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
2902         Based on a patch from Bruno Haible.
2903
2904 2000-04-18  Jim Meyering  <meyering@lucent.com>
2905
2906         * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
2907         (jm_PREREQ): Use it.
2908
2909 2000-04-17  Jim Meyering  <meyering@lucent.com>
2910
2911         Get it right :-)
2912         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
2913         actual #define via AH_VERBATIM.  Don't need separate AC_DEFINE.
2914         Suggestion from Akim Demaille.
2915
2916 2000-04-14  Jim Meyering  <meyering@lucent.com>
2917
2918         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
2919         of AC_DEFINE.  Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
2920
2921 2000-04-13  Jim Meyering  <meyering@lucent.com>
2922
2923         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
2924         to insert required #ifndef into config.h.in.
2925         Suggestion from Akim Demaille.
2926
2927 2000-04-12  Jim Meyering  <meyering@lucent.com>
2928
2929         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
2930         `AC_CHECK_HEADER' to check for locale.h.  Thanks to a report from
2931         Christian Krackowizer.
2932
2933         More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
2934         * jm-macros.m4 (_GNU_SOURCE): Define.
2935         (AC_SYS_LARGEFILE): Require.
2936         (AM_C_PROTOTYPES): Require.
2937
2938 2000-04-05  Paul Eggert  <eggert@twinsun.com>
2939
2940         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
2941         IRIX if the installer said otherwise.
2942
2943 2000-04-05  Jim Meyering  <meyering@lucent.com>
2944
2945         Portability tweaks required for ultrix4.3.
2946         * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
2947         (jm_CHECK_DECLS): Add getutent to the list of functions.
2948         (_jm_DECL_HEADERS): Add utmpx.h.
2949         From John David Anglin.
2950
2951         * strftime.m4: Back out the 2000-04-02 change.
2952         Instead of that change, simply undefine putenv in the test program.
2953
2954 2000-04-03  Jim Meyering  <meyering@lucent.com>
2955
2956         * gettext.m4: Fix typo in comment.
2957
2958         * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
2959         textutils/configure.in).  Suggestion from Paul Eggert.
2960         (AC_CHECK_FUNCS): Add nl_langinfo.  (also from textutils/configure.in)
2961
2962 2000-04-02  Paul Eggert  <eggert@twinsun.com>
2963
2964         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
2965         variable in the shell rather than using putenv, which isn't
2966         portable.  This avoids the configure-time inter-test dependency
2967         on the potentially-renamed putenv function.
2968
2969 2000-03-30  Paul Eggert  <eggert@twinsun.com>
2970
2971         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
2972         before checking struct stat.st_blksize, so that
2973         HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
2974
2975 2000-03-29  Paul Eggert  <eggert@twinsun.com>
2976
2977         * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
2978         since strftime.c uses HAVE_STRFTIME to decide whether to use
2979         the underlying strftime.
2980
2981 2000-03-10  Jim Meyering  <meyering@lucent.com>
2982
2983         * lib-check.m4: Look for getspnam in -lgen, too.
2984         From Marco Franzen.
2985
2986 2000-02-02  Bruno Haible  <haible@clisp.cons.org>
2987
2988         * codeset.m4: New file.
2989         * iconv.m4: New file.
2990         * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
2991
2992 2000-03-04  Jim Meyering  <meyering@lucent.com>
2993
2994         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
2995         for lib/localcharset.c.
2996
2997 2000-03-03  Jim Meyering  <meyering@lucent.com>
2998
2999         * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
3000
3001 2000-03-02  Jim Meyering  <meyering@lucent.com>
3002
3003         * timespec.m4: Require AC_HEADER_TIME before the cache check so
3004         the messages come out on separate lines.
3005
3006         * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
3007         rather than jm_CHECK_DECLARATIONS.
3008         * decl.m4: Remove now-unused file.
3009
3010         * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
3011
3012 2000-02-27  Jim Meyering  <meyering@lucent.com>
3013
3014         * check-decl.m4: Add getenv to the list.
3015
3016 2000-02-23  Jim Meyering  <meyering@lucent.com>
3017
3018         * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
3019         in place of my hack.
3020
3021 2000-02-10  Jim Meyering  <meyering@lucent.com>
3022
3023         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
3024         gnu_nanosleep to rpl_nanosleep.
3025
3026 2000-02-09  Jim Meyering  <meyering@lucent.com>
3027
3028         * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
3029         struct spwd, rather than in struct passwd.  Reported by Gaël Quéri.
3030
3031 2000-02-08  Akim Demaille  <akim@epita.fr>
3032
3033         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
3034         `[' and `]' and remove uses of `changequote'.
3035         (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
3036         (AC_SYS_LARGEFILE): Likewise.
3037         * gettext.m4 (AM_GNU_GETTEXT): Likewise.
3038         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
3039         of changequote.
3040         * regex.m4 (jm_INCLUDED_REGEX): Likewise.
3041         * readdir.m4 (jm_FUNC_READDIR): Likewise
3042         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
3043         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
3044
3045 2000-02-05  Jim Meyering  <meyering@lucent.com>
3046
3047         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
3048         Remove explicit use of AC_HEADER_TIME.  It is required by
3049         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Using AC_HEADER_TIME and
3050         `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
3051         in autoconf whereby the expansion of the latter ended up preceding
3052         the expansion of its prerequisite, AC_HEADER_TIME.
3053         Reported by Volker Borchert.
3054
3055 2000-02-03  Jim Meyering  <meyering@lucent.com>
3056
3057         * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
3058
3059 2000-02-02  Jim Meyering  <meyering@lucent.com>
3060
3061         * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
3062         definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
3063         Reported by Eli Zaretskii.
3064
3065 2000-01-31  Jim Meyering  <meyering@lucent.com>
3066
3067         * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
3068         functions.  Add the time.h and sys/time.h headers along with the
3069         AC_REQUIRE'ment of AC_HEADER_TIME.
3070
3071 2000-01-30  Jim Meyering  <meyering@lucent.com>
3072
3073         * lib-check.m4: Clean up some kludgy old shadow password tests.
3074
3075         * prereq.m4 (utmp_includes): Define.
3076         Check for ut_user and ut_name members in both struct utmpx
3077         and struct utmp.
3078
3079 2000-01-29  Jim Meyering  <meyering@lucent.com>
3080
3081         * lib-check.m4: New file containing library-related checks from
3082         fileutils and sh-utils (textutils had none).
3083
3084 2000-01-28  Jim Meyering  <meyering@lucent.com>
3085
3086         * perl.m4: Change format of warning message to look more like that
3087         from the missing script.  Suggestion from François Pinard.
3088
3089 2000-01-25  Jim Meyering  <meyering@lucent.com>
3090
3091         * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
3092         as time.h in the compile check.
3093         * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
3094         Fix typo in cross-compiling case: s/yes/no/.
3095
3096 2000-01-23  Jim Meyering  <meyering@lucent.com>
3097
3098         * jm-macros.m4: Move df-related tests here from fileutils/configure.in
3099
3100         * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
3101         (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
3102
3103         * fsusage.m4: New file.  Extracted from fileutils/configure.in.
3104         s/space/ac_fsusage_space/.
3105         (jm_FILE_SYSTEM_USAGE): Take two parameters.
3106
3107         * ftruncate.m4: New file (derived from part of fileutils/configure.in).
3108         * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
3109         (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
3110
3111         * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
3112         AC_SUBST these here, rather than just in sh-util/configure.in, so
3113         that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
3114         all the same.
3115         (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
3116         (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
3117         (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
3118         (AC_SUBST(POW_LIBM)): Likewise.
3119         (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
3120
3121 2000-01-22  Jim Meyering  <meyering@lucent.com>
3122
3123         * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
3124
3125         * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
3126
3127         * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
3128         configure.in
3129         (AC_CHECK_HEADERS): Likewise for sh-utils.
3130         (AC_CHECK_HEADERS): Likewise for textutils.
3131         Merge the three lists of headers.
3132
3133         * prereq.m4 (jm_PREREQ_ADDEXT): New macro.  Parts moved here
3134         from fileutils' configure.in.
3135
3136         * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
3137         Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
3138
3139         * check-decl.m4: Use #if rather than #ifdef.
3140         Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
3141         (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
3142         (_jm_DECL_HEADERS): Define new function.
3143         (jm_CHECK_DECLARATIONS): Require it.
3144
3145 2000-01-19  Jim Meyering  <meyering@lucent.com>
3146
3147         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
3148         Use AC_HEADER_TIME.  Volker Borchert reported that OpenBSD-2.3/sparc
3149         defines `struct timespec' in <sys/time.h>
3150
3151         * c-bs-a.m4: Remove uses of changequote altogether.
3152         Thanks to Akim for explaining.
3153
3154 2000-01-16  Jim Meyering  <meyering@lucent.com>
3155
3156         * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
3157         AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
3158         jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
3159         AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
3160
3161 2000-01-16  Jim Meyering  <meyering@lucent.com>
3162
3163         * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
3164         because the latter didn't work.
3165
3166 2000-01-15  Jim Meyering  <meyering@lucent.com>
3167
3168         * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
3169         (AC_REPLACE_FUNCS): Add memcpy and memset.
3170         Add these, too: stime strcspn stpcpy strstr strtol strtoul.
3171         Add strpbrk.
3172         Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
3173
3174 2000-01-12  Jim Meyering  <meyering@lucent.com>
3175
3176         * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
3177         (jm_PREREQ): Use it.
3178         (jm_PREREQ_READUTMP): New macro.
3179         (jm_PREREQ): Use it.
3180
3181 2000-01-11  Paul Eggert  <eggert@twinsun.com>
3182
3183         Quote multibyte characters correctly.
3184         * c-bs-a.m4: New file.
3185         * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
3186         (jm_PREREQ): Use it.
3187
3188 2000-01-11  Paul Eggert  <eggert@twinsun.com>
3189
3190         * uintmax_t.m4: Port to autoconf 2.13.
3191
3192 2000-01-08  Jim Meyering  <meyering@ascend.com>
3193
3194         * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
3195         * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
3196
3197 2000-01-04  Jim Meyering  <meyering@ascend.com>
3198
3199         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
3200         jm_STRUCT_DIRENT_D_TYPE.
3201         * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
3202         jm_STRUCT_DIRENT_D_INO.
3203         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
3204         jm_STRUCT_UTIMBUF.
3205         * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
3206         * utime.m4: Likewise.
3207
3208         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
3209         * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
3210
3211 2000-01-03  Paul Eggert  <eggert@twinsun.com>
3212
3213         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
3214         (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
3215
3216 2000-01-02  Jim Meyering  <meyering@ascend.com>
3217
3218         * search-libs.m4: Escape `$' in $3 of dnl comment.  I no longer
3219         remember if this is necessary.
3220
3221 1999-12-26  Jim Meyering  <meyering@ascend.com>
3222
3223         * jm-macros.m4: Use it here.
3224         * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
3225
3226 1999-12-23  Jim Meyering  <meyering@ascend.com>
3227
3228         * jm-macros.m4: Check for clock_gettime (moved from
3229         fileutils/configure.in)
3230         Check for gettimeofday.
3231
3232 1999-12-20  Jim Meyering  <meyering@ascend.com>
3233
3234         * strftime.m4: Remove kludge, now that I'm using the fixed
3235         autoconf-2.14a-1999-12-20.
3236
3237 1999-12-19  Jim Meyering  <meyering@ascend.com>
3238
3239         * lstat-slash.m4: New file.
3240         * jm-macros.m4: Use the new macro:
3241         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
3242
3243 1999-12-07  Jim Meyering  <meyering@ascend.com>
3244
3245         * perl.m4: Require that File::Compare be available, too.
3246         Too many systems seem to lack it.
3247
3248         * strftime.m4: Add checks for most of the cpp macros tested in
3249         GNU's strftime.c.  Prompted by a patch from Paul Eggert.
3250
3251 1999-11-18  Paul Eggert  <eggert@twinsun.com>
3252
3253         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
3254         problem with the QNX 4.25 shell, which doesn't propagate exit
3255         status of failed commands inside shell assignments.
3256
3257 1999-11-17  Jim Meyering  <meyering@ascend.com>
3258
3259         * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
3260
3261 1999-11-07  Jim Meyering  <meyering@ascend.com>
3262
3263         * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
3264
3265 1999-11-06  Jim Meyering  <meyering@ascend.com>
3266
3267         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
3268         * jm-macros.m4 (jm_MACROS): Use it here.
3269
3270 1999-11-05  Jim Meyering  <meyering@ascend.com>
3271
3272         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
3273         of textutils, fileutils, and sh-utils into this one (shared between
3274         those packages) file.
3275         Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
3276         AC_STRUCT_ST_BLKSIZE.
3277
3278 1999-11-03  Jim Meyering  <meyering@ascend.com>
3279
3280         * ssize_t.m4: Remove file.  No longer needed since the new version of
3281         AC_CHECK_TYPE checks includes unistd.h.
3282         * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
3283         Suggestion from Akim Demaille.
3284
3285 1999-10-30  Jim Meyering  <meyering@ascend.com>
3286
3287         * uintmax_t.m4: Require 2.14a.  Remove backslash before backtick in
3288         m4-quoted string.
3289         * ls-mntd-fs.m4: Likewise.
3290         * jm-macros.m4: Likewise.  Also, use AC_TYPE_SSIZE_T instead
3291         * jm-winsz1.m4: Likewise.
3292
3293         * const.m4: Remove file, since the fix made it into the experimental
3294         version of autoconf.
3295         * mktime.m4: Likewise.
3296
3297         * check-type.m4: Remove file, now that the latest version of
3298         AC_CHECK_TYPE takes a third arg to specify additional #includes.
3299
3300         * ssize_t.m4: New file, requires experimental version of autoconf.
3301         * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
3302         AC_CHECK_TYPE.
3303
3304 1999-10-04  Jim Meyering  <meyering@ascend.com>
3305
3306         * jm-macros.m4: Don't require autoconf-2.14.1.
3307
3308 1999-09-22  Paul Eggert  <eggert@twinsun.com>
3309
3310         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
3311         2.95.1 bug with HP-UX 10.20.
3312
3313 1999-09-17  Jim Meyering  <meyering@ascend.com>
3314
3315         * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
3316         Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
3317         due to missing strdup (against sh-utils-2.0).
3318
3319 1999-08-29  Jim Meyering  <meyering@ascend.com>
3320
3321         * jm-macros.m4: Require jm_BISON.
3322         * bison.m4: New file.
3323
3324 1999-08-17  Paul Eggert  <eggert@twinsun.com>
3325
3326         * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
3327         in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
3328
3329 1999-08-05  Jim Meyering  <meyering@ascend.com>
3330
3331         * getline.m4: Rename test file from conftestdata to conftest.data
3332         to avoid conflicts with `conftest' on 8+3 filesystems.
3333         Suggestion from Eli Zaretskii.
3334
3335 1999-08-04  Jim Meyering  <meyering@ascend.com>
3336
3337         * jm-macros.m4: Move a 4-line block of code from the configure.in of
3338         fileutils and sh-utils (textutils's getline test was inadequate).
3339         (AM_FUNC_GETLINE): Run this test.
3340         (AC_CHECK_FUNCS): Check for getdelim.
3341         Reported by Bob Proulx.
3342
3343 1999-08-02  Jim Meyering  <meyering@ascend.com>
3344
3345         * jm-macros.m4: Add a comment.
3346
3347 1999-08-01  Jim Meyering  <meyering@ascend.com>
3348
3349         * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
3350
3351 1999-08-01  Paul Eggert  <eggert@twinsun.com>
3352
3353         * lfs.m4: Remove this file.
3354         * largefile.m4: New file.  It contains the old contents of
3355         lfs.m4, except that all names with prefix AC_LFS have been
3356         changed to use the prefix AC_SYS_LARGEFILE instead, to be
3357         compatible with future autoconf versions.  Also, some minor m4
3358         quoting problems have been fixed.
3359
3360 1999-07-16  Paul Eggert  <eggert@twinsun.com>
3361
3362         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
3363         that we can shift, multiply and divide unsigned long long
3364         values; Ultrix cc can't do it.
3365
3366 1999-07-14  Paul Eggert  <eggert@twinsun.com>
3367
3368         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
3369         <inttypes.h> defines strtoumax as a macro (and not as a
3370         function).
3371
3372 1999-07-05  Paul Eggert  <eggert@twinsun.com>
3373
3374         * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
3375         Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
3376         (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
3377         and simplify the shell code.
3378
3379 1999-07-03  Paul Eggert  <eggert@twinsun.com>
3380
3381         * mktime.m4: New file, which is a preview of what should appear
3382         in the next public autoconf release.
3383
3384 1999-07-20  Jim Meyering  <meyering@ascend.com>
3385
3386         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
3387
3388 1999-07-15  Jim Meyering  <meyering@ascend.com>
3389
3390         * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
3391
3392 1999-05-22  Jim Meyering  <meyering@ascend.com>
3393
3394         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
3395
3396 1999-05-20  Jim Meyering  <meyering@ascend.com>
3397
3398         * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
3399         Add a colon after each `then' in case $4 is empty.
3400
3401 1999-05-16  Jim Meyering  <meyering@ascend.com>
3402
3403         * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
3404
3405 1999-05-10  Jim Meyering  <meyering@ascend.com>
3406
3407         * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
3408
3409         * jm-macros.m4: Require 2.14.1, since we use newly-renamed
3410         AC_FUNC_MKTIME.
3411
3412 1999-05-10  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3413
3414         * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
3415
3416 1999-05-04  Paul Eggert  <eggert@twinsun.com>
3417
3418         * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
3419         not CPPFLAGS, so that linking works correctly in IRIX.
3420
3421 1999-04-30  Paul Eggert  <eggert@twinsun.com>
3422
3423         * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
3424
3425 1999-04-20  Jim Meyering  <meyering@ascend.com>
3426
3427         * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
3428         AC_REPLACE xstroull if necessary.  From Paul Eggert.
3429         (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
3430
3431 1999-04-20  Paul Eggert  <eggert@twinsun.com>
3432
3433         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
3434         long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
3435         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
3436         jm_AC_TYPE_UNSIGNED_LONG_LONG.
3437         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
3438
3439         * lfs.m4: Port to AIX and HP-UX.  Support cross-compilation.
3440
3441 1999-04-18  Jim Meyering  <meyering@ascend.com>
3442
3443         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
3444         * jm-macros.m4: Use it.
3445
3446 1999-04-06  Jim Meyering  <meyering@ascend.com>
3447
3448         * strftime.m4: Remove test for %f.
3449
3450 1999-03-29  Jim Meyering  <meyering@ascend.com>
3451
3452         * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
3453         superset of the AC_TYPE_* checks in the textutils, fileutils,
3454         and sh-utils, plus AC_TYPE_PID_T.  Paul Eggert suggested adding
3455         AC_TYPE_PID_T.
3456
3457 1999-03-28  Jim Meyering  <meyering@ascend.com>
3458
3459         * jm-macros.m4: Define GNU_PACKAGE here.
3460         Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
3461         replaced e.g., in the *.sh files of the sh-utils.
3462
3463 1999-03-20  Jim Meyering  <meyering@ascend.com>
3464
3465         * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
3466         * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
3467         Don't depend on AM_GLIBC.  Suggestions from Alain Magloire.
3468
3469 1999-03-19  Jim Meyering  <meyering@ascend.com>
3470
3471         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
3472
3473 1999-03-12  Jim Meyering  <meyering@ascend.com>
3474
3475         * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
3476
3477 1999-03-07  Jim Meyering  <meyering@ascend.com>
3478
3479         * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
3480
3481 1999-02-17  Jim Meyering  <meyering@ascend.com>
3482
3483         * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
3484         in macro definition.  From Eli Zaretskii and Alain Magloire.
3485
3486 1999-02-07  Jim Meyering  <meyering@ascend.com>
3487
3488         * group-member.m4: New file -- extracted from sh-utils' configure.in.
3489
3490         1999-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
3491         * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
3492
3493 1999-02-06  Jim Meyering  <meyering@ascend.com>
3494
3495         * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
3496         * fnmatch.m4: Likewise.
3497         * getgroups.m4: Likewise.
3498         * lstat.m4: Likewise.
3499         * malloc.m4: Likewise.
3500         * putenv.m4: Likewise.
3501         * realloc.m4: Likewise.
3502         * regex.m4: Likewise.
3503         * stat.m4: Likewise.
3504         * strftime.m4: Likewise.
3505         Suggestion from Alain Magloire.
3506
3507         * chown.m4: Use `.$ac_objext', not `.o'.
3508         * fnmatch.m4: Likewise.
3509         * getgroups.m4: Likewise.
3510         * getline.m4: Likewise.
3511         * lstat.m4: Likewise.
3512         * malloc.m4: Likewise.
3513         * memcmp.m4: Likewise.
3514         * putenv.m4: Likewise.
3515         * realloc.m4: Likewise.
3516         * regex.m4: Likewise.
3517         * stat.m4: Likewise.
3518         * strftime.m4: Likewise.
3519         Suggestion from Alain Magloire.
3520
3521         * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
3522         an argument.
3523
3524         * regex.m4: Add a run-time Test for proper operation of
3525         re_compile_pattern.
3526
3527 1999-01-31  Jim Meyering  <meyering@ascend.com>
3528
3529         * getloadavg.m4: Check for locale.h and the function, setlocale.
3530
3531 1999-01-30  Jim Meyering  <meyering@ascend.com>
3532
3533         * check-type.m4: Use 3-arg form of AC_DEFINE.
3534
3535         * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
3536         rather than my private copy, now that the official one is up to date.
3537         * mktime.m4: Remove file.
3538
3539         * getloadavg.m4: Use 3-arg form of AC_DEFINE.
3540         * uptime.m4: Likewise.
3541         * uintmax_t.m4: Likewise.
3542
3543 1999-01-28  Jim Meyering  <meyering@ascend.com>
3544
3545         * jm-macros.m4: Use jm_AFS.
3546         * afs.m4: New file (from fileutils' configure.in).
3547
3548         * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
3549         * chown.m4: Likewise.
3550         * d-ino.m4: Likewise.
3551         * d-type.m4: Likewise.
3552         * fnmatch.m4: Likewise.
3553         * getgroups.m4: Likewise.
3554         * gettext.m4: Likewise.
3555         * jm-mktime.m4: Likewise.
3556         * jm-winsz2.m4: Likewise.
3557         * lcmessage.m4: Likewise.
3558         * ls-mntd-fs.m4: Likewise.
3559         * malloc.m4: Likewise.
3560         * memcmp.m4: Likewise.
3561         * putenv.m4: Likewise.
3562         * realloc.m4: Likewise.
3563         * st_mtim.m4: Likewise.
3564         * strftime.m4: Likewise.
3565
3566 1999-01-16  Jim Meyering  <meyering@ascend.com>
3567
3568         * jm-macros.m4 (ARGMATCH_DIE): Define.
3569         (ARGMATCH_DIE_DECL): Define.
3570
3571 1999-01-12  Jim Meyering  <meyering@ascend.com>
3572
3573         * Makefile.am.in: Rewrite to avoid using fmt.
3574         Reported by Lars Hecking.
3575
3576 1999-01-10  Jim Meyering  <meyering@ascend.com>
3577
3578         * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
3579         gross kludge.
3580         * inttypes_h.m4: Likewise.
3581         * lstat.m4: Likewise.
3582         * malloc.m4: Likewise.
3583         * readdir.m4: Likewise.
3584         * realloc.m4: Likewise.
3585         * st_dm_mode.m4: Likewise.
3586         * stat.m4: Likewise.
3587         * utimbuf.m4: Likewise.
3588         * utimes.m4: Likewise.
3589
3590         * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
3591         AC_CHECK_FUNCS hack.  Now, it's still a hack, but at least the
3592         comments in config.h.in are meaningful.
3593
3594         * jm-macros.m4: Require autoconf-2.13 here.
3595
3596         * regex.m4: By default, don't use the included regex.c on systems
3597         with glibc 2.  Suggestion from Uli Drepper.
3598
3599 1999-01-02  Jim Meyering  <meyering@ascend.com>
3600
3601         * jm-macros.m4: Replace strcasecmp and strncasecmp.
3602
3603 1998-12-18  Jim Meyering  <meyering@ascend.com>
3604
3605         * Makefile.am.in (Makefile.am): Simplify rule.
3606         Based on a suggestion from Lars Hecking.
3607
3608 1998-11-16  Jim Meyering  <meyering@ascend.com>
3609
3610         * lfs.m4: Double-quote the `uname...` expression.
3611
3612 1998-11-16  Paul Eggert  <eggert@twinsun.com>
3613
3614         * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
3615
3616 1998-11-14  Jim Meyering  <meyering@ascend.com>
3617
3618         * lstat.m4: Correct comment.  POSIX does not permit it to succeed.
3619         * stat.m4: Likewise.
3620
3621 1998-11-03  Jim Meyering  <meyering@ascend.com>
3622
3623         * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
3624         * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
3625
3626 1998-10-18  Jim Meyering  <meyering@ascend.com>
3627
3628         * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
3629
3630 1998-10-17  Jim Meyering  <meyering@ascend.com>
3631
3632         * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
3633         include, though we still hard-code the `require'-like AC_CHECK_HEADERS
3634         calls for those previously hard-coded headers.  Instead, take a new
3635         parameter.
3636         (jm_CHECK_DECLARATIONS): Reflect interface change.
3637         * check-decl.m4 (jm_CHECK_DECLS): Likewise.
3638         (jm_CHECK_DECL_LOCALTIME_R): New macro.
3639
3640         * mktime.m4: Test for spring-forward gap before long-running test.
3641
3642 1998-10-14  Jim Meyering  <meyering@ascend.com>
3643
3644         * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
3645         instead of "TZ=America/Vancouver".  From Paul Eggert.
3646
3647 1998-10-11  Jim Meyering  <meyering@ascend.com>
3648
3649         * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
3650         This adds a test for a recently added compatibility fix for mktime.c.
3651         * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
3652
3653 1998-09-27  Jim Meyering  <meyering@ascend.com>
3654
3655         * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
3656
3657         * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro.  Extracted from
3658         ../configure.in, including a change from Gordon Matzigkeit to allow
3659         cross-compiling for the Hurd.
3660
3661         * glibc.m4: New file/macro to test for the GNU C Library
3662         versions 1 and 2.  From Gordon Matzigkeit.
3663         Indent.
3664
3665 1998-09-21  Jim Meyering  <meyering@ascend.com>
3666
3667         * chown.m4: Declare locals: before, after.  From Andries Brouwer.
3668
3669 1998-08-18  Paul Eggert  <eggert@twinsun.com>
3670
3671         Port nanosecond-resolution times to UnixWare 2.1.2 and
3672         pedantic Solaris 2.6.
3673
3674         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
3675         AC_STRUCT_ST_MTIM.
3676         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
3677         Generate name of ns member, instead of just 1 or undef.
3678         Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
3679
3680 1998-08-15  Jim Meyering  <meyering@ascend.com>
3681
3682         * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
3683         * check-type.m4: New file.  Replacement for AC_CHECK_TYPE.
3684         * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
3685         instead of jm_TYPE_SSIZE_T.
3686
3687 1998-08-12  Jim Meyering  <meyering@ascend.com>
3688
3689         * st_dm_mode.m4: New file.  From Johan Danielsson.
3690
3691 1998-08-02  Jim Meyering  <meyering@ascend.com>
3692
3693         * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
3694         in acconfig.h manually.
3695
3696 1998-07-31  Paul Eggert  <eggert@twinsun.com>
3697
3698         * st_mtim.m4: New file.
3699
3700 1998-07-28  Jim Meyering  <meyering@ascend.com>
3701
3702         * utimes.m4: Undef stat.
3703
3704 1998-07-25  Jim Meyering  <meyering@ascend.com>
3705
3706         * utime.m4 (jm_FUNC_UTIME): New file and macro.
3707         * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
3708
3709 1998-07-09  Manfred Hollstein  <manfred@s-direktnet.de>
3710
3711         * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
3712         uid and gid actually remain unchanged.
3713
3714 1998-07-07  Jim Meyering  <meyering@ascend.com>
3715
3716         * jm-glibc-io.m4: Remove fclose_unlocked.
3717
3718 1998-07-04  Jim Meyering  <meyering@ascend.com>
3719
3720         * regex.m4: Use syscmd, ifelse, and sysval.  Mainly as an exercise
3721         to prove that this macro can be used in packages without regex.c.
3722
3723 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3724
3725         * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
3726         is to be used.
3727
3728 1998-07-03  Jim Meyering  <meyering@ascend.com>
3729
3730         * gettext.m4: Add -lintl if it's found to be necessary.
3731
3732         * gettext.m4: New file -- from gettext-0.10.35.
3733         * lcmessage.m4: Likewise.
3734         * progtest.m4: Likewise.
3735
3736         * regex.m4 (jm_WITH_REGEX): New file and macro.
3737         * jm-macros.m4: Require the new macro.
3738
3739 1998-06-29  Jim Meyering  <meyering@ascend.com>
3740
3741         * fstypename.m4: Include sys/param.h.  NetBSD 1.3.1 requires this
3742         for the definition of NGROUPS (used in a system header included
3743         by sys/mount.h).
3744
3745 1998-06-28  Jim Meyering  <meyering@ascend.com>
3746
3747         * ls-mntd-fs.m4: New file.
3748         * fstypename.m4: New file.
3749
3750         * jm-macros.m4: Require the new macro.
3751         * jm-glibc-io.m4: New file.
3752
3753 1998-05-19  Jim Meyering  <meyering@ascend.com>
3754
3755         * jm-macros.m4: Add jm_FUNC_LCHOWN.
3756         * lchown.m4: New file.
3757
3758         * Makefile.am.in: New file.
3759         * Makefile.am (Makefile.am): Depend on Makefile.am.in.
3760
3761 1998-05-14  Jim Meyering  <meyering@ascend.com>
3762
3763         * Makefile.am (EXTRA_DIST): Add them.
3764         * jm-macros.m4: New file.
3765         * utimbuf.m4: New file.
3766
3767 1998-05-12  Jim Meyering  <meyering@ascend.com>
3768
3769         * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
3770
3771 1998-05-11  Jim Meyering  <meyering@ascend.com>
3772
3773         * isc-posix.m4: New file.
3774
3775 1998-05-10  Jim Meyering  <meyering@ascend.com>
3776
3777         * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
3778
3779 1998-05-09  Jim Meyering  <meyering@ascend.com>
3780
3781         * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
3782         (EXTRA_DIST): Remove mktime.m4, now that the new version is included
3783         with automake.
3784
3785         * ssize_t.m4: New file.
3786         * mktime.m4: Remove file -- the new automake has this now.
3787
3788 1998-04-26  Jim Meyering  <meyering@ascend.com>
3789
3790         * assert.m4: New file.
3791         * Makefile.am (EXTRA_DIST): Add assert.m4.
3792
3793 1998-04-05  Jim Meyering  <meyering@ascend.com>
3794
3795         * prereq.m4 (jm_PREREQ_REGEX): New macro.
3796         (jm_PREREQ): Use it here.
3797
3798 1998-03-23  Jim Meyering  <meyering@eng.ascend.com>
3799
3800         * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
3801         in acconfig.h.
3802
3803 1998-03-15  Jim Meyering  <meyering@eng.ascend.com>
3804
3805         * prereq.m4: New file.
3806         * error.m4: New file.
3807         * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
3808
3809 1998-02-07  Jim Meyering  <meyering@eng.ascend.com>
3810
3811         * getline.m4: Don't set am_cv_func_working_getline before the
3812         cache-check for the same variable -- that defeated the purpose of
3813         the test; the test program was never run.  This was a problem only
3814         on systems with losing getline functions -- HP-UX 10.20 is one.
3815         Reported by Bjorn Helgaas.
3816
3817 1998-02-06  Jim Meyering  <meyering@eng.ascend.com>
3818
3819         * Makefile.am (EXTRA_DIST): Add perl.m4.
3820
3821 1998-01-10  Jim Meyering  <meyering@na-net.ornl.gov>
3822
3823         * Makefile.am (EXTRA_DIST): Add const.m4.
3824
3825         * const.m4: New file.  Use an initializer in this declaration
3826         typedef int charset[2]; const charset x;
3827         Reported by Bob Glickstein.
3828
3829 1997-12-21  Jim Meyering  <meyering@na-net.ornl.gov>
3830
3831         * chown.m4: Fix reversed types on -1 args to chown.
3832         From Kaveh Ghazi.
3833
3834 1997-12-14  Jim Meyering  <meyering@na-net.ornl.gov>
3835
3836         * check-decl.m4: s/DECLARATION_/DECL_/g.
3837         Add lseek and memchr.
3838
3839         * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
3840         T.E.Dickey <dickey@clark.net> said that some older preprocessors
3841         have a 20-character limit on names.
3842
3843 1997-11-30  Jim Meyering  <meyering@na-net.ornl.gov>
3844
3845         * inttypes_h.m4: New file.
3846         * uintmax_t.m4: New file.
3847         * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
3848
3849 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
3850   Free Software Foundation, Inc.
3851 Copying and distribution of this file, with or without modification,
3852 are permitted provided the copyright notice and this notice are preserved.