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