.
[gnulib.git] / m4 / ChangeLog
1 2000-12-26  Jim Meyering  <meyering@lucent.com>
2
3         * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
4         with autoheader.
5
6 2000-12-17  Jim Meyering  <meyering@lucent.com>
7
8         * dos.m4 (jm_AC_DOS): New file and macro.
9         * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
10
11 2000-12-06  Paul Eggert  <eggert@twinsun.com>
12
13         * off_t-format.m4: Remove this file.
14         * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
15
16 2000-12-06  Jim Meyering  <meyering@lucent.com>
17
18         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
19         strtoull, we may well need the replacement strtoul, too.
20         Check for declarations of strtoul and strtoull.
21         Check for strtol.  Mainly as a cue to cause automake to include
22         strtol.c -- that file is included by each of strtoul.c and strtoull.c.
23         Check for limits.h -- strtol.c needs it.
24
25 2000-12-02  Jim Meyering  <meyering@lucent.com>
26
27         * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
28         * jm-macros.m4 (jm_MACROS): require it.
29
30 2000-11-30  Jim Meyering  <meyering@lucent.com>
31
32         * jm-macros.m4 (jm_MACROS): Check for stdint.h.
33
34 2000-11-30  Jim Meyering  <meyering@lucent.com>
35
36         * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
37
38 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
39
40         * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
41
42 2000-11-04  Jim Meyering  <meyering@lucent.com>
43
44         * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
45
46 2000-10-29  Jim Meyering  <meyering@lucent.com>
47
48         * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
49         * ls-mntd-fs.m4: Likewise
50
51 2000-10-28  Jim Meyering  <meyering@lucent.com>
52
53         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
54         (jm_PREREQ_MEMCHR): New function.
55
56 2000-10-21  Jim Meyering  <meyering@lucent.com>
57
58         * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
59         * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
60         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
61
62 2000-09-18  Jim Meyering  <meyering@lucent.com>
63
64         * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
65         Otherwise, everyone ends up linking with -lelf for some configurations.
66         Reported by Mike Stone.
67
68 2000-08-26  Jim Meyering  <meyering@lucent.com>
69
70         * jm-macros.m4: Use jm_FUNC_FPENDING.
71         * fpending.m4: New file.
72
73 2000-08-20  Jim Meyering  <meyering@lucent.com>
74
75         * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
76         `#if !HAVE_UTMPX_H'.  The latter would lose on systems with neither
77         utmp.h nor utmpx.h.  Reported by Eli Zaretskii.
78
79 2000-08-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
80
81         Improve fileutils installation on systems where running
82         programs (like install) can't be unlinked.
83         * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
84         * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
85
86 2000-08-06  Paul Eggert  <eggert@twinsun.com>
87
88         * m4/mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
89         not char, for compatibility with glibc 2.1.3 strftime.c.
90
91 2000-07-23  Paul Eggert  <eggert@twinsun.com>
92
93         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
94
95 2000-07-23  Jim Meyering  <meyering@lucent.com>
96
97         * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
98         getgrgid, getpwuid, getuid.
99
100 2000-07-16  Bruno Haible  <haible@clisp.cons.org>
101
102         * mbswidth.m4: New file.
103         * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
104
105 2000-07-14  Jim Meyering  <meyering@lucent.com>
106
107         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
108
109 2000-07-10  Paul Eggert  <eggert@twinsun.com>
110
111         From a suggestion by Bruno Haible.
112         * mbstate_t.m4 (AC_MBSTATE_T):
113         Renamed from AC_MBSTATE_T_OBJECT.  All uses changed.
114         Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
115         and mbstate_t, to a single-part test that simply defines mbstate_t.
116         * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
117
118 2000-07-10  Jim Meyering  <meyering@lucent.com>
119
120         * strerror_r.m4: Mirror the correction made in autoconf.
121
122         * gnu-source.m4: Output to confdefs.h directly.
123         Suggestion from Akim Demaille.
124
125 2000-07-09  Jim Meyering  <meyering@lucent.com>
126
127         * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
128         to link seq.  If so, set SEQ_LIBM to -lm.  From Bruno Haible.
129
130         * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
131         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
132
133 2000-07-05  Bruno Haible  <haible@clisp.cons.org>
134
135         * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
136         to strerror_r.
137         Include <ctype.h> for use of isalpha.
138
139 2000-07-05  Paul Eggert  <eggert@twinsun.com>
140         and Bruno Haible  <haible@clisp.cons.org>
141
142         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
143         only if the test for an object-type mbstate_t fails.  This
144         prevents us from mistakenly reporting that mbstate_t is a
145         system object type after we "#define mbstate_t int" to work
146         around its lack.
147
148 2000-07-04  Jim Meyering  <meyering@lucent.com>
149
150         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
151         of the deprecated AC_CHECKING.
152
153 2000-07-03  Jim Meyering  <meyering@lucent.com>
154
155         * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
156
157 2000-07-03  Paul Eggert  <eggert@twinsun.com>
158
159         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
160         Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
161
162 2000-07-02  Jim Meyering  <meyering@lucent.com>
163
164         * mbstate_t.m4: Also define mbstate_t, if necessary.
165
166         * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
167         AC_LIBOBJ(function_name).
168         * chown.m4: Likewise.
169         * fnmatch.m4: Likewise.
170         * ftruncate.m4: Likewise.
171         * getgroups.m4: Likewise.
172         * getline.m4: Likewise.
173         * group-member.m4: Likewise.
174         * jm-macros.m4: Likewise.
175         * lstat.m4: Likewise.
176         * malloc.m4: Likewise.
177         * memcmp.m4: Likewise.
178         * nanosleep.m4: Likewise.
179         * putenv.m4: Likewise.
180         * realloc.m4: Likewise.
181         * regex.m4: Likewise.
182         * stat.m4: Likewise.
183         * strftime.m4: Likewise.
184
185 2000-07-01  Jim Meyering  <meyering@lucent.com>
186
187         * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
188         problem.
189
190 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
191
192         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
193         macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
194
195 2000-07-01  Jim Meyering  <meyering@lucent.com>
196
197         * uptime.m4: Put double quotes around use of $cross_compiling.
198
199 2000-06-28  Jim Meyering  <meyering@lucent.com>
200
201         * mbstate_t.m4: Use stdlib.h, not stdio.h.  The latter is not included
202         by quotearg.c, for which we perform this test.  From Bruno Haible.
203
204 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
205
206         * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
207         * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
208         <utmpx.h> exists, put readutmp.o into LIBOBJS.
209
210 2000-06-25  Jim Meyering  <meyering@lucent.com>
211
212         * mbstate_t.m4: Include stdio.h before wchar.h to work around
213         Linux header bug when _XOPEN_SOURCE is defined to 500.
214
215 2000-06-24  Jim Meyering  <meyering@lucent.com>
216
217         * strerror_r.m4: Revive this file -- to try out an experimental
218         version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
219         for which strerror does return char*, but which lacks a conveniently
220         accessible declaration of the function.  If the compile-test says
221         strerror_r doesn't work, then resort to a `run'-test that works on
222         BeOS and segfaults on DEC Unix.
223
224 2000-06-19  Paul Eggert  <eggert@twinsun.com>
225
226         * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
227         * prereq.m4 (jm_PREREQ_QUOTEARG): Use it.  Add check for iswprint.
228
229 2000-06-23  Jim Meyering  <meyering@lucent.com>
230
231         * afs.m4: Add missing AC_MSG_RESULT.
232         Reported by Bruno Haible.
233
234         * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
235         Suggestion from Bruno Haible.
236
237 2000-06-21  Jim Meyering  <meyering@lucent.com>
238
239         * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
240
241 2000-06-18  Jim Meyering  <meyering@lucent.com>
242
243         * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
244
245         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
246         `checking whether...' message to be consistent with that of the
247         lstat test.
248
249 2000-06-16  Bruno Haible  <haible@clisp.cons.org>
250
251         * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
252
253 2000-06-12  Jim Meyering  <meyering@lucent.com>
254
255         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
256         from autoconf, and tweak the latter to accept an optional argument.
257         * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
258         the optional argument, `lib'.
259
260 2000-06-08  Jim Meyering  <meyering@lucent.com>
261
262         * largefile.m4: Remove file (now that it's part of autoconf).
263
264 2000-06-04  Paul Eggert  <eggert@twinsun.com>
265
266         Rewrite largefile configuration so that we don't need to run
267         getconf and don't need AC_CANONICAL_HOST.  [I'm leaving the use of
268         AC_CANONICAL_HOST in configure.in -- jmm]
269
270         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
271         AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
272         (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
273         (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
274         CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
275         All uses changed.
276         Instead of inspecting the output of getconf, try to compile the
277         test program without and with the macro definition.
278         (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
279         for getconf.  Instead, check for the needed flags by compiling
280         test programs.
281
282 2000-06-03  Jim Meyering  <meyering@lucent.com>
283
284         * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
285         now that autoconf requires that.
286
287         * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
288         #undefs.  E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
289         Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
290
291 2000-05-26  Bruno Haible  <haible@clisp.cons.org>
292
293         * glibc21.m4: New file.
294         * jm-macros.m4: (jm_MACROS): Call jm_GLIBC21.
295
296 2000-05-28  Jim Meyering  <meyering@lucent.com>
297
298         * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
299         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
300         * stat.m4: Likewise.
301         * lstat.m4: Likewise.
302         * lstat-slash.m4: Remove file (absorbed into autoconf).
303
304         * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
305         * strerror_r.m4: Remove file (absorbed into autoconf).
306
307 2000-05-26  Jim Meyering  <meyering@lucent.com>
308
309         * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
310
311 2000-05-24  Jim Meyering  <meyering@lucent.com>
312
313         * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
314         autoconf requires that.
315         * lib-check.m4: Likewise.
316         * jm-macros.m4: Likewise.
317         * strftime.m4: Likewise.
318
319         * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
320         now that autoconf requires that.
321
322 2000-05-22  Jim Meyering  <meyering@lucent.com>
323
324         * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
325         * lstat.m4: Likewise.
326
327 2000-05-20  Jim Meyering  <meyering@lucent.com>
328
329         * prereq.m4 (jm_PREREQ_HUMAN): New macro.
330         (jm_PREREQ): Use it.
331
332 2000-05-09  Jim Meyering  <meyering@lucent.com>
333
334         * gettext.m4: Rename this...
335         * libintl.m4: ...to this.
336
337 2000-05-06  Jim Meyering  <meyering@lucent.com>
338
339         * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
340         (AC_REPLACE_FUNCS): Add strnlen.
341
342         * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
343         * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
344
345         * nanosleep.m4: (jm_FUNC_NANOSLEEP): Save and restore LIBS around
346         AC_SEARCH_LIBS call for nanosleep.
347         (LIB_NANOSLEEP): Set and AC_SUBST.
348
349 2000-05-03  Paul Eggert  <eggert@twinsun.com>
350
351         * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
352         be 500, instead of _GNU_SOURCE to be 1, to work around glibc
353         2.1.3 bug.  This avoids a clash when files like regex.c define
354         _GNU_SOURCE.
355
356 2000-05-05  Jim Meyering  <meyering@lucent.com>
357
358         * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
359         call for clock_gettime.
360         (LIB_CLOCK_GETTIME): Set and AC_SUBST.
361
362         * search-libs.m4: Update from autoconf.
363
364         su doesn't work on Solaris2.6.
365         * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
366         <shadow.h>.  Reported by Dragos Harabor.
367
368 2000-05-03  Jim Meyering  <meyering@lucent.com>
369
370         * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
371
372 2000-05-02  Paul Eggert  <eggert@twinsun.com>
373
374         * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
375         this is needed to make ftello visible (e.g. glibc 2.1.3).  Use
376         compile-time test, rather than inspecting host and OS, to
377         decide whether to define _LARGEFILE_SOURCE.
378
379 2000-05-01  Jim Meyering  <meyering@lucent.com>
380
381         * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
382
383         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
384         Based on a patch from Bruno Haible.
385
386 2000-04-18  Jim Meyering  <meyering@lucent.com>
387
388         * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
389         (jm_PREREQ): Use it.
390
391 2000-04-17  Jim Meyering  <meyering@lucent.com>
392
393         Get it right :-)
394         * jm-macros.m4: (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
395         actual #define via AH_VERBATIM.  Don't need separate AC_DEFINE.
396         Suggestion from Akim Demaille.
397
398 2000-04-14  Jim Meyering  <meyering@lucent.com>
399
400         * jm-macros.m4: (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
401         of AC_DEFINE.  Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
402
403 2000-04-13  Jim Meyering  <meyering@lucent.com>
404
405         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
406         to insert required #ifndef into config.h.in.
407         Suggestion from Akim Demaille.
408
409 2000-04-12  Jim Meyering  <meyering@lucent.com>
410
411         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
412         `AC_CHECK_HEADER' to check for locale.h.  Thanks to a report from
413         Christian Krackowizer.
414
415         More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
416         * jm-macros.m4 (_GNU_SOURCE): Define.
417         (AC_SYS_LARGEFILE): Require.
418         (AM_C_PROTOTYPES): Require.
419
420 2000-04-05  Paul Eggert  <eggert@twinsun.com>
421
422         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
423         IRIX if the installer said otherwise.
424
425 2000-04-05  Jim Meyering  <meyering@lucent.com>
426
427         Portability tweaks required for ultrix4.3.
428         * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
429         (jm_CHECK_DECLS): Add getutent to the list of functions.
430         (_jm_DECL_HEADERS): Add utmpx.h.
431         From John David Anglin.
432
433         * strftime.m4: Back out the 2000-04-02 change.
434         Instead of that change, simply undefine putenv in the test program.
435
436 2000-04-03  Jim Meyering  <meyering@lucent.com>
437
438         * gettext.m4: Fix typo in comment.
439
440         * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
441         textutils/configure.in).  Suggestion from Paul Eggert.
442         (AC_CHECK_FUNCS): Add nl_langinfo.  (also from textutils/configure.in)
443
444 2000-04-02  Paul Eggert  <eggert@twinsun.com>
445
446         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
447         variable in the shell rather than using putenv, which isn't
448         portable.  This avoids the configure-time inter-test dependency
449         on the potentially-renamed putenv function.
450
451 2000-03-30  Paul Eggert  <eggert@twinsun.com>
452
453         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
454         before checking struct stat.st_blksize, so that
455         HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
456
457 2000-03-29  Paul Eggert  <eggert@twinsun.com>
458
459         * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
460         since strftime.c uses HAVE_STRFTIME to decide whether to use
461         the underlying strftime.
462
463 2000-03-10  Jim Meyering  <meyering@lucent.com>
464
465         * lib-check.m4: Look for getspnam in -lgen, too.
466         From Marco Franzen.
467
468 2000-02-02  Bruno Haible  <haible@clisp.cons.org>
469
470         * codeset.m4: New file.
471         * iconv.m4: New file.
472         * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
473
474 2000-03-04  Jim Meyering  <meyering@lucent.com>
475
476         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
477         for lib/localcharset.c.
478
479 2000-03-03  Jim Meyering  <meyering@lucent.com>
480
481         * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
482
483 2000-03-02  Jim Meyering  <meyering@lucent.com>
484
485         * timespec.m4: Require AC_HEADER_TIME before the cache check so
486         the messages come out on separate lines.
487
488         * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
489         rather than jm_CHECK_DECLARATIONS.
490         * decl.m4: Remove now-unused file.
491
492         * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
493
494 2000-02-27  Jim Meyering  <meyering@lucent.com>
495
496         * check-decl.m4: Add getenv to the list.
497
498 2000-02-23  Jim Meyering  <meyering@lucent.com>
499
500         * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
501         in place of my hack.
502
503 2000-02-10  Jim Meyering  <meyering@lucent.com>
504
505         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
506         gnu_nanosleep to rpl_nanosleep.
507
508 2000-02-09  Jim Meyering  <meyering@lucent.com>
509
510         * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
511         struct spwd, rather than in struct passwd.  Reported by Gaël Quéri.
512
513 2000-02-08  Akim Demaille  <akim@epita.fr>
514
515         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
516         `[' and `]' and remove uses of `changequote'.
517         (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
518         (AC_SYS_LARGEFILE): Likewise.
519         * gettext.m4 (AM_GNU_GETTEXT): Likewise.
520         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
521         of changequote.
522         * regex.m4 (jm_INCLUDED_REGEX): Likewise.
523         * readdir.m4 (jm_FUNC_READDIR): Likewise
524         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
525         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
526
527 2000-02-05  Jim Meyering  <meyering@lucent.com>
528
529         * jm-macros.m4: (jm_CHECK_ALL_TYPES): Require most macros.
530         Remove explicit use of AC_HEADER_TIME.  It is required by
531         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Using AC_HEADER_TIME and
532         `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
533         in autoconf whereby the expansion of the latter ended up preceding
534         the expansion of its prerequisite, AC_HEADER_TIME.
535         Reported by Volker Borchert.
536
537 2000-02-03  Jim Meyering  <meyering@lucent.com>
538
539         * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
540
541 2000-02-02  Jim Meyering  <meyering@lucent.com>
542
543         * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
544         definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
545         Reported by Eli Zaretskii.
546
547 2000-01-31  Jim Meyering  <meyering@lucent.com>
548
549         * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
550         functions.  Add the time.h and sys/time.h headers along with the
551         AC_REQUIRE'ment of AC_HEADER_TIME.
552
553 2000-01-30  Jim Meyering  <meyering@lucent.com>
554
555         * lib-check.m4: Clean up some kludgy old shadow password tests.
556
557         * prereq.m4 (utmp_includes): Define.
558         Check for ut_user and ut_name members in both struct utmpx
559         and struct utmp.
560
561 2000-01-29  Jim Meyering  <meyering@lucent.com>
562
563         * lib-check.m4: New file containing library-related checks from
564         fileutils and sh-utils (textutils had none).
565
566 2000-01-28  Jim Meyering  <meyering@lucent.com>
567
568         * perl.m4: Change format of warning message to look more like that
569         from the missing script.  Suggestion from François Pinard.
570
571 2000-01-25  Jim Meyering  <meyering@lucent.com>
572
573         * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
574         as time.h in the compile check.
575         * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
576         Fix typo in cross-compiling case: s/yes/no/.
577
578 2000-01-23  Jim Meyering  <meyering@lucent.com>
579
580         * jm-macros.m4: Move df-related tests here from fileutils/configure.in
581
582         * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
583         (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
584
585         * fsusage.m4: New file.  Extracted from fileutils/configure.in.
586         s/space/ac_fsusage_space/.
587         (jm_FILE_SYSTEM_USAGE): Take two parameters.
588
589         * ftruncate.m4: New file (derived from part of fileutils/configure.in).
590         * jm-macros.m4: (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
591         (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
592
593         * jm-macros.m4: (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
594         AC_SUBST these here, rather than just in sh-util/configure.in, so
595         that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
596         all the same.
597         (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
598         (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
599         (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
600         (AC_SUBST(POW_LIBM)): Likewise.
601         (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
602
603 2000-01-22  Jim Meyering  <meyering@lucent.com>
604
605         * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
606
607         * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
608
609         * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
610         configure.in
611         (AC_CHECK_HEADERS): Likewise for sh-utils.
612         (AC_CHECK_HEADERS): Likewise for textutils.
613         Merge the three lists of headers.
614
615         * prereq.m4 (jm_PREREQ_ADDEXT): New macro.  Parts moved here
616         from fileutils' configure.in.
617
618         * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
619         Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
620
621         * check-decl.m4: Use #if rather than #ifdef.
622         Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
623         (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
624         (_jm_DECL_HEADERS): Define new function.
625         (jm_CHECK_DECLARATIONS): Require it.
626
627 2000-01-19  Jim Meyering  <meyering@lucent.com>
628
629         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
630         Use AC_HEADER_TIME.  Volker Borchert reported that OpenBSD-2.3/sparc
631         defines `struct timespec' in <sys/time.h>
632
633         * c-bs-a.m4: Remove uses of changequote altogether.
634         Thanks to Akim for explaining.
635
636 2000-01-16  Jim Meyering  <meyering@lucent.com>
637
638         * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
639         AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
640         jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
641         AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
642
643 2000-01-16  Jim Meyering  <meyering@lucent.com>
644
645         * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
646         because the latter didn't work.
647
648 2000-01-15  Jim Meyering  <meyering@lucent.com>
649
650         * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
651         (AC_REPLACE_FUNCS): Add memcpy and memset.
652         Add these, too: stime strcspn stpcpy strstr strtol strtoul.
653         Add strpbrk.
654         Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
655
656 2000-01-12  Jim Meyering  <meyering@lucent.com>
657
658         * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
659         (jm_PREREQ): Use it.
660         (jm_PREREQ_READUTMP): New macro.
661         (jm_PREREQ): Use it.
662
663 2000-01-11  Paul Eggert  <eggert@twinsun.com>
664
665         Quote multibyte characters correctly.
666         * c-bs-a.m4: New file.
667         * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
668         (jm_PREREQ): Use it.
669
670 2000-01-11  Paul Eggert  <eggert@twinsun.com>
671
672         * uintmax_t.m4: Port to autoconf 2.13.
673
674 2000-01-08  Jim Meyering  <meyering@ascend.com>
675
676         * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
677         * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
678
679 2000-01-04  Jim Meyering  <meyering@ascend.com>
680
681         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
682         jm_STRUCT_DIRENT_D_TYPE.
683         * d-ino.m4: (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
684         jm_STRUCT_DIRENT_D_INO.
685         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
686         jm_STRUCT_UTIMBUF.
687         * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
688         * utime.m4: Likewise.
689
690         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
691         * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
692
693 2000-01-03  Paul Eggert  <eggert@twinsun.com>
694
695         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
696         (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
697
698 2000-01-02  Jim Meyering  <meyering@ascend.com>
699
700         * search-libs.m4: Escape `$' in $3 of dnl comment.  I no longer
701         remember if this is necessary.
702
703 1999-12-26  Jim Meyering  <meyering@ascend.com>
704
705         * jm-macros.m4: Use it here.
706         * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
707
708 1999-12-23  Jim Meyering  <meyering@ascend.com>
709
710         * jm-macros.m4: Check for clock_gettime (moved from
711         fileutils/configure.in)
712         Check for gettimeofday.
713
714 1999-12-20  Jim Meyering  <meyering@ascend.com>
715
716         * strftime.m4: Remove kludge, now that I'm using the fixed
717         autoconf-2.14a-1999-12-20.
718
719 1999-12-19  Jim Meyering  <meyering@ascend.com>
720
721         * lstat-slash.m4: New file.
722         * jm-macros.m4: Use the new macro:
723         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
724
725 1999-12-07  Jim Meyering  <meyering@ascend.com>
726
727         * perl.m4: Require that File::Compare be available, too.
728         Too many systems seem to lack it.
729
730         * strftime.m4: Add checks for most of the cpp macros tested in
731         GNU's strftime.c.  Prompted by a patch from Paul Eggert.
732
733 1999-11-18  Paul Eggert  <eggert@twinsun.com>
734
735         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
736         problem with the QNX 4.25 shell, which doesn't propagate exit
737         status of failed commands inside shell assignments.
738
739 1999-11-17  Jim Meyering  <meyering@ascend.com>
740
741         * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
742
743 1999-11-07  Jim Meyering  <meyering@ascend.com>
744
745         * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
746
747 1999-11-06  Jim Meyering  <meyering@ascend.com>
748
749         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
750         * jm-macros.m4 (jm_MACROS): Use it here.
751
752 1999-11-05  Jim Meyering  <meyering@ascend.com>
753
754         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
755         of textutils, fileutils, and sh-utils into this one (shared between
756         those packages) file.
757         Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
758         AC_STRUCT_ST_BLKSIZE.
759
760 1999-11-03  Jim Meyering  <meyering@ascend.com>
761
762         * ssize_t.m4: Remove file.  No longer needed since the new version of
763         AC_CHECK_TYPE checks includes unistd.h.
764         * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
765         Suggestion from Akim Demaille.
766
767 1999-10-30  Jim Meyering  <meyering@ascend.com>
768
769         * uintmax_t.m4: Require 2.14a.  Remove backslash before backtick in
770         m4-quoted string.
771         * ls-mntd-fs.m4: Likewise.
772         * jm-macros.m4: Likewise.  Also, use AC_TYPE_SSIZE_T instead
773         * jm-winsz1.m4: Likewise.
774
775         * const.m4: Remove file, since the fix made it into the experimental
776         version of autoconf.
777         * mktime.m4: Likewise.
778
779         * check-type.m4: Remove file, now that the latest version of
780         AC_CHECK_TYPE takes a third arg to specify additional #includes.
781
782         * ssize_t.m4: New file, requires experimental version of autoconf.
783         * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
784         AC_CHECK_TYPE.
785
786 1999-10-04  Jim Meyering  <meyering@ascend.com>
787
788         * jm-macros.m4: Don't require autoconf-2.14.1.
789
790 1999-09-22  Paul Eggert  <eggert@twinsun.com>
791
792         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
793         2.95.1 bug with HP-UX 10.20.
794
795 1999-09-17  Jim Meyering  <meyering@ascend.com>
796
797         * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
798         Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
799         due to missing strdup (against sh-utils-2.0).
800
801 1999-08-29  Jim Meyering  <meyering@ascend.com>
802
803         * jm-macros.m4: Require jm_BISON.
804         * bison.m4: New file.
805
806 1999-08-17  Paul Eggert  <eggert@twinsun.com>
807
808         * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
809         in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
810
811 1999-08-05  Jim Meyering  <meyering@ascend.com>
812
813         * getline.m4: Rename test file from conftestdata to conftest.data
814         to avoid conflicts with `conftest' on 8+3 filesystems.
815         Suggestion from Eli Zaretskii.
816
817 1999-08-04  Jim Meyering  <meyering@ascend.com>
818
819         * jm-macros.m4: Move a 4-line block of code from the configure.in of
820         fileutils and sh-utils (textutils's getline test was inadequate).
821         (AM_FUNC_GETLINE): Run this test.
822         (AC_CHECK_FUNCS): Check for getdelim.
823         Reported by Bob Proulx.
824
825 1999-08-02  Jim Meyering  <meyering@ascend.com>
826
827         * jm-macros.m4: Add a comment.
828
829 1999-08-01  Jim Meyering  <meyering@ascend.com>
830
831         * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
832
833 1999-08-01  Paul Eggert  <eggert@twinsun.com>
834
835         * lfs.m4: Remove this file.
836         * largefile.m4: New file.  It contains the old contents of
837         lfs.m4, except that all names with prefix AC_LFS have been
838         changed to use the prefix AC_SYS_LARGEFILE instead, to be
839         compatible with future autoconf versions.  Also, some minor m4
840         quoting problems have been fixed.
841
842 1999-07-16  Paul Eggert  <eggert@twinsun.com>
843
844         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
845         that we can shift, multiply and divide unsigned long long
846         values; Ultrix cc can't do it.
847
848 1999-07-14  Paul Eggert  <eggert@twinsun.com>
849
850         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
851         <inttypes.h> defines strtoumax as a macro (and not as a
852         function).
853
854 1999-07-05  Paul Eggert  <eggert@twinsun.com>
855
856         * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
857         Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
858         (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
859         and simplify the shell code.
860
861 1999-07-03  Paul Eggert  <eggert@twinsun.com>
862
863         * mktime.m4: New file, which is a preview of what should appear
864         in the next public autoconf release.
865
866 1999-07-20  Jim Meyering  <meyering@ascend.com>
867
868         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
869
870 1999-07-15  Jim Meyering  <meyering@ascend.com>
871
872         * jm-macros.m4: (AC_CHECK_FUNCS): Check for getpagesize.
873
874 1999-05-22  Jim Meyering  <meyering@ascend.com>
875
876         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
877
878 1999-05-20  Jim Meyering  <meyering@ascend.com>
879
880         * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
881         Add a colon after each `then' in case $4 is empty.
882
883 1999-05-16  Jim Meyering  <meyering@ascend.com>
884
885         * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
886
887 1999-05-10  Jim Meyering  <meyering@ascend.com>
888
889         * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
890
891         * jm-macros.m4: Require 2.14.1, since we use newly-renamed
892         AC_FUNC_MKTIME.
893
894 1999-05-10  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
895
896         * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
897
898 1999-05-04  Paul Eggert  <eggert@twinsun.com>
899
900         * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
901         not CPPFLAGS, so that linking works correctly in IRIX.
902
903 1999-04-30  Paul Eggert  <eggert@twinsun.com>
904
905         * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
906
907 1999-04-20  Jim Meyering  <meyering@ascend.com>
908
909         * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
910         AC_REPLACE xstroull if necessary.  From Paul Eggert.
911         (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
912
913 1999-04-20  Paul Eggert  <eggert@twinsun.com>
914
915         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
916         long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
917         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
918         jm_AC_TYPE_UNSIGNED_LONG_LONG.
919         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
920
921         * lfs.m4: Port to AIX and HP-UX.  Support cross-compilation.
922
923 1999-04-18  Jim Meyering  <meyering@ascend.com>
924
925         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
926         * jm-macros.m4: Use it.
927
928 1999-04-06  Jim Meyering  <meyering@ascend.com>
929
930         * strftime.m4: Remove test for %f.
931
932 1999-03-29  Jim Meyering  <meyering@ascend.com>
933
934         * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
935         superset of the AC_TYPE_* checks in the textutils, fileutils,
936         and sh-utils, plus AC_TYPE_PID_T.  Paul Eggert suggested adding
937         AC_TYPE_PID_T.
938
939 1999-03-28  Jim Meyering  <meyering@ascend.com>
940
941         * jm-macros.m4: Define GNU_PACKAGE here.
942         Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
943         replaced e.g., in the *.sh files of the sh-utils.
944
945 1999-03-20  Jim Meyering  <meyering@ascend.com>
946
947         * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
948         * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
949         Don't depend on AM_GLIBC.  Suggestions from Alain Magloire.
950
951 1999-03-19  Jim Meyering  <meyering@ascend.com>
952
953         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
954
955 1999-03-12  Jim Meyering  <meyering@ascend.com>
956
957         * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
958
959 1999-03-07  Jim Meyering  <meyering@ascend.com>
960
961         * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
962
963 1999-02-17  Jim Meyering  <meyering@ascend.com>
964
965         * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
966         in macro definition.  From Eli Zaretskii and Alain Magloire.
967
968 1999-02-07  Jim Meyering  <meyering@ascend.com>
969
970         * group-member.m4: New file -- extracted from sh-utils' configure.in.
971
972         1999-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
973         * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
974
975 1999-02-06  Jim Meyering  <meyering@ascend.com>
976
977         * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
978         * fnmatch.m4: Likewise.
979         * getgroups.m4: Likewise.
980         * lstat.m4: Likewise.
981         * malloc.m4: Likewise.
982         * putenv.m4: Likewise.
983         * realloc.m4: Likewise.
984         * regex.m4: Likewise.
985         * stat.m4: Likewise.
986         * strftime.m4: Likewise.
987         Suggestion from Alain Magloire.
988
989         * chown.m4: Use `.$ac_objext', not `.o'.
990         * fnmatch.m4: Likewise.
991         * getgroups.m4: Likewise.
992         * getline.m4: Likewise.
993         * lstat.m4: Likewise.
994         * malloc.m4: Likewise.
995         * memcmp.m4: Likewise.
996         * putenv.m4: Likewise.
997         * realloc.m4: Likewise.
998         * regex.m4: Likewise.
999         * stat.m4: Likewise.
1000         * strftime.m4: Likewise.
1001         Suggestion from Alain Magloire.
1002
1003         * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
1004         an argument.
1005
1006         * regex.m4: Add a run-time Test for proper operation of
1007         re_compile_pattern.
1008
1009 1999-01-31  Jim Meyering  <meyering@ascend.com>
1010
1011         * getloadavg.m4: Check for locale.h and the function, setlocale.
1012
1013 1999-01-30  Jim Meyering  <meyering@ascend.com>
1014
1015         * check-type.m4: Use 3-arg form of AC_DEFINE.
1016
1017         * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
1018         rather than my private copy, now that the official one is up to date.
1019         * mktime.m4: Remove file.
1020
1021         * getloadavg.m4: Use 3-arg form of AC_DEFINE.
1022         * uptime.m4: Likewise.
1023         * uintmax_t.m4: Likewise.
1024
1025 1999-01-28  Jim Meyering  <meyering@ascend.com>
1026
1027         * jm-macros.m4: Use jm_AFS.
1028         * afs.m4: New file (from fileutils' configure.in).
1029
1030         * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
1031         * chown.m4: Likewise.
1032         * d-ino.m4: Likewise.
1033         * d-type.m4: Likewise.
1034         * fnmatch.m4: Likewise.
1035         * getgroups.m4: Likewise.
1036         * gettext.m4: Likewise.
1037         * jm-mktime.m4: Likewise.
1038         * jm-winsz2.m4: Likewise.
1039         * lcmessage.m4: Likewise.
1040         * ls-mntd-fs.m4: Likewise.
1041         * malloc.m4: Likewise.
1042         * memcmp.m4: Likewise.
1043         * putenv.m4: Likewise.
1044         * realloc.m4: Likewise.
1045         * st_mtim.m4: Likewise.
1046         * strftime.m4: Likewise.
1047
1048 1999-01-16  Jim Meyering  <meyering@ascend.com>
1049
1050         * jm-macros.m4 (ARGMATCH_DIE): Define.
1051         (ARGMATCH_DIE_DECL): Define.
1052
1053 1999-01-12  Jim Meyering  <meyering@ascend.com>
1054
1055         * Makefile.am.in: Rewrite to avoid using fmt.
1056         Reported by Lars Hecking.
1057
1058 1999-01-10  Jim Meyering  <meyering@ascend.com>
1059
1060         * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
1061         gross kludge.
1062         * inttypes_h.m4: Likewise.
1063         * lstat.m4: Likewise.
1064         * malloc.m4: Likewise.
1065         * readdir.m4: Likewise.
1066         * realloc.m4: Likewise.
1067         * st_dm_mode.m4: Likewise.
1068         * stat.m4: Likewise.
1069         * utimbuf.m4: Likewise.
1070         * utimes.m4: Likewise.
1071
1072         * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
1073         AC_CHECK_FUNCS hack.  Now, it's still a hack, but at least the
1074         comments in config.h.in are meaningful.
1075
1076         * jm-macros.m4: Require autoconf-2.13 here.
1077
1078         * regex.m4: By default, don't use the included regex.c on systems
1079         with glibc 2.  Suggestion from Uli Drepper.
1080
1081 1999-01-02  Jim Meyering  <meyering@ascend.com>
1082
1083         * jm-macros.m4: Replace strcasecmp and strncasecmp.
1084
1085 1998-12-18  Jim Meyering  <meyering@ascend.com>
1086
1087         * Makefile.am.in (Makefile.am): Simplify rule.
1088         Based on a suggestion from Lars Hecking.
1089
1090 1998-11-16  Jim Meyering  <meyering@ascend.com>
1091
1092         * lfs.m4: Double-quote the `uname...` expression.
1093
1094 1998-11-16  Paul Eggert  <eggert@twinsun.com>
1095
1096         * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
1097
1098 1998-11-14  Jim Meyering  <meyering@ascend.com>
1099
1100         * lstat.m4: Correct comment.  POSIX does not permit it to succeed.
1101         * stat.m4: Likewise.
1102
1103 1998-11-03  Jim Meyering  <meyering@ascend.com>
1104
1105         * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
1106         * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
1107
1108 1998-10-18  Jim Meyering  <meyering@ascend.com>
1109
1110         * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
1111
1112 1998-10-17  Jim Meyering  <meyering@ascend.com>
1113
1114         * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
1115         include, though we still hard-code the `require'-like AC_CHECK_HEADERS
1116         calls for those previously hard-coded headers.  Instead, take a new
1117         parameter.
1118         (jm_CHECK_DECLARATIONS): Reflect interface change.
1119         * check-decl.m4 (jm_CHECK_DECLS): Likewise.
1120         (jm_CHECK_DECL_LOCALTIME_R): New macro.
1121
1122         * mktime.m4: Test for spring-forward gap before long-running test.
1123
1124 1998-10-14  Jim Meyering  <meyering@ascend.com>
1125
1126         * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
1127         instead of "TZ=America/Vancouver".  From Paul Eggert.
1128
1129 1998-10-11  Jim Meyering  <meyering@ascend.com>
1130
1131         * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
1132         This adds a test for a recently added compatibility fix for mktime.c.
1133         * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
1134
1135 1998-09-27  Jim Meyering  <meyering@ascend.com>
1136
1137         * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
1138
1139         * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro.  Extracted from
1140         ../configure.in, including a change from Gordon Matzigkeit to allow
1141         cross-compiling for the Hurd.
1142
1143         * glibc.m4: New file/macro to test for the GNU C Library
1144         versions 1 and 2.  From Gordon Matzigkeit.
1145         Indent.
1146
1147 1998-09-21  Jim Meyering  <meyering@ascend.com>
1148
1149         * chown.m4: Declare locals: before, after.  From Andries Brouwer.
1150
1151 1998-08-18  Paul Eggert  <eggert@twinsun.com>
1152
1153         Port nanosecond-resolution times to UnixWare 2.1.2 and
1154         pedantic Solaris 2.6.
1155
1156         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
1157         AC_STRUCT_ST_MTIM.
1158         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
1159         Generate name of ns member, instead of just 1 or undef.
1160         Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
1161
1162 1998-08-15  Jim Meyering  <meyering@ascend.com>
1163
1164         * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
1165         * check-type.m4: New file.  Replacement for AC_CHECK_TYPE.
1166         * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
1167         instead of jm_TYPE_SSIZE_T.
1168
1169 1998-08-12  Jim Meyering  <meyering@ascend.com>
1170
1171         * st_dm_mode.m4: New file.  From Johan Danielsson.
1172
1173 1998-08-02  Jim Meyering  <meyering@ascend.com>
1174
1175         * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
1176         in acconfig.h manually.
1177
1178 1998-07-31  Paul Eggert  <eggert@twinsun.com>
1179
1180         * st_mtim.m4: New file.
1181
1182 1998-07-28  Jim Meyering  <meyering@ascend.com>
1183
1184         * utimes.m4: Undef stat.
1185
1186 1998-07-25  Jim Meyering  <meyering@ascend.com>
1187
1188         * utime.m4 (jm_FUNC_UTIME): New file and macro.
1189         * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
1190
1191 1998-07-09  Manfred Hollstein  <manfred@s-direktnet.de>
1192
1193         * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
1194         uid and gid actually remain unchanged.
1195
1196 1998-07-07  Jim Meyering  <meyering@ascend.com>
1197
1198         * jm-glibc-io.m4: Remove fclose_unlocked.
1199
1200 1998-07-04  Jim Meyering  <meyering@ascend.com>
1201
1202         * regex.m4: Use syscmd, ifelse, and sysval.  Mainly as an exercise
1203         to prove that this macro can be used in packages without regex.c.
1204
1205 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1206
1207         * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
1208         is to be used.
1209
1210 1998-07-03  Jim Meyering  <meyering@ascend.com>
1211
1212         * gettext.m4: Add -lintl if it's found to be necessary.
1213
1214         * gettext.m4: New file -- from gettext-0.10.35.
1215         * lcmessage.m4: Likewise.
1216         * progtest.m4: Likewise.
1217
1218         * regex.m4 (jm_WITH_REGEX): New file and macro.
1219         * jm-macros.m4: Require the new macro.
1220
1221 1998-06-29  Jim Meyering  <meyering@ascend.com>
1222
1223         * fstypename.m4: Include sys/param.h.  NetBSD 1.3.1 requires this
1224         for the definition of NGROUPS (used in a system header included
1225         by sys/mount.h).
1226
1227 1998-06-28  Jim Meyering  <meyering@ascend.com>
1228
1229         * ls-mntd-fs.m4: New file.
1230         * fstypename.m4: New file.
1231
1232         * jm-macros.m4: Require the new macro.
1233         * jm-glibc-io.m4: New file.
1234
1235 1998-05-19  Jim Meyering  <meyering@ascend.com>
1236
1237         * jm-macros.m4: Add jm_FUNC_LCHOWN.
1238         * lchown.m4: New file.
1239
1240         * Makefile.am.in: New file.
1241         * Makefile.am (Makefile.am): Depend on Makefile.am.in.
1242
1243 1998-05-14  Jim Meyering  <meyering@ascend.com>
1244
1245         * Makefile.am (EXTRA_DIST): Add them.
1246         * jm-macros.m4: New file.
1247         * utimbuf.m4: New file.
1248
1249 1998-05-12  Jim Meyering  <meyering@ascend.com>
1250
1251         * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
1252
1253 1998-05-11  Jim Meyering  <meyering@ascend.com>
1254
1255         * isc-posix.m4: New file.
1256
1257 1998-05-10  Jim Meyering  <meyering@ascend.com>
1258
1259         * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
1260
1261 1998-05-09  Jim Meyering  <meyering@ascend.com>
1262
1263         * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
1264         (EXTRA_DIST): Remove mktime.m4, now that the new version is included
1265         with automake.
1266
1267         * ssize_t.m4: New file.
1268         * mktime.m4: Remove file -- the new automake has this now.
1269
1270 1998-04-26  Jim Meyering  <meyering@ascend.com>
1271
1272         * assert.m4: New file.
1273         * Makefile.am (EXTRA_DIST): Add assert.m4.
1274
1275 1998-04-05  Jim Meyering  <meyering@ascend.com>
1276
1277         * prereq.m4 (jm_PREREQ_REGEX): New macro.
1278         (jm_PREREQ): Use it here.
1279
1280 1998-03-23  Jim Meyering  <meyering@eng.ascend.com>
1281
1282         * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
1283         in acconfig.h.
1284
1285 1998-03-15  Jim Meyering  <meyering@eng.ascend.com>
1286
1287         * prereq.m4: New file.
1288         * error.m4: New file.
1289         * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
1290
1291 1998-02-07  Jim Meyering  <meyering@eng.ascend.com>
1292
1293         * getline.m4: Don't set am_cv_func_working_getline before the
1294         cache-check for the same variable -- that defeated the purpose of
1295         the test; the test program was never run.  This was a problem only
1296         on systems with losing getline functions -- HP-UX 10.20 is one.
1297         Reported by Bjorn Helgaas.
1298
1299 1998-02-06  Jim Meyering  <meyering@eng.ascend.com>
1300
1301         * Makefile.am (EXTRA_DIST): Add perl.m4.
1302
1303 1998-01-10  Jim Meyering  <meyering@na-net.ornl.gov>
1304
1305         * Makefile.am (EXTRA_DIST): Add const.m4.
1306
1307         * const.m4: New file.  Use an initializer in this declaration
1308         typedef int charset[2]; const charset x;
1309         Reported by Bob Glickstein.
1310
1311 1997-12-21  Jim Meyering  <meyering@na-net.ornl.gov>
1312
1313         * chown.m4: Fix reversed types on -1 args to chown.
1314         From Kaveh Ghazi.
1315
1316 1997-12-14  Jim Meyering  <meyering@na-net.ornl.gov>
1317
1318         * check-decl.m4: s/DECLARATION_/DECL_/g.
1319         Add lseek and memchr.
1320
1321         * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
1322         T.E.Dickey <dickey@clark.net> said that some older preprocessors
1323         have a 20-character limit on names.
1324
1325 1997-11-30  Jim Meyering  <meyering@na-net.ornl.gov>
1326
1327         * inttypes_h.m4: New file.
1328         * uintmax_t.m4: New file.
1329         * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.