*** empty log message ***
[gnulib.git] / m4 / ChangeLog
1 2000-02-05  Jim Meyering  <meyering@lucent.com>
2
3         * jm-macros.m4: (jm_CHECK_ALL_TYPES): Require most macros.
4         Remove explicit use of AC_HEADER_TIME.  It is required by
5         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Using AC_HEADER_TIME and
6         `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
7         in autoconf whereby the expansion of the latter ended up preceding
8         the expansion of its prerequisite, AC_HEADER_TIME.
9         Reported by Volker Borchert.
10
11 2000-02-03  Jim Meyering  <meyering@lucent.com>
12
13         * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
14
15 2000-02-02  Jim Meyering  <meyering@lucent.com>
16
17         * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
18         definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
19         Reported by Eli Zaretskii.
20
21 2000-01-30  Jim Meyering  <meyering@lucent.com>
22
23         * lib-check.m4: Clean up some kludgy old shadow password tests.
24
25         * prereq.m4 (utmp_includes): Define.
26         Check for ut_user and ut_name members in both struct utmpx
27         and struct utmp.
28
29 2000-01-29  Jim Meyering  <meyering@lucent.com>
30
31         * lib-check.m4: New file containing library-related checks from
32         fileutils and sh-utils (textutils had none).
33
34 2000-01-28  Jim Meyering  <meyering@lucent.com>
35
36         * perl.m4: Change format of warning message to look more like that
37         from the missing script.  Suggestion from François Pinard.
38
39 2000-01-25  Jim Meyering  <meyering@lucent.com>
40
41         * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
42         as time.h in the compile check.
43         * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
44         Fix typo in cross-compiling case: s/yes/no/.
45
46 2000-01-23  Jim Meyering  <meyering@lucent.com>
47
48         * jm-macros.m4: Move df-related tests here from fileutils/configure.in
49
50         * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
51         (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
52
53         * fsusage.m4: New file.  Extracted from fileutils/configure.in.
54         s/space/ac_fsusage_space/.
55         (jm_FILE_SYSTEM_USAGE): Take two parameters.
56
57         * ftruncate.m4: New file (derived from part of fileutils/configure.in).
58         * jm-macros.m4: (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
59         (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
60
61         * jm-macros.m4: (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
62         AC_SUBST these here, rather than just in sh-util/configure.in, so
63         that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
64         all the same.
65         (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
66         (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
67         (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
68         (AC_SUBST(POW_LIBM)): Likewise.
69         (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
70
71 2000-01-22  Jim Meyering  <meyering@lucent.com>
72
73         * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
74
75         * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
76
77         * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
78         configure.in
79         (AC_CHECK_HEADERS): Likewise for sh-utils.
80         (AC_CHECK_HEADERS): Likewise for textutils.
81         Merge the three lists of headers.
82
83         * prereq.m4 (jm_PREREQ_ADDEXT): New macro.  Parts moved here
84         from fileutils' configure.in.
85
86         * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
87         Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
88
89         * check-decl.m4: Use #if rather than #ifdef.
90         Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
91         (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
92         (_jm_DECL_HEADERS): Define new function.
93         (jm_CHECK_DECLARATIONS): Require it.
94
95 2000-01-19  Jim Meyering  <meyering@lucent.com>
96
97         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
98         Use AC_HEADER_TIME.  Volker Borchert reported that OpenBSD-2.3/sparc
99         defines `struct timespec' in <sys/time.h>
100
101         * c-bs-a.m4: Remove uses of changequote altogether.
102         Thanks to Akim for explaining.
103
104 2000-01-16  Jim Meyering  <meyering@lucent.com>
105
106         * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
107         AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
108         jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
109         AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
110
111 2000-01-16  Jim Meyering  <meyering@lucent.com>
112
113         * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
114         because the latter didn't work.
115
116 2000-01-15  Jim Meyering  <meyering@lucent.com>
117
118         * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
119         (AC_REPLACE_FUNCS): Add memcpy and memset.
120         Add these, too: stime strcspn stpcpy strstr strtol strtoul.
121         Add strpbrk.
122         Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
123
124 2000-01-12  Jim Meyering  <meyering@lucent.com>
125
126         * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
127         (jm_PREREQ): Use it.
128         (jm_PREREQ_READUTMP): New macro.
129         (jm_PREREQ): Use it.
130
131 2000-01-11  Paul Eggert  <eggert@twinsun.com>
132
133         Quote multibyte characters correctly.
134         * m4/c-bs-a.m4: New file.
135         * m4/prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
136         (jm_PREREQ): Use it.
137
138 2000-01-11  Paul Eggert  <eggert@twinsun.com>
139
140         * m4/uintmax_t.m4: Port to autoconf 2.13.
141
142 2000-01-08  Jim Meyering  <meyering@ascend.com>
143
144         * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
145         * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
146
147 2000-01-04  Jim Meyering  <meyering@ascend.com>
148
149         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
150         jm_STRUCT_DIRENT_D_TYPE.
151         * d-ino.m4: (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
152         jm_STRUCT_DIRENT_D_INO.
153         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
154         jm_STRUCT_UTIMBUF.
155         * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
156         * utime.m4: Likewise.
157
158         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
159         * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
160
161 2000-01-03  Paul Eggert  <eggert@twinsun.com>
162
163         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
164         (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
165
166 2000-01-02  Jim Meyering  <meyering@ascend.com>
167
168         * search-libs.m4: Escape `$' in $3 of dnl comment.  I no longer
169         remember if this is necessary.
170
171 1999-12-26  Jim Meyering  <meyering@ascend.com>
172
173         * jm-macros.m4: Use it here.
174         * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
175
176 1999-12-23  Jim Meyering  <meyering@ascend.com>
177
178         * jm-macros.m4: Check for clock_gettime (moved from
179         fileutils/configure.in)
180         Check for gettimeofday.
181
182 1999-12-20  Jim Meyering  <meyering@ascend.com>
183
184         * strftime.m4: Remove kludge, now that I'm using the fixed
185         autoconf-2.14a-1999-12-20.
186
187 1999-12-19  Jim Meyering  <meyering@ascend.com>
188
189         * lstat-slash.m4: New file.
190         * jm-macros.m4: Use the new macro:
191         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
192
193 1999-12-07  Jim Meyering  <meyering@ascend.com>
194
195         * perl.m4: Require that File::Compare be available, too.
196         Too many systems seem to lack it.
197
198         * strftime.m4: Add checks for most of the cpp macros tested in
199         GNU's strftime.c.  Prompted by a patch from Paul Eggert.
200
201 1999-11-18  Paul Eggert  <eggert@twinsun.com>
202
203         * m4/largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
204         problem with the QNX 4.25 shell, which doesn't propagate exit
205         status of failed commands inside shell assignments.
206
207 1999-11-17  Jim Meyering  <meyering@ascend.com>
208
209         * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
210
211 1999-11-07  Jim Meyering  <meyering@ascend.com>
212
213         * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
214
215 1999-11-06  Jim Meyering  <meyering@ascend.com>
216
217         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
218         * jm-macros.m4 (jm_MACROS): Use it here.
219
220 1999-11-05  Jim Meyering  <meyering@ascend.com>
221
222         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
223         of textutils, fileutils, and sh-utils into this one (shared between
224         those packages) file.
225         Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
226         AC_STRUCT_ST_BLKSIZE.
227
228 1999-11-03  Jim Meyering  <meyering@ascend.com>
229
230         * ssize_t.m4: Remove file.  No longer needed since the new version of
231         AC_CHECK_TYPE checks includes unistd.h.
232         * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
233         Suggestion from Akim Demaille.
234
235 1999-10-30  Jim Meyering  <meyering@ascend.com>
236
237         * uintmax_t.m4: Require 2.14a.  Remove backslash before backtick in
238         m4-quoted string.
239         * ls-mntd-fs.m4: Likewise.
240         * jm-macros.m4: Likewise.  Also, use AC_TYPE_SSIZE_T instead
241         * jm-winsz1.m4: Likewise.
242
243         * const.m4: Remove file, since the fix made it into the experimental
244         version of autoconf.
245         * mktime.m4: Likewise.
246
247         * check-type.m4: Remove file, now that the latest version of
248         AC_CHECK_TYPE takes a third arg to specify additional #includes.
249
250         * ssize_t.m4: New file, requires experimental version of autoconf.
251         * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
252         AC_CHECK_TYPE.
253
254 1999-10-04  Jim Meyering  <meyering@ascend.com>
255
256         * jm-macros.m4: Don't require autoconf-2.14.1.
257
258 1999-09-22  Paul Eggert  <eggert@twinsun.com>
259
260         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
261         2.95.1 bug with HP-UX 10.20.
262
263 1999-09-17  Jim Meyering  <meyering@ascend.com>
264
265         * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
266         Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
267         due to missing strdup (against sh-utils-2.0).
268
269 1999-08-29  Jim Meyering  <meyering@ascend.com>
270
271         * jm-macros.m4: Require jm_BISON.
272         * bison.m4: New file.
273
274 1999-08-17  Paul Eggert  <eggert@twinsun.com>
275
276         * m4/largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
277         in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
278
279 1999-08-05  Jim Meyering  <meyering@ascend.com>
280
281         * getline.m4: Rename test file from conftestdata to conftest.data
282         to avoid conflicts with `conftest' on 8+3 filesystems.
283         Suggestion from Eli Zaretskii.
284
285 1999-08-04  Jim Meyering  <meyering@ascend.com>
286
287         * jm-macros.m4: Move a 4-line block of code from the configure.in of
288         fileutils and sh-utils (textutils's getline test was inadequate).
289         (AM_FUNC_GETLINE): Run this test.
290         (AC_CHECK_FUNCS): Check for getdelim.
291         Reported by Bob Proulx.
292
293 1999-08-02  Jim Meyering  <meyering@ascend.com>
294
295         * jm-macros.m4: Add a comment.
296
297 1999-08-01  Jim Meyering  <meyering@ascend.com>
298
299         * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
300
301 1999-08-01  Paul Eggert  <eggert@twinsun.com>
302
303         * lfs.m4: Remove this file.
304         * largefile.m4: New file.  It contains the old contents of
305         lfs.m4, except that all names with prefix AC_LFS have been
306         changed to use the prefix AC_SYS_LARGEFILE instead, to be
307         compatible with future autoconf versions.  Also, some minor m4
308         quoting problems have been fixed.
309
310 1999-07-16  Paul Eggert  <eggert@twinsun.com>
311
312         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
313         that we can shift, multiply and divide unsigned long long
314         values; Ultrix cc can't do it.
315
316 1999-07-14  Paul Eggert  <eggert@twinsun.com>
317
318         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
319         <inttypes.h> defines strtoumax as a macro (and not as a
320         function).
321
322 1999-07-05  Paul Eggert  <eggert@twinsun.com>
323
324         * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
325         Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
326         (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
327         and simplify the shell code.
328
329 1999-07-03  Paul Eggert  <eggert@twinsun.com>
330
331         * mktime.m4: New file, which is a preview of what should appear
332         in the next public autoconf release.
333
334 1999-07-20  Jim Meyering  <meyering@ascend.com>
335
336         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
337
338 1999-07-15  Jim Meyering  <meyering@ascend.com>
339
340         * jm-macros.m4: (AC_CHECK_FUNCS): Check for getpagesize.
341
342 1999-05-22  Jim Meyering  <meyering@ascend.com>
343
344         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
345
346 1999-05-20  Jim Meyering  <meyering@ascend.com>
347
348         * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
349         Add a colon after each `then' in case $4 is empty.
350
351 1999-05-16  Jim Meyering  <meyering@ascend.com>
352
353         * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
354
355 1999-05-10  Jim Meyering  <meyering@ascend.com>
356
357         * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
358
359         * jm-macros.m4: Require 2.14.1, since we use newly-renamed
360         AC_FUNC_MKTIME.
361
362 1999-05-10  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
363
364         * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
365
366 1999-05-04  Paul Eggert  <eggert@twinsun.com>
367
368         * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
369         not CPPFLAGS, so that linking works correctly in IRIX.
370
371 1999-04-30  Paul Eggert  <eggert@twinsun.com>
372
373         * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
374
375 1999-04-20  Jim Meyering  <meyering@ascend.com>
376
377         * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
378         AC_REPLACE xstroull if necessary.  From Paul Eggert.
379         (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
380
381 1999-04-20  Paul Eggert  <eggert@twinsun.com>
382
383         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
384         long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
385         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
386         jm_AC_TYPE_UNSIGNED_LONG_LONG.
387         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
388
389         * lfs.m4: Port to AIX and HP-UX.  Support cross-compilation.
390
391 1999-04-18  Jim Meyering  <meyering@ascend.com>
392
393         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
394         * jm-macros.m4: Use it.
395
396 1999-04-06  Jim Meyering  <meyering@ascend.com>
397
398         * strftime.m4: Remove test for %f.
399
400 1999-03-29  Jim Meyering  <meyering@ascend.com>
401
402         * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
403         superset of the AC_TYPE_* checks in the textutils, fileutils,
404         and sh-utils, plus AC_TYPE_PID_T.  Paul Eggert suggested adding
405         AC_TYPE_PID_T.
406
407 1999-03-28  Jim Meyering  <meyering@ascend.com>
408
409         * jm-macros.m4: Define GNU_PACKAGE here.
410         Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
411         replaced e.g., in the *.sh files of the sh-utils.
412
413 1999-03-20  Jim Meyering  <meyering@ascend.com>
414
415         * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
416         * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
417         Don't depend on AM_GLIBC.  Suggestions from Alain Magloire.
418
419 1999-03-19  Jim Meyering  <meyering@ascend.com>
420
421         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
422
423 1999-03-12  Jim Meyering  <meyering@ascend.com>
424
425         * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
426
427 1999-03-07  Jim Meyering  <meyering@ascend.com>
428
429         * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
430
431 1999-02-17  Jim Meyering  <meyering@ascend.com>
432
433         * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
434         in macro definition.  From Eli Zaretskii and Alain Magloire.
435
436 1999-02-07  Jim Meyering  <meyering@ascend.com>
437
438         * group-member.m4: New file -- extracted from sh-utils' configure.in.
439
440         1999-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
441         * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
442
443 1999-02-06  Jim Meyering  <meyering@ascend.com>
444
445         * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
446         * fnmatch.m4: Likewise.
447         * getgroups.m4: Likewise.
448         * lstat.m4: Likewise.
449         * malloc.m4: Likewise.
450         * putenv.m4: Likewise.
451         * realloc.m4: Likewise.
452         * regex.m4: Likewise.
453         * stat.m4: Likewise.
454         * strftime.m4: Likewise.
455         Suggestion from Alain Magloire.
456
457         * chown.m4: Use `.$ac_objext', not `.o'.
458         * fnmatch.m4: Likewise.
459         * getgroups.m4: Likewise.
460         * getline.m4: Likewise.
461         * lstat.m4: Likewise.
462         * malloc.m4: Likewise.
463         * memcmp.m4: Likewise.
464         * putenv.m4: Likewise.
465         * realloc.m4: Likewise.
466         * regex.m4: Likewise.
467         * stat.m4: Likewise.
468         * strftime.m4: Likewise.
469         Suggestion from Alain Magloire.
470
471         * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
472         an argument.
473
474         * regex.m4: Add a run-time Test for proper operation of
475         re_compile_pattern.
476
477 1999-01-31  Jim Meyering  <meyering@ascend.com>
478
479         * getloadavg.m4: Check for locale.h and the function, setlocale.
480
481 1999-01-30  Jim Meyering  <meyering@ascend.com>
482
483         * check-type.m4: Use 3-arg form of AC_DEFINE.
484
485         * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
486         rather than my private copy, now that the official one is up to date.
487         * mktime.m4: Remove file.
488
489         * getloadavg.m4: Use 3-arg form of AC_DEFINE.
490         * uptime.m4: Likewise.
491         * uintmax_t.m4: Likewise.
492
493 1999-01-28  Jim Meyering  <meyering@ascend.com>
494
495         * jm-macros.m4: Use jm_AFS.
496         * afs.m4: New file (from fileutils' configure.in).
497
498         * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
499         * chown.m4: Likewise.
500         * d-ino.m4: Likewise.
501         * d-type.m4: Likewise.
502         * fnmatch.m4: Likewise.
503         * getgroups.m4: Likewise.
504         * gettext.m4: Likewise.
505         * jm-mktime.m4: Likewise.
506         * jm-winsz2.m4: Likewise.
507         * lcmessage.m4: Likewise.
508         * ls-mntd-fs.m4: Likewise.
509         * malloc.m4: Likewise.
510         * memcmp.m4: Likewise.
511         * putenv.m4: Likewise.
512         * realloc.m4: Likewise.
513         * st_mtim.m4: Likewise.
514         * strftime.m4: Likewise.
515
516 1999-01-16  Jim Meyering  <meyering@ascend.com>
517
518         * jm-macros.m4 (ARGMATCH_DIE): Define.
519         (ARGMATCH_DIE_DECL): Define.
520
521 1999-01-12  Jim Meyering  <meyering@ascend.com>
522
523         * Makefile.am.in: Rewrite to avoid using fmt.
524         Reported by Lars Hecking.
525
526 1999-01-10  Jim Meyering  <meyering@ascend.com>
527
528         * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
529         gross kludge.
530         * inttypes_h.m4: Likewise.
531         * lstat.m4: Likewise.
532         * malloc.m4: Likewise.
533         * readdir.m4: Likewise.
534         * realloc.m4: Likewise.
535         * st_dm_mode.m4: Likewise.
536         * stat.m4: Likewise.
537         * utimbuf.m4: Likewise.
538         * utimes.m4: Likewise.
539
540         * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
541         AC_CHECK_FUNCS hack.  Now, it's still a hack, but at least the
542         comments in config.h.in are meaningful.
543
544         * jm-macros.m4: Require autoconf-2.13 here.
545
546         * regex.m4: By default, don't use the included regex.c on systems
547         with glibc 2.  Suggestion from Uli Drepper.
548
549 1999-01-02  Jim Meyering  <meyering@ascend.com>
550
551         * jm-macros.m4: Replace strcasecmp and strncasecmp.
552
553 1998-12-18  Jim Meyering  <meyering@ascend.com>
554
555         * Makefile.am.in (Makefile.am): Simplify rule.
556         Based on a suggestion from Lars Hecking.
557
558 1998-11-16  Jim Meyering  <meyering@ascend.com>
559
560         * lfs.m4: Double-quote the `uname...` expression.
561
562 1998-11-16  Paul Eggert  <eggert@twinsun.com>
563
564         * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
565
566 1998-11-14  Jim Meyering  <meyering@ascend.com>
567
568         * lstat.m4: Correct comment.  POSIX does not permit it to succeed.
569         * stat.m4: Likewise.
570
571 1998-11-03  Jim Meyering  <meyering@ascend.com>
572
573         * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
574         * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
575
576 1998-10-18  Jim Meyering  <meyering@ascend.com>
577
578         * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
579
580 1998-10-17  Jim Meyering  <meyering@ascend.com>
581
582         * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
583         include, though we still hard-code the `require'-like AC_CHECK_HEADERS
584         calls for those previously hard-coded headers.  Instead, take a new
585         parameter.
586         (jm_CHECK_DECLARATIONS): Reflect interface change.
587         * check-decl.m4 (jm_CHECK_DECLS): Likewise.
588         (jm_CHECK_DECL_LOCALTIME_R): New macro.
589
590         * mktime.m4: Test for spring-forward gap before long-running test.
591
592 1998-10-14  Jim Meyering  <meyering@ascend.com>
593
594         * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
595         instead of "TZ=America/Vancouver".  From Paul Eggert.
596
597 1998-10-11  Jim Meyering  <meyering@ascend.com>
598
599         * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
600         This adds a test for a recently added compatibility fix for mktime.c.
601         * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
602
603 1998-09-27  Jim Meyering  <meyering@ascend.com>
604
605         * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
606
607         * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro.  Extracted from
608         ../configure.in, including a change from Gordon Matzigkeit to allow
609         cross-compiling for the Hurd.
610
611         * glibc.m4: New file/macro to test for the GNU C Library
612         versions 1 and 2.  From Gordon Matzigkeit.
613         Indent.
614
615 1998-09-21  Jim Meyering  <meyering@ascend.com>
616
617         * chown.m4: Declare locals: before, after.  From Andries Brouwer.
618
619 1998-08-18  Paul Eggert  <eggert@twinsun.com>
620
621         Port nanosecond-resolution times to UnixWare 2.1.2 and
622         pedantic Solaris 2.6.
623
624         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
625         AC_STRUCT_ST_MTIM.
626         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
627         Generate name of ns member, instead of just 1 or undef.
628         Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
629
630 1998-08-15  Jim Meyering  <meyering@ascend.com>
631
632         * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
633         * check-type.m4: New file.  Replacement for AC_CHECK_TYPE.
634         * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
635         instead of jm_TYPE_SSIZE_T.
636
637 1998-08-12  Jim Meyering  <meyering@ascend.com>
638
639         * st_dm_mode.m4: New file.  From Johan Danielsson.
640
641 1998-08-02  Jim Meyering  <meyering@ascend.com>
642
643         * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
644         in acconfig.h manually.
645
646 1998-07-31  Paul Eggert  <eggert@twinsun.com>
647
648         * st_mtim.m4: New file.
649
650 1998-07-28  Jim Meyering  <meyering@ascend.com>
651
652         * utimes.m4: Undef stat.
653
654 1998-07-25  Jim Meyering  <meyering@ascend.com>
655
656         * utime.m4 (jm_FUNC_UTIME): New file and macro.
657         * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
658
659 1998-07-09  Manfred Hollstein  <manfred@s-direktnet.de>
660
661         * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
662         uid and gid actually remain unchanged.
663
664 1998-07-07  Jim Meyering  <meyering@ascend.com>
665
666         * jm-glibc-io.m4: Remove fclose_unlocked.
667
668 1998-07-04  Jim Meyering  <meyering@ascend.com>
669
670         * regex.m4: Use syscmd, ifelse, and sysval.  Mainly as an exercise
671         to prove that this macro can be used in packages without regex.c.
672
673 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
674
675         * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
676         is to be used.
677
678 1998-07-03  Jim Meyering  <meyering@ascend.com>
679
680         * gettext.m4: Add -lintl if it's found to be necessary.
681
682         * gettext.m4: New file -- from gettext-0.10.35.
683         * lcmessage.m4: Likewise.
684         * progtest.m4: Likewise.
685
686         * regex.m4 (jm_WITH_REGEX): New file and macro.
687         * jm-macros.m4: Require the new macro.
688
689 1998-06-29  Jim Meyering  <meyering@ascend.com>
690
691         * fstypename.m4: Include sys/param.h.  NetBSD 1.3.1 requires this
692         for the definition of NGROUPS (used in a system header included
693         by sys/mount.h).
694
695 1998-06-28  Jim Meyering  <meyering@ascend.com>
696
697         * ls-mntd-fs.m4: New file.
698         * fstypename.m4: New file.
699
700         * jm-macros.m4: Require the new macro.
701         * jm-glibc-io.m4: New file.
702
703 1998-05-19  Jim Meyering  <meyering@ascend.com>
704
705         * jm-macros.m4: Add jm_FUNC_LCHOWN.
706         * lchown.m4: New file.
707
708         * Makefile.am.in: New file.
709         * Makefile.am (Makefile.am): Depend on Makefile.am.in.
710
711 1998-05-14  Jim Meyering  <meyering@ascend.com>
712
713         * Makefile.am (EXTRA_DIST): Add them.
714         * jm-macros.m4: New file.
715         * utimbuf.m4: New file.
716
717 1998-05-12  Jim Meyering  <meyering@ascend.com>
718
719         * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
720
721 1998-05-11  Jim Meyering  <meyering@ascend.com>
722
723         * isc-posix.m4: New file.
724
725 1998-05-10  Jim Meyering  <meyering@ascend.com>
726
727         * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
728
729 1998-05-09  Jim Meyering  <meyering@ascend.com>
730
731         * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
732         (EXTRA_DIST): Remove mktime.m4, now that the new version is included
733         with automake.
734
735         * ssize_t.m4: New file.
736         * mktime.m4: Remove file -- the new automake has this now.
737
738 1998-04-26  Jim Meyering  <meyering@ascend.com>
739
740         * assert.m4: New file.
741         * Makefile.am (EXTRA_DIST): Add assert.m4.
742
743 1998-04-05  Jim Meyering  <meyering@ascend.com>
744
745         * prereq.m4 (jm_PREREQ_REGEX): New macro.
746         (jm_PREREQ): Use it here.
747
748 1998-03-23  Jim Meyering  <meyering@eng.ascend.com>
749
750         * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
751         in acconfig.h.
752
753 1998-03-15  Jim Meyering  <meyering@eng.ascend.com>
754
755         * prereq.m4: New file.
756         * error.m4: New file.
757         * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
758
759 1998-02-07  Jim Meyering  <meyering@eng.ascend.com>
760
761         * getline.m4: Don't set am_cv_func_working_getline before the
762         cache-check for the same variable -- that defeated the purpose of
763         the test; the test program was never run.  This was a problem only
764         on systems with losing getline functions -- HP-UX 10.20 is one.
765         Reported by Bjorn Helgaas.
766
767 1998-02-06  Jim Meyering  <meyering@eng.ascend.com>
768
769         * Makefile.am (EXTRA_DIST): Add perl.m4.
770
771 1998-01-10  Jim Meyering  <meyering@na-net.ornl.gov>
772
773         * Makefile.am (EXTRA_DIST): Add const.m4.
774
775         * const.m4: New file.  Use an initializer in this declaration
776         typedef int charset[2]; const charset x;
777         Reported by Bob Glickstein.
778
779 1997-12-21  Jim Meyering  <meyering@na-net.ornl.gov>
780
781         * chown.m4: Fix reversed types on -1 args to chown.
782         From Kaveh Ghazi.
783
784 1997-12-14  Jim Meyering  <meyering@na-net.ornl.gov>
785
786         * check-decl.m4: s/DECLARATION_/DECL_/g.
787         Add lseek and memchr.
788
789         * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
790         T.E.Dickey <dickey@clark.net> said that some older preprocessors
791         have a 20-character limit on names.
792
793 1997-11-30  Jim Meyering  <meyering@na-net.ornl.gov>
794
795         * inttypes_h.m4: New file.
796         * uintmax_t.m4: New file.
797         * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.