*** empty log message ***
[coreutils.git] / m4 / ChangeLog
blob0ba6d78500c43b782f8fa4011d30e856d101cbe1
1 2004-03-07  Paul Eggert  <eggert@twinsun.com>
3         * Makefile.am.in (Makefile.am):
4         Don't use $<, as it doesn't work with Solaris make.
6 2004-01-29  Jim Meyering  <jim@meyering.net>
8         Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
9         * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
10         on some systems one must include <grp.h> before it.
11         Reported by Christian Krackowizer.
13 2004-01-16  Jim Meyering  <jim@meyering.net>
15         * onceonly.m4: Sync with version from gettext-0.13.1.
17 2003-10-08  Paul Eggert  <eggert@twinsun.com>
19         Merge from gnulib.
21         * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
23 2003-08-26  Bruno Haible  <bruno@clisp.org>
25         Merge from gnulib.
27         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
28         This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
29         followed by '#define fnmatch fnmatch_posix' gives an error.
31 2004-01-14  Paul Eggert  <eggert@twinsun.com>
33         * posixv.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
35 2004-01-13  Jim Meyering  <jim@meyering.net>
37         * gettext.m4, lib-ld.m4, lib-prefix.m4, nls.m4, po.m4:
38         Update from gettext-0.13.1.
39         * intmax.m4, isc-posix.m4, printf-posix.m4, size_max.m4, xsize.m4:
40         New files.  From gettext-0.13.1.
42 2004-01-11  Paul Eggert  <eggert@twinsun.com>
44         * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): Move
45         the documentation from 'configure' into 'config.hin',
46         so that 'configure --help' isn't burdened by it and
47         we don't have to worry about its formatting there.
48         Reword the documentation so that it's more succinct
49         and can be run together into a single paragraph.
51 2004-01-12  Jim Meyering  <jim@meyering.net>
53         * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
55 2003-12-20  Jim Meyering  <jim@meyering.net>
57         * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
59         * open-max.m4 (UTILS_SYS_OPEN_MAX): Remove file.  No longer used.
61         * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
62         value, $ac_cv_search_crypt, if it's "none required".
64 2003-12-19  Jim Meyering  <jim@meyering.net>
66         * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
67         if no library is required.
69 2003-12-18  Jim Meyering  <jim@meyering.net>
71         * search-libs.m4 (AC_SEARCH_LIBS): Remove file/macro, now that
72         this replacement is no longer needed.  Besides, this macro has
73         no effect with autoconf-2.58, since `undefine' in package-supplied
74         .m4 files is no longer honored.  Reported by Andreas Schwab.
76         Remove now-unnecessary (and unused) files.  They also used `undefine'.
77         * isc-posix.m4 (AC_ISC_POSIX): Remove file.
78         * getloadavg.m4 (gl_FUNC_GETLOADAVG): Remove file.
79         * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
80         not gl_FUNC_GETLOADAVG.
82 2003-11-08  Jim Meyering  <jim@meyering.net>
84         * inttypes.m4: Sync from gnulib (this file was previously empty,
85         to work around some sort of problem).
87 2003-11-08  Alexandre Duret-Lutz  <adl@gnu.org>
89         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
90         value, $ac_cv_search_nanosleep, if it's "none required".
92 2003-11-05  Paul Eggert  <eggert@twinsun.com>
94         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
96 2003-11-05  Jim Meyering  <jim@meyering.net>
98         * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
99         * free.m4: New file, from gnulib.
101         * exitfail.m4, host-os.m4, strndup.m4: Update from gnulib.
103         * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
104         (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
106 2003-10-13  Paul Eggert  <eggert@twinsun.com>
108         * xalloc.m4: Import latest version from gnulib.
110 2003-10-06  Jim Meyering  <jim@meyering.net>
112         * ftw.m4: Remove now-unused file.
114 2003-10-05  Jim Meyering  <jim@meyering.net>
116         * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
118 2003-09-17  Paul Eggert  <eggert@twinsun.com>
120         Update from gnulib.
121         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
122         to avoid spurious warnings like "AC_RUN_IFELSE was called before
123         gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
125 2003-09-12  Paul Eggert  <eggert@twinsun.com>
127         More patches to assume C89 or better.
129         * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
130         * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
131         * userspec.m4 (gl_USERSPEC): Likewise.
132         * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
133         * xstrtod.m4 (gl_XSTRTOD): Likewise.
134         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
135         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
136         memcpy, memset.
137         (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
138         * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
139         * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
140         * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
141         * userspec.m4 (gl_USERSPEC): Do not check for string.h.
142         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
143         strtoul.
145 2003-09-12  Paul Eggert  <eggert@twinsun.com>
147         * error.m4 (gl_ERROR): Don't check for vprintf.
148         Require AC_FUNC_STRERROR_R rather than invoking it.
150 2003-09-12  Paul Eggert  <eggert@twinsun.com>
152         * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
153         unconditionally.
154         * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
155         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
156         Include <string.h>, <stdlib.h> unconditionally.
157         * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
158         * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
159         * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
160         or for string.h.
161         * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlb.h
162         or strtoul.
163         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
164         and AC_MINIX, too, so that their extensions are available.
166         * prereq.m4 (jm_PREREQ_ADDEXT): Remove.  All uses removed.
167         This macro has been superseded by gl_BACKUPFILE.
169 2003-09-12  Jim Meyering  <jim@meyering.net>
171         * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
172         gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
173         * readtokens.m4: New file, from gnulib
174         * md5.m4: Likewise.
175         * makepath.m4: Likewise.
176         * long-options.m4: Likewise.
177         * idcache.m4: Likewise.
178         * getugroups.m4: Likewise.
180 2003-09-11  Paul Eggert  <eggert@twinsun.com>
182         More patches to assume C89 or better.
183         * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
184         * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
185         string.h, memchr, STDC_HEADERS.
187 2003-09-10  Bruno Haible  <bruno@clisp.org>
189         * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
190         * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
191         * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
192         * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
193         * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
194         * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
196 2003-09-09  Paul Eggert  <eggert@twinsun.com>
198         * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
199         * getopt.m4 (gl_GETOPT): Don't check for string.h.
200         * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
201         * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
202         headers.
203         * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
204         string.h.
205         * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
206         * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
207         * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
208         * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
209         * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
210         * memcoll.m4 (gl_MEMCOLL): Likewise.
211         * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
212         * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
213         string.h, free.
214         * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
215         * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
216         * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
217         C headers, or for string.h.
218         * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
219         (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
220         * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
221         headers, memory.h, stdlib.h, string.h, strings.h.
222         * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
223         * posixver.m4 (gl_POSIXVER): Don't check for getenv.
224         * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
225         strchr.
226         * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
227         * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
228         free.
229         * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
230         * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
231         * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
232         * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
234 2003-09-09  Derek Robert Price  <derek@ximbiot.com>
236         * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
237         C89 spec.
239 2003-09-08  Paul Eggert  <eggert@twinsun.com>
241         Assume C89 or better; remove K&R cruft.
242         * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
243         * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
244         string.h, getenv, malloc.
245         * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
246         headers.
247         * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
248         * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
249         do not check for strerror.
250         * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
251         * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
252         * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove.  All uses removed.
253         * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
255 2003-08-27  Jim Meyering  <jim@meyering.net>
257         * mkstemp.m4: Require that the system mkstemp be able to create
258         70 temporary files, not just 30.  Tru64 V4.0F's mkstemp function
259         would fail after 32.  Reported by Danny Levinson.  Details here:
260         http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
262 2003-08-19  Jim Meyering  <jim@meyering.net>
264         * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
265         http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
267 2003-08-18  Paul Eggert <eggert@twinsun.com>
269         * same.m4 (gl_SAME): Do not check for stdlib.h or string.h or free.
270         Check for pathconf.
272 2003-08-18  Jim Meyering  <jim@meyering.net>
274         * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
275         * lib-ld.m4: Likewise.
276         * po.m4: Likewise.
278 2003-08-18  Paul Eggert  <eggert@twinsun.com>
279         and Jim Meyering  <jim@meyering.net>
281         It turns out that we need AM_NLS and AM_PO_SUBDIRS after all;
282         otherwise po/POTFILES and po/Makefile aren't built by 'configure'.
283         I'm not sure why I didn't catch this earlier; most likely some
284         leftover build files.  Sorry about that.
285         * gettextext.m4 (AM_NLS, AM_PO_SUBDIRS): Remove definitions.
286         * nls.m4, po.m4: New files, taken from gnulib / gettext.
288 2003-08-16  Paul Eggert  <eggert@twinsun.com>
290         Sync with gnulib.
292         * gettextext.m4: New file.
294         * atexit.m4, backupfile.m4, canon-host.m4, clock_time.m4,
295         closeout.m4, dirname.m4, dup2.m4, euidaccess.m4, exclude.m4,
296         exitfail.m4, file-type.m4, fileblocks.m4, filemode.m4, getdate.m4,
297         gethostname.m4, getloadavg.m4, getopt.m4, getpagesize.m4,
298         getpass.m4, getusershell.m4, hard-locale.m4, hash.m4, malloc.m4,
299         memchr.m4, memcpy.m4, memmove.m4, memrchr.m4, memset.m4,
300         modechange.m4, mountlist.m4, obstack.m4, path-concat.m4,
301         pathmax.m4, physmem.m4, posixtm.m4, posixver.m4, quote.m4,
302         quotearg.m4, readlink.m4, readutmp.m4, realloc.m4, rmdir.m4,
303         rpmatch.m4, safe-read.m4, safe-write.m4, same.m4, save-cwd.m4,
304         savedir.m4, settime.m4, sha.m4, sig2str.m4, stdio-safer.m4,
305         stpcpy.m4, strcase.m4, strcspn.m4, strdup.m4, strndup.m4,
306         strnlen.m4, strpbrk.m4, strstr.m4, strtod.m4, strtoimax.m4,
307         strtol.m4, strtoll.m4, strtoul.m4, strtoull.m4, strtoumax.m4,
308         strverscmp.m4, ulonglong.m4, unicodeio.m4, unistd-safer.m4,
309         userspec.m4, xalloc.m4, xgetcwd.m4, xreadlink.m4, xstrtod.m4,
310         xstrtol.m4, yesno.m4: New files, from gnulib.
312         * acl.m4, check-decl.m4, chown.m4, c-stack.m4, d-ino.m4,
313         d-type.m4, fileblocks.m4, fsusage.m4, ftruncate.m4, getcwd.m4,
314         getgroups.m4, getline.m4, getndelim2.m4, gettext.m4,
315         gettimeofday.m4, group-member.m4, host-os.m4, iconv.m4,
316         intmax_t.m4, inttypes-pri.m4, jm-macros.m4, lchown.m4, lib-ld.m4,
317         lib-link.m4, lib-prefix.m4, longdouble.m4, longlong.m4,
318         ls-mntd-fs.m4, lstat.m4, mbrtowc.m4, mbswidth.m4, memcmp.m4,
319         mkdir-slash.m4, mkstemp.m4, nanosleep.m4, onceonly.m4, prereq.m4,
320         progtest.m4, putenv.m4, readdir.m4, rename.m4, stat.m4, tzset.m4,
321         utimbuf.m4, utime.m4, vasnprintf.m4, xstrtoimax.m4, xstrtoumax.m4:
322         Sync with gnulib.
324 2003-08-15  Jim Meyering  <jim@meyering.net>
326         * utimes.m4 (gl_FUNC_UTIMES): Use `conftest.utimes' as the test
327         file name, not `x'.  The former will be removed automatically.
329 2003-08-13  Jim Meyering  <jim@meyering.net>
331         * README: Remove file.
332         * Makefile.am.in: Simplify.
333         (Makefile.am): Remove README.
335 2003-08-10  Jim Meyering  <jim@meyering.net>
337         * utimes.m4 (gl_FUNC_UTIMES): New file.
338         * utimens.m4: Require gl_FUNC_UTIMES.
339         Don't check for utime or utimes.
341         * utimes.m4: Removed.
342         * utimes-null.m4: Renamed from utimes.m4.
344 2003-08-06  Paul Eggert  <eggert@twinsun.com>
346         * prereq.m4 (jm_PREREQ): Require gl_UTIMENS.
347         * utimens.m4: New file.
349 2003-08-08  Paul Eggert  <eggert@twinsun.com>
351         * vasnprintf.m4 (gl_PREREQ_VASNPRINTF):
352         Solaris 2.5.1 needs -lw to get the wcslen function.
354 2003-08-08  Paul Eggert  <eggert@twinsun.com>
356         Use new gnulib 'extensions' module.
357         * extensions.m4, unlocked-io.m4: New files, from gnulib.
358         * gnu-source.m4, jm-glibc-io.m4: Remove.
359         * timespec.m4: Merge from gnulib.
361 2003-08-08  Paul Eggert  <eggert@twinsun.com>
363         * jm-macros.m4 (jm_MACROS): Replace jm_INCLUDED_REGEX([lib/regex.c])
364         with gl_REGEX.
365         Replace jm_FUNC_MKTIME with gl_FUNC_MKTIME.
366         Remove redundant AC_FUNC_FNMATCH_GNU, jm_FUNC_MKTIME.
367         Remove AC_FUNC_VPRINTF.
368         Add gl_ERROR.
370 2003-08-05  Paul Eggert  <eggert@twinsun.com>
372         * jm-macros.m4 (jm_MACROS): Use gl_GETNDELIM2 rather than
373         checking for getdelim.
374         (jm_CHECK_ALL_TYPES): Use gt_TYPE_SSIZE_T for ssize_t rather
375         than rolling our own.
376         Merge getline from gnulib.
377         * getline.m4: Merge from gnulib.
378         * getndelim2.m4, ssize_t.m4: New files, from gnulib.
380 2003-08-04  Paul Eggert  <eggert@twinsun.com>
382         * regex.m4: Merge with gnulib.
383         (gl_REGEX): New macro.
384         (jm_INCLUDED_REGEX): Don't assume Latin-1 encoding of source code.
385         * restrict.m4: Merge with gnulib.
386         (gl_C_RESTRICT): Renamed from ACX_C_RESTRICT.  All uses changed.
387         Rename cache vars to gl_cv_*.  Incorporate latest Autoconf CVS tricks.
389 2003-08-05  Paul Eggert  <eggert@twinsun.com>
391         * gnu-source.m4: New file, taken from gnulib, with support
392         added for __EXTENSIONS__ a la Solaris.
393         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Call gl_TIMESPEC rather
394         than jm_CHECK_TYPE_STRUCT_TIMESPEC.
395         * st_mtim.m4: Sync with gnulib (white space change only).
396         * timespec.m4: Sync with gnulib, except also require
397         AC_GNU_SOURCE.
399 2003-08-05  Paul Eggert  <eggert@twinsun.com>
401         * prereq.m4 (jm_PREREQ_PHYSMEM, jm_PREREQ_STAT): Ignore headers
402         that are present but cannot be compiled.  This avoids spurious warnings
403         on Solaris 9 sparc with Forte Developer 7 C 5.4.
405 2003-08-04  Paul Eggert  <eggert@twinsun.com>
407         Merge fnmatch module from gnulib.
408         * fnmatch.m4: New file, from gnulib.
409         * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FNMATCH_GNU
410         instead of AC_FUNC_ERROR_AT_LINE.
412 2003-08-04  Paul Eggert  <eggert@twinsun.com>
414         * error.m4: Sync from gnulib.
416 2003-07-23  Jim Meyering  <jim@meyering.net>
418         * lstat.m4, mkstemp.m4, regex.m4, stat.m4: Normalize naming of Sun
419         operating systems in comments, e.g., SunOS4 -> SunOS 4,
420         Solaris5.9 -> Solaris 9.  From Paul Eggert.
422 2003-07-18  Paul Eggert  <eggert@twinsun.com>
424         * jm-macros.m4 (jm_MACROS): Invoke gl_MEMCOLL.
425         * memcoll.m4: New file, from gnulib.
426         Based on a patch from Andreas Schwab.
428 2003-07-14  Jim Meyering  <jim@meyering.net>
430         * Makefile.am.in: Correct comment on first line.
432 2003-07-12  Jim Meyering  <jim@meyering.net>
434         * jm-macros.m4 (OPTIONAL_BIN_ZCRIPTS): Remove unused variable.
436 2003-07-10  Jim Meyering  <jim@meyering.net>
438         * jm-macros.m4 (jm_MACROS): Require gl_FUNC_VASPRINTF and
439         gl_FUNC_VASNPRINTF.
441         * longdouble.m4, signed.m4, vasnprintf.m4, vasprintf.m4, wchar_t.m4:
442         * wint_t.m4: New files, in support of new asprintf use.  From gnulib.
444         * stdint_h.m4: New file.
445         * inttypes_h.m4: New file.
446         * uintmax_t.m4: New file.
447         * intmax_t.m4: New file.
448         * inttypes.m4: Remove file.  Use intmax_t.m4 and uintmax_t.m4
449         from gnulib, instead.
451 2003-06-09  Jim Meyering  <jim@meyering.net>
453         * tzset.m4 (gl_FUNC_TZSET_CLOBBER): Also define gmtime.
454         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Likewise.
455         Suggestion from Paul Eggert.
457 2003-06-08  Jim Meyering  <jim@meyering.net>
459         * tzset.m4 (gl_FUNC_TZSET_CLOBBER): New file/macro.
460         Used by strftime.m4.
461         * strftime.m4 (_jm_STRFTIME_PREREQS): Require gl_FUNC_TZSET_CLOBBER.
463 2003-06-07  Jim Meyering  <jim@meyering.net>
465         * strftime.m4: Update from gnulib.
466         * tm_gmtoff.m4: New file, used by strftime.m4.
467         * mktime.m4: New file.  From gnulib.
469 2003-06-06  Jim Meyering  <jim@meyering.net>
471         * jm-macros.m4: Require gl_FUNC_ALLOCA.
472         * alloca.m4: New file, from gnulib.
474         * stdbool.m4: Update from gnulib.
476 2003-06-04  Paul Eggert  <eggert@twinsun.com>
478         Merge human.c etc. from gnulib.
479         * human.m4: New file, from gnulib.
480         * prereq.m4 (jm_PREREQ): Use gl_HUMAN, not jm_PREREQ_HUMAN.
481         (jm_prereq_HUMAN): Remove.
483 2003-06-02  Jim Meyering  <jim@meyering.net>
485         * jm-macros.m4 (jm_MACROS): Require AM_STDBOOL_H.
487 2003-05-26  Jim Meyering  <jim@meyering.net>
489         * dirfd.m4 (UTILS_FUNC_DIRFD): Merge in change from gnulib,
490         fixing an M4 quoting bug.
492         * lib-ld.m4 (AC_LIB_PROG_LD_GNU): Use TAB-SP, not SP-TAB
493         when setting IFS.
494         * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
496 2003-05-06  Jim Meyering  <jim@meyering.net>
498         * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for the
499         declaration of getcwd *before* checking for the getcwd kernel bug.
500         Otherwise, configure-time `checking ...' messages would be intermixed.
502 2003-05-02  Jim Meyering  <jim@meyering.net>
504         * readdir.m4 (GL_FUNC_READDIR): Revive dead file.  Change name to
505         have GL_ (not jm_) prefix.  Adjust cache variables similarly.
506         Create 500 rather than just 300 files, to exercise bug on
507         Darwin6.5, too.
508         * jm-macros.m4 (jm_MACROS): Require GL_FUNC_READDIR.
510 2003-04-25  Jim Meyering  <jim@meyering.net>
512         * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): If PATH_MAX
513         is not defined, don't run the test, and don't use the wrapper.
514         Otherwise, on the Hurd, it would take a long time to create
515         and remove a hierarchy about 4000 levels deep.
516         Based on a patch from Robert Millan.
518 2003-04-22  Jim Meyering  <jim@meyering.net>
520         Aesthetics.
521         * gettext.m4: Change an occurrence of [ \t] to [\t ].
523 2003-04-07  Jim Meyering  <jim@meyering.net>
525         * prereq.m4 (jm_PREREQ_STAT): Add prerequisites and #includes
526         for Ultrix 4.4.
528 2003-04-02  Jim Meyering  <jim@meyering.net>
530         * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
532 2003-03-19  Jim Meyering  <jim@meyering.net>
534         * ftw.m4 (AC_FUNC_FTW): Require AC_HEADER_STAT.
536 2003-03-17  Richard Dawe  <rich@phekda.freeserve.co.uk>
538         * jm-macros.m4 (jm_MACROS): Include $(EXEEXT) in DF_PROG's program
539         name, since automake only adds $(EXEEXT) to programs in its *_PROGRAMS.
540         Arrange to compile the corresponding stub function if fchdir is missing.
542 2003-03-18  Jim Meyering  <jim@meyering.net>
544         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
545         test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
546         systems would end up using the latter.  MOUNTED_GETMNTENT1 support
547         is inadequate on such systems: 1) detecting whether a file system
548         is remote doesn't work  2) the MOUNTED_VMOUNT code reports the
549         HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
550         merely /MOUNT_POINT.  Reported by Mike Jetzer.
552 2003-03-17  Jim Meyering  <jim@meyering.net>
554         * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
555         that is guaranteed to be `no'.  Use `no_such_member' to indicate
556         that condition, rather than `-1' which is slightly misleading.
557         Change the name of the cache variable to have the gl_ prefix.
558         Prompted by a patch from Richard Dawe for DJGPP.
560 2003-03-14  Jim Meyering  <jim@meyering.net>
562         * prereq.m4 (jm_PREREQ): Also forbid the gl_[A-Z] prefix.
563         Don't require jm_PREREQ_C_STACK.
565 2003-03-13  Paul Eggert  <eggert@twinsun.com>
567         [from gnulib]
568         * onceonly.m4 (m4_quote): New macro.
569         (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
570         Quote AC_FOREACH variable-expansions properly.
572 2003-03-13  Jim Meyering  <jim@meyering.net>
574         * jm-macros.m4 (jm_MACROS): Arrange to compile the corresponding stub
575         function if any of the following is missing: fchown, lstat, readlink.
576         From Richard Dawe.
578 2003-03-07  Jim Meyering  <jim@meyering.net>
580         * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
581         using the latest version from cvs.  This avoids problems with #line
582         directives using a vendor (Sun) compiler.
584         * jm-macros.m4: Don't require AC_SYS_MMAP_STACK.
585         * mmap-stack.m4 (AC_SYS_MMAP_STACK): Remove file.
587 2003-03-06  Jim Meyering  <jim@meyering.net>
589         * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for
590         declaration of getcwd.
592 2003-03-04  Jim Meyering  <jim@meyering.net>
594         * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): New macro.
595         * jm-macros.m4: Require GL_FUNC_GETCWD_PATH_MAX.
597         `df /some/mount-point' no longer hangs when an unrelated hard-mount
598         is unavailable
599         * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
600         /proc/mounts until it finds one with matching device number.  This is
601         unnecessary when the FILE argument *is* a mount point.  No stat call
602         is necessary in that case.  So, disable the statvfs-testing code on
603         systems with GNU libc.  Reported by Andrei Gaponenko via Tim Waugh
604         as RedHat bug# 84846.
606 2003-02-27  Jim Meyering  <jim@meyering.net>
608         * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for `table' function.
609         Reported by Kaveh Ghazi.
611         * prereq.m4 (gl_SYS__SYSTEM_CONFIGURATION): New function.
612         (jm_PREREQ_PHYSMEM): Check for new headers and functions.
613         Use gl_SYS__SYSTEM_CONFIGURATION.
614         With suggestions from Kaveh Ghazi.
616 2003-02-19  Jim Meyering  <jim@meyering.net>
618         * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
619         to 1MB, so as not to render systems with no stack size limit (e.g.,
620         linux-2.2.x) unusable.  Suggestion and code from Bruno Haible.
622 2003-02-17  Jim Meyering  <jim@meyering.net>
624         * prereq.m4 (jm_PREREQ_PHYSMEM): Undo last change, since
625         Kaveh Ghazi found a better way to get the required information.
626         Add check for sys/sysmp.h.
628 2003-02-15  Jim Meyering  <jim@meyering.net>
630         * mmap-stack.m4: New file.
632         * jm-macros.m4: Require AC_SYS_MMAP_STACK.
634         Add Irix6 support to physmem.c.
635         * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for sys/sysget.h
636         and sys/sysinfo.h.
637         Also check for sysget.
638         Reported by Kaveh Ghazi.
640 2003-02-12  Jim Meyering  <jim@meyering.net>
642         * restrict.m4 (ACX_C_RESTRICT): Remove #ifndef -- so now this
643         macro also checks for support when using a C++ compiler.
644         Also, remove the test for SGI's __restrict.
645         Suggested by Steven G. Johnson.
647         * regex.m4 (jm_PREREQ_REGEX): Require ACX_C_RESTRICT.
649         * restrict.m4 (ACX_C_RESTRICT): Minor syntactic changes:
650         Split long lines, use AC_COMPILE_IFELSE, indent, use `case'
651         instead of nested `if's, remove unnecessary quotes.
653         * restrict.m4 (ACX_C_RESTRICT): New macro.
654         Copied directly from the URL in the comments.
655         By Steven G. Johnson.
657 2003-02-09  Jim Meyering  <jim@meyering.net>
659         * check-decl.m4 (jm_CHECK_DECLS): Add euidaccess.
661 2003-02-03  Jim Meyering  <jim@meyering.net>
663         * c-stack.m4: Include <unistd.h>.  On some systems,
664         it is required for the definition of _SC_PAGESIZE.
666 2003-02-02  Jim Meyering  <jim@meyering.net>
668         * onceonly.m4: New file.  From gnulib.
670         * regex.m4 (jm_PREREQ_REGEX): New function, from gnulib.
671         (jm_INCLUDED_REGEX): Use it.
672         * prereq.m4 (jm_PREREQ_REGEX): Remove.
674 2003-01-31  Jim Meyering  <jim@meyering.net>
676         * open-max.m4 (UTILS_SYS_OPEN_MAX): New file/macro.
677         * jm-macros.m4 (jm_MACROS): Require UTILS_SYS_OPEN_MAX.
679 2003-01-29  Jim Meyering  <jim@meyering.net>
681         * regex.m4: Detect broken re_search in e.g. glibc-2.2.93.
683 2003-01-23  Jim Meyering  <jim@meyering.net>
685         * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
686         from working on systems without dirfd (at least Irix and OSF1/Tru64).
688         Merge in change by Bruno Haible from gnulib.
689         * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
691 2003-01-16  Jim Meyering  <jim@meyering.net>
693         * regex.m4: The `regex' struct is both input and output.
694         Initialize it before each use.  Patch by Tim Waugh.
696 2003-01-15  Jim Meyering  <jim@meyering.net>
698         * jm-macros.m4: Require AC_FUNC_FTW.
700 2003-01-12  Jim Meyering  <jim@meyering.net>
702         * ftw.m4: New file.
704 2003-01-11  Jim Meyering  <jim@meyering.net>
706         * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): New file and macro.
707         * jm-macros.m4: Require AC_FUNC_CANONICALIZE_FILE_NAME.
708         (jm_MACROS): No longer check for resolvepath or canonicalize_file_name.
710 2002-12-15  Jim Meyering  <jim@meyering.net>
712         * jm-glibc-io.m4n: Remove now-unused file.
713         * Makefile.am.in (Makefile.am): Remove jm-glibc-io.m4
714         and jm-glibc-io.m4n.
716 2002-12-11  Jim Meyering  <jim@meyering.net>
718         * jm-glibc-io.m4: Maintain this file manually rather than generating it.
719         Generating it caused too much trouble.  From gnulib.
721 2002-11-19  Jim Meyering  <jim@meyering.net>
723         * jm-macros.m4: Require Autoconf-2.56.
725 2002-09-30  Akim Demaille  <akim@epita.fr>
727         * prereq.m4: Use AC_REQUIRE everywhere it is possible.
728         (jm_PREREQ_CANON_HOST): Remove duplicates.
730 2002-11-10  Jim Meyering  <jim@meyering.net>
732         * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(raise).
734 2002-10-30  Paul Eggert  <eggert@twinsun.com>
736         * getgroups.m4 (jm_FUNC_GETGROUPS):
737         Fix typo: cv_func_getgroups_works -> ac_cv_func_getgroups_works.
739 2002-10-07  Paul Eggert  <eggert@twinsun.com>
741         * prereq.m4 (jm_PREREQ_HUMAN): Check for locale.h, localeconv,
742         AC_HEADER_STDBOOL.  No need to check for limits.h since it's in
743         freestanding C89.  No need to check for stdlib.h or string.h since
744         autoconf does this now.
746 2002-10-12  Paul Eggert  <eggert@twionsun.com>
748         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Remove fenv.h.
750 2002-09-29  Jim Meyering  <jim@meyering.net>
752         * gettext.m4 (AM_INTL_SUBDIR): Don't require gt_HEADER_INTTYPES_H.
753         It's not necessary with autoconf-2.54.
755 2002-09-28  Jim Meyering  <jim@meyering.net>
757         * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
758         and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
759         * jm-macros.m4 (jm_MACROS): Don't set GETGROUPS_LIB here; now it's
760         done via getgroups.m4's wrapper function.
762         * strerror_r.m4: Remove file -- now it's part of autoconf-2.54.
763         Reported by Akim Demaille.
765 2002-09-25  Jim Meyering  <jim@meyering.net>
767         * gettext.m4: Upgrade to gettext-0.11.5.
769 2002-09-07  Bruno Haible  <bruno@clisp.org>
771         * host-os.m4 (UTILS_HOST_OS): Add a case for freebsd*-gnu*.
773 2002-09-17  Jim Meyering  <jim@meyering.net>
775         * jm-macros.m4 (jm_MACROS): Require gt_INTTYPES_PRI.
776         * inttypes-pri.m4 (gt_INTTYPES_PRI): New file, mostly from gettext.
778 2002-09-16  Jim Meyering  <jim@meyering.net>
780         * prereq.m4: Forbid symbols matching ^jm_[A-Z].
781         (jm_PREREQ_QUOTEARG): Add jm_FUNC_MEMCMP.
782         From Akim Demaille.
784         * error.m4 (jm_PREREQ_ERROR): Check for libintl.h.
785         Reported by Akim Demaille.
787 2002-09-13  Jim Meyering  <jim@meyering.net>
789         * jm-macros.m4 (jm_MACROS): Require autoconf-2.54.
791 2002-09-09  Jim Meyering  <jim@meyering.net>
793         * getloadavg.m4: Remove file -- now it's part of autoconf-2.53c.
794         * jm-macros.m4: Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
795         AC_FUNC_GETLOADAVG where to find getloadavg.c.
797 2002-09-03  Jim Meyering  <jim@meyering.net>
799         * gnu-source.m4: Remove file -- now it's part of autoconf-2.53c.
800         * mbstate_t.m4: Likewise.
801         * fnmatch.m4: Likewise.
803 2002-08-05  Jim Meyering  <jim@meyering.net>
805         * jm-winsz1.m4: Also change use of $am_cv_sys_posix_termios
806         to $ac_cv_sys_posix_termios.  Reported by Andreas Schwab.
808 2002-08-03  Jim Meyering  <jim@meyering.net>
810         * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
811         Reported by mkc@mathdogs.com.
813 2002-08-01  Jim Meyering  <jim@meyering.net>
815         * prereq.m4 (jm_PREREQ_TEMPNAME): lib/tempname.c may use uintmax_t,
816         so require jm_AC_TYPE_UINTMAX_T.  Patch by Joe Orton.
818 2002-07-28  Jim Meyering  <jim@meyering.net>
820         * jm-macros.m4: Don't require jm_FUNC_READDIR.
821         * readdir.m4 (jm_FUNC_READDIR): Remove file/macro.  No longer needed.
823 2002-07-27  Jim Meyering  <jim@meyering.net>
825         * prereq.m4 (jm_PREREQ_READUTMP): Don't check just
826         `struct utmpx.ut_exit' and `struct utmp.ut_exit'.  Instead, check
827         all combinations of utmp/utmpx and ut_termination/e_termination
828         and ut_exit/e_exit.
830 2002-07-23  Jim Meyering  <jim@meyering.net>
832         * c-bs-a.m4 (AC_C_BACKSLASH_A): Remove file, now that autoconf
833         provides this macro.
835 2002-07-20  Jim Meyering  <jim@meyering.net>
837         * intdiv0.m4: New file.  From gettex-0.11.3.
839         * jm-macros.m4: Require autoconf-2.53b.
840         Use new macros AC_FUNC_MALLOC and AC_FUNC_REALLOC,
841         in place of jm_-prefixed ones.  Thanks, Akim!
842         * malloc.m4: Remove file, now that autoconf provides this macro.
843         * realloc.m4: Likewise.
845 2002-07-18  gettextize  <bug-gnu-gettext@gnu.org>
847         * gettext.m4: Upgrade to gettext-0.11.3.
848         * iconv.m4: Upgrade to gettext-0.11.3.
849         * isc-posix.m4: Upgrade to gettext-0.11.3.
850         * lcmessage.m4: Upgrade to gettext-0.11.3.
851         * lib-link.m4: Upgrade to gettext-0.11.3.
853 2002-07-17  Jim Meyering  <jim@meyering.net>
855         * boottime.m4: New file.  Extracted from sh-utils' configure.ac
856         and extended to work also with *BSD systems.
858 2002-07-15  Jim Meyering  <jim@meyering.net>
860         FreeBSD support for uname and uptime.
861         * jm-macros.m4 (jm_MACROS): Check for the sysctl function.
862         (jm_CHECK_ALL_HEADERS): Check for sys/sysctl.h.
863         Suggestion from Bruno Haible.
865 2002-06-11  Paul Eggert  <eggert@twinsun.com>
867         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
869 2002-06-22  Jim Meyering  <jim@meyering.net>
871         * c-stack.m4: New file, from diffutils-2.8.2.
872         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
874         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
875         now that configure.ac uses AC_GNU_SOURCE.
876         (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
877         * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
879         Update to latest tools.  Suggestions from Paul Eggert.
880         * stdbool.m4: New file, from diffutils-2.8.2.
881         * gnu-source.m4: Update from diffutils-2.8.2.
882         * fnmatch.m4: Likewise.
883         * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
884         to AC_HEADER_STDBOOL
886 2002-06-21  Jim Meyering  <jim@meyering.net>
888         * c-bs-a.m4: Add comment, from diffutils-2.8.2.
889         * mbrtowc.m4: Likewise.
891         * mbstate_t.m4: Update from diffutils-2.8.2.
892         * mbswidth.m4: Reflect name change:
893         s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
894         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
896         * lib-link.m4: Update from gettext-0.11.2.
897         * gettext.m4: Likewise.
899         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
900         From Alfred M. Szmidt.
902 2002-05-19  Paul Eggert  <eggert@twinsun.com>
904         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
906 2002-06-07  Jim Meyering  <jim@meyering.net>
908         * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
909         They're needed at least for NetBSD 1.5.2.
910         ($statxfs_includes): Include those same headers.
911         ($statxfs_includes): Include sys/vfs.h if available.
912         ($statxfs_includes): Likewise for sys/statvfs.h.
913         Check for the following members in both structs statfs and statvfs:
914         f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
916 2002-06-01  Jim Meyering  <jim@meyering.net>
918         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
919         s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
921 2002-05-28  Jim Meyering  <jim@meyering.net>
923         * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
924         Reported by Volker Borchert.
926 2002-05-27  Jim Meyering  <jim@meyering.net>
928         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
929         localtime.
931         * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
932         use the replacement function; it wouldn't resolve at link time.
933         Reported by Volker Borchert.
935 2002-04-30  Jim Meyering  <jim@meyering.net>
937         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
939 2002-04-29  Paul Eggert  <eggert@twinsun.com>
941         * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
942         Do not check for alloca.h (no longer used) or stdbool.h (was never
943         used?).  Add AM_C_PROTOTYPES since hard-locale.h uses it.
945 2002-04-28  Paul Eggert  <eggert@twinsun.com>
947         * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
949 2002-04-29  Jim Meyering  <jim@meyering.net>
951         * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
952         * prereq.m4: Add jm_PREREQ_STRNLEN.
953         Use AC_FUNC_STRNLEN here instead.
955         * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
956         With autoconf-2.53a, it's part of AC_PROG_CC.
958 2002-04-28  Paul Eggert  <eggert@twinsun.com>
960         * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
961         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
963 2002-04-24  Jim Meyering  <jim@meyering.net>
965         * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
966         (jm_PREREQ): Use it.
968         * getloadavg.m4: Check for these headers: locale.h unistd.h
969         mach/mach.h fcntl.h.
970         Check for this function: setlocale.
972 2002-04-16  Jim Meyering  <jim@meyering.net>
974         * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
975         ut_pid, ut_id, ut_exit.
977 2002-04-12  Jim Meyering  <jim@meyering.net>
979         * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
980         check for f_type in sys/mount.h.  Instead, just test for the existence
981         of the getmntinfo function.  Needed for Darwin 5.3.
983         * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
984         This is necessary at least on Darwin 5.3.
986         * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
987         AC_FUNC_STRNLEN.  Otherwise, we'd end up putting two copies of strnlen.o
988         in the library, and that makes some versions of ranlib object.
990 2002-04-09  Jim Meyering  <jim@meyering.net>
992         * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
993         to be more precise.  Rather than saying we're checking whether the
994         function `works', say what we're testing.
995         * realloc.m4 (jm_FUNC_REALLOC): Likewise.
996         Reported by Bruno Haible.
998 2002-02-27  Paul Eggert  <eggert@twinsun.com>
1000         * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
1001         Check for clock_settime.
1003 2002-02-25  Paul Eggert  <eggert@twinsun.com>
1005         * acl.m4: New file.
1006         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
1007         Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
1009 2002-02-16  gettextize  <bug-gnu-gettext@gnu.org>
1011         * codeset.m4: Upgrade to gettext-0.11.
1012         * gettext.m4: Upgrade to gettext-0.11.
1013         * glibc21.m4: Upgrade to gettext-0.11.
1014         * iconv.m4: Upgrade to gettext-0.11.
1015         * isc-posix.m4: Upgrade to gettext-0.11.
1016         * lcmessage.m4: Upgrade to gettext-0.11.
1017         * lib-ld.m4: New file, from gettext-0.11.
1018         * lib-link.m4: New file, from gettext-0.11.
1019         * lib-prefix.m4: New file, from gettext-0.11.
1020         * progtest.m4: Upgrade to gettext-0.11.
1022 2002-02-15  Paul Eggert  <eggert@twinsun.com>
1024         * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
1025         (jm_PREREQ): Use it.
1027 2002-01-26  Jim Meyering  <jim@meyering.net>
1029         * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
1030         * strnlen.m4: Remove file, now that it's part of autoconf.
1032 2002-01-22  Paul Eggert  <eggert@twinsun.com>
1034         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
1036 2002-01-19  Jim Meyering  <jim@meyering.net>
1038         * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
1039         Remove useless quotes: DF_PROG="df".
1040         * strnlen.m4: New file.
1042 2001-12-14  Jim Meyering  <jim@meyering.net>
1044         * jm-macros.m4 (jm_MACROS): Check for iswspace.
1045         Suggestion from Bruno Haible.
1047 2001-11-20  Jim Meyering  <jim@meyering.net>
1049         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
1050         SunOS 4.1.4 and Solaris 2.5.1 lose, too.
1052 2001-11-19  Jim Meyering  <jim@meyering.net>
1054         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
1055         directory.  Use "conftestXXXXXX" as the template.
1056         Suggestion from Paul Eggert.
1058         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
1059         so the test doesn't mistakenly hit the max-open-files limit.
1061 2001-11-18  Jim Meyering  <jim@meyering.net>
1063         * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
1065 2001-11-17  Jim Meyering  <jim@meyering.net>
1067         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
1068         Prompted by a report from Bob Proulx.
1070         * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
1071         Instead, require UTILS_FUNC_MKSTEMP.
1073 2001-11-11  Jim Meyering  <jim@meyering.net>
1075         * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
1076         Now, that's done as part of AC_FUNC_STRTOD.
1078 2001-10-22  Paul Eggert  <eggert@twinsun.com>
1080         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
1081         WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
1083 2001-11-10  Jim Meyering  <jim@meyering.net>
1085         * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
1086         (jm_PREREQ): Use it.
1088 2001-11-09  Jim Meyering  <jim@meyering.net>
1090         * jm-macros.m4: Require autoconf-2.52f.
1091         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
1092         Use these AC_-prefixed names, not the AM_-prefixed ones.
1094         * afs.m4 (jm_AFS): Quote the body.  Patch by Akim Demaille.
1096 2001-11-04  Jim Meyering  <jim@meyering.net>
1098         * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
1100 2001-11-03  Jim Meyering  <jim@meyering.net>
1102         * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
1103         of AC_DEFUN.
1105         * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
1106         know the name of the variable in the macro definition.
1108 2001-11-01  Jim Meyering  <jim@meyering.net>
1110         * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
1111         * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
1113 2001-10-20  Paul Eggert  <eggert@twinsun.com>
1115         * error.m4 (jm_PREREQ_ERROR):
1116         Do not invoke AC_CHECK_FUNCS with strerror_r, as
1117         AC_FUNC_STRERROR_R does that.
1118         Check for strerror declaration.
1120         * strerror_r.m4: Add copyright notice, as nontrivial m4 files
1121         are supposed to have them these days.
1122         (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
1123         Merge changes from latest Autoconf CVS.
1124         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
1125         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
1126         POSIX decided to standardize on the int flavor of strerror_r.
1128 2001-09-30  Jim Meyering  <jim@meyering.net>
1130         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
1131         `struct fsstat' has the `f_fstypename' member.
1132         Use that to define FS_TYPE, which is now used to make
1133         the getfsstat link test tighter.
1135 2001-09-29  Jim Meyering  <jim@meyering.net>
1137         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1138         [one-argument getmntent function]): Include stdio.h before mntent.h.
1139         SunOS 4.1.x needs it for the declaration of `FILE'.
1140         Patch by Volker Borchert.
1142         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1143         Check for these headers: sys/param.h sys/ucred.h sys/mount.h
1144         sys/fs_types.h, and make the link-test for getfsstat guard #include
1145         directives with appropriate #if HAVE_*_H tests so that we can
1146         detect getfsstat on Apple Darwin1.3.7 systems.
1147         Reported by Nelson Beebe.
1148         Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
1150 2001-09-28  Paul Eggert  <eggert@twinsun.com>
1152         Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
1153         #defines strtoimax.  Also treat the other strto* functions
1154         like strtoimax.
1156         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1157         Check for strtoul and strtoumax,
1158         as those declarations are made even in the signed case.
1159         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
1160         Likewise, for strtol and strtoimax.
1162 2001-09-24  Jim Meyering  <jim@meyering.net>
1164         * gettext.m4: Use the version from gettext-0.10.40, not CVS.
1166 2001-09-23  Jim Meyering  <jim@meyering.net>
1168         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
1169         instead of the mere test for existence of mntent.h.  The latter
1170         would get a false-positive on AIX 3.4 systems.
1171         In the outer getmntent if-block, don't die if neither of the getmntent
1172         tests succeeds.  Instead, just fall through and continue with the
1173         remaining tests.
1175 2001-09-22  Jim Meyering  <jim@meyering.net>
1177         * gettext.m4: New file.  From gettext.
1178         * lcmessage.m4: Sync with gettext -- this changes only comments.
1179         * progtest.m4: Likewise
1180         * isc-posix.m4: Decrement serial number to sync with gettext.
1181         * glibc21.m4: Likewise.
1183         * libintl.m4: Remove.  No longer used.
1185 2001-09-20  Jim Meyering  <jim@meyering.net>
1187         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
1188         strtoimax.
1189         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
1190         strtoumax.
1192 2001-09-17  Jim Meyering  <jim@meyering.net>
1194         * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
1195         * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
1196         * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
1197         * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
1198         * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
1199         whenever the right hand side need not be expanded by the shell.
1201 2001-09-16  Paul Eggert  <eggert@twinsun.com>
1203         * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
1204         library.  It's not correct, as some older glibcs are buggy.
1205         fnmatch wasn't fixed until glibc 2.2.
1207         Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
1208         special shell magic here.
1210 2001-09-16  Jim Meyering  <jim@meyering.net>
1212         * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
1213         * jm-macros.m4: Require it.
1215 2001-09-15  Jim Meyering  <jim@meyering.net>
1217         * jm-macros.m4: Check for help2man.
1219 2001-09-11  Jim Meyering  <jim@meyering.net>
1221         * host-os.m4 (UTILS_HOST_OS): New file/macro.
1222         The body, by Paul Eggert, was moved here from configure.in.
1223         * jm-macros.m4: Require UTILS_HOST_OS.
1225 2001-09-04  Paul Eggert  <eggert@twinsun.com>
1227         * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
1228         (jm_PREREQ): Use it.
1230 2001-09-03  Paul Eggert  <eggert@twinsun.com>
1232         * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
1233         sys/param.h, as pathmax.h includes them.
1235 2001-09-03  Paul Eggert  <eggert@twinsun.com>
1237         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
1238         (jm_PREREQ_XGETCWD): New macro.
1240         * getcwd.m4: New file.
1242 2001-09-01  Jim Meyering  <jim@meyering.net>
1244         * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
1245         Used by df.
1247 2001-08-30  Paul Eggert  <eggert@twinsun.com>
1249         Simplify code, partly by assuming autoconf 2.52 semantics.
1251         * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
1253         * inttypes.m4 (AC_PREREQ): Bump to 2.52.
1254         (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
1255         All uses removed.
1256         (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
1257         Move AC_REQUIRE to next-to-top level, to avoid confusion.
1258         Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
1259         * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
1260         * jm-macros.m4 (jm_MACROS): Likewise.
1262         * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
1264         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1265         Quote first arg of AC_DEFUN.
1266         Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
1267         since they are needed to parse the include file even if we need
1268         only xstrtoimax.  Simplify logic behind the args to AC_REPLACE.
1269         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
1270         but with opposite signedness.
1272 2001-08-30  Paul Eggert  <eggert@twinsun.com>
1274         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
1275         (jm_PREREQ_EXCLUDE): New macro.
1277 2001-08-26  Jim Meyering  <jim@meyering.net>
1279         * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
1281         * xstrtoimax.m4: New file.
1282         * xstrtoumax.m4: Add comments explaining why we
1283         AC_REPLACE_FUNCS(strtol).
1285 2001-06-20  Paul Eggert  <eggert@twinsun.com>
1287         * inttypes.m4: Add AC_PREREQ(2.13).
1288         (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
1289         (jm_AC_TYPE_INTMAX_T): New macro.
1290         (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
1292         * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
1294         * longlong.m4: Renamed from ulonglong.m4.
1295         * inttypes.m4: Renamed from inttypes_h.m4.
1296         * uintmax_t.m4: Removed.
1298 2001-08-12  Jim Meyering  <jim@meyering.net>
1300         * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
1301         d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
1302         fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
1303         group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
1304         jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
1305         link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
1306         mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
1307         prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
1308         rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
1309         strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
1310         utime.m4, utimes.m4, xstrtoumax.m4:
1311         Quote the first argument in each use of AC_DEFUN.
1313 2001-08-05  Jim Meyering  <jim@meyering.net>
1315         * jm-macros.m4: Require autoconf-2.52.
1317 2001-08-03  Paul Eggert  <eggert@twinsun.com>
1319         The following changes are from gettext 0.10.39 as maintained by
1320         Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
1322         * codeset.m4: Upgrade to serial AM1.
1323         (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
1324         all uses changed.  Quote first arg of AC_DEFUN.
1325         (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
1327         * iconv.m4: Upgrade to serial AM2.
1328         (AM_ICONV): Renamed from jm_ICONV; all uses changed.
1329         Add --with-libconv-prefix.
1330         Quote first arg of AC_DEFUN.  Add description for ICONV_CONST.
1331         (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
1332         (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
1333         (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
1334         * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
1336         * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
1337         * getline.m4 (AM_FUNC_GETLINE): Likewise.
1338         * glibc21.m4 (jm_GLIBC21): Likewise.
1339         * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
1340         * isc-posix.m4 (AC_ISC_POSIX): Likewise.
1341         * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
1342         * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
1343         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
1344         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
1346         * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
1347         string.h any more.
1349         * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
1350         not the default value.
1352         2001-06-25  Bruno Haible  <haible@clisp.cons.org>
1353         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
1354         Also check for mbsinit.  Needed for SCO 3.2v5.0.2.
1355         Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
1356         Also check for iswcntrl, used for wcwidth fallback.
1357         Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
1358         to Autoconf 2.13.
1360 2001-08-03  Jim Meyering  <jim@meyering.net>
1362         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
1363         as it was in the original.  Reported by Paul Eggert.
1365 2001-07-16  Jim Meyering  <jim@meyering.net>
1367         * gettimeofday.m4: New file.
1368         Prompted by a report from Bernhard Baehr.
1370 2001-07-15  Jim Meyering  <jim@meyering.net>
1372         * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
1373         Now it's in ../Makefile.cfg.
1375 2001-07-04  Jim Meyering  <jim@meyering.net>
1377         * Makefile.am.in (glibc-io.struct): New target.  Rework the code
1378         that generates jm-glibc-io.m4 so that it doesn't trigger any make
1379         distcheck failure.
1381 2001-07-02  Jim Meyering  <jim@meyering.net>
1383         The following changes were prompted by suggestions from Bruno Haible.
1385         * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
1386         is now generated.
1387         * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
1388         definition of EXTRA_DIST.
1389         (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
1390         ensure that the generated file is created/updated whenever the list
1391         of $(unlocked_functions) is changed.
1392         (jm-glibc-io.m4): New rule.
1393         (unlocked-io.h): New rule -- currently unused.
1395 2001-06-24  Jim Meyering  <jim@meyering.net>
1397         * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
1398         unmatched right bracket, rather than kludging it with an extra,
1399         falsely-matching quote in a comment.  Patch by Akim Demaille.
1401 2001-05-27  Jim Meyering  <jim@meyering.net>
1403         * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
1404         Check for ut_type in struct utmp.
1406 2001-05-22  Jim Meyering  <jim@meyering.net>
1408         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
1409         now that we use the package-supplied version unconditionally.
1410         (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
1412 2001-05-21  Jim Meyering  <jim@meyering.net>
1414         * regex.m4: Change a couple backticks to single quotes to avoid shell
1415         syntax errors.
1417 2001-05-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
1419         * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
1421 2001-05-11  Paul Eggert  <eggert@twinsun.com>
1423         * strftime.m4 (jm_FUNC_GNU_STRFTIME):
1424         Don't bother to check library strftime, since
1425         we'll be using our own my_strftime function anyway.
1426         Define my_strftime instead of strftime.
1428 2001-05-15  Jim Meyering  <jim@meyering.net>
1430         * regex.m4: Use proper quoting so brackets appear in the test program.
1431         Reported by, and with help from, Bruno Haible.
1433 2001-05-13  Jim Meyering  <jim@meyering.net>
1435         * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
1437 2000-11-26  Paul Eggert  <eggert@twinsun.com>
1439         * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
1441 2001-04-21  Jim Meyering  <jim@meyering.net>
1443         * rmdir-errno.m4: Write to a new file, so that a restrictive umask
1444         doesn't interfere.
1446 2001-04-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
1448         * ftruncate.m4: Check for chsize.
1449         Link with ftruncate.o unconditionally if ftruncate is missing.
1450         This was required when cross-compiling to i586-mingw32msvc.
1452 2001-03-24  Jim Meyering  <jim@meyering.net>
1454         * jm-macros.m4: Require autoconf-2.49d.
1456 2001-03-20  Bruno Haible  <haible@clisp.cons.org>
1458         * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
1460 2001-03-17  Jim Meyering  <jim@meyering.net>
1462         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
1463         now that the version in autoconf is equivalent.
1464         (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
1466         * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
1467         Suggestion from Akim Demaille.
1469         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
1470         (jm_PREREQ_TEMPNAME): New function.
1472 2001-02-25  Paul Eggert  <eggert@twinsun.com>
1474         * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
1475         lacks mkstemp.  Compile our own tempname.c if we compile our own
1476         mkstemp.c, as mkstemp relies on tempname.
1478 2001-03-01  Jim Meyering  <jim@meyering.net>
1480         * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
1481         AH_VERBATIM really does output its argument verbatim.
1483 2001-02-18  Paul Eggert  <eggert@twinsun.com>
1485         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
1487 2001-02-17  Jim Meyering  <jim@meyering.net>
1489         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
1490         getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
1491         further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
1492         UnixWare 7.1.1.
1494         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
1495         rather than AC_CACHE_VAL.
1497 2001-02-17  Paul Eggert  <eggert@twinsun.com>
1499         * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
1500         * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
1501         Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
1502         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
1504 2001-02-07  Jim Meyering  <jim@meyering.net>
1506         * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
1508 2001-02-05  Jim Meyering  <jim@meyering.net>
1510         * jm-macros.m4: Require autoconf-2.14d (not yet released), because
1511         it includes the patch required for `large file' support with at least
1512         HP-UX's 10.20 /bin/cc.
1514 2001-02-03  Jim Meyering  <jim@meyering.net>
1516         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
1517         AS_IF, now that it works once again (mysteriously).
1518         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1520 2001-01-30  Jim Meyering  <jim@meyering.net>
1522         Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
1523         * chown.m4: Rename conftestchown to conftest.chown.
1524         * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
1525         * utimes.m4: s/conftestdata/conftest.data/
1526         Inspired by Pavel Roskin's change in autoconf.
1528 2001-01-27  Jim Meyering  <jim@meyering.net>
1530         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
1531         a use of AS_IF.
1532         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1534 2001-01-26  Jim Meyering  <jim@meyering.net>
1536         * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
1537         quotearg.c includes it.
1539 2001-01-15  Bruno Haible  <haible@clisp.cons.org>
1541         * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
1542         has const.
1544 2001-01-20  Jim Meyering  <jim@meyering.net>
1546         Be sure that headers are checked before used in code compiled
1547         for the type checks.
1548         * jm-macros.m4 (jm_MACROS): Remove all header checks.
1549         In place of that, invoke jm_CHECK_ALL_TYPES.
1550         (jm_CHECK_ALL_HEADERS): New functions with the above checks.
1551         (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
1552         Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
1553         The check for ssize_t was mistakenly run before the test for unistd.h.
1555         The configure-time check for stdbool.h was missing.
1556         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
1557         (jm_PREREQ_HASH): New function.
1559 2001-01-17  Jim Meyering  <jim@meyering.net>
1561         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
1562         for autoconf-2.49c.
1563         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
1565 2001-01-14  Jim Meyering  <jim@meyering.net>
1567         * rename.m4: Use temporary directories named conftestdir{,2}, not
1568         foo and bar.  Create conftestdir/ in the script, not in the C code.
1569         Remove directories in the script, not in the C code.
1570         Remove conftestdir{,2} before trying to create the directory.
1571         Make the entire configure script fail if the mkdir fails.
1573 2001-01-02  Volker Borchert  <bt@teknon.de>
1575         * rename.m4: New file.
1576         * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
1578 2001-01-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
1580         * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
1581         expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
1582         so `make install' also works in VPATH builds.
1584 2001-01-01  Jim Meyering  <jim@meyering.net>
1586         * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
1587         on systems with utmpx.h.  It's necessary for the declaration of utmp's
1588         ut_user member.  Reported by Andreas Jaeger.
1590         * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
1591         They are required for the declarations of getgrgid and getpwuid resp.
1592         (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
1593         Reported by Andreas Jaeger.
1595 2000-12-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
1597         * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
1598         prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
1599         can be used in subdirectories.
1601 2000-12-26  Jim Meyering  <jim@meyering.net>
1603         * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
1604         with autoheader.
1606 2000-12-17  Jim Meyering  <jim@meyering.net>
1608         * dos.m4 (jm_AC_DOS): New file and macro.
1609         * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
1611 2000-12-06  Paul Eggert  <eggert@twinsun.com>
1613         * off_t-format.m4: Remove this file.
1614         * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
1616 2000-12-06  Jim Meyering  <jim@meyering.net>
1618         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
1619         strtoull, we may well need the replacement strtoul, too.
1620         Check for declarations of strtoul and strtoull.
1621         Check for strtol.  Mainly as a cue to cause automake to include
1622         strtol.c -- that file is included by each of strtoul.c and strtoull.c.
1623         Check for limits.h -- strtol.c needs it.
1625 2000-12-02  Jim Meyering  <jim@meyering.net>
1627         * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
1628         * jm-macros.m4 (jm_MACROS): require it.
1630 2000-11-30  Jim Meyering  <jim@meyering.net>
1632         * jm-macros.m4 (jm_MACROS): Check for stdint.h.
1634 2000-11-30  Jim Meyering  <jim@meyering.net>
1636         * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
1638 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
1640         * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
1642 2000-11-04  Jim Meyering  <jim@meyering.net>
1644         * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
1646 2000-10-29  Jim Meyering  <jim@meyering.net>
1648         * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
1649         * ls-mntd-fs.m4: Likewise
1651 2000-10-28  Jim Meyering  <jim@meyering.net>
1653         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
1654         (jm_PREREQ_MEMCHR): New function.
1656 2000-10-21  Jim Meyering  <jim@meyering.net>
1658         * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
1659         * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
1660         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
1662 2000-09-18  Jim Meyering  <jim@meyering.net>
1664         * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
1665         Otherwise, everyone ends up linking with -lelf for some configurations.
1666         Reported by Mike Stone.
1668 2000-08-26  Jim Meyering  <jim@meyering.net>
1670         * jm-macros.m4: Use jm_FUNC_FPENDING.
1671         * fpending.m4: New file.
1673 2000-08-20  Jim Meyering  <jim@meyering.net>
1675         * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
1676         `#if !HAVE_UTMPX_H'.  The latter would lose on systems with neither
1677         utmp.h nor utmpx.h.  Reported by Eli Zaretskii.
1679 2000-08-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1681         Improve fileutils installation on systems where running
1682         programs (like install) can't be unlinked.
1683         * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
1684         * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
1686 2000-08-06  Paul Eggert  <eggert@twinsun.com>
1688         * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
1689         not char, for compatibility with glibc 2.1.3 strftime.c.
1691 2000-07-23  Paul Eggert  <eggert@twinsun.com>
1693         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
1695 2000-07-23  Jim Meyering  <jim@meyering.net>
1697         * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
1698         getgrgid, getpwuid, getuid.
1700 2000-07-16  Bruno Haible  <haible@clisp.cons.org>
1702         * mbswidth.m4: New file.
1703         * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
1705 2000-07-14  Jim Meyering  <jim@meyering.net>
1707         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
1709 2000-07-10  Paul Eggert  <eggert@twinsun.com>
1711         From a suggestion by Bruno Haible.
1712         * mbstate_t.m4 (AC_MBSTATE_T):
1713         Renamed from AC_MBSTATE_T_OBJECT.  All uses changed.
1714         Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
1715         and mbstate_t, to a single-part test that simply defines mbstate_t.
1716         * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
1718 2000-07-10  Jim Meyering  <jim@meyering.net>
1720         * strerror_r.m4: Mirror the correction made in autoconf.
1722         * gnu-source.m4: Output to confdefs.h directly.
1723         Suggestion from Akim Demaille.
1725 2000-07-09  Jim Meyering  <jim@meyering.net>
1727         * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
1728         to link seq.  If so, set SEQ_LIBM to -lm.  From Bruno Haible.
1730         * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
1731         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
1733 2000-07-05  Bruno Haible  <haible@clisp.cons.org>
1735         * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
1736         to strerror_r.
1737         Include <ctype.h> for use of isalpha.
1739 2000-07-05  Paul Eggert  <eggert@twinsun.com>
1740         and Bruno Haible  <haible@clisp.cons.org>
1742         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
1743         only if the test for an object-type mbstate_t fails.  This
1744         prevents us from mistakenly reporting that mbstate_t is a
1745         system object type after we "#define mbstate_t int" to work
1746         around its lack.
1748 2000-07-04  Jim Meyering  <jim@meyering.net>
1750         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
1751         of the deprecated AC_CHECKING.
1753 2000-07-03  Jim Meyering  <jim@meyering.net>
1755         * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
1757 2000-07-03  Paul Eggert  <eggert@twinsun.com>
1759         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
1760         Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
1762 2000-07-02  Jim Meyering  <jim@meyering.net>
1764         * mbstate_t.m4: Also define mbstate_t, if necessary.
1766         * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
1767         AC_LIBOBJ(function_name).
1768         * chown.m4: Likewise.
1769         * fnmatch.m4: Likewise.
1770         * ftruncate.m4: Likewise.
1771         * getgroups.m4: Likewise.
1772         * getline.m4: Likewise.
1773         * group-member.m4: Likewise.
1774         * jm-macros.m4: Likewise.
1775         * lstat.m4: Likewise.
1776         * malloc.m4: Likewise.
1777         * memcmp.m4: Likewise.
1778         * nanosleep.m4: Likewise.
1779         * putenv.m4: Likewise.
1780         * realloc.m4: Likewise.
1781         * regex.m4: Likewise.
1782         * stat.m4: Likewise.
1783         * strftime.m4: Likewise.
1785 2000-07-01  Jim Meyering  <jim@meyering.net>
1787         * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
1788         problem.
1790 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
1792         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
1793         macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
1795 2000-07-01  Jim Meyering  <jim@meyering.net>
1797         * uptime.m4: Put double quotes around use of $cross_compiling.
1799 2000-06-28  Jim Meyering  <jim@meyering.net>
1801         * mbstate_t.m4: Use stdlib.h, not stdio.h.  The latter is not included
1802         by quotearg.c, for which we perform this test.  From Bruno Haible.
1804 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
1806         * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
1807         * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
1808         <utmpx.h> exists, put readutmp.o into LIBOBJS.
1810 2000-06-25  Jim Meyering  <jim@meyering.net>
1812         * mbstate_t.m4: Include stdio.h before wchar.h to work around
1813         Linux header bug when _XOPEN_SOURCE is defined to 500.
1815 2000-06-24  Jim Meyering  <jim@meyering.net>
1817         * strerror_r.m4: Revive this file -- to try out an experimental
1818         version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
1819         for which strerror does return char*, but which lacks a conveniently
1820         accessible declaration of the function.  If the compile-test says
1821         strerror_r doesn't work, then resort to a `run'-test that works on
1822         BeOS and segfaults on DEC Unix.
1824 2000-06-19  Paul Eggert  <eggert@twinsun.com>
1826         * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
1827         * prereq.m4 (jm_PREREQ_QUOTEARG): Use it.  Add check for iswprint.
1829 2000-06-23  Jim Meyering  <jim@meyering.net>
1831         * afs.m4: Add missing AC_MSG_RESULT.
1832         Reported by Bruno Haible.
1834         * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
1835         Suggestion from Bruno Haible.
1837 2000-06-21  Jim Meyering  <jim@meyering.net>
1839         * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
1841 2000-06-18  Jim Meyering  <jim@meyering.net>
1843         * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
1845         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
1846         `checking whether...' message to be consistent with that of the
1847         lstat test.
1849 2000-06-16  Bruno Haible  <haible@clisp.cons.org>
1851         * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
1853 2000-06-12  Jim Meyering  <jim@meyering.net>
1855         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
1856         from autoconf, and tweak the latter to accept an optional argument.
1857         * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
1858         the optional argument, `lib'.
1860 2000-06-08  Jim Meyering  <jim@meyering.net>
1862         * largefile.m4: Remove file (now that it's part of autoconf).
1864 2000-06-04  Paul Eggert  <eggert@twinsun.com>
1866         Rewrite largefile configuration so that we don't need to run
1867         getconf and don't need AC_CANONICAL_HOST.  [I'm leaving the use of
1868         AC_CANONICAL_HOST in configure.in -- jmm]
1870         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
1871         AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
1872         (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
1873         (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
1874         CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
1875         All uses changed.
1876         Instead of inspecting the output of getconf, try to compile the
1877         test program without and with the macro definition.
1878         (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
1879         for getconf.  Instead, check for the needed flags by compiling
1880         test programs.
1882 2000-06-03  Jim Meyering  <jim@meyering.net>
1884         * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
1885         now that autoconf requires that.
1887         * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
1888         #undefs.  E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
1889         Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
1891 2000-05-26  Bruno Haible  <haible@clisp.cons.org>
1893         * glibc21.m4: New file.
1894         * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
1896 2000-05-28  Jim Meyering  <jim@meyering.net>
1898         * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
1899         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1900         * stat.m4: Likewise.
1901         * lstat.m4: Likewise.
1902         * lstat-slash.m4: Remove file (absorbed into autoconf).
1904         * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
1905         * strerror_r.m4: Remove file (absorbed into autoconf).
1907 2000-05-26  Jim Meyering  <jim@meyering.net>
1909         * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
1911 2000-05-24  Jim Meyering  <jim@meyering.net>
1913         * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
1914         autoconf requires that.
1915         * lib-check.m4: Likewise.
1916         * jm-macros.m4: Likewise.
1917         * strftime.m4: Likewise.
1919         * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
1920         now that autoconf requires that.
1922 2000-05-22  Jim Meyering  <jim@meyering.net>
1924         * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1925         * lstat.m4: Likewise.
1927 2000-05-20  Jim Meyering  <jim@meyering.net>
1929         * prereq.m4 (jm_PREREQ_HUMAN): New macro.
1930         (jm_PREREQ): Use it.
1932 2000-05-09  Jim Meyering  <jim@meyering.net>
1934         * gettext.m4: Rename this...
1935         * libintl.m4: ...to this.
1937 2000-05-06  Jim Meyering  <jim@meyering.net>
1939         * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
1940         (AC_REPLACE_FUNCS): Add strnlen.
1942         * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
1943         * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
1945         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
1946         AC_SEARCH_LIBS call for nanosleep.
1947         (LIB_NANOSLEEP): Set and AC_SUBST.
1949 2000-05-03  Paul Eggert  <eggert@twinsun.com>
1951         * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
1952         be 500, instead of _GNU_SOURCE to be 1, to work around glibc
1953         2.1.3 bug.  This avoids a clash when files like regex.c define
1954         _GNU_SOURCE.
1956 2000-05-05  Jim Meyering  <jim@meyering.net>
1958         * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
1959         call for clock_gettime.
1960         (LIB_CLOCK_GETTIME): Set and AC_SUBST.
1962         * search-libs.m4: Update from autoconf.
1964         su doesn't work on Solaris 2.6.
1965         * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
1966         <shadow.h>.  Reported by Dragos Harabor.
1968 2000-05-03  Jim Meyering  <jim@meyering.net>
1970         * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
1972 2000-05-02  Paul Eggert  <eggert@twinsun.com>
1974         * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
1975         this is needed to make ftello visible (e.g. glibc 2.1.3).  Use
1976         compile-time test, rather than inspecting host and OS, to
1977         decide whether to define _LARGEFILE_SOURCE.
1979 2000-05-01  Jim Meyering  <jim@meyering.net>
1981         * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
1983         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
1984         Based on a patch from Bruno Haible.
1986 2000-04-18  Jim Meyering  <jim@meyering.net>
1988         * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
1989         (jm_PREREQ): Use it.
1991 2000-04-17  Jim Meyering  <jim@meyering.net>
1993         Get it right :-)
1994         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
1995         actual #define via AH_VERBATIM.  Don't need separate AC_DEFINE.
1996         Suggestion from Akim Demaille.
1998 2000-04-14  Jim Meyering  <jim@meyering.net>
2000         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
2001         of AC_DEFINE.  Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
2003 2000-04-13  Jim Meyering  <jim@meyering.net>
2005         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
2006         to insert required #ifndef into config.h.in.
2007         Suggestion from Akim Demaille.
2009 2000-04-12  Jim Meyering  <jim@meyering.net>
2011         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
2012         `AC_CHECK_HEADER' to check for locale.h.  Thanks to a report from
2013         Christian Krackowizer.
2015         More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
2016         * jm-macros.m4 (_GNU_SOURCE): Define.
2017         (AC_SYS_LARGEFILE): Require.
2018         (AM_C_PROTOTYPES): Require.
2020 2000-04-05  Paul Eggert  <eggert@twinsun.com>
2022         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
2023         IRIX if the installer said otherwise.
2025 2000-04-05  Jim Meyering  <jim@meyering.net>
2027         Portability tweaks required for ultrix4.3.
2028         * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
2029         (jm_CHECK_DECLS): Add getutent to the list of functions.
2030         (_jm_DECL_HEADERS): Add utmpx.h.
2031         From John David Anglin.
2033         * strftime.m4: Back out the 2000-04-02 change.
2034         Instead of that change, simply undefine putenv in the test program.
2036 2000-04-03  Jim Meyering  <jim@meyering.net>
2038         * gettext.m4: Fix typo in comment.
2040         * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
2041         textutils/configure.in).  Suggestion from Paul Eggert.
2042         (AC_CHECK_FUNCS): Add nl_langinfo.  (also from textutils/configure.in)
2044 2000-04-02  Paul Eggert  <eggert@twinsun.com>
2046         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
2047         variable in the shell rather than using putenv, which isn't
2048         portable.  This avoids the configure-time inter-test dependency
2049         on the potentially-renamed putenv function.
2051 2000-03-30  Paul Eggert  <eggert@twinsun.com>
2053         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
2054         before checking struct stat.st_blksize, so that
2055         HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
2057 2000-03-29  Paul Eggert  <eggert@twinsun.com>
2059         * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
2060         since strftime.c uses HAVE_STRFTIME to decide whether to use
2061         the underlying strftime.
2063 2000-03-10  Jim Meyering  <jim@meyering.net>
2065         * lib-check.m4: Look for getspnam in -lgen, too.
2066         From Marco Franzen.
2068 2000-02-02  Bruno Haible  <haible@clisp.cons.org>
2070         * codeset.m4: New file.
2071         * iconv.m4: New file.
2072         * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
2074 2000-03-04  Jim Meyering  <jim@meyering.net>
2076         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
2077         for lib/localcharset.c.
2079 2000-03-03  Jim Meyering  <jim@meyering.net>
2081         * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
2083 2000-03-02  Jim Meyering  <jim@meyering.net>
2085         * timespec.m4: Require AC_HEADER_TIME before the cache check so
2086         the messages come out on separate lines.
2088         * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
2089         rather than jm_CHECK_DECLARATIONS.
2090         * decl.m4: Remove now-unused file.
2092         * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
2094 2000-02-27  Jim Meyering  <jim@meyering.net>
2096         * check-decl.m4: Add getenv to the list.
2098 2000-02-23  Jim Meyering  <jim@meyering.net>
2100         * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
2101         in place of my hack.
2103 2000-02-10  Jim Meyering  <jim@meyering.net>
2105         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
2106         gnu_nanosleep to rpl_nanosleep.
2108 2000-02-09  Jim Meyering  <jim@meyering.net>
2110         * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
2111         struct spwd, rather than in struct passwd.  Reported by Gaël Quéri.
2113 2000-02-08  Akim Demaille  <akim@epita.fr>
2115         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
2116         `[' and `]' and remove uses of `changequote'.
2117         (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
2118         (AC_SYS_LARGEFILE): Likewise.
2119         * gettext.m4 (AM_GNU_GETTEXT): Likewise.
2120         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
2121         of changequote.
2122         * regex.m4 (jm_INCLUDED_REGEX): Likewise.
2123         * readdir.m4 (jm_FUNC_READDIR): Likewise
2124         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
2125         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
2127 2000-02-05  Jim Meyering  <jim@meyering.net>
2129         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
2130         Remove explicit use of AC_HEADER_TIME.  It is required by
2131         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Using AC_HEADER_TIME and
2132         `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
2133         in autoconf whereby the expansion of the latter ended up preceding
2134         the expansion of its prerequisite, AC_HEADER_TIME.
2135         Reported by Volker Borchert.
2137 2000-02-03  Jim Meyering  <jim@meyering.net>
2139         * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
2141 2000-02-02  Jim Meyering  <jim@meyering.net>
2143         * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
2144         definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
2145         Reported by Eli Zaretskii.
2147 2000-01-31  Jim Meyering  <jim@meyering.net>
2149         * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
2150         functions.  Add the time.h and sys/time.h headers along with the
2151         AC_REQUIRE'ment of AC_HEADER_TIME.
2153 2000-01-30  Jim Meyering  <jim@meyering.net>
2155         * lib-check.m4: Clean up some kludgy old shadow password tests.
2157         * prereq.m4 (utmp_includes): Define.
2158         Check for ut_user and ut_name members in both struct utmpx
2159         and struct utmp.
2161 2000-01-29  Jim Meyering  <jim@meyering.net>
2163         * lib-check.m4: New file containing library-related checks from
2164         fileutils and sh-utils (textutils had none).
2166 2000-01-28  Jim Meyering  <jim@meyering.net>
2168         * perl.m4: Change format of warning message to look more like that
2169         from the missing script.  Suggestion from François Pinard.
2171 2000-01-25  Jim Meyering  <jim@meyering.net>
2173         * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
2174         as time.h in the compile check.
2175         * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
2176         Fix typo in cross-compiling case: s/yes/no/.
2178 2000-01-23  Jim Meyering  <jim@meyering.net>
2180         * jm-macros.m4: Move df-related tests here from fileutils/configure.in
2182         * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
2183         (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
2185         * fsusage.m4: New file.  Extracted from fileutils/configure.in.
2186         s/space/ac_fsusage_space/.
2187         (jm_FILE_SYSTEM_USAGE): Take two parameters.
2189         * ftruncate.m4: New file (derived from part of fileutils/configure.in).
2190         * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
2191         (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
2193         * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
2194         AC_SUBST these here, rather than just in sh-util/configure.in, so
2195         that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
2196         all the same.
2197         (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
2198         (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
2199         (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
2200         (AC_SUBST(POW_LIBM)): Likewise.
2201         (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
2203 2000-01-22  Jim Meyering  <jim@meyering.net>
2205         * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
2207         * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
2209         * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
2210         configure.in
2211         (AC_CHECK_HEADERS): Likewise for sh-utils.
2212         (AC_CHECK_HEADERS): Likewise for textutils.
2213         Merge the three lists of headers.
2215         * prereq.m4 (jm_PREREQ_ADDEXT): New macro.  Parts moved here
2216         from fileutils' configure.in.
2218         * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
2219         Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
2221         * check-decl.m4: Use #if rather than #ifdef.
2222         Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
2223         (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
2224         (_jm_DECL_HEADERS): Define new function.
2225         (jm_CHECK_DECLARATIONS): Require it.
2227 2000-01-19  Jim Meyering  <jim@meyering.net>
2229         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
2230         Use AC_HEADER_TIME.  Volker Borchert reported that OpenBSD-2.3/sparc
2231         defines `struct timespec' in <sys/time.h>
2233         * c-bs-a.m4: Remove uses of changequote altogether.
2234         Thanks to Akim for explaining.
2236 2000-01-16  Jim Meyering  <jim@meyering.net>
2238         * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
2239         AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
2240         jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
2241         AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
2243 2000-01-16  Jim Meyering  <jim@meyering.net>
2245         * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
2246         because the latter didn't work.
2248 2000-01-15  Jim Meyering  <jim@meyering.net>
2250         * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
2251         (AC_REPLACE_FUNCS): Add memcpy and memset.
2252         Add these, too: stime strcspn stpcpy strstr strtol strtoul.
2253         Add strpbrk.
2254         Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
2256 2000-01-12  Jim Meyering  <jim@meyering.net>
2258         * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
2259         (jm_PREREQ): Use it.
2260         (jm_PREREQ_READUTMP): New macro.
2261         (jm_PREREQ): Use it.
2263 2000-01-11  Paul Eggert  <eggert@twinsun.com>
2265         Quote multibyte characters correctly.
2266         * c-bs-a.m4: New file.
2267         * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
2268         (jm_PREREQ): Use it.
2270 2000-01-11  Paul Eggert  <eggert@twinsun.com>
2272         * uintmax_t.m4: Port to autoconf 2.13.
2274 2000-01-08  Jim Meyering  <meyering@ascend.com>
2276         * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
2277         * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
2279 2000-01-04  Jim Meyering  <meyering@ascend.com>
2281         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
2282         jm_STRUCT_DIRENT_D_TYPE.
2283         * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
2284         jm_STRUCT_DIRENT_D_INO.
2285         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
2286         jm_STRUCT_UTIMBUF.
2287         * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
2288         * utime.m4: Likewise.
2290         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
2291         * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
2293 2000-01-03  Paul Eggert  <eggert@twinsun.com>
2295         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
2296         (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
2298 2000-01-02  Jim Meyering  <meyering@ascend.com>
2300         * search-libs.m4: Escape `$' in $3 of dnl comment.  I no longer
2301         remember if this is necessary.
2303 1999-12-26  Jim Meyering  <meyering@ascend.com>
2305         * jm-macros.m4: Use it here.
2306         * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
2308 1999-12-23  Jim Meyering  <meyering@ascend.com>
2310         * jm-macros.m4: Check for clock_gettime (moved from
2311         fileutils/configure.in)
2312         Check for gettimeofday.
2314 1999-12-20  Jim Meyering  <meyering@ascend.com>
2316         * strftime.m4: Remove kludge, now that I'm using the fixed
2317         autoconf-2.14a-1999-12-20.
2319 1999-12-19  Jim Meyering  <meyering@ascend.com>
2321         * lstat-slash.m4: New file.
2322         * jm-macros.m4: Use the new macro:
2323         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2325 1999-12-07  Jim Meyering  <meyering@ascend.com>
2327         * perl.m4: Require that File::Compare be available, too.
2328         Too many systems seem to lack it.
2330         * strftime.m4: Add checks for most of the cpp macros tested in
2331         GNU's strftime.c.  Prompted by a patch from Paul Eggert.
2333 1999-11-18  Paul Eggert  <eggert@twinsun.com>
2335         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
2336         problem with the QNX 4.25 shell, which doesn't propagate exit
2337         status of failed commands inside shell assignments.
2339 1999-11-17  Jim Meyering  <meyering@ascend.com>
2341         * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
2343 1999-11-07  Jim Meyering  <meyering@ascend.com>
2345         * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
2347 1999-11-06  Jim Meyering  <meyering@ascend.com>
2349         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
2350         * jm-macros.m4 (jm_MACROS): Use it here.
2352 1999-11-05  Jim Meyering  <meyering@ascend.com>
2354         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
2355         of textutils, fileutils, and sh-utils into this one (shared between
2356         those packages) file.
2357         Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
2358         AC_STRUCT_ST_BLKSIZE.
2360 1999-11-03  Jim Meyering  <meyering@ascend.com>
2362         * ssize_t.m4: Remove file.  No longer needed since the new version of
2363         AC_CHECK_TYPE checks includes unistd.h.
2364         * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
2365         Suggestion from Akim Demaille.
2367 1999-10-30  Jim Meyering  <meyering@ascend.com>
2369         * uintmax_t.m4: Require 2.14a.  Remove backslash before backtick in
2370         m4-quoted string.
2371         * ls-mntd-fs.m4: Likewise.
2372         * jm-macros.m4: Likewise.  Also, use AC_TYPE_SSIZE_T instead
2373         * jm-winsz1.m4: Likewise.
2375         * const.m4: Remove file, since the fix made it into the experimental
2376         version of autoconf.
2377         * mktime.m4: Likewise.
2379         * check-type.m4: Remove file, now that the latest version of
2380         AC_CHECK_TYPE takes a third arg to specify additional #includes.
2382         * ssize_t.m4: New file, requires experimental version of autoconf.
2383         * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
2384         AC_CHECK_TYPE.
2386 1999-10-04  Jim Meyering  <meyering@ascend.com>
2388         * jm-macros.m4: Don't require autoconf-2.14.1.
2390 1999-09-22  Paul Eggert  <eggert@twinsun.com>
2392         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
2393         2.95.1 bug with HP-UX 10.20.
2395 1999-09-17  Jim Meyering  <meyering@ascend.com>
2397         * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
2398         Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
2399         due to missing strdup (against sh-utils-2.0).
2401 1999-08-29  Jim Meyering  <meyering@ascend.com>
2403         * jm-macros.m4: Require jm_BISON.
2404         * bison.m4: New file.
2406 1999-08-17  Paul Eggert  <eggert@twinsun.com>
2408         * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
2409         in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
2411 1999-08-05  Jim Meyering  <meyering@ascend.com>
2413         * getline.m4: Rename test file from conftestdata to conftest.data
2414         to avoid conflicts with `conftest' on 8+3 filesystems.
2415         Suggestion from Eli Zaretskii.
2417 1999-08-04  Jim Meyering  <meyering@ascend.com>
2419         * jm-macros.m4: Move a 4-line block of code from the configure.in of
2420         fileutils and sh-utils (textutils's getline test was inadequate).
2421         (AM_FUNC_GETLINE): Run this test.
2422         (AC_CHECK_FUNCS): Check for getdelim.
2423         Reported by Bob Proulx.
2425 1999-08-02  Jim Meyering  <meyering@ascend.com>
2427         * jm-macros.m4: Add a comment.
2429 1999-08-01  Jim Meyering  <meyering@ascend.com>
2431         * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
2433 1999-08-01  Paul Eggert  <eggert@twinsun.com>
2435         * lfs.m4: Remove this file.
2436         * largefile.m4: New file.  It contains the old contents of
2437         lfs.m4, except that all names with prefix AC_LFS have been
2438         changed to use the prefix AC_SYS_LARGEFILE instead, to be
2439         compatible with future autoconf versions.  Also, some minor m4
2440         quoting problems have been fixed.
2442 1999-07-16  Paul Eggert  <eggert@twinsun.com>
2444         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
2445         that we can shift, multiply and divide unsigned long long
2446         values; Ultrix cc can't do it.
2448 1999-07-14  Paul Eggert  <eggert@twinsun.com>
2450         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
2451         <inttypes.h> defines strtoumax as a macro (and not as a
2452         function).
2454 1999-07-05  Paul Eggert  <eggert@twinsun.com>
2456         * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
2457         Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
2458         (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
2459         and simplify the shell code.
2461 1999-07-03  Paul Eggert  <eggert@twinsun.com>
2463         * mktime.m4: New file, which is a preview of what should appear
2464         in the next public autoconf release.
2466 1999-07-20  Jim Meyering  <meyering@ascend.com>
2468         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
2470 1999-07-15  Jim Meyering  <meyering@ascend.com>
2472         * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
2474 1999-05-22  Jim Meyering  <meyering@ascend.com>
2476         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
2478 1999-05-20  Jim Meyering  <meyering@ascend.com>
2480         * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
2481         Add a colon after each `then' in case $4 is empty.
2483 1999-05-16  Jim Meyering  <meyering@ascend.com>
2485         * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
2487 1999-05-10  Jim Meyering  <meyering@ascend.com>
2489         * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
2491         * jm-macros.m4: Require 2.14.1, since we use newly-renamed
2492         AC_FUNC_MKTIME.
2494 1999-05-10  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2496         * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
2498 1999-05-04  Paul Eggert  <eggert@twinsun.com>
2500         * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
2501         not CPPFLAGS, so that linking works correctly in IRIX.
2503 1999-04-30  Paul Eggert  <eggert@twinsun.com>
2505         * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
2507 1999-04-20  Jim Meyering  <meyering@ascend.com>
2509         * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
2510         AC_REPLACE xstroull if necessary.  From Paul Eggert.
2511         (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
2513 1999-04-20  Paul Eggert  <eggert@twinsun.com>
2515         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
2516         long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
2517         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
2518         jm_AC_TYPE_UNSIGNED_LONG_LONG.
2519         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
2521         * lfs.m4: Port to AIX and HP-UX.  Support cross-compilation.
2523 1999-04-18  Jim Meyering  <meyering@ascend.com>
2525         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
2526         * jm-macros.m4: Use it.
2528 1999-04-06  Jim Meyering  <meyering@ascend.com>
2530         * strftime.m4: Remove test for %f.
2532 1999-03-29  Jim Meyering  <meyering@ascend.com>
2534         * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
2535         superset of the AC_TYPE_* checks in the textutils, fileutils,
2536         and sh-utils, plus AC_TYPE_PID_T.  Paul Eggert suggested adding
2537         AC_TYPE_PID_T.
2539 1999-03-28  Jim Meyering  <meyering@ascend.com>
2541         * jm-macros.m4: Define GNU_PACKAGE here.
2542         Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
2543         replaced e.g., in the *.sh files of the sh-utils.
2545 1999-03-20  Jim Meyering  <meyering@ascend.com>
2547         * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
2548         * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
2549         Don't depend on AM_GLIBC.  Suggestions from Alain Magloire.
2551 1999-03-19  Jim Meyering  <meyering@ascend.com>
2553         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
2555 1999-03-12  Jim Meyering  <meyering@ascend.com>
2557         * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
2559 1999-03-07  Jim Meyering  <meyering@ascend.com>
2561         * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
2563 1999-02-17  Jim Meyering  <meyering@ascend.com>
2565         * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
2566         in macro definition.  From Eli Zaretskii and Alain Magloire.
2568 1999-02-07  Jim Meyering  <meyering@ascend.com>
2570         * group-member.m4: New file -- extracted from sh-utils' configure.in.
2572         1999-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
2573         * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
2575 1999-02-06  Jim Meyering  <meyering@ascend.com>
2577         * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
2578         * fnmatch.m4: Likewise.
2579         * getgroups.m4: Likewise.
2580         * lstat.m4: Likewise.
2581         * malloc.m4: Likewise.
2582         * putenv.m4: Likewise.
2583         * realloc.m4: Likewise.
2584         * regex.m4: Likewise.
2585         * stat.m4: Likewise.
2586         * strftime.m4: Likewise.
2587         Suggestion from Alain Magloire.
2589         * chown.m4: Use `.$ac_objext', not `.o'.
2590         * fnmatch.m4: Likewise.
2591         * getgroups.m4: Likewise.
2592         * getline.m4: Likewise.
2593         * lstat.m4: Likewise.
2594         * malloc.m4: Likewise.
2595         * memcmp.m4: Likewise.
2596         * putenv.m4: Likewise.
2597         * realloc.m4: Likewise.
2598         * regex.m4: Likewise.
2599         * stat.m4: Likewise.
2600         * strftime.m4: Likewise.
2601         Suggestion from Alain Magloire.
2603         * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
2604         an argument.
2606         * regex.m4: Add a run-time Test for proper operation of
2607         re_compile_pattern.
2609 1999-01-31  Jim Meyering  <meyering@ascend.com>
2611         * getloadavg.m4: Check for locale.h and the function, setlocale.
2613 1999-01-30  Jim Meyering  <meyering@ascend.com>
2615         * check-type.m4: Use 3-arg form of AC_DEFINE.
2617         * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
2618         rather than my private copy, now that the official one is up to date.
2619         * mktime.m4: Remove file.
2621         * getloadavg.m4: Use 3-arg form of AC_DEFINE.
2622         * uptime.m4: Likewise.
2623         * uintmax_t.m4: Likewise.
2625 1999-01-28  Jim Meyering  <meyering@ascend.com>
2627         * jm-macros.m4: Use jm_AFS.
2628         * afs.m4: New file (from fileutils' configure.in).
2630         * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
2631         * chown.m4: Likewise.
2632         * d-ino.m4: Likewise.
2633         * d-type.m4: Likewise.
2634         * fnmatch.m4: Likewise.
2635         * getgroups.m4: Likewise.
2636         * gettext.m4: Likewise.
2637         * jm-mktime.m4: Likewise.
2638         * jm-winsz2.m4: Likewise.
2639         * lcmessage.m4: Likewise.
2640         * ls-mntd-fs.m4: Likewise.
2641         * malloc.m4: Likewise.
2642         * memcmp.m4: Likewise.
2643         * putenv.m4: Likewise.
2644         * realloc.m4: Likewise.
2645         * st_mtim.m4: Likewise.
2646         * strftime.m4: Likewise.
2648 1999-01-16  Jim Meyering  <meyering@ascend.com>
2650         * jm-macros.m4 (ARGMATCH_DIE): Define.
2651         (ARGMATCH_DIE_DECL): Define.
2653 1999-01-12  Jim Meyering  <meyering@ascend.com>
2655         * Makefile.am.in: Rewrite to avoid using fmt.
2656         Reported by Lars Hecking.
2658 1999-01-10  Jim Meyering  <meyering@ascend.com>
2660         * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
2661         gross kludge.
2662         * inttypes_h.m4: Likewise.
2663         * lstat.m4: Likewise.
2664         * malloc.m4: Likewise.
2665         * readdir.m4: Likewise.
2666         * realloc.m4: Likewise.
2667         * st_dm_mode.m4: Likewise.
2668         * stat.m4: Likewise.
2669         * utimbuf.m4: Likewise.
2670         * utimes.m4: Likewise.
2672         * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
2673         AC_CHECK_FUNCS hack.  Now, it's still a hack, but at least the
2674         comments in config.h.in are meaningful.
2676         * jm-macros.m4: Require autoconf-2.13 here.
2678         * regex.m4: By default, don't use the included regex.c on systems
2679         with glibc 2.  Suggestion from Uli Drepper.
2681 1999-01-02  Jim Meyering  <meyering@ascend.com>
2683         * jm-macros.m4: Replace strcasecmp and strncasecmp.
2685 1998-12-18  Jim Meyering  <meyering@ascend.com>
2687         * Makefile.am.in (Makefile.am): Simplify rule.
2688         Based on a suggestion from Lars Hecking.
2690 1998-11-16  Jim Meyering  <meyering@ascend.com>
2692         * lfs.m4: Double-quote the `uname...` expression.
2694 1998-11-16  Paul Eggert  <eggert@twinsun.com>
2696         * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
2698 1998-11-14  Jim Meyering  <meyering@ascend.com>
2700         * lstat.m4: Correct comment.  POSIX does not permit it to succeed.
2701         * stat.m4: Likewise.
2703 1998-11-03  Jim Meyering  <meyering@ascend.com>
2705         * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
2706         * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
2708 1998-10-18  Jim Meyering  <meyering@ascend.com>
2710         * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
2712 1998-10-17  Jim Meyering  <meyering@ascend.com>
2714         * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
2715         include, though we still hard-code the `require'-like AC_CHECK_HEADERS
2716         calls for those previously hard-coded headers.  Instead, take a new
2717         parameter.
2718         (jm_CHECK_DECLARATIONS): Reflect interface change.
2719         * check-decl.m4 (jm_CHECK_DECLS): Likewise.
2720         (jm_CHECK_DECL_LOCALTIME_R): New macro.
2722         * mktime.m4: Test for spring-forward gap before long-running test.
2724 1998-10-14  Jim Meyering  <meyering@ascend.com>
2726         * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
2727         instead of "TZ=America/Vancouver".  From Paul Eggert.
2729 1998-10-11  Jim Meyering  <meyering@ascend.com>
2731         * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
2732         This adds a test for a recently added compatibility fix for mktime.c.
2733         * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
2735 1998-09-27  Jim Meyering  <meyering@ascend.com>
2737         * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
2739         * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro.  Extracted from
2740         ../configure.in, including a change from Gordon Matzigkeit to allow
2741         cross-compiling for the Hurd.
2743         * glibc.m4: New file/macro to test for the GNU C Library
2744         versions 1 and 2.  From Gordon Matzigkeit.
2745         Indent.
2747 1998-09-21  Jim Meyering  <meyering@ascend.com>
2749         * chown.m4: Declare locals: before, after.  From Andries Brouwer.
2751 1998-08-18  Paul Eggert  <eggert@twinsun.com>
2753         Port nanosecond-resolution times to UnixWare 2.1.2 and
2754         pedantic Solaris 2.6.
2756         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
2757         AC_STRUCT_ST_MTIM.
2758         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
2759         Generate name of ns member, instead of just 1 or undef.
2760         Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
2762 1998-08-15  Jim Meyering  <meyering@ascend.com>
2764         * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
2765         * check-type.m4: New file.  Replacement for AC_CHECK_TYPE.
2766         * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
2767         instead of jm_TYPE_SSIZE_T.
2769 1998-08-12  Jim Meyering  <meyering@ascend.com>
2771         * st_dm_mode.m4: New file.  From Johan Danielsson.
2773 1998-08-02  Jim Meyering  <meyering@ascend.com>
2775         * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
2776         in acconfig.h manually.
2778 1998-07-31  Paul Eggert  <eggert@twinsun.com>
2780         * st_mtim.m4: New file.
2782 1998-07-28  Jim Meyering  <meyering@ascend.com>
2784         * utimes.m4: Undef stat.
2786 1998-07-25  Jim Meyering  <meyering@ascend.com>
2788         * utime.m4 (jm_FUNC_UTIME): New file and macro.
2789         * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
2791 1998-07-09  Manfred Hollstein  <manfred@s-direktnet.de>
2793         * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
2794         uid and gid actually remain unchanged.
2796 1998-07-07  Jim Meyering  <meyering@ascend.com>
2798         * jm-glibc-io.m4: Remove fclose_unlocked.
2800 1998-07-04  Jim Meyering  <meyering@ascend.com>
2802         * regex.m4: Use syscmd, ifelse, and sysval.  Mainly as an exercise
2803         to prove that this macro can be used in packages without regex.c.
2805 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2807         * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
2808         is to be used.
2810 1998-07-03  Jim Meyering  <meyering@ascend.com>
2812         * gettext.m4: Add -lintl if it's found to be necessary.
2814         * gettext.m4: New file -- from gettext-0.10.35.
2815         * lcmessage.m4: Likewise.
2816         * progtest.m4: Likewise.
2818         * regex.m4 (jm_WITH_REGEX): New file and macro.
2819         * jm-macros.m4: Require the new macro.
2821 1998-06-29  Jim Meyering  <meyering@ascend.com>
2823         * fstypename.m4: Include sys/param.h.  NetBSD 1.3.1 requires this
2824         for the definition of NGROUPS (used in a system header included
2825         by sys/mount.h).
2827 1998-06-28  Jim Meyering  <meyering@ascend.com>
2829         * ls-mntd-fs.m4: New file.
2830         * fstypename.m4: New file.
2832         * jm-macros.m4: Require the new macro.
2833         * jm-glibc-io.m4: New file.
2835 1998-05-19  Jim Meyering  <meyering@ascend.com>
2837         * jm-macros.m4: Add jm_FUNC_LCHOWN.
2838         * lchown.m4: New file.
2840         * Makefile.am.in: New file.
2841         * Makefile.am (Makefile.am): Depend on Makefile.am.in.
2843 1998-05-14  Jim Meyering  <meyering@ascend.com>
2845         * Makefile.am (EXTRA_DIST): Add them.
2846         * jm-macros.m4: New file.
2847         * utimbuf.m4: New file.
2849 1998-05-12  Jim Meyering  <meyering@ascend.com>
2851         * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
2853 1998-05-11  Jim Meyering  <meyering@ascend.com>
2855         * isc-posix.m4: New file.
2857 1998-05-10  Jim Meyering  <meyering@ascend.com>
2859         * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
2861 1998-05-09  Jim Meyering  <meyering@ascend.com>
2863         * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
2864         (EXTRA_DIST): Remove mktime.m4, now that the new version is included
2865         with automake.
2867         * ssize_t.m4: New file.
2868         * mktime.m4: Remove file -- the new automake has this now.
2870 1998-04-26  Jim Meyering  <meyering@ascend.com>
2872         * assert.m4: New file.
2873         * Makefile.am (EXTRA_DIST): Add assert.m4.
2875 1998-04-05  Jim Meyering  <meyering@ascend.com>
2877         * prereq.m4 (jm_PREREQ_REGEX): New macro.
2878         (jm_PREREQ): Use it here.
2880 1998-03-23  Jim Meyering  <meyering@eng.ascend.com>
2882         * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
2883         in acconfig.h.
2885 1998-03-15  Jim Meyering  <meyering@eng.ascend.com>
2887         * prereq.m4: New file.
2888         * error.m4: New file.
2889         * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
2891 1998-02-07  Jim Meyering  <meyering@eng.ascend.com>
2893         * getline.m4: Don't set am_cv_func_working_getline before the
2894         cache-check for the same variable -- that defeated the purpose of
2895         the test; the test program was never run.  This was a problem only
2896         on systems with losing getline functions -- HP-UX 10.20 is one.
2897         Reported by Bjorn Helgaas.
2899 1998-02-06  Jim Meyering  <meyering@eng.ascend.com>
2901         * Makefile.am (EXTRA_DIST): Add perl.m4.
2903 1998-01-10  Jim Meyering  <meyering@na-net.ornl.gov>
2905         * Makefile.am (EXTRA_DIST): Add const.m4.
2907         * const.m4: New file.  Use an initializer in this declaration
2908         typedef int charset[2]; const charset x;
2909         Reported by Bob Glickstein.
2911 1997-12-21  Jim Meyering  <meyering@na-net.ornl.gov>
2913         * chown.m4: Fix reversed types on -1 args to chown.
2914         From Kaveh Ghazi.
2916 1997-12-14  Jim Meyering  <meyering@na-net.ornl.gov>
2918         * check-decl.m4: s/DECLARATION_/DECL_/g.
2919         Add lseek and memchr.
2921         * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
2922         T.E.Dickey <dickey@clark.net> said that some older preprocessors
2923         have a 20-character limit on names.
2925 1997-11-30  Jim Meyering  <meyering@na-net.ornl.gov>
2927         * inttypes_h.m4: New file.
2928         * uintmax_t.m4: New file.
2929         * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.