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