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