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