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