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