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