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