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