1 2004-04-13 Jim Meyering <jim@meyering.net>
3 Change `jm_' in AC_DEFINE'd names to `gl_'.
5 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
6 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4:
7 * dos.m4, error.m4, fpending.m4, fstypename.m4, fsusage.m4:
8 * ftruncate.m4, getdate.m4, getgroups.m4, gettext.m4, glibc21.m4:
9 * group-member.m4, human.m4, intmax.m4, intmax_t.m4, inttostr.m4:
10 * inttypes.m4, inttypes_h.m4, jm-macros.m4, jm-mktime.m4, jm-winsz1.m4:
11 * jm-winsz2.m4, lchown.m4, lib-check.m4, link-follow.m4, longlong.m4:
12 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
13 * memchr.m4, memcmp.m4, mkstemp.m4, mountlist.m4, nanosleep.m4:
14 * path-concat.m4, perl.m4, prereq.m4, putenv.m4, quotearg.m4:
15 * regex.m4, stat.m4, stdint_h.m4, strftime.m4, strtoimax.m4:
16 * strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4, uintmax_t.m4:
17 * ulonglong.m4, unlink-busy.m4, unlocked-io.m4, uptime.m4, utimbuf.m4:
18 * utime.m4, utimens.m4, utimes-null.m4, vasnprintf.m4, xstrtoimax.m4:
19 * xstrtol.m4, xstrtoumax.m4: Change jm_ to gl_ in AC_DEFINE'd names.
21 2004-03-27 Paul Eggert <eggert@twinsun.com>
23 * utimecmp.m4: New file.
24 * prereq.m4 (jm_PREREQ): Require gl_UTIMECMP.
26 2004-04-07 Paul Eggert <eggert@twinsun.com>
28 * jm-macros.m4 (jm_MACROS): Check for fdatasync within
29 -lrt and -lposix4, so that it can be used in Solaris 2.5.1 and later.
31 2004-03-30 Paul Eggert <eggert@twinsun.com>
33 * c-stack.m4, getline.m4, getndelim2.m4, mbswidth.m4, po.m4,
34 strdup.m4, xsize.m4: Sync from gnulib.
36 * allocsa.m4, cloexec.m4, eealloc.m4, inttostr.m4, mbstate_t.m4:
37 New files, from gnulib.
39 * prereq.m4 (jm_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR.
41 2004-03-31 Jim Meyering <jim@meyering.net>
43 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
44 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
45 * xalloc.m4: Likewise.
47 * realloc.m4: Remove file, since now it does no more than
48 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
49 the `configure.ac' section of module/realloc.
50 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
52 2004-02-29 Paul Eggert <eggert@twinsun.com>
54 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
55 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
56 Require AM_STDBOOL_H and gl_TIMESPEC instead.
57 Require gl_CLOCK_TIME.
59 2004-03-07 Paul Eggert <eggert@twinsun.com>
61 * Makefile.am.in (Makefile.am):
62 Don't use $<, as it doesn't work with Solaris make.
64 2004-01-29 Jim Meyering <jim@meyering.net>
66 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
67 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
68 on some systems one must include <grp.h> before it.
69 Reported by Christian Krackowizer.
71 2004-01-16 Jim Meyering <jim@meyering.net>
73 * onceonly.m4: Sync with version from gettext-0.13.1.
75 2003-10-08 Paul Eggert <eggert@twinsun.com>
79 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
81 2003-08-26 Bruno Haible <bruno@clisp.org>
85 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
86 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
87 followed by '#define fnmatch fnmatch_posix' gives an error.
89 2004-01-14 Paul Eggert <eggert@twinsun.com>
91 * posixv.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
93 2004-01-13 Jim Meyering <jim@meyering.net>
95 * gettext.m4, lib-ld.m4, lib-prefix.m4, nls.m4, po.m4:
96 Update from gettext-0.13.1.
97 * intmax.m4, isc-posix.m4, printf-posix.m4, size_max.m4, xsize.m4:
98 New files. From gettext-0.13.1.
100 2004-01-11 Paul Eggert <eggert@twinsun.com>
102 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): Move
103 the documentation from 'configure' into 'config.hin',
104 so that 'configure --help' isn't burdened by it and
105 we don't have to worry about its formatting there.
106 Reword the documentation so that it's more succinct
107 and can be run together into a single paragraph.
109 2004-01-12 Jim Meyering <jim@meyering.net>
111 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
113 2003-12-20 Jim Meyering <jim@meyering.net>
115 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
117 * open-max.m4 (UTILS_SYS_OPEN_MAX): Remove file. No longer used.
119 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
120 value, $ac_cv_search_crypt, if it's "none required".
122 2003-12-19 Jim Meyering <jim@meyering.net>
124 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
125 if no library is required.
127 2003-12-18 Jim Meyering <jim@meyering.net>
129 * search-libs.m4 (AC_SEARCH_LIBS): Remove file/macro, now that
130 this replacement is no longer needed. Besides, this macro has
131 no effect with autoconf-2.58, since `undefine' in package-supplied
132 .m4 files is no longer honored. Reported by Andreas Schwab.
134 Remove now-unnecessary (and unused) files. They also used `undefine'.
135 * isc-posix.m4 (AC_ISC_POSIX): Remove file.
136 * getloadavg.m4 (gl_FUNC_GETLOADAVG): Remove file.
137 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
138 not gl_FUNC_GETLOADAVG.
140 2003-11-08 Jim Meyering <jim@meyering.net>
142 * inttypes.m4: Sync from gnulib (this file was previously empty,
143 to work around some sort of problem).
145 2003-11-08 Alexandre Duret-Lutz <adl@gnu.org>
147 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
148 value, $ac_cv_search_nanosleep, if it's "none required".
150 2003-11-05 Paul Eggert <eggert@twinsun.com>
152 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
154 2003-11-05 Jim Meyering <jim@meyering.net>
156 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
157 * free.m4: New file, from gnulib.
159 * exitfail.m4, host-os.m4, strndup.m4: Update from gnulib.
161 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
162 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
164 2003-10-13 Paul Eggert <eggert@twinsun.com>
166 * xalloc.m4: Import latest version from gnulib.
168 2003-10-06 Jim Meyering <jim@meyering.net>
170 * ftw.m4: Remove now-unused file.
172 2003-10-05 Jim Meyering <jim@meyering.net>
174 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
176 2003-09-17 Paul Eggert <eggert@twinsun.com>
179 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
180 to avoid spurious warnings like "AC_RUN_IFELSE was called before
181 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
183 2003-09-12 Paul Eggert <eggert@twinsun.com>
185 More patches to assume C89 or better.
187 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
188 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
189 * userspec.m4 (gl_USERSPEC): Likewise.
190 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
191 * xstrtod.m4 (gl_XSTRTOD): Likewise.
192 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
193 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
195 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
196 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
197 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
198 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
199 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
200 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
203 2003-09-12 Paul Eggert <eggert@twinsun.com>
205 * error.m4 (gl_ERROR): Don't check for vprintf.
206 Require AC_FUNC_STRERROR_R rather than invoking it.
208 2003-09-12 Paul Eggert <eggert@twinsun.com>
210 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
212 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
213 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
214 Include <string.h>, <stdlib.h> unconditionally.
215 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
216 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
217 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
219 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlb.h
221 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
222 and AC_MINIX, too, so that their extensions are available.
224 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
225 This macro has been superseded by gl_BACKUPFILE.
227 2003-09-12 Jim Meyering <jim@meyering.net>
229 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
230 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
231 * readtokens.m4: New file, from gnulib
233 * makepath.m4: Likewise.
234 * long-options.m4: Likewise.
235 * idcache.m4: Likewise.
236 * getugroups.m4: Likewise.
238 2003-09-11 Paul Eggert <eggert@twinsun.com>
240 More patches to assume C89 or better.
241 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
242 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
243 string.h, memchr, STDC_HEADERS.
245 2003-09-10 Bruno Haible <bruno@clisp.org>
247 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
248 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
249 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
250 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
251 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
252 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
254 2003-09-09 Paul Eggert <eggert@twinsun.com>
256 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
257 * getopt.m4 (gl_GETOPT): Don't check for string.h.
258 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
259 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
261 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
263 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
264 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
265 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
266 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
267 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
268 * memcoll.m4 (gl_MEMCOLL): Likewise.
269 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
270 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
272 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
273 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
274 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
275 C headers, or for string.h.
276 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
277 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
278 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
279 headers, memory.h, stdlib.h, string.h, strings.h.
280 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
281 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
282 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
284 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
285 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
287 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
288 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
289 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
290 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
292 2003-09-09 Derek Robert Price <derek@ximbiot.com>
294 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
297 2003-09-08 Paul Eggert <eggert@twinsun.com>
299 Assume C89 or better; remove K&R cruft.
300 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
301 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
302 string.h, getenv, malloc.
303 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
305 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
306 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
307 do not check for strerror.
308 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
309 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
310 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
311 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
313 2003-08-27 Jim Meyering <jim@meyering.net>
315 * mkstemp.m4: Require that the system mkstemp be able to create
316 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
317 would fail after 32. Reported by Danny Levinson. Details here:
318 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
320 2003-08-19 Jim Meyering <jim@meyering.net>
322 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
323 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
325 2003-08-18 Paul Eggert <eggert@twinsun.com>
327 * same.m4 (gl_SAME): Do not check for stdlib.h or string.h or free.
330 2003-08-18 Jim Meyering <jim@meyering.net>
332 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
333 * lib-ld.m4: Likewise.
336 2003-08-18 Paul Eggert <eggert@twinsun.com>
337 and Jim Meyering <jim@meyering.net>
339 It turns out that we need AM_NLS and AM_PO_SUBDIRS after all;
340 otherwise po/POTFILES and po/Makefile aren't built by 'configure'.
341 I'm not sure why I didn't catch this earlier; most likely some
342 leftover build files. Sorry about that.
343 * gettextext.m4 (AM_NLS, AM_PO_SUBDIRS): Remove definitions.
344 * nls.m4, po.m4: New files, taken from gnulib / gettext.
346 2003-08-16 Paul Eggert <eggert@twinsun.com>
350 * gettextext.m4: New file.
352 * atexit.m4, backupfile.m4, canon-host.m4, clock_time.m4,
353 closeout.m4, dirname.m4, dup2.m4, euidaccess.m4, exclude.m4,
354 exitfail.m4, file-type.m4, fileblocks.m4, filemode.m4, getdate.m4,
355 gethostname.m4, getloadavg.m4, getopt.m4, getpagesize.m4,
356 getpass.m4, getusershell.m4, hard-locale.m4, hash.m4, malloc.m4,
357 memchr.m4, memcpy.m4, memmove.m4, memrchr.m4, memset.m4,
358 modechange.m4, mountlist.m4, obstack.m4, path-concat.m4,
359 pathmax.m4, physmem.m4, posixtm.m4, posixver.m4, quote.m4,
360 quotearg.m4, readlink.m4, readutmp.m4, realloc.m4, rmdir.m4,
361 rpmatch.m4, safe-read.m4, safe-write.m4, same.m4, save-cwd.m4,
362 savedir.m4, settime.m4, sha.m4, sig2str.m4, stdio-safer.m4,
363 stpcpy.m4, strcase.m4, strcspn.m4, strdup.m4, strndup.m4,
364 strnlen.m4, strpbrk.m4, strstr.m4, strtod.m4, strtoimax.m4,
365 strtol.m4, strtoll.m4, strtoul.m4, strtoull.m4, strtoumax.m4,
366 strverscmp.m4, ulonglong.m4, unicodeio.m4, unistd-safer.m4,
367 userspec.m4, xalloc.m4, xgetcwd.m4, xreadlink.m4, xstrtod.m4,
368 xstrtol.m4, yesno.m4: New files, from gnulib.
370 * acl.m4, check-decl.m4, chown.m4, c-stack.m4, d-ino.m4,
371 d-type.m4, fileblocks.m4, fsusage.m4, ftruncate.m4, getcwd.m4,
372 getgroups.m4, getline.m4, getndelim2.m4, gettext.m4,
373 gettimeofday.m4, group-member.m4, host-os.m4, iconv.m4,
374 intmax_t.m4, inttypes-pri.m4, jm-macros.m4, lchown.m4, lib-ld.m4,
375 lib-link.m4, lib-prefix.m4, longdouble.m4, longlong.m4,
376 ls-mntd-fs.m4, lstat.m4, mbrtowc.m4, mbswidth.m4, memcmp.m4,
377 mkdir-slash.m4, mkstemp.m4, nanosleep.m4, onceonly.m4, prereq.m4,
378 progtest.m4, putenv.m4, readdir.m4, rename.m4, stat.m4, tzset.m4,
379 utimbuf.m4, utime.m4, vasnprintf.m4, xstrtoimax.m4, xstrtoumax.m4:
382 2003-08-15 Jim Meyering <jim@meyering.net>
384 * utimes.m4 (gl_FUNC_UTIMES): Use `conftest.utimes' as the test
385 file name, not `x'. The former will be removed automatically.
387 2003-08-13 Jim Meyering <jim@meyering.net>
389 * README: Remove file.
390 * Makefile.am.in: Simplify.
391 (Makefile.am): Remove README.
393 2003-08-10 Jim Meyering <jim@meyering.net>
395 * utimes.m4 (gl_FUNC_UTIMES): New file.
396 * utimens.m4: Require gl_FUNC_UTIMES.
397 Don't check for utime or utimes.
399 * utimes.m4: Removed.
400 * utimes-null.m4: Renamed from utimes.m4.
402 2003-08-06 Paul Eggert <eggert@twinsun.com>
404 * prereq.m4 (jm_PREREQ): Require gl_UTIMENS.
405 * utimens.m4: New file.
407 2003-08-08 Paul Eggert <eggert@twinsun.com>
409 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF):
410 Solaris 2.5.1 needs -lw to get the wcslen function.
412 2003-08-08 Paul Eggert <eggert@twinsun.com>
414 Use new gnulib 'extensions' module.
415 * extensions.m4, unlocked-io.m4: New files, from gnulib.
416 * gnu-source.m4, jm-glibc-io.m4: Remove.
417 * timespec.m4: Merge from gnulib.
419 2003-08-08 Paul Eggert <eggert@twinsun.com>
421 * jm-macros.m4 (jm_MACROS): Replace jm_INCLUDED_REGEX([lib/regex.c])
423 Replace jm_FUNC_MKTIME with gl_FUNC_MKTIME.
424 Remove redundant AC_FUNC_FNMATCH_GNU, jm_FUNC_MKTIME.
425 Remove AC_FUNC_VPRINTF.
428 2003-08-05 Paul Eggert <eggert@twinsun.com>
430 * jm-macros.m4 (jm_MACROS): Use gl_GETNDELIM2 rather than
431 checking for getdelim.
432 (jm_CHECK_ALL_TYPES): Use gt_TYPE_SSIZE_T for ssize_t rather
433 than rolling our own.
434 Merge getline from gnulib.
435 * getline.m4: Merge from gnulib.
436 * getndelim2.m4, ssize_t.m4: New files, from gnulib.
438 2003-08-04 Paul Eggert <eggert@twinsun.com>
440 * regex.m4: Merge with gnulib.
441 (gl_REGEX): New macro.
442 (jm_INCLUDED_REGEX): Don't assume Latin-1 encoding of source code.
443 * restrict.m4: Merge with gnulib.
444 (gl_C_RESTRICT): Renamed from ACX_C_RESTRICT. All uses changed.
445 Rename cache vars to gl_cv_*. Incorporate latest Autoconf CVS tricks.
447 2003-08-05 Paul Eggert <eggert@twinsun.com>
449 * gnu-source.m4: New file, taken from gnulib, with support
450 added for __EXTENSIONS__ a la Solaris.
451 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Call gl_TIMESPEC rather
452 than jm_CHECK_TYPE_STRUCT_TIMESPEC.
453 * st_mtim.m4: Sync with gnulib (white space change only).
454 * timespec.m4: Sync with gnulib, except also require
457 2003-08-05 Paul Eggert <eggert@twinsun.com>
459 * prereq.m4 (jm_PREREQ_PHYSMEM, jm_PREREQ_STAT): Ignore headers
460 that are present but cannot be compiled. This avoids spurious warnings
461 on Solaris 9 sparc with Forte Developer 7 C 5.4.
463 2003-08-04 Paul Eggert <eggert@twinsun.com>
465 Merge fnmatch module from gnulib.
466 * fnmatch.m4: New file, from gnulib.
467 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FNMATCH_GNU
468 instead of AC_FUNC_ERROR_AT_LINE.
470 2003-08-04 Paul Eggert <eggert@twinsun.com>
472 * error.m4: Sync from gnulib.
474 2003-07-23 Jim Meyering <jim@meyering.net>
476 * lstat.m4, mkstemp.m4, regex.m4, stat.m4: Normalize naming of Sun
477 operating systems in comments, e.g., SunOS4 -> SunOS 4,
478 Solaris5.9 -> Solaris 9. From Paul Eggert.
480 2003-07-18 Paul Eggert <eggert@twinsun.com>
482 * jm-macros.m4 (jm_MACROS): Invoke gl_MEMCOLL.
483 * memcoll.m4: New file, from gnulib.
484 Based on a patch from Andreas Schwab.
486 2003-07-14 Jim Meyering <jim@meyering.net>
488 * Makefile.am.in: Correct comment on first line.
490 2003-07-12 Jim Meyering <jim@meyering.net>
492 * jm-macros.m4 (OPTIONAL_BIN_ZCRIPTS): Remove unused variable.
494 2003-07-10 Jim Meyering <jim@meyering.net>
496 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_VASPRINTF and
499 * longdouble.m4, signed.m4, vasnprintf.m4, vasprintf.m4, wchar_t.m4:
500 * wint_t.m4: New files, in support of new asprintf use. From gnulib.
502 * stdint_h.m4: New file.
503 * inttypes_h.m4: New file.
504 * uintmax_t.m4: New file.
505 * intmax_t.m4: New file.
506 * inttypes.m4: Remove file. Use intmax_t.m4 and uintmax_t.m4
507 from gnulib, instead.
509 2003-06-09 Jim Meyering <jim@meyering.net>
511 * tzset.m4 (gl_FUNC_TZSET_CLOBBER): Also define gmtime.
512 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Likewise.
513 Suggestion from Paul Eggert.
515 2003-06-08 Jim Meyering <jim@meyering.net>
517 * tzset.m4 (gl_FUNC_TZSET_CLOBBER): New file/macro.
519 * strftime.m4 (_jm_STRFTIME_PREREQS): Require gl_FUNC_TZSET_CLOBBER.
521 2003-06-07 Jim Meyering <jim@meyering.net>
523 * strftime.m4: Update from gnulib.
524 * tm_gmtoff.m4: New file, used by strftime.m4.
525 * mktime.m4: New file. From gnulib.
527 2003-06-06 Jim Meyering <jim@meyering.net>
529 * jm-macros.m4: Require gl_FUNC_ALLOCA.
530 * alloca.m4: New file, from gnulib.
532 * stdbool.m4: Update from gnulib.
534 2003-06-04 Paul Eggert <eggert@twinsun.com>
536 Merge human.c etc. from gnulib.
537 * human.m4: New file, from gnulib.
538 * prereq.m4 (jm_PREREQ): Use gl_HUMAN, not jm_PREREQ_HUMAN.
539 (jm_prereq_HUMAN): Remove.
541 2003-06-02 Jim Meyering <jim@meyering.net>
543 * jm-macros.m4 (jm_MACROS): Require AM_STDBOOL_H.
545 2003-05-26 Jim Meyering <jim@meyering.net>
547 * dirfd.m4 (UTILS_FUNC_DIRFD): Merge in change from gnulib,
548 fixing an M4 quoting bug.
550 * lib-ld.m4 (AC_LIB_PROG_LD_GNU): Use TAB-SP, not SP-TAB
552 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
554 2003-05-06 Jim Meyering <jim@meyering.net>
556 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for the
557 declaration of getcwd *before* checking for the getcwd kernel bug.
558 Otherwise, configure-time `checking ...' messages would be intermixed.
560 2003-05-02 Jim Meyering <jim@meyering.net>
562 * readdir.m4 (GL_FUNC_READDIR): Revive dead file. Change name to
563 have GL_ (not jm_) prefix. Adjust cache variables similarly.
564 Create 500 rather than just 300 files, to exercise bug on
566 * jm-macros.m4 (jm_MACROS): Require GL_FUNC_READDIR.
568 2003-04-25 Jim Meyering <jim@meyering.net>
570 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): If PATH_MAX
571 is not defined, don't run the test, and don't use the wrapper.
572 Otherwise, on the Hurd, it would take a long time to create
573 and remove a hierarchy about 4000 levels deep.
574 Based on a patch from Robert Millan.
576 2003-04-22 Jim Meyering <jim@meyering.net>
579 * gettext.m4: Change an occurrence of [ \t] to [\t ].
581 2003-04-07 Jim Meyering <jim@meyering.net>
583 * prereq.m4 (jm_PREREQ_STAT): Add prerequisites and #includes
586 2003-04-02 Jim Meyering <jim@meyering.net>
588 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
590 2003-03-19 Jim Meyering <jim@meyering.net>
592 * ftw.m4 (AC_FUNC_FTW): Require AC_HEADER_STAT.
594 2003-03-17 Richard Dawe <rich@phekda.freeserve.co.uk>
596 * jm-macros.m4 (jm_MACROS): Include $(EXEEXT) in DF_PROG's program
597 name, since automake only adds $(EXEEXT) to programs in its *_PROGRAMS.
598 Arrange to compile the corresponding stub function if fchdir is missing.
600 2003-03-18 Jim Meyering <jim@meyering.net>
602 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
603 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
604 systems would end up using the latter. MOUNTED_GETMNTENT1 support
605 is inadequate on such systems: 1) detecting whether a file system
606 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
607 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
608 merely /MOUNT_POINT. Reported by Mike Jetzer.
610 2003-03-17 Jim Meyering <jim@meyering.net>
612 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
613 that is guaranteed to be `no'. Use `no_such_member' to indicate
614 that condition, rather than `-1' which is slightly misleading.
615 Change the name of the cache variable to have the gl_ prefix.
616 Prompted by a patch from Richard Dawe for DJGPP.
618 2003-03-14 Jim Meyering <jim@meyering.net>
620 * prereq.m4 (jm_PREREQ): Also forbid the gl_[A-Z] prefix.
621 Don't require jm_PREREQ_C_STACK.
623 2003-03-13 Paul Eggert <eggert@twinsun.com>
626 * onceonly.m4 (m4_quote): New macro.
627 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
628 Quote AC_FOREACH variable-expansions properly.
630 2003-03-13 Jim Meyering <jim@meyering.net>
632 * jm-macros.m4 (jm_MACROS): Arrange to compile the corresponding stub
633 function if any of the following is missing: fchown, lstat, readlink.
636 2003-03-07 Jim Meyering <jim@meyering.net>
638 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
639 using the latest version from cvs. This avoids problems with #line
640 directives using a vendor (Sun) compiler.
642 * jm-macros.m4: Don't require AC_SYS_MMAP_STACK.
643 * mmap-stack.m4 (AC_SYS_MMAP_STACK): Remove file.
645 2003-03-06 Jim Meyering <jim@meyering.net>
647 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for
648 declaration of getcwd.
650 2003-03-04 Jim Meyering <jim@meyering.net>
652 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): New macro.
653 * jm-macros.m4: Require GL_FUNC_GETCWD_PATH_MAX.
655 `df /some/mount-point' no longer hangs when an unrelated hard-mount
657 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
658 /proc/mounts until it finds one with matching device number. This is
659 unnecessary when the FILE argument *is* a mount point. No stat call
660 is necessary in that case. So, disable the statvfs-testing code on
661 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
662 as RedHat bug# 84846.
664 2003-02-27 Jim Meyering <jim@meyering.net>
666 * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for `table' function.
667 Reported by Kaveh Ghazi.
669 * prereq.m4 (gl_SYS__SYSTEM_CONFIGURATION): New function.
670 (jm_PREREQ_PHYSMEM): Check for new headers and functions.
671 Use gl_SYS__SYSTEM_CONFIGURATION.
672 With suggestions from Kaveh Ghazi.
674 2003-02-19 Jim Meyering <jim@meyering.net>
676 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
677 to 1MB, so as not to render systems with no stack size limit (e.g.,
678 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
680 2003-02-17 Jim Meyering <jim@meyering.net>
682 * prereq.m4 (jm_PREREQ_PHYSMEM): Undo last change, since
683 Kaveh Ghazi found a better way to get the required information.
684 Add check for sys/sysmp.h.
686 2003-02-15 Jim Meyering <jim@meyering.net>
688 * mmap-stack.m4: New file.
690 * jm-macros.m4: Require AC_SYS_MMAP_STACK.
692 Add Irix6 support to physmem.c.
693 * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for sys/sysget.h
695 Also check for sysget.
696 Reported by Kaveh Ghazi.
698 2003-02-12 Jim Meyering <jim@meyering.net>
700 * restrict.m4 (ACX_C_RESTRICT): Remove #ifndef -- so now this
701 macro also checks for support when using a C++ compiler.
702 Also, remove the test for SGI's __restrict.
703 Suggested by Steven G. Johnson.
705 * regex.m4 (jm_PREREQ_REGEX): Require ACX_C_RESTRICT.
707 * restrict.m4 (ACX_C_RESTRICT): Minor syntactic changes:
708 Split long lines, use AC_COMPILE_IFELSE, indent, use `case'
709 instead of nested `if's, remove unnecessary quotes.
711 * restrict.m4 (ACX_C_RESTRICT): New macro.
712 Copied directly from the URL in the comments.
713 By Steven G. Johnson.
715 2003-02-09 Jim Meyering <jim@meyering.net>
717 * check-decl.m4 (jm_CHECK_DECLS): Add euidaccess.
719 2003-02-03 Jim Meyering <jim@meyering.net>
721 * c-stack.m4: Include <unistd.h>. On some systems,
722 it is required for the definition of _SC_PAGESIZE.
724 2003-02-02 Jim Meyering <jim@meyering.net>
726 * onceonly.m4: New file. From gnulib.
728 * regex.m4 (jm_PREREQ_REGEX): New function, from gnulib.
729 (jm_INCLUDED_REGEX): Use it.
730 * prereq.m4 (jm_PREREQ_REGEX): Remove.
732 2003-01-31 Jim Meyering <jim@meyering.net>
734 * open-max.m4 (UTILS_SYS_OPEN_MAX): New file/macro.
735 * jm-macros.m4 (jm_MACROS): Require UTILS_SYS_OPEN_MAX.
737 2003-01-29 Jim Meyering <jim@meyering.net>
739 * regex.m4: Detect broken re_search in e.g. glibc-2.2.93.
741 2003-01-23 Jim Meyering <jim@meyering.net>
743 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
744 from working on systems without dirfd (at least Irix and OSF1/Tru64).
746 Merge in change by Bruno Haible from gnulib.
747 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
749 2003-01-16 Jim Meyering <jim@meyering.net>
751 * regex.m4: The `regex' struct is both input and output.
752 Initialize it before each use. Patch by Tim Waugh.
754 2003-01-15 Jim Meyering <jim@meyering.net>
756 * jm-macros.m4: Require AC_FUNC_FTW.
758 2003-01-12 Jim Meyering <jim@meyering.net>
762 2003-01-11 Jim Meyering <jim@meyering.net>
764 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): New file and macro.
765 * jm-macros.m4: Require AC_FUNC_CANONICALIZE_FILE_NAME.
766 (jm_MACROS): No longer check for resolvepath or canonicalize_file_name.
768 2002-12-15 Jim Meyering <jim@meyering.net>
770 * jm-glibc-io.m4n: Remove now-unused file.
771 * Makefile.am.in (Makefile.am): Remove jm-glibc-io.m4
774 2002-12-11 Jim Meyering <jim@meyering.net>
776 * jm-glibc-io.m4: Maintain this file manually rather than generating it.
777 Generating it caused too much trouble. From gnulib.
779 2002-11-19 Jim Meyering <jim@meyering.net>
781 * jm-macros.m4: Require Autoconf-2.56.
783 2002-09-30 Akim Demaille <akim@epita.fr>
785 * prereq.m4: Use AC_REQUIRE everywhere it is possible.
786 (jm_PREREQ_CANON_HOST): Remove duplicates.
788 2002-11-10 Jim Meyering <jim@meyering.net>
790 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(raise).
792 2002-10-30 Paul Eggert <eggert@twinsun.com>
794 * getgroups.m4 (jm_FUNC_GETGROUPS):
795 Fix typo: cv_func_getgroups_works -> ac_cv_func_getgroups_works.
797 2002-10-07 Paul Eggert <eggert@twinsun.com>
799 * prereq.m4 (jm_PREREQ_HUMAN): Check for locale.h, localeconv,
800 AC_HEADER_STDBOOL. No need to check for limits.h since it's in
801 freestanding C89. No need to check for stdlib.h or string.h since
802 autoconf does this now.
804 2002-10-12 Paul Eggert <eggert@twionsun.com>
806 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Remove fenv.h.
808 2002-09-29 Jim Meyering <jim@meyering.net>
810 * gettext.m4 (AM_INTL_SUBDIR): Don't require gt_HEADER_INTTYPES_H.
811 It's not necessary with autoconf-2.54.
813 2002-09-28 Jim Meyering <jim@meyering.net>
815 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
816 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
817 * jm-macros.m4 (jm_MACROS): Don't set GETGROUPS_LIB here; now it's
818 done via getgroups.m4's wrapper function.
820 * strerror_r.m4: Remove file -- now it's part of autoconf-2.54.
821 Reported by Akim Demaille.
823 2002-09-25 Jim Meyering <jim@meyering.net>
825 * gettext.m4: Upgrade to gettext-0.11.5.
827 2002-09-07 Bruno Haible <bruno@clisp.org>
829 * host-os.m4 (UTILS_HOST_OS): Add a case for freebsd*-gnu*.
831 2002-09-17 Jim Meyering <jim@meyering.net>
833 * jm-macros.m4 (jm_MACROS): Require gt_INTTYPES_PRI.
834 * inttypes-pri.m4 (gt_INTTYPES_PRI): New file, mostly from gettext.
836 2002-09-16 Jim Meyering <jim@meyering.net>
838 * prereq.m4: Forbid symbols matching ^jm_[A-Z].
839 (jm_PREREQ_QUOTEARG): Add jm_FUNC_MEMCMP.
842 * error.m4 (jm_PREREQ_ERROR): Check for libintl.h.
843 Reported by Akim Demaille.
845 2002-09-13 Jim Meyering <jim@meyering.net>
847 * jm-macros.m4 (jm_MACROS): Require autoconf-2.54.
849 2002-09-09 Jim Meyering <jim@meyering.net>
851 * getloadavg.m4: Remove file -- now it's part of autoconf-2.53c.
852 * jm-macros.m4: Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
853 AC_FUNC_GETLOADAVG where to find getloadavg.c.
855 2002-09-03 Jim Meyering <jim@meyering.net>
857 * gnu-source.m4: Remove file -- now it's part of autoconf-2.53c.
858 * mbstate_t.m4: Likewise.
859 * fnmatch.m4: Likewise.
861 2002-08-05 Jim Meyering <jim@meyering.net>
863 * jm-winsz1.m4: Also change use of $am_cv_sys_posix_termios
864 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
866 2002-08-03 Jim Meyering <jim@meyering.net>
868 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
869 Reported by mkc@mathdogs.com.
871 2002-08-01 Jim Meyering <jim@meyering.net>
873 * prereq.m4 (jm_PREREQ_TEMPNAME): lib/tempname.c may use uintmax_t,
874 so require jm_AC_TYPE_UINTMAX_T. Patch by Joe Orton.
876 2002-07-28 Jim Meyering <jim@meyering.net>
878 * jm-macros.m4: Don't require jm_FUNC_READDIR.
879 * readdir.m4 (jm_FUNC_READDIR): Remove file/macro. No longer needed.
881 2002-07-27 Jim Meyering <jim@meyering.net>
883 * prereq.m4 (jm_PREREQ_READUTMP): Don't check just
884 `struct utmpx.ut_exit' and `struct utmp.ut_exit'. Instead, check
885 all combinations of utmp/utmpx and ut_termination/e_termination
888 2002-07-23 Jim Meyering <jim@meyering.net>
890 * c-bs-a.m4 (AC_C_BACKSLASH_A): Remove file, now that autoconf
893 2002-07-20 Jim Meyering <jim@meyering.net>
895 * intdiv0.m4: New file. From gettex-0.11.3.
897 * jm-macros.m4: Require autoconf-2.53b.
898 Use new macros AC_FUNC_MALLOC and AC_FUNC_REALLOC,
899 in place of jm_-prefixed ones. Thanks, Akim!
900 * malloc.m4: Remove file, now that autoconf provides this macro.
901 * realloc.m4: Likewise.
903 2002-07-18 gettextize <bug-gnu-gettext@gnu.org>
905 * gettext.m4: Upgrade to gettext-0.11.3.
906 * iconv.m4: Upgrade to gettext-0.11.3.
907 * isc-posix.m4: Upgrade to gettext-0.11.3.
908 * lcmessage.m4: Upgrade to gettext-0.11.3.
909 * lib-link.m4: Upgrade to gettext-0.11.3.
911 2002-07-17 Jim Meyering <jim@meyering.net>
913 * boottime.m4: New file. Extracted from sh-utils' configure.ac
914 and extended to work also with *BSD systems.
916 2002-07-15 Jim Meyering <jim@meyering.net>
918 FreeBSD support for uname and uptime.
919 * jm-macros.m4 (jm_MACROS): Check for the sysctl function.
920 (jm_CHECK_ALL_HEADERS): Check for sys/sysctl.h.
921 Suggestion from Bruno Haible.
923 2002-06-11 Paul Eggert <eggert@twinsun.com>
925 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
927 2002-06-22 Jim Meyering <jim@meyering.net>
929 * c-stack.m4: New file, from diffutils-2.8.2.
930 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
932 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
933 now that configure.ac uses AC_GNU_SOURCE.
934 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
935 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
937 Update to latest tools. Suggestions from Paul Eggert.
938 * stdbool.m4: New file, from diffutils-2.8.2.
939 * gnu-source.m4: Update from diffutils-2.8.2.
940 * fnmatch.m4: Likewise.
941 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
944 2002-06-21 Jim Meyering <jim@meyering.net>
946 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
947 * mbrtowc.m4: Likewise.
949 * mbstate_t.m4: Update from diffutils-2.8.2.
950 * mbswidth.m4: Reflect name change:
951 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
952 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
954 * lib-link.m4: Update from gettext-0.11.2.
955 * gettext.m4: Likewise.
957 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
958 From Alfred M. Szmidt.
960 2002-05-19 Paul Eggert <eggert@twinsun.com>
962 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
964 2002-06-07 Jim Meyering <jim@meyering.net>
966 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
967 They're needed at least for NetBSD 1.5.2.
968 ($statxfs_includes): Include those same headers.
969 ($statxfs_includes): Include sys/vfs.h if available.
970 ($statxfs_includes): Likewise for sys/statvfs.h.
971 Check for the following members in both structs statfs and statvfs:
972 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
974 2002-06-01 Jim Meyering <jim@meyering.net>
976 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
977 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
979 2002-05-28 Jim Meyering <jim@meyering.net>
981 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
982 Reported by Volker Borchert.
984 2002-05-27 Jim Meyering <jim@meyering.net>
986 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
989 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
990 use the replacement function; it wouldn't resolve at link time.
991 Reported by Volker Borchert.
993 2002-04-30 Jim Meyering <jim@meyering.net>
995 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
997 2002-04-29 Paul Eggert <eggert@twinsun.com>
999 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
1000 Do not check for alloca.h (no longer used) or stdbool.h (was never
1001 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
1003 2002-04-28 Paul Eggert <eggert@twinsun.com>
1005 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
1007 2002-04-29 Jim Meyering <jim@meyering.net>
1009 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
1010 * prereq.m4: Add jm_PREREQ_STRNLEN.
1011 Use AC_FUNC_STRNLEN here instead.
1013 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
1014 With autoconf-2.53a, it's part of AC_PROG_CC.
1016 2002-04-28 Paul Eggert <eggert@twinsun.com>
1018 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
1019 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
1021 2002-04-24 Jim Meyering <jim@meyering.net>
1023 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
1024 (jm_PREREQ): Use it.
1026 * getloadavg.m4: Check for these headers: locale.h unistd.h
1027 mach/mach.h fcntl.h.
1028 Check for this function: setlocale.
1030 2002-04-16 Jim Meyering <jim@meyering.net>
1032 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
1033 ut_pid, ut_id, ut_exit.
1035 2002-04-12 Jim Meyering <jim@meyering.net>
1037 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
1038 check for f_type in sys/mount.h. Instead, just test for the existence
1039 of the getmntinfo function. Needed for Darwin 5.3.
1041 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
1042 This is necessary at least on Darwin 5.3.
1044 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
1045 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
1046 in the library, and that makes some versions of ranlib object.
1048 2002-04-09 Jim Meyering <jim@meyering.net>
1050 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
1051 to be more precise. Rather than saying we're checking whether the
1052 function `works', say what we're testing.
1053 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
1054 Reported by Bruno Haible.
1056 2002-02-27 Paul Eggert <eggert@twinsun.com>
1058 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
1059 Check for clock_settime.
1061 2002-02-25 Paul Eggert <eggert@twinsun.com>
1064 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
1065 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
1067 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
1069 * codeset.m4: Upgrade to gettext-0.11.
1070 * gettext.m4: Upgrade to gettext-0.11.
1071 * glibc21.m4: Upgrade to gettext-0.11.
1072 * iconv.m4: Upgrade to gettext-0.11.
1073 * isc-posix.m4: Upgrade to gettext-0.11.
1074 * lcmessage.m4: Upgrade to gettext-0.11.
1075 * lib-ld.m4: New file, from gettext-0.11.
1076 * lib-link.m4: New file, from gettext-0.11.
1077 * lib-prefix.m4: New file, from gettext-0.11.
1078 * progtest.m4: Upgrade to gettext-0.11.
1080 2002-02-15 Paul Eggert <eggert@twinsun.com>
1082 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
1083 (jm_PREREQ): Use it.
1085 2002-01-26 Jim Meyering <jim@meyering.net>
1087 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
1088 * strnlen.m4: Remove file, now that it's part of autoconf.
1090 2002-01-22 Paul Eggert <eggert@twinsun.com>
1092 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
1094 2002-01-19 Jim Meyering <jim@meyering.net>
1096 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
1097 Remove useless quotes: DF_PROG="df".
1098 * strnlen.m4: New file.
1100 2001-12-14 Jim Meyering <jim@meyering.net>
1102 * jm-macros.m4 (jm_MACROS): Check for iswspace.
1103 Suggestion from Bruno Haible.
1105 2001-11-20 Jim Meyering <jim@meyering.net>
1107 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
1108 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
1110 2001-11-19 Jim Meyering <jim@meyering.net>
1112 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
1113 directory. Use "conftestXXXXXX" as the template.
1114 Suggestion from Paul Eggert.
1116 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
1117 so the test doesn't mistakenly hit the max-open-files limit.
1119 2001-11-18 Jim Meyering <jim@meyering.net>
1121 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
1123 2001-11-17 Jim Meyering <jim@meyering.net>
1125 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
1126 Prompted by a report from Bob Proulx.
1128 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
1129 Instead, require UTILS_FUNC_MKSTEMP.
1131 2001-11-11 Jim Meyering <jim@meyering.net>
1133 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
1134 Now, that's done as part of AC_FUNC_STRTOD.
1136 2001-10-22 Paul Eggert <eggert@twinsun.com>
1138 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
1139 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
1141 2001-11-10 Jim Meyering <jim@meyering.net>
1143 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
1144 (jm_PREREQ): Use it.
1146 2001-11-09 Jim Meyering <jim@meyering.net>
1148 * jm-macros.m4: Require autoconf-2.52f.
1149 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
1150 Use these AC_-prefixed names, not the AM_-prefixed ones.
1152 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
1154 2001-11-04 Jim Meyering <jim@meyering.net>
1156 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
1158 2001-11-03 Jim Meyering <jim@meyering.net>
1160 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
1163 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
1164 know the name of the variable in the macro definition.
1166 2001-11-01 Jim Meyering <jim@meyering.net>
1168 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
1169 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
1171 2001-10-20 Paul Eggert <eggert@twinsun.com>
1173 * error.m4 (jm_PREREQ_ERROR):
1174 Do not invoke AC_CHECK_FUNCS with strerror_r, as
1175 AC_FUNC_STRERROR_R does that.
1176 Check for strerror declaration.
1178 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
1179 are supposed to have them these days.
1180 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
1181 Merge changes from latest Autoconf CVS.
1182 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
1183 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
1184 POSIX decided to standardize on the int flavor of strerror_r.
1186 2001-09-30 Jim Meyering <jim@meyering.net>
1188 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
1189 `struct fsstat' has the `f_fstypename' member.
1190 Use that to define FS_TYPE, which is now used to make
1191 the getfsstat link test tighter.
1193 2001-09-29 Jim Meyering <jim@meyering.net>
1195 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1196 [one-argument getmntent function]): Include stdio.h before mntent.h.
1197 SunOS 4.1.x needs it for the declaration of `FILE'.
1198 Patch by Volker Borchert.
1200 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1201 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
1202 sys/fs_types.h, and make the link-test for getfsstat guard #include
1203 directives with appropriate #if HAVE_*_H tests so that we can
1204 detect getfsstat on Apple Darwin1.3.7 systems.
1205 Reported by Nelson Beebe.
1206 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
1208 2001-09-28 Paul Eggert <eggert@twinsun.com>
1210 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
1211 #defines strtoimax. Also treat the other strto* functions
1214 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1215 Check for strtoul and strtoumax,
1216 as those declarations are made even in the signed case.
1217 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
1218 Likewise, for strtol and strtoimax.
1220 2001-09-24 Jim Meyering <jim@meyering.net>
1222 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
1224 2001-09-23 Jim Meyering <jim@meyering.net>
1226 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
1227 instead of the mere test for existence of mntent.h. The latter
1228 would get a false-positive on AIX 3.4 systems.
1229 In the outer getmntent if-block, don't die if neither of the getmntent
1230 tests succeeds. Instead, just fall through and continue with the
1233 2001-09-22 Jim Meyering <jim@meyering.net>
1235 * gettext.m4: New file. From gettext.
1236 * lcmessage.m4: Sync with gettext -- this changes only comments.
1237 * progtest.m4: Likewise
1238 * isc-posix.m4: Decrement serial number to sync with gettext.
1239 * glibc21.m4: Likewise.
1241 * libintl.m4: Remove. No longer used.
1243 2001-09-20 Jim Meyering <jim@meyering.net>
1245 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
1247 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
1250 2001-09-17 Jim Meyering <jim@meyering.net>
1252 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
1253 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
1254 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
1255 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
1256 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
1257 whenever the right hand side need not be expanded by the shell.
1259 2001-09-16 Paul Eggert <eggert@twinsun.com>
1261 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
1262 library. It's not correct, as some older glibcs are buggy.
1263 fnmatch wasn't fixed until glibc 2.2.
1265 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
1266 special shell magic here.
1268 2001-09-16 Jim Meyering <jim@meyering.net>
1270 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
1271 * jm-macros.m4: Require it.
1273 2001-09-15 Jim Meyering <jim@meyering.net>
1275 * jm-macros.m4: Check for help2man.
1277 2001-09-11 Jim Meyering <jim@meyering.net>
1279 * host-os.m4 (UTILS_HOST_OS): New file/macro.
1280 The body, by Paul Eggert, was moved here from configure.in.
1281 * jm-macros.m4: Require UTILS_HOST_OS.
1283 2001-09-04 Paul Eggert <eggert@twinsun.com>
1285 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
1286 (jm_PREREQ): Use it.
1288 2001-09-03 Paul Eggert <eggert@twinsun.com>
1290 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
1291 sys/param.h, as pathmax.h includes them.
1293 2001-09-03 Paul Eggert <eggert@twinsun.com>
1295 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
1296 (jm_PREREQ_XGETCWD): New macro.
1298 * getcwd.m4: New file.
1300 2001-09-01 Jim Meyering <jim@meyering.net>
1302 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
1305 2001-08-30 Paul Eggert <eggert@twinsun.com>
1307 Simplify code, partly by assuming autoconf 2.52 semantics.
1309 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
1311 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
1312 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
1314 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
1315 Move AC_REQUIRE to next-to-top level, to avoid confusion.
1316 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
1317 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
1318 * jm-macros.m4 (jm_MACROS): Likewise.
1320 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
1322 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1323 Quote first arg of AC_DEFUN.
1324 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
1325 since they are needed to parse the include file even if we need
1326 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
1327 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
1328 but with opposite signedness.
1330 2001-08-30 Paul Eggert <eggert@twinsun.com>
1332 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
1333 (jm_PREREQ_EXCLUDE): New macro.
1335 2001-08-26 Jim Meyering <jim@meyering.net>
1337 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
1339 * xstrtoimax.m4: New file.
1340 * xstrtoumax.m4: Add comments explaining why we
1341 AC_REPLACE_FUNCS(strtol).
1343 2001-06-20 Paul Eggert <eggert@twinsun.com>
1345 * inttypes.m4: Add AC_PREREQ(2.13).
1346 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
1347 (jm_AC_TYPE_INTMAX_T): New macro.
1348 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
1350 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
1352 * longlong.m4: Renamed from ulonglong.m4.
1353 * inttypes.m4: Renamed from inttypes_h.m4.
1354 * uintmax_t.m4: Removed.
1356 2001-08-12 Jim Meyering <jim@meyering.net>
1358 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
1359 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
1360 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
1361 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
1362 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
1363 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
1364 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
1365 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
1366 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
1367 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
1368 utime.m4, utimes.m4, xstrtoumax.m4:
1369 Quote the first argument in each use of AC_DEFUN.
1371 2001-08-05 Jim Meyering <jim@meyering.net>
1373 * jm-macros.m4: Require autoconf-2.52.
1375 2001-08-03 Paul Eggert <eggert@twinsun.com>
1377 The following changes are from gettext 0.10.39 as maintained by
1378 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
1380 * codeset.m4: Upgrade to serial AM1.
1381 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
1382 all uses changed. Quote first arg of AC_DEFUN.
1383 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
1385 * iconv.m4: Upgrade to serial AM2.
1386 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
1387 Add --with-libconv-prefix.
1388 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
1389 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
1390 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
1391 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
1392 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
1394 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
1395 * getline.m4 (AM_FUNC_GETLINE): Likewise.
1396 * glibc21.m4 (jm_GLIBC21): Likewise.
1397 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
1398 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
1399 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
1400 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
1401 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
1402 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
1404 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
1407 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
1408 not the default value.
1410 2001-06-25 Bruno Haible <haible@clisp.cons.org>
1411 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
1412 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
1413 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
1414 Also check for iswcntrl, used for wcwidth fallback.
1415 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
1418 2001-08-03 Jim Meyering <jim@meyering.net>
1420 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
1421 as it was in the original. Reported by Paul Eggert.
1423 2001-07-16 Jim Meyering <jim@meyering.net>
1425 * gettimeofday.m4: New file.
1426 Prompted by a report from Bernhard Baehr.
1428 2001-07-15 Jim Meyering <jim@meyering.net>
1430 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
1431 Now it's in ../Makefile.cfg.
1433 2001-07-04 Jim Meyering <jim@meyering.net>
1435 * Makefile.am.in (glibc-io.struct): New target. Rework the code
1436 that generates jm-glibc-io.m4 so that it doesn't trigger any make
1439 2001-07-02 Jim Meyering <jim@meyering.net>
1441 The following changes were prompted by suggestions from Bruno Haible.
1443 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
1445 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
1446 definition of EXTRA_DIST.
1447 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
1448 ensure that the generated file is created/updated whenever the list
1449 of $(unlocked_functions) is changed.
1450 (jm-glibc-io.m4): New rule.
1451 (unlocked-io.h): New rule -- currently unused.
1453 2001-06-24 Jim Meyering <jim@meyering.net>
1455 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
1456 unmatched right bracket, rather than kludging it with an extra,
1457 falsely-matching quote in a comment. Patch by Akim Demaille.
1459 2001-05-27 Jim Meyering <jim@meyering.net>
1461 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
1462 Check for ut_type in struct utmp.
1464 2001-05-22 Jim Meyering <jim@meyering.net>
1466 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
1467 now that we use the package-supplied version unconditionally.
1468 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
1470 2001-05-21 Jim Meyering <jim@meyering.net>
1472 * regex.m4: Change a couple backticks to single quotes to avoid shell
1475 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1477 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
1479 2001-05-11 Paul Eggert <eggert@twinsun.com>
1481 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
1482 Don't bother to check library strftime, since
1483 we'll be using our own my_strftime function anyway.
1484 Define my_strftime instead of strftime.
1486 2001-05-15 Jim Meyering <jim@meyering.net>
1488 * regex.m4: Use proper quoting so brackets appear in the test program.
1489 Reported by, and with help from, Bruno Haible.
1491 2001-05-13 Jim Meyering <jim@meyering.net>
1493 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
1495 2000-11-26 Paul Eggert <eggert@twinsun.com>
1497 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
1499 2001-04-21 Jim Meyering <jim@meyering.net>
1501 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
1504 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1506 * ftruncate.m4: Check for chsize.
1507 Link with ftruncate.o unconditionally if ftruncate is missing.
1508 This was required when cross-compiling to i586-mingw32msvc.
1510 2001-03-24 Jim Meyering <jim@meyering.net>
1512 * jm-macros.m4: Require autoconf-2.49d.
1514 2001-03-20 Bruno Haible <haible@clisp.cons.org>
1516 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
1518 2001-03-17 Jim Meyering <jim@meyering.net>
1520 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
1521 now that the version in autoconf is equivalent.
1522 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
1524 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
1525 Suggestion from Akim Demaille.
1527 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
1528 (jm_PREREQ_TEMPNAME): New function.
1530 2001-02-25 Paul Eggert <eggert@twinsun.com>
1532 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
1533 lacks mkstemp. Compile our own tempname.c if we compile our own
1534 mkstemp.c, as mkstemp relies on tempname.
1536 2001-03-01 Jim Meyering <jim@meyering.net>
1538 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
1539 AH_VERBATIM really does output its argument verbatim.
1541 2001-02-18 Paul Eggert <eggert@twinsun.com>
1543 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
1545 2001-02-17 Jim Meyering <jim@meyering.net>
1547 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
1548 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
1549 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
1552 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
1553 rather than AC_CACHE_VAL.
1555 2001-02-17 Paul Eggert <eggert@twinsun.com>
1557 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
1558 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
1559 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
1560 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
1562 2001-02-07 Jim Meyering <jim@meyering.net>
1564 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
1566 2001-02-05 Jim Meyering <jim@meyering.net>
1568 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
1569 it includes the patch required for `large file' support with at least
1570 HP-UX's 10.20 /bin/cc.
1572 2001-02-03 Jim Meyering <jim@meyering.net>
1574 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
1575 AS_IF, now that it works once again (mysteriously).
1576 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1578 2001-01-30 Jim Meyering <jim@meyering.net>
1580 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
1581 * chown.m4: Rename conftestchown to conftest.chown.
1582 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
1583 * utimes.m4: s/conftestdata/conftest.data/
1584 Inspired by Pavel Roskin's change in autoconf.
1586 2001-01-27 Jim Meyering <jim@meyering.net>
1588 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
1590 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1592 2001-01-26 Jim Meyering <jim@meyering.net>
1594 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
1595 quotearg.c includes it.
1597 2001-01-15 Bruno Haible <haible@clisp.cons.org>
1599 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
1602 2001-01-20 Jim Meyering <jim@meyering.net>
1604 Be sure that headers are checked before used in code compiled
1605 for the type checks.
1606 * jm-macros.m4 (jm_MACROS): Remove all header checks.
1607 In place of that, invoke jm_CHECK_ALL_TYPES.
1608 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
1609 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
1610 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
1611 The check for ssize_t was mistakenly run before the test for unistd.h.
1613 The configure-time check for stdbool.h was missing.
1614 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
1615 (jm_PREREQ_HASH): New function.
1617 2001-01-17 Jim Meyering <jim@meyering.net>
1619 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
1621 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
1623 2001-01-14 Jim Meyering <jim@meyering.net>
1625 * rename.m4: Use temporary directories named conftestdir{,2}, not
1626 foo and bar. Create conftestdir/ in the script, not in the C code.
1627 Remove directories in the script, not in the C code.
1628 Remove conftestdir{,2} before trying to create the directory.
1629 Make the entire configure script fail if the mkdir fails.
1631 2001-01-02 Volker Borchert <bt@teknon.de>
1633 * rename.m4: New file.
1634 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
1636 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1638 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
1639 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
1640 so `make install' also works in VPATH builds.
1642 2001-01-01 Jim Meyering <jim@meyering.net>
1644 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
1645 on systems with utmpx.h. It's necessary for the declaration of utmp's
1646 ut_user member. Reported by Andreas Jaeger.
1648 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
1649 They are required for the declarations of getgrgid and getpwuid resp.
1650 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
1651 Reported by Andreas Jaeger.
1653 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1655 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
1656 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
1657 can be used in subdirectories.
1659 2000-12-26 Jim Meyering <jim@meyering.net>
1661 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
1664 2000-12-17 Jim Meyering <jim@meyering.net>
1666 * dos.m4 (jm_AC_DOS): New file and macro.
1667 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
1669 2000-12-06 Paul Eggert <eggert@twinsun.com>
1671 * off_t-format.m4: Remove this file.
1672 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
1674 2000-12-06 Jim Meyering <jim@meyering.net>
1676 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
1677 strtoull, we may well need the replacement strtoul, too.
1678 Check for declarations of strtoul and strtoull.
1679 Check for strtol. Mainly as a cue to cause automake to include
1680 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
1681 Check for limits.h -- strtol.c needs it.
1683 2000-12-02 Jim Meyering <jim@meyering.net>
1685 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
1686 * jm-macros.m4 (jm_MACROS): require it.
1688 2000-11-30 Jim Meyering <jim@meyering.net>
1690 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
1692 2000-11-30 Jim Meyering <jim@meyering.net>
1694 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
1696 2000-11-03 Bruno Haible <haible@clisp.cons.org>
1698 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
1700 2000-11-04 Jim Meyering <jim@meyering.net>
1702 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
1704 2000-10-29 Jim Meyering <jim@meyering.net>
1706 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
1707 * ls-mntd-fs.m4: Likewise
1709 2000-10-28 Jim Meyering <jim@meyering.net>
1711 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
1712 (jm_PREREQ_MEMCHR): New function.
1714 2000-10-21 Jim Meyering <jim@meyering.net>
1716 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
1717 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
1718 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
1720 2000-09-18 Jim Meyering <jim@meyering.net>
1722 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
1723 Otherwise, everyone ends up linking with -lelf for some configurations.
1724 Reported by Mike Stone.
1726 2000-08-26 Jim Meyering <jim@meyering.net>
1728 * jm-macros.m4: Use jm_FUNC_FPENDING.
1729 * fpending.m4: New file.
1731 2000-08-20 Jim Meyering <jim@meyering.net>
1733 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
1734 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
1735 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
1737 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1739 Improve fileutils installation on systems where running
1740 programs (like install) can't be unlinked.
1741 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
1742 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
1744 2000-08-06 Paul Eggert <eggert@twinsun.com>
1746 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
1747 not char, for compatibility with glibc 2.1.3 strftime.c.
1749 2000-07-23 Paul Eggert <eggert@twinsun.com>
1751 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
1753 2000-07-23 Jim Meyering <jim@meyering.net>
1755 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
1756 getgrgid, getpwuid, getuid.
1758 2000-07-16 Bruno Haible <haible@clisp.cons.org>
1760 * mbswidth.m4: New file.
1761 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
1763 2000-07-14 Jim Meyering <jim@meyering.net>
1765 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
1767 2000-07-10 Paul Eggert <eggert@twinsun.com>
1769 From a suggestion by Bruno Haible.
1770 * mbstate_t.m4 (AC_MBSTATE_T):
1771 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
1772 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
1773 and mbstate_t, to a single-part test that simply defines mbstate_t.
1774 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
1776 2000-07-10 Jim Meyering <jim@meyering.net>
1778 * strerror_r.m4: Mirror the correction made in autoconf.
1780 * gnu-source.m4: Output to confdefs.h directly.
1781 Suggestion from Akim Demaille.
1783 2000-07-09 Jim Meyering <jim@meyering.net>
1785 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
1786 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
1788 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
1789 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
1791 2000-07-05 Bruno Haible <haible@clisp.cons.org>
1793 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
1795 Include <ctype.h> for use of isalpha.
1797 2000-07-05 Paul Eggert <eggert@twinsun.com>
1798 and Bruno Haible <haible@clisp.cons.org>
1800 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
1801 only if the test for an object-type mbstate_t fails. This
1802 prevents us from mistakenly reporting that mbstate_t is a
1803 system object type after we "#define mbstate_t int" to work
1806 2000-07-04 Jim Meyering <jim@meyering.net>
1808 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
1809 of the deprecated AC_CHECKING.
1811 2000-07-03 Jim Meyering <jim@meyering.net>
1813 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
1815 2000-07-03 Paul Eggert <eggert@twinsun.com>
1817 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
1818 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
1820 2000-07-02 Jim Meyering <jim@meyering.net>
1822 * mbstate_t.m4: Also define mbstate_t, if necessary.
1824 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
1825 AC_LIBOBJ(function_name).
1826 * chown.m4: Likewise.
1827 * fnmatch.m4: Likewise.
1828 * ftruncate.m4: Likewise.
1829 * getgroups.m4: Likewise.
1830 * getline.m4: Likewise.
1831 * group-member.m4: Likewise.
1832 * jm-macros.m4: Likewise.
1833 * lstat.m4: Likewise.
1834 * malloc.m4: Likewise.
1835 * memcmp.m4: Likewise.
1836 * nanosleep.m4: Likewise.
1837 * putenv.m4: Likewise.
1838 * realloc.m4: Likewise.
1839 * regex.m4: Likewise.
1840 * stat.m4: Likewise.
1841 * strftime.m4: Likewise.
1843 2000-07-01 Jim Meyering <jim@meyering.net>
1845 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
1848 2000-06-17 Bruno Haible <haible@clisp.cons.org>
1850 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
1851 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
1853 2000-07-01 Jim Meyering <jim@meyering.net>
1855 * uptime.m4: Put double quotes around use of $cross_compiling.
1857 2000-06-28 Jim Meyering <jim@meyering.net>
1859 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
1860 by quotearg.c, for which we perform this test. From Bruno Haible.
1862 2000-06-17 Bruno Haible <haible@clisp.cons.org>
1864 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
1865 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
1866 <utmpx.h> exists, put readutmp.o into LIBOBJS.
1868 2000-06-25 Jim Meyering <jim@meyering.net>
1870 * mbstate_t.m4: Include stdio.h before wchar.h to work around
1871 Linux header bug when _XOPEN_SOURCE is defined to 500.
1873 2000-06-24 Jim Meyering <jim@meyering.net>
1875 * strerror_r.m4: Revive this file -- to try out an experimental
1876 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
1877 for which strerror does return char*, but which lacks a conveniently
1878 accessible declaration of the function. If the compile-test says
1879 strerror_r doesn't work, then resort to a `run'-test that works on
1880 BeOS and segfaults on DEC Unix.
1882 2000-06-19 Paul Eggert <eggert@twinsun.com>
1884 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
1885 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
1887 2000-06-23 Jim Meyering <jim@meyering.net>
1889 * afs.m4: Add missing AC_MSG_RESULT.
1890 Reported by Bruno Haible.
1892 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
1893 Suggestion from Bruno Haible.
1895 2000-06-21 Jim Meyering <jim@meyering.net>
1897 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
1899 2000-06-18 Jim Meyering <jim@meyering.net>
1901 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
1903 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
1904 `checking whether...' message to be consistent with that of the
1907 2000-06-16 Bruno Haible <haible@clisp.cons.org>
1909 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
1911 2000-06-12 Jim Meyering <jim@meyering.net>
1913 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
1914 from autoconf, and tweak the latter to accept an optional argument.
1915 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
1916 the optional argument, `lib'.
1918 2000-06-08 Jim Meyering <jim@meyering.net>
1920 * largefile.m4: Remove file (now that it's part of autoconf).
1922 2000-06-04 Paul Eggert <eggert@twinsun.com>
1924 Rewrite largefile configuration so that we don't need to run
1925 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
1926 AC_CANONICAL_HOST in configure.in -- jmm]
1928 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
1929 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
1930 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
1931 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
1932 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
1934 Instead of inspecting the output of getconf, try to compile the
1935 test program without and with the macro definition.
1936 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
1937 for getconf. Instead, check for the needed flags by compiling
1940 2000-06-03 Jim Meyering <jim@meyering.net>
1942 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
1943 now that autoconf requires that.
1945 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
1946 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
1947 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
1949 2000-05-26 Bruno Haible <haible@clisp.cons.org>
1951 * glibc21.m4: New file.
1952 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
1954 2000-05-28 Jim Meyering <jim@meyering.net>
1956 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
1957 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1958 * stat.m4: Likewise.
1959 * lstat.m4: Likewise.
1960 * lstat-slash.m4: Remove file (absorbed into autoconf).
1962 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
1963 * strerror_r.m4: Remove file (absorbed into autoconf).
1965 2000-05-26 Jim Meyering <jim@meyering.net>
1967 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
1969 2000-05-24 Jim Meyering <jim@meyering.net>
1971 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
1972 autoconf requires that.
1973 * lib-check.m4: Likewise.
1974 * jm-macros.m4: Likewise.
1975 * strftime.m4: Likewise.
1977 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
1978 now that autoconf requires that.
1980 2000-05-22 Jim Meyering <jim@meyering.net>
1982 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1983 * lstat.m4: Likewise.
1985 2000-05-20 Jim Meyering <jim@meyering.net>
1987 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
1988 (jm_PREREQ): Use it.
1990 2000-05-09 Jim Meyering <jim@meyering.net>
1992 * gettext.m4: Rename this...
1993 * libintl.m4: ...to this.
1995 2000-05-06 Jim Meyering <jim@meyering.net>
1997 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
1998 (AC_REPLACE_FUNCS): Add strnlen.
2000 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
2001 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
2003 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
2004 AC_SEARCH_LIBS call for nanosleep.
2005 (LIB_NANOSLEEP): Set and AC_SUBST.
2007 2000-05-03 Paul Eggert <eggert@twinsun.com>
2009 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
2010 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
2011 2.1.3 bug. This avoids a clash when files like regex.c define
2014 2000-05-05 Jim Meyering <jim@meyering.net>
2016 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
2017 call for clock_gettime.
2018 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
2020 * search-libs.m4: Update from autoconf.
2022 su doesn't work on Solaris 2.6.
2023 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
2024 <shadow.h>. Reported by Dragos Harabor.
2026 2000-05-03 Jim Meyering <jim@meyering.net>
2028 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
2030 2000-05-02 Paul Eggert <eggert@twinsun.com>
2032 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
2033 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
2034 compile-time test, rather than inspecting host and OS, to
2035 decide whether to define _LARGEFILE_SOURCE.
2037 2000-05-01 Jim Meyering <jim@meyering.net>
2039 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
2041 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
2042 Based on a patch from Bruno Haible.
2044 2000-04-18 Jim Meyering <jim@meyering.net>
2046 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
2047 (jm_PREREQ): Use it.
2049 2000-04-17 Jim Meyering <jim@meyering.net>
2052 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
2053 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
2054 Suggestion from Akim Demaille.
2056 2000-04-14 Jim Meyering <jim@meyering.net>
2058 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
2059 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
2061 2000-04-13 Jim Meyering <jim@meyering.net>
2063 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
2064 to insert required #ifndef into config.h.in.
2065 Suggestion from Akim Demaille.
2067 2000-04-12 Jim Meyering <jim@meyering.net>
2069 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
2070 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
2071 Christian Krackowizer.
2073 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
2074 * jm-macros.m4 (_GNU_SOURCE): Define.
2075 (AC_SYS_LARGEFILE): Require.
2076 (AM_C_PROTOTYPES): Require.
2078 2000-04-05 Paul Eggert <eggert@twinsun.com>
2080 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
2081 IRIX if the installer said otherwise.
2083 2000-04-05 Jim Meyering <jim@meyering.net>
2085 Portability tweaks required for ultrix4.3.
2086 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
2087 (jm_CHECK_DECLS): Add getutent to the list of functions.
2088 (_jm_DECL_HEADERS): Add utmpx.h.
2089 From John David Anglin.
2091 * strftime.m4: Back out the 2000-04-02 change.
2092 Instead of that change, simply undefine putenv in the test program.
2094 2000-04-03 Jim Meyering <jim@meyering.net>
2096 * gettext.m4: Fix typo in comment.
2098 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
2099 textutils/configure.in). Suggestion from Paul Eggert.
2100 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
2102 2000-04-02 Paul Eggert <eggert@twinsun.com>
2104 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
2105 variable in the shell rather than using putenv, which isn't
2106 portable. This avoids the configure-time inter-test dependency
2107 on the potentially-renamed putenv function.
2109 2000-03-30 Paul Eggert <eggert@twinsun.com>
2111 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
2112 before checking struct stat.st_blksize, so that
2113 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
2115 2000-03-29 Paul Eggert <eggert@twinsun.com>
2117 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
2118 since strftime.c uses HAVE_STRFTIME to decide whether to use
2119 the underlying strftime.
2121 2000-03-10 Jim Meyering <jim@meyering.net>
2123 * lib-check.m4: Look for getspnam in -lgen, too.
2126 2000-02-02 Bruno Haible <haible@clisp.cons.org>
2128 * codeset.m4: New file.
2129 * iconv.m4: New file.
2130 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
2132 2000-03-04 Jim Meyering <jim@meyering.net>
2134 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
2135 for lib/localcharset.c.
2137 2000-03-03 Jim Meyering <jim@meyering.net>
2139 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
2141 2000-03-02 Jim Meyering <jim@meyering.net>
2143 * timespec.m4: Require AC_HEADER_TIME before the cache check so
2144 the messages come out on separate lines.
2146 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
2147 rather than jm_CHECK_DECLARATIONS.
2148 * decl.m4: Remove now-unused file.
2150 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
2152 2000-02-27 Jim Meyering <jim@meyering.net>
2154 * check-decl.m4: Add getenv to the list.
2156 2000-02-23 Jim Meyering <jim@meyering.net>
2158 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
2159 in place of my hack.
2161 2000-02-10 Jim Meyering <jim@meyering.net>
2163 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
2164 gnu_nanosleep to rpl_nanosleep.
2166 2000-02-09 Jim Meyering <jim@meyering.net>
2168 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
2169 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
2171 2000-02-08 Akim Demaille <akim@epita.fr>
2173 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
2174 `[' and `]' and remove uses of `changequote'.
2175 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
2176 (AC_SYS_LARGEFILE): Likewise.
2177 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
2178 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
2180 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
2181 * readdir.m4 (jm_FUNC_READDIR): Likewise
2182 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
2183 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
2185 2000-02-05 Jim Meyering <jim@meyering.net>
2187 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
2188 Remove explicit use of AC_HEADER_TIME. It is required by
2189 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
2190 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
2191 in autoconf whereby the expansion of the latter ended up preceding
2192 the expansion of its prerequisite, AC_HEADER_TIME.
2193 Reported by Volker Borchert.
2195 2000-02-03 Jim Meyering <jim@meyering.net>
2197 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
2199 2000-02-02 Jim Meyering <jim@meyering.net>
2201 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
2202 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
2203 Reported by Eli Zaretskii.
2205 2000-01-31 Jim Meyering <jim@meyering.net>
2207 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
2208 functions. Add the time.h and sys/time.h headers along with the
2209 AC_REQUIRE'ment of AC_HEADER_TIME.
2211 2000-01-30 Jim Meyering <jim@meyering.net>
2213 * lib-check.m4: Clean up some kludgy old shadow password tests.
2215 * prereq.m4 (utmp_includes): Define.
2216 Check for ut_user and ut_name members in both struct utmpx
2219 2000-01-29 Jim Meyering <jim@meyering.net>
2221 * lib-check.m4: New file containing library-related checks from
2222 fileutils and sh-utils (textutils had none).
2224 2000-01-28 Jim Meyering <jim@meyering.net>
2226 * perl.m4: Change format of warning message to look more like that
2227 from the missing script. Suggestion from François Pinard.
2229 2000-01-25 Jim Meyering <jim@meyering.net>
2231 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
2232 as time.h in the compile check.
2233 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
2234 Fix typo in cross-compiling case: s/yes/no/.
2236 2000-01-23 Jim Meyering <jim@meyering.net>
2238 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
2240 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
2241 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
2243 * fsusage.m4: New file. Extracted from fileutils/configure.in.
2244 s/space/ac_fsusage_space/.
2245 (jm_FILE_SYSTEM_USAGE): Take two parameters.
2247 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
2248 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
2249 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
2251 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
2252 AC_SUBST these here, rather than just in sh-util/configure.in, so
2253 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
2255 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
2256 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
2257 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
2258 (AC_SUBST(POW_LIBM)): Likewise.
2259 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
2261 2000-01-22 Jim Meyering <jim@meyering.net>
2263 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
2265 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
2267 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
2269 (AC_CHECK_HEADERS): Likewise for sh-utils.
2270 (AC_CHECK_HEADERS): Likewise for textutils.
2271 Merge the three lists of headers.
2273 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
2274 from fileutils' configure.in.
2276 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
2277 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
2279 * check-decl.m4: Use #if rather than #ifdef.
2280 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
2281 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
2282 (_jm_DECL_HEADERS): Define new function.
2283 (jm_CHECK_DECLARATIONS): Require it.
2285 2000-01-19 Jim Meyering <jim@meyering.net>
2287 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
2288 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
2289 defines `struct timespec' in <sys/time.h>
2291 * c-bs-a.m4: Remove uses of changequote altogether.
2292 Thanks to Akim for explaining.
2294 2000-01-16 Jim Meyering <jim@meyering.net>
2296 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
2297 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
2298 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
2299 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
2301 2000-01-16 Jim Meyering <jim@meyering.net>
2303 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
2304 because the latter didn't work.
2306 2000-01-15 Jim Meyering <jim@meyering.net>
2308 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
2309 (AC_REPLACE_FUNCS): Add memcpy and memset.
2310 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
2312 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
2314 2000-01-12 Jim Meyering <jim@meyering.net>
2316 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
2317 (jm_PREREQ): Use it.
2318 (jm_PREREQ_READUTMP): New macro.
2319 (jm_PREREQ): Use it.
2321 2000-01-11 Paul Eggert <eggert@twinsun.com>
2323 Quote multibyte characters correctly.
2324 * c-bs-a.m4: New file.
2325 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
2326 (jm_PREREQ): Use it.
2328 2000-01-11 Paul Eggert <eggert@twinsun.com>
2330 * uintmax_t.m4: Port to autoconf 2.13.
2332 2000-01-08 Jim Meyering <meyering@ascend.com>
2334 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
2335 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
2337 2000-01-04 Jim Meyering <meyering@ascend.com>
2339 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
2340 jm_STRUCT_DIRENT_D_TYPE.
2341 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
2342 jm_STRUCT_DIRENT_D_INO.
2343 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
2345 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
2346 * utime.m4: Likewise.
2348 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
2349 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
2351 2000-01-03 Paul Eggert <eggert@twinsun.com>
2353 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
2354 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
2356 2000-01-02 Jim Meyering <meyering@ascend.com>
2358 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
2359 remember if this is necessary.
2361 1999-12-26 Jim Meyering <meyering@ascend.com>
2363 * jm-macros.m4: Use it here.
2364 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
2366 1999-12-23 Jim Meyering <meyering@ascend.com>
2368 * jm-macros.m4: Check for clock_gettime (moved from
2369 fileutils/configure.in)
2370 Check for gettimeofday.
2372 1999-12-20 Jim Meyering <meyering@ascend.com>
2374 * strftime.m4: Remove kludge, now that I'm using the fixed
2375 autoconf-2.14a-1999-12-20.
2377 1999-12-19 Jim Meyering <meyering@ascend.com>
2379 * lstat-slash.m4: New file.
2380 * jm-macros.m4: Use the new macro:
2381 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2383 1999-12-07 Jim Meyering <meyering@ascend.com>
2385 * perl.m4: Require that File::Compare be available, too.
2386 Too many systems seem to lack it.
2388 * strftime.m4: Add checks for most of the cpp macros tested in
2389 GNU's strftime.c. Prompted by a patch from Paul Eggert.
2391 1999-11-18 Paul Eggert <eggert@twinsun.com>
2393 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
2394 problem with the QNX 4.25 shell, which doesn't propagate exit
2395 status of failed commands inside shell assignments.
2397 1999-11-17 Jim Meyering <meyering@ascend.com>
2399 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
2401 1999-11-07 Jim Meyering <meyering@ascend.com>
2403 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
2405 1999-11-06 Jim Meyering <meyering@ascend.com>
2407 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
2408 * jm-macros.m4 (jm_MACROS): Use it here.
2410 1999-11-05 Jim Meyering <meyering@ascend.com>
2412 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
2413 of textutils, fileutils, and sh-utils into this one (shared between
2414 those packages) file.
2415 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
2416 AC_STRUCT_ST_BLKSIZE.
2418 1999-11-03 Jim Meyering <meyering@ascend.com>
2420 * ssize_t.m4: Remove file. No longer needed since the new version of
2421 AC_CHECK_TYPE checks includes unistd.h.
2422 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
2423 Suggestion from Akim Demaille.
2425 1999-10-30 Jim Meyering <meyering@ascend.com>
2427 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
2429 * ls-mntd-fs.m4: Likewise.
2430 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
2431 * jm-winsz1.m4: Likewise.
2433 * const.m4: Remove file, since the fix made it into the experimental
2434 version of autoconf.
2435 * mktime.m4: Likewise.
2437 * check-type.m4: Remove file, now that the latest version of
2438 AC_CHECK_TYPE takes a third arg to specify additional #includes.
2440 * ssize_t.m4: New file, requires experimental version of autoconf.
2441 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
2444 1999-10-04 Jim Meyering <meyering@ascend.com>
2446 * jm-macros.m4: Don't require autoconf-2.14.1.
2448 1999-09-22 Paul Eggert <eggert@twinsun.com>
2450 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
2451 2.95.1 bug with HP-UX 10.20.
2453 1999-09-17 Jim Meyering <meyering@ascend.com>
2455 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
2456 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
2457 due to missing strdup (against sh-utils-2.0).
2459 1999-08-29 Jim Meyering <meyering@ascend.com>
2461 * jm-macros.m4: Require jm_BISON.
2462 * bison.m4: New file.
2464 1999-08-17 Paul Eggert <eggert@twinsun.com>
2466 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
2467 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
2469 1999-08-05 Jim Meyering <meyering@ascend.com>
2471 * getline.m4: Rename test file from conftestdata to conftest.data
2472 to avoid conflicts with `conftest' on 8+3 filesystems.
2473 Suggestion from Eli Zaretskii.
2475 1999-08-04 Jim Meyering <meyering@ascend.com>
2477 * jm-macros.m4: Move a 4-line block of code from the configure.in of
2478 fileutils and sh-utils (textutils's getline test was inadequate).
2479 (AM_FUNC_GETLINE): Run this test.
2480 (AC_CHECK_FUNCS): Check for getdelim.
2481 Reported by Bob Proulx.
2483 1999-08-02 Jim Meyering <meyering@ascend.com>
2485 * jm-macros.m4: Add a comment.
2487 1999-08-01 Jim Meyering <meyering@ascend.com>
2489 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
2491 1999-08-01 Paul Eggert <eggert@twinsun.com>
2493 * lfs.m4: Remove this file.
2494 * largefile.m4: New file. It contains the old contents of
2495 lfs.m4, except that all names with prefix AC_LFS have been
2496 changed to use the prefix AC_SYS_LARGEFILE instead, to be
2497 compatible with future autoconf versions. Also, some minor m4
2498 quoting problems have been fixed.
2500 1999-07-16 Paul Eggert <eggert@twinsun.com>
2502 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
2503 that we can shift, multiply and divide unsigned long long
2504 values; Ultrix cc can't do it.
2506 1999-07-14 Paul Eggert <eggert@twinsun.com>
2508 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
2509 <inttypes.h> defines strtoumax as a macro (and not as a
2512 1999-07-05 Paul Eggert <eggert@twinsun.com>
2514 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
2515 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
2516 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
2517 and simplify the shell code.
2519 1999-07-03 Paul Eggert <eggert@twinsun.com>
2521 * mktime.m4: New file, which is a preview of what should appear
2522 in the next public autoconf release.
2524 1999-07-20 Jim Meyering <meyering@ascend.com>
2526 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
2528 1999-07-15 Jim Meyering <meyering@ascend.com>
2530 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
2532 1999-05-22 Jim Meyering <meyering@ascend.com>
2534 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
2536 1999-05-20 Jim Meyering <meyering@ascend.com>
2538 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
2539 Add a colon after each `then' in case $4 is empty.
2541 1999-05-16 Jim Meyering <meyering@ascend.com>
2543 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
2545 1999-05-10 Jim Meyering <meyering@ascend.com>
2547 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
2549 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
2552 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2554 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
2556 1999-05-04 Paul Eggert <eggert@twinsun.com>
2558 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
2559 not CPPFLAGS, so that linking works correctly in IRIX.
2561 1999-04-30 Paul Eggert <eggert@twinsun.com>
2563 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
2565 1999-04-20 Jim Meyering <meyering@ascend.com>
2567 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
2568 AC_REPLACE xstroull if necessary. From Paul Eggert.
2569 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
2571 1999-04-20 Paul Eggert <eggert@twinsun.com>
2573 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
2574 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
2575 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
2576 jm_AC_TYPE_UNSIGNED_LONG_LONG.
2577 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
2579 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
2581 1999-04-18 Jim Meyering <meyering@ascend.com>
2583 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
2584 * jm-macros.m4: Use it.
2586 1999-04-06 Jim Meyering <meyering@ascend.com>
2588 * strftime.m4: Remove test for %f.
2590 1999-03-29 Jim Meyering <meyering@ascend.com>
2592 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
2593 superset of the AC_TYPE_* checks in the textutils, fileutils,
2594 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
2597 1999-03-28 Jim Meyering <meyering@ascend.com>
2599 * jm-macros.m4: Define GNU_PACKAGE here.
2600 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
2601 replaced e.g., in the *.sh files of the sh-utils.
2603 1999-03-20 Jim Meyering <meyering@ascend.com>
2605 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
2606 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
2607 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
2609 1999-03-19 Jim Meyering <meyering@ascend.com>
2611 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
2613 1999-03-12 Jim Meyering <meyering@ascend.com>
2615 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
2617 1999-03-07 Jim Meyering <meyering@ascend.com>
2619 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
2621 1999-02-17 Jim Meyering <meyering@ascend.com>
2623 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
2624 in macro definition. From Eli Zaretskii and Alain Magloire.
2626 1999-02-07 Jim Meyering <meyering@ascend.com>
2628 * group-member.m4: New file -- extracted from sh-utils' configure.in.
2630 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
2631 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
2633 1999-02-06 Jim Meyering <meyering@ascend.com>
2635 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
2636 * fnmatch.m4: Likewise.
2637 * getgroups.m4: Likewise.
2638 * lstat.m4: Likewise.
2639 * malloc.m4: Likewise.
2640 * putenv.m4: Likewise.
2641 * realloc.m4: Likewise.
2642 * regex.m4: Likewise.
2643 * stat.m4: Likewise.
2644 * strftime.m4: Likewise.
2645 Suggestion from Alain Magloire.
2647 * chown.m4: Use `.$ac_objext', not `.o'.
2648 * fnmatch.m4: Likewise.
2649 * getgroups.m4: Likewise.
2650 * getline.m4: Likewise.
2651 * lstat.m4: Likewise.
2652 * malloc.m4: Likewise.
2653 * memcmp.m4: Likewise.
2654 * putenv.m4: Likewise.
2655 * realloc.m4: Likewise.
2656 * regex.m4: Likewise.
2657 * stat.m4: Likewise.
2658 * strftime.m4: Likewise.
2659 Suggestion from Alain Magloire.
2661 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
2664 * regex.m4: Add a run-time Test for proper operation of
2667 1999-01-31 Jim Meyering <meyering@ascend.com>
2669 * getloadavg.m4: Check for locale.h and the function, setlocale.
2671 1999-01-30 Jim Meyering <meyering@ascend.com>
2673 * check-type.m4: Use 3-arg form of AC_DEFINE.
2675 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
2676 rather than my private copy, now that the official one is up to date.
2677 * mktime.m4: Remove file.
2679 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
2680 * uptime.m4: Likewise.
2681 * uintmax_t.m4: Likewise.
2683 1999-01-28 Jim Meyering <meyering@ascend.com>
2685 * jm-macros.m4: Use jm_AFS.
2686 * afs.m4: New file (from fileutils' configure.in).
2688 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
2689 * chown.m4: Likewise.
2690 * d-ino.m4: Likewise.
2691 * d-type.m4: Likewise.
2692 * fnmatch.m4: Likewise.
2693 * getgroups.m4: Likewise.
2694 * gettext.m4: Likewise.
2695 * jm-mktime.m4: Likewise.
2696 * jm-winsz2.m4: Likewise.
2697 * lcmessage.m4: Likewise.
2698 * ls-mntd-fs.m4: Likewise.
2699 * malloc.m4: Likewise.
2700 * memcmp.m4: Likewise.
2701 * putenv.m4: Likewise.
2702 * realloc.m4: Likewise.
2703 * st_mtim.m4: Likewise.
2704 * strftime.m4: Likewise.
2706 1999-01-16 Jim Meyering <meyering@ascend.com>
2708 * jm-macros.m4 (ARGMATCH_DIE): Define.
2709 (ARGMATCH_DIE_DECL): Define.
2711 1999-01-12 Jim Meyering <meyering@ascend.com>
2713 * Makefile.am.in: Rewrite to avoid using fmt.
2714 Reported by Lars Hecking.
2716 1999-01-10 Jim Meyering <meyering@ascend.com>
2718 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
2720 * inttypes_h.m4: Likewise.
2721 * lstat.m4: Likewise.
2722 * malloc.m4: Likewise.
2723 * readdir.m4: Likewise.
2724 * realloc.m4: Likewise.
2725 * st_dm_mode.m4: Likewise.
2726 * stat.m4: Likewise.
2727 * utimbuf.m4: Likewise.
2728 * utimes.m4: Likewise.
2730 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
2731 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
2732 comments in config.h.in are meaningful.
2734 * jm-macros.m4: Require autoconf-2.13 here.
2736 * regex.m4: By default, don't use the included regex.c on systems
2737 with glibc 2. Suggestion from Uli Drepper.
2739 1999-01-02 Jim Meyering <meyering@ascend.com>
2741 * jm-macros.m4: Replace strcasecmp and strncasecmp.
2743 1998-12-18 Jim Meyering <meyering@ascend.com>
2745 * Makefile.am.in (Makefile.am): Simplify rule.
2746 Based on a suggestion from Lars Hecking.
2748 1998-11-16 Jim Meyering <meyering@ascend.com>
2750 * lfs.m4: Double-quote the `uname...` expression.
2752 1998-11-16 Paul Eggert <eggert@twinsun.com>
2754 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
2756 1998-11-14 Jim Meyering <meyering@ascend.com>
2758 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
2759 * stat.m4: Likewise.
2761 1998-11-03 Jim Meyering <meyering@ascend.com>
2763 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
2764 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
2766 1998-10-18 Jim Meyering <meyering@ascend.com>
2768 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
2770 1998-10-17 Jim Meyering <meyering@ascend.com>
2772 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
2773 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
2774 calls for those previously hard-coded headers. Instead, take a new
2776 (jm_CHECK_DECLARATIONS): Reflect interface change.
2777 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
2778 (jm_CHECK_DECL_LOCALTIME_R): New macro.
2780 * mktime.m4: Test for spring-forward gap before long-running test.
2782 1998-10-14 Jim Meyering <meyering@ascend.com>
2784 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
2785 instead of "TZ=America/Vancouver". From Paul Eggert.
2787 1998-10-11 Jim Meyering <meyering@ascend.com>
2789 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
2790 This adds a test for a recently added compatibility fix for mktime.c.
2791 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
2793 1998-09-27 Jim Meyering <meyering@ascend.com>
2795 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
2797 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
2798 ../configure.in, including a change from Gordon Matzigkeit to allow
2799 cross-compiling for the Hurd.
2801 * glibc.m4: New file/macro to test for the GNU C Library
2802 versions 1 and 2. From Gordon Matzigkeit.
2805 1998-09-21 Jim Meyering <meyering@ascend.com>
2807 * chown.m4: Declare locals: before, after. From Andries Brouwer.
2809 1998-08-18 Paul Eggert <eggert@twinsun.com>
2811 Port nanosecond-resolution times to UnixWare 2.1.2 and
2812 pedantic Solaris 2.6.
2814 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
2816 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
2817 Generate name of ns member, instead of just 1 or undef.
2818 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
2820 1998-08-15 Jim Meyering <meyering@ascend.com>
2822 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
2823 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
2824 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
2825 instead of jm_TYPE_SSIZE_T.
2827 1998-08-12 Jim Meyering <meyering@ascend.com>
2829 * st_dm_mode.m4: New file. From Johan Danielsson.
2831 1998-08-02 Jim Meyering <meyering@ascend.com>
2833 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
2834 in acconfig.h manually.
2836 1998-07-31 Paul Eggert <eggert@twinsun.com>
2838 * st_mtim.m4: New file.
2840 1998-07-28 Jim Meyering <meyering@ascend.com>
2842 * utimes.m4: Undef stat.
2844 1998-07-25 Jim Meyering <meyering@ascend.com>
2846 * utime.m4 (jm_FUNC_UTIME): New file and macro.
2847 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
2849 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
2851 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
2852 uid and gid actually remain unchanged.
2854 1998-07-07 Jim Meyering <meyering@ascend.com>
2856 * jm-glibc-io.m4: Remove fclose_unlocked.
2858 1998-07-04 Jim Meyering <meyering@ascend.com>
2860 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
2861 to prove that this macro can be used in packages without regex.c.
2863 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2865 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
2868 1998-07-03 Jim Meyering <meyering@ascend.com>
2870 * gettext.m4: Add -lintl if it's found to be necessary.
2872 * gettext.m4: New file -- from gettext-0.10.35.
2873 * lcmessage.m4: Likewise.
2874 * progtest.m4: Likewise.
2876 * regex.m4 (jm_WITH_REGEX): New file and macro.
2877 * jm-macros.m4: Require the new macro.
2879 1998-06-29 Jim Meyering <meyering@ascend.com>
2881 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
2882 for the definition of NGROUPS (used in a system header included
2885 1998-06-28 Jim Meyering <meyering@ascend.com>
2887 * ls-mntd-fs.m4: New file.
2888 * fstypename.m4: New file.
2890 * jm-macros.m4: Require the new macro.
2891 * jm-glibc-io.m4: New file.
2893 1998-05-19 Jim Meyering <meyering@ascend.com>
2895 * jm-macros.m4: Add jm_FUNC_LCHOWN.
2896 * lchown.m4: New file.
2898 * Makefile.am.in: New file.
2899 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
2901 1998-05-14 Jim Meyering <meyering@ascend.com>
2903 * Makefile.am (EXTRA_DIST): Add them.
2904 * jm-macros.m4: New file.
2905 * utimbuf.m4: New file.
2907 1998-05-12 Jim Meyering <meyering@ascend.com>
2909 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
2911 1998-05-11 Jim Meyering <meyering@ascend.com>
2913 * isc-posix.m4: New file.
2915 1998-05-10 Jim Meyering <meyering@ascend.com>
2917 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
2919 1998-05-09 Jim Meyering <meyering@ascend.com>
2921 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
2922 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
2925 * ssize_t.m4: New file.
2926 * mktime.m4: Remove file -- the new automake has this now.
2928 1998-04-26 Jim Meyering <meyering@ascend.com>
2930 * assert.m4: New file.
2931 * Makefile.am (EXTRA_DIST): Add assert.m4.
2933 1998-04-05 Jim Meyering <meyering@ascend.com>
2935 * prereq.m4 (jm_PREREQ_REGEX): New macro.
2936 (jm_PREREQ): Use it here.
2938 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
2940 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
2943 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
2945 * prereq.m4: New file.
2946 * error.m4: New file.
2947 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
2949 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
2951 * getline.m4: Don't set am_cv_func_working_getline before the
2952 cache-check for the same variable -- that defeated the purpose of
2953 the test; the test program was never run. This was a problem only
2954 on systems with losing getline functions -- HP-UX 10.20 is one.
2955 Reported by Bjorn Helgaas.
2957 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
2959 * Makefile.am (EXTRA_DIST): Add perl.m4.
2961 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
2963 * Makefile.am (EXTRA_DIST): Add const.m4.
2965 * const.m4: New file. Use an initializer in this declaration
2966 typedef int charset[2]; const charset x;
2967 Reported by Bob Glickstein.
2969 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
2971 * chown.m4: Fix reversed types on -1 args to chown.
2974 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
2976 * check-decl.m4: s/DECLARATION_/DECL_/g.
2977 Add lseek and memchr.
2979 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
2980 T.E.Dickey <dickey@clark.net> said that some older preprocessors
2981 have a 20-character limit on names.
2983 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
2985 * inttypes_h.m4: New file.
2986 * uintmax_t.m4: New file.
2987 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.