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