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