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