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