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