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