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