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