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