1 2004-04-14 Jim Meyering <jim@meyering.net>
3 * jm-macros.m4: Require cu_PREREQ_STAT_PROG.
5 * prereq.m4: Move prerequisite function for src/stat.c to ...
6 * stat-prog.m4 (cu_PREREQ_STAT_PROG): New file. Contents from prereq.m4.
8 2004-04-13 Jim Meyering <jim@meyering.net>
10 Change `jm_' in AC_DEFINE'd names to `gl_'. Update all uses.
12 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
13 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4:
14 * dos.m4, error.m4, fpending.m4, fstypename.m4, fsusage.m4:
15 * ftruncate.m4, getdate.m4, getgroups.m4, gettext.m4, glibc21.m4:
16 * group-member.m4, human.m4, intmax.m4, intmax_t.m4, inttostr.m4:
17 * inttypes_h.m4, jm-macros.m4, jm-mktime.m4, jm-winsz1.m4:
18 * jm-winsz2.m4, lchown.m4, lib-check.m4, link-follow.m4, longlong.m4:
19 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
20 * memchr.m4, memcmp.m4, mkstemp.m4, mountlist.m4, nanosleep.m4:
21 * path-concat.m4, perl.m4, prereq.m4, putenv.m4, quotearg.m4:
22 * regex.m4, stat.m4, stdint_h.m4, strftime.m4, strtoimax.m4:
23 * strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4, uintmax_t.m4:
24 * ulonglong.m4, unlink-busy.m4, unlocked-io.m4, uptime.m4, utimbuf.m4:
25 * utime.m4, utimens.m4, utimes-null.m4, vasnprintf.m4, xstrtoimax.m4:
26 * xstrtol.m4, xstrtoumax.m4: Change jm_ to gl_ in AC_DEFINE'd names.
28 2004-03-27 Paul Eggert <eggert@twinsun.com>
30 * utimecmp.m4: New file.
31 * prereq.m4 (jm_PREREQ): Require gl_UTIMECMP.
33 2004-04-07 Paul Eggert <eggert@twinsun.com>
35 * jm-macros.m4 (jm_MACROS): Check for fdatasync within
36 -lrt and -lposix4, so that it can be used in Solaris 2.5.1 and later.
38 2004-03-30 Paul Eggert <eggert@twinsun.com>
40 * c-stack.m4, getline.m4, getndelim2.m4, mbswidth.m4, po.m4,
41 strdup.m4, xsize.m4: Sync from gnulib.
43 * allocsa.m4, cloexec.m4, eealloc.m4, inttostr.m4, mbstate_t.m4:
44 New files, from gnulib.
46 * prereq.m4 (jm_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR.
48 2004-03-31 Jim Meyering <jim@meyering.net>
50 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
51 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
52 * xalloc.m4: Likewise.
54 * realloc.m4: Remove file, since now it does no more than
55 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
56 the `configure.ac' section of module/realloc.
57 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
59 2004-02-29 Paul Eggert <eggert@twinsun.com>
61 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
62 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
63 Require AM_STDBOOL_H and gl_TIMESPEC instead.
64 Require gl_CLOCK_TIME.
66 2004-03-07 Paul Eggert <eggert@twinsun.com>
68 * Makefile.am.in (Makefile.am):
69 Don't use $<, as it doesn't work with Solaris make.
71 2004-01-29 Jim Meyering <jim@meyering.net>
73 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
74 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
75 on some systems one must include <grp.h> before it.
76 Reported by Christian Krackowizer.
78 2004-01-16 Jim Meyering <jim@meyering.net>
80 * onceonly.m4: Sync with version from gettext-0.13.1.
82 2003-10-08 Paul Eggert <eggert@twinsun.com>
86 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
88 2003-08-26 Bruno Haible <bruno@clisp.org>
92 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
93 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
94 followed by '#define fnmatch fnmatch_posix' gives an error.
96 2004-01-14 Paul Eggert <eggert@twinsun.com>
98 * posixv.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
100 2004-01-13 Jim Meyering <jim@meyering.net>
102 * gettext.m4, lib-ld.m4, lib-prefix.m4, nls.m4, po.m4:
103 Update from gettext-0.13.1.
104 * intmax.m4, isc-posix.m4, printf-posix.m4, size_max.m4, xsize.m4:
105 New files. From gettext-0.13.1.
107 2004-01-11 Paul Eggert <eggert@twinsun.com>
109 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): Move
110 the documentation from 'configure' into 'config.hin',
111 so that 'configure --help' isn't burdened by it and
112 we don't have to worry about its formatting there.
113 Reword the documentation so that it's more succinct
114 and can be run together into a single paragraph.
116 2004-01-12 Jim Meyering <jim@meyering.net>
118 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
120 2003-12-20 Jim Meyering <jim@meyering.net>
122 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
124 * open-max.m4 (UTILS_SYS_OPEN_MAX): Remove file. No longer used.
126 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
127 value, $ac_cv_search_crypt, if it's "none required".
129 2003-12-19 Jim Meyering <jim@meyering.net>
131 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
132 if no library is required.
134 2003-12-18 Jim Meyering <jim@meyering.net>
136 * search-libs.m4 (AC_SEARCH_LIBS): Remove file/macro, now that
137 this replacement is no longer needed. Besides, this macro has
138 no effect with autoconf-2.58, since `undefine' in package-supplied
139 .m4 files is no longer honored. Reported by Andreas Schwab.
141 Remove now-unnecessary (and unused) files. They also used `undefine'.
142 * isc-posix.m4 (AC_ISC_POSIX): Remove file.
143 * getloadavg.m4 (gl_FUNC_GETLOADAVG): Remove file.
144 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
145 not gl_FUNC_GETLOADAVG.
147 2003-11-08 Jim Meyering <jim@meyering.net>
149 * inttypes.m4: Sync from gnulib (this file was previously empty,
150 to work around some sort of problem).
152 2003-11-08 Alexandre Duret-Lutz <adl@gnu.org>
154 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
155 value, $ac_cv_search_nanosleep, if it's "none required".
157 2003-11-05 Paul Eggert <eggert@twinsun.com>
159 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
161 2003-11-05 Jim Meyering <jim@meyering.net>
163 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
164 * free.m4: New file, from gnulib.
166 * exitfail.m4, host-os.m4, strndup.m4: Update from gnulib.
168 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
169 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
171 2003-10-13 Paul Eggert <eggert@twinsun.com>
173 * xalloc.m4: Import latest version from gnulib.
175 2003-10-06 Jim Meyering <jim@meyering.net>
177 * ftw.m4: Remove now-unused file.
179 2003-10-05 Jim Meyering <jim@meyering.net>
181 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
183 2003-09-17 Paul Eggert <eggert@twinsun.com>
186 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
187 to avoid spurious warnings like "AC_RUN_IFELSE was called before
188 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
190 2003-09-12 Paul Eggert <eggert@twinsun.com>
192 More patches to assume C89 or better.
194 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
195 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
196 * userspec.m4 (gl_USERSPEC): Likewise.
197 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
198 * xstrtod.m4 (gl_XSTRTOD): Likewise.
199 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
200 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
202 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
203 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
204 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
205 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
206 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
207 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
210 2003-09-12 Paul Eggert <eggert@twinsun.com>
212 * error.m4 (gl_ERROR): Don't check for vprintf.
213 Require AC_FUNC_STRERROR_R rather than invoking it.
215 2003-09-12 Paul Eggert <eggert@twinsun.com>
217 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
219 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
220 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
221 Include <string.h>, <stdlib.h> unconditionally.
222 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
223 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
224 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
226 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlb.h
228 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
229 and AC_MINIX, too, so that their extensions are available.
231 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
232 This macro has been superseded by gl_BACKUPFILE.
234 2003-09-12 Jim Meyering <jim@meyering.net>
236 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
237 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
238 * readtokens.m4: New file, from gnulib
240 * makepath.m4: Likewise.
241 * long-options.m4: Likewise.
242 * idcache.m4: Likewise.
243 * getugroups.m4: Likewise.
245 2003-09-11 Paul Eggert <eggert@twinsun.com>
247 More patches to assume C89 or better.
248 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
249 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
250 string.h, memchr, STDC_HEADERS.
252 2003-09-10 Bruno Haible <bruno@clisp.org>
254 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
255 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
256 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
257 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
258 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
259 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
261 2003-09-09 Paul Eggert <eggert@twinsun.com>
263 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
264 * getopt.m4 (gl_GETOPT): Don't check for string.h.
265 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
266 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
268 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
270 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
271 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
272 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
273 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
274 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
275 * memcoll.m4 (gl_MEMCOLL): Likewise.
276 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
277 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
279 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
280 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
281 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
282 C headers, or for string.h.
283 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
284 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
285 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
286 headers, memory.h, stdlib.h, string.h, strings.h.
287 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
288 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
289 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
291 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
292 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
294 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
295 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
296 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
297 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
299 2003-09-09 Derek Robert Price <derek@ximbiot.com>
301 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
304 2003-09-08 Paul Eggert <eggert@twinsun.com>
306 Assume C89 or better; remove K&R cruft.
307 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
308 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
309 string.h, getenv, malloc.
310 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
312 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
313 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
314 do not check for strerror.
315 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
316 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
317 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
318 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
320 2003-08-27 Jim Meyering <jim@meyering.net>
322 * mkstemp.m4: Require that the system mkstemp be able to create
323 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
324 would fail after 32. Reported by Danny Levinson. Details here:
325 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
327 2003-08-19 Jim Meyering <jim@meyering.net>
329 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
330 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
332 2003-08-18 Paul Eggert <eggert@twinsun.com>
334 * same.m4 (gl_SAME): Do not check for stdlib.h or string.h or free.
337 2003-08-18 Jim Meyering <jim@meyering.net>
339 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
340 * lib-ld.m4: Likewise.
343 2003-08-18 Paul Eggert <eggert@twinsun.com>
344 and Jim Meyering <jim@meyering.net>
346 It turns out that we need AM_NLS and AM_PO_SUBDIRS after all;
347 otherwise po/POTFILES and po/Makefile aren't built by 'configure'.
348 I'm not sure why I didn't catch this earlier; most likely some
349 leftover build files. Sorry about that.
350 * gettextext.m4 (AM_NLS, AM_PO_SUBDIRS): Remove definitions.
351 * nls.m4, po.m4: New files, taken from gnulib / gettext.
353 2003-08-16 Paul Eggert <eggert@twinsun.com>
357 * gettextext.m4: New file.
359 * atexit.m4, backupfile.m4, canon-host.m4, clock_time.m4,
360 closeout.m4, dirname.m4, dup2.m4, euidaccess.m4, exclude.m4,
361 exitfail.m4, file-type.m4, fileblocks.m4, filemode.m4, getdate.m4,
362 gethostname.m4, getloadavg.m4, getopt.m4, getpagesize.m4,
363 getpass.m4, getusershell.m4, hard-locale.m4, hash.m4, malloc.m4,
364 memchr.m4, memcpy.m4, memmove.m4, memrchr.m4, memset.m4,
365 modechange.m4, mountlist.m4, obstack.m4, path-concat.m4,
366 pathmax.m4, physmem.m4, posixtm.m4, posixver.m4, quote.m4,
367 quotearg.m4, readlink.m4, readutmp.m4, realloc.m4, rmdir.m4,
368 rpmatch.m4, safe-read.m4, safe-write.m4, same.m4, save-cwd.m4,
369 savedir.m4, settime.m4, sha.m4, sig2str.m4, stdio-safer.m4,
370 stpcpy.m4, strcase.m4, strcspn.m4, strdup.m4, strndup.m4,
371 strnlen.m4, strpbrk.m4, strstr.m4, strtod.m4, strtoimax.m4,
372 strtol.m4, strtoll.m4, strtoul.m4, strtoull.m4, strtoumax.m4,
373 strverscmp.m4, ulonglong.m4, unicodeio.m4, unistd-safer.m4,
374 userspec.m4, xalloc.m4, xgetcwd.m4, xreadlink.m4, xstrtod.m4,
375 xstrtol.m4, yesno.m4: New files, from gnulib.
377 * acl.m4, check-decl.m4, chown.m4, c-stack.m4, d-ino.m4,
378 d-type.m4, fileblocks.m4, fsusage.m4, ftruncate.m4, getcwd.m4,
379 getgroups.m4, getline.m4, getndelim2.m4, gettext.m4,
380 gettimeofday.m4, group-member.m4, host-os.m4, iconv.m4,
381 intmax_t.m4, inttypes-pri.m4, jm-macros.m4, lchown.m4, lib-ld.m4,
382 lib-link.m4, lib-prefix.m4, longdouble.m4, longlong.m4,
383 ls-mntd-fs.m4, lstat.m4, mbrtowc.m4, mbswidth.m4, memcmp.m4,
384 mkdir-slash.m4, mkstemp.m4, nanosleep.m4, onceonly.m4, prereq.m4,
385 progtest.m4, putenv.m4, readdir.m4, rename.m4, stat.m4, tzset.m4,
386 utimbuf.m4, utime.m4, vasnprintf.m4, xstrtoimax.m4, xstrtoumax.m4:
389 2003-08-15 Jim Meyering <jim@meyering.net>
391 * utimes.m4 (gl_FUNC_UTIMES): Use `conftest.utimes' as the test
392 file name, not `x'. The former will be removed automatically.
394 2003-08-13 Jim Meyering <jim@meyering.net>
396 * README: Remove file.
397 * Makefile.am.in: Simplify.
398 (Makefile.am): Remove README.
400 2003-08-10 Jim Meyering <jim@meyering.net>
402 * utimes.m4 (gl_FUNC_UTIMES): New file.
403 * utimens.m4: Require gl_FUNC_UTIMES.
404 Don't check for utime or utimes.
406 * utimes.m4: Removed.
407 * utimes-null.m4: Renamed from utimes.m4.
409 2003-08-06 Paul Eggert <eggert@twinsun.com>
411 * prereq.m4 (jm_PREREQ): Require gl_UTIMENS.
412 * utimens.m4: New file.
414 2003-08-08 Paul Eggert <eggert@twinsun.com>
416 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF):
417 Solaris 2.5.1 needs -lw to get the wcslen function.
419 2003-08-08 Paul Eggert <eggert@twinsun.com>
421 Use new gnulib 'extensions' module.
422 * extensions.m4, unlocked-io.m4: New files, from gnulib.
423 * gnu-source.m4, jm-glibc-io.m4: Remove.
424 * timespec.m4: Merge from gnulib.
426 2003-08-08 Paul Eggert <eggert@twinsun.com>
428 * jm-macros.m4 (jm_MACROS): Replace jm_INCLUDED_REGEX([lib/regex.c])
430 Replace jm_FUNC_MKTIME with gl_FUNC_MKTIME.
431 Remove redundant AC_FUNC_FNMATCH_GNU, jm_FUNC_MKTIME.
432 Remove AC_FUNC_VPRINTF.
435 2003-08-05 Paul Eggert <eggert@twinsun.com>
437 * jm-macros.m4 (jm_MACROS): Use gl_GETNDELIM2 rather than
438 checking for getdelim.
439 (jm_CHECK_ALL_TYPES): Use gt_TYPE_SSIZE_T for ssize_t rather
440 than rolling our own.
441 Merge getline from gnulib.
442 * getline.m4: Merge from gnulib.
443 * getndelim2.m4, ssize_t.m4: New files, from gnulib.
445 2003-08-04 Paul Eggert <eggert@twinsun.com>
447 * regex.m4: Merge with gnulib.
448 (gl_REGEX): New macro.
449 (jm_INCLUDED_REGEX): Don't assume Latin-1 encoding of source code.
450 * restrict.m4: Merge with gnulib.
451 (gl_C_RESTRICT): Renamed from ACX_C_RESTRICT. All uses changed.
452 Rename cache vars to gl_cv_*. Incorporate latest Autoconf CVS tricks.
454 2003-08-05 Paul Eggert <eggert@twinsun.com>
456 * gnu-source.m4: New file, taken from gnulib, with support
457 added for __EXTENSIONS__ a la Solaris.
458 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Call gl_TIMESPEC rather
459 than jm_CHECK_TYPE_STRUCT_TIMESPEC.
460 * st_mtim.m4: Sync with gnulib (white space change only).
461 * timespec.m4: Sync with gnulib, except also require
464 2003-08-05 Paul Eggert <eggert@twinsun.com>
466 * prereq.m4 (jm_PREREQ_PHYSMEM, jm_PREREQ_STAT): Ignore headers
467 that are present but cannot be compiled. This avoids spurious warnings
468 on Solaris 9 sparc with Forte Developer 7 C 5.4.
470 2003-08-04 Paul Eggert <eggert@twinsun.com>
472 Merge fnmatch module from gnulib.
473 * fnmatch.m4: New file, from gnulib.
474 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FNMATCH_GNU
475 instead of AC_FUNC_ERROR_AT_LINE.
477 2003-08-04 Paul Eggert <eggert@twinsun.com>
479 * error.m4: Sync from gnulib.
481 2003-07-23 Jim Meyering <jim@meyering.net>
483 * lstat.m4, mkstemp.m4, regex.m4, stat.m4: Normalize naming of Sun
484 operating systems in comments, e.g., SunOS4 -> SunOS 4,
485 Solaris5.9 -> Solaris 9. From Paul Eggert.
487 2003-07-18 Paul Eggert <eggert@twinsun.com>
489 * jm-macros.m4 (jm_MACROS): Invoke gl_MEMCOLL.
490 * memcoll.m4: New file, from gnulib.
491 Based on a patch from Andreas Schwab.
493 2003-07-14 Jim Meyering <jim@meyering.net>
495 * Makefile.am.in: Correct comment on first line.
497 2003-07-12 Jim Meyering <jim@meyering.net>
499 * jm-macros.m4 (OPTIONAL_BIN_ZCRIPTS): Remove unused variable.
501 2003-07-10 Jim Meyering <jim@meyering.net>
503 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_VASPRINTF and
506 * longdouble.m4, signed.m4, vasnprintf.m4, vasprintf.m4, wchar_t.m4:
507 * wint_t.m4: New files, in support of new asprintf use. From gnulib.
509 * stdint_h.m4: New file.
510 * inttypes_h.m4: New file.
511 * uintmax_t.m4: New file.
512 * intmax_t.m4: New file.
513 * inttypes.m4: Remove file. Use intmax_t.m4 and uintmax_t.m4
514 from gnulib, instead.
516 2003-06-09 Jim Meyering <jim@meyering.net>
518 * tzset.m4 (gl_FUNC_TZSET_CLOBBER): Also define gmtime.
519 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Likewise.
520 Suggestion from Paul Eggert.
522 2003-06-08 Jim Meyering <jim@meyering.net>
524 * tzset.m4 (gl_FUNC_TZSET_CLOBBER): New file/macro.
526 * strftime.m4 (_jm_STRFTIME_PREREQS): Require gl_FUNC_TZSET_CLOBBER.
528 2003-06-07 Jim Meyering <jim@meyering.net>
530 * strftime.m4: Update from gnulib.
531 * tm_gmtoff.m4: New file, used by strftime.m4.
532 * mktime.m4: New file. From gnulib.
534 2003-06-06 Jim Meyering <jim@meyering.net>
536 * jm-macros.m4: Require gl_FUNC_ALLOCA.
537 * alloca.m4: New file, from gnulib.
539 * stdbool.m4: Update from gnulib.
541 2003-06-04 Paul Eggert <eggert@twinsun.com>
543 Merge human.c etc. from gnulib.
544 * human.m4: New file, from gnulib.
545 * prereq.m4 (jm_PREREQ): Use gl_HUMAN, not jm_PREREQ_HUMAN.
546 (jm_prereq_HUMAN): Remove.
548 2003-06-02 Jim Meyering <jim@meyering.net>
550 * jm-macros.m4 (jm_MACROS): Require AM_STDBOOL_H.
552 2003-05-26 Jim Meyering <jim@meyering.net>
554 * dirfd.m4 (UTILS_FUNC_DIRFD): Merge in change from gnulib,
555 fixing an M4 quoting bug.
557 * lib-ld.m4 (AC_LIB_PROG_LD_GNU): Use TAB-SP, not SP-TAB
559 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
561 2003-05-06 Jim Meyering <jim@meyering.net>
563 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for the
564 declaration of getcwd *before* checking for the getcwd kernel bug.
565 Otherwise, configure-time `checking ...' messages would be intermixed.
567 2003-05-02 Jim Meyering <jim@meyering.net>
569 * readdir.m4 (GL_FUNC_READDIR): Revive dead file. Change name to
570 have GL_ (not jm_) prefix. Adjust cache variables similarly.
571 Create 500 rather than just 300 files, to exercise bug on
573 * jm-macros.m4 (jm_MACROS): Require GL_FUNC_READDIR.
575 2003-04-25 Jim Meyering <jim@meyering.net>
577 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): If PATH_MAX
578 is not defined, don't run the test, and don't use the wrapper.
579 Otherwise, on the Hurd, it would take a long time to create
580 and remove a hierarchy about 4000 levels deep.
581 Based on a patch from Robert Millan.
583 2003-04-22 Jim Meyering <jim@meyering.net>
586 * gettext.m4: Change an occurrence of [ \t] to [\t ].
588 2003-04-07 Jim Meyering <jim@meyering.net>
590 * prereq.m4 (jm_PREREQ_STAT): Add prerequisites and #includes
593 2003-04-02 Jim Meyering <jim@meyering.net>
595 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
597 2003-03-19 Jim Meyering <jim@meyering.net>
599 * ftw.m4 (AC_FUNC_FTW): Require AC_HEADER_STAT.
601 2003-03-17 Richard Dawe <rich@phekda.freeserve.co.uk>
603 * jm-macros.m4 (jm_MACROS): Include $(EXEEXT) in DF_PROG's program
604 name, since automake only adds $(EXEEXT) to programs in its *_PROGRAMS.
605 Arrange to compile the corresponding stub function if fchdir is missing.
607 2003-03-18 Jim Meyering <jim@meyering.net>
609 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
610 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
611 systems would end up using the latter. MOUNTED_GETMNTENT1 support
612 is inadequate on such systems: 1) detecting whether a file system
613 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
614 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
615 merely /MOUNT_POINT. Reported by Mike Jetzer.
617 2003-03-17 Jim Meyering <jim@meyering.net>
619 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
620 that is guaranteed to be `no'. Use `no_such_member' to indicate
621 that condition, rather than `-1' which is slightly misleading.
622 Change the name of the cache variable to have the gl_ prefix.
623 Prompted by a patch from Richard Dawe for DJGPP.
625 2003-03-14 Jim Meyering <jim@meyering.net>
627 * prereq.m4 (jm_PREREQ): Also forbid the gl_[A-Z] prefix.
628 Don't require jm_PREREQ_C_STACK.
630 2003-03-13 Paul Eggert <eggert@twinsun.com>
633 * onceonly.m4 (m4_quote): New macro.
634 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
635 Quote AC_FOREACH variable-expansions properly.
637 2003-03-13 Jim Meyering <jim@meyering.net>
639 * jm-macros.m4 (jm_MACROS): Arrange to compile the corresponding stub
640 function if any of the following is missing: fchown, lstat, readlink.
643 2003-03-07 Jim Meyering <jim@meyering.net>
645 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
646 using the latest version from cvs. This avoids problems with #line
647 directives using a vendor (Sun) compiler.
649 * jm-macros.m4: Don't require AC_SYS_MMAP_STACK.
650 * mmap-stack.m4 (AC_SYS_MMAP_STACK): Remove file.
652 2003-03-06 Jim Meyering <jim@meyering.net>
654 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for
655 declaration of getcwd.
657 2003-03-04 Jim Meyering <jim@meyering.net>
659 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): New macro.
660 * jm-macros.m4: Require GL_FUNC_GETCWD_PATH_MAX.
662 `df /some/mount-point' no longer hangs when an unrelated hard-mount
664 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
665 /proc/mounts until it finds one with matching device number. This is
666 unnecessary when the FILE argument *is* a mount point. No stat call
667 is necessary in that case. So, disable the statvfs-testing code on
668 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
669 as RedHat bug# 84846.
671 2003-02-27 Jim Meyering <jim@meyering.net>
673 * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for `table' function.
674 Reported by Kaveh Ghazi.
676 * prereq.m4 (gl_SYS__SYSTEM_CONFIGURATION): New function.
677 (jm_PREREQ_PHYSMEM): Check for new headers and functions.
678 Use gl_SYS__SYSTEM_CONFIGURATION.
679 With suggestions from Kaveh Ghazi.
681 2003-02-19 Jim Meyering <jim@meyering.net>
683 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
684 to 1MB, so as not to render systems with no stack size limit (e.g.,
685 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
687 2003-02-17 Jim Meyering <jim@meyering.net>
689 * prereq.m4 (jm_PREREQ_PHYSMEM): Undo last change, since
690 Kaveh Ghazi found a better way to get the required information.
691 Add check for sys/sysmp.h.
693 2003-02-15 Jim Meyering <jim@meyering.net>
695 * mmap-stack.m4: New file.
697 * jm-macros.m4: Require AC_SYS_MMAP_STACK.
699 Add Irix6 support to physmem.c.
700 * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for sys/sysget.h
702 Also check for sysget.
703 Reported by Kaveh Ghazi.
705 2003-02-12 Jim Meyering <jim@meyering.net>
707 * restrict.m4 (ACX_C_RESTRICT): Remove #ifndef -- so now this
708 macro also checks for support when using a C++ compiler.
709 Also, remove the test for SGI's __restrict.
710 Suggested by Steven G. Johnson.
712 * regex.m4 (jm_PREREQ_REGEX): Require ACX_C_RESTRICT.
714 * restrict.m4 (ACX_C_RESTRICT): Minor syntactic changes:
715 Split long lines, use AC_COMPILE_IFELSE, indent, use `case'
716 instead of nested `if's, remove unnecessary quotes.
718 * restrict.m4 (ACX_C_RESTRICT): New macro.
719 Copied directly from the URL in the comments.
720 By Steven G. Johnson.
722 2003-02-09 Jim Meyering <jim@meyering.net>
724 * check-decl.m4 (jm_CHECK_DECLS): Add euidaccess.
726 2003-02-03 Jim Meyering <jim@meyering.net>
728 * c-stack.m4: Include <unistd.h>. On some systems,
729 it is required for the definition of _SC_PAGESIZE.
731 2003-02-02 Jim Meyering <jim@meyering.net>
733 * onceonly.m4: New file. From gnulib.
735 * regex.m4 (jm_PREREQ_REGEX): New function, from gnulib.
736 (jm_INCLUDED_REGEX): Use it.
737 * prereq.m4 (jm_PREREQ_REGEX): Remove.
739 2003-01-31 Jim Meyering <jim@meyering.net>
741 * open-max.m4 (UTILS_SYS_OPEN_MAX): New file/macro.
742 * jm-macros.m4 (jm_MACROS): Require UTILS_SYS_OPEN_MAX.
744 2003-01-29 Jim Meyering <jim@meyering.net>
746 * regex.m4: Detect broken re_search in e.g. glibc-2.2.93.
748 2003-01-23 Jim Meyering <jim@meyering.net>
750 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
751 from working on systems without dirfd (at least Irix and OSF1/Tru64).
753 Merge in change by Bruno Haible from gnulib.
754 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
756 2003-01-16 Jim Meyering <jim@meyering.net>
758 * regex.m4: The `regex' struct is both input and output.
759 Initialize it before each use. Patch by Tim Waugh.
761 2003-01-15 Jim Meyering <jim@meyering.net>
763 * jm-macros.m4: Require AC_FUNC_FTW.
765 2003-01-12 Jim Meyering <jim@meyering.net>
769 2003-01-11 Jim Meyering <jim@meyering.net>
771 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): New file and macro.
772 * jm-macros.m4: Require AC_FUNC_CANONICALIZE_FILE_NAME.
773 (jm_MACROS): No longer check for resolvepath or canonicalize_file_name.
775 2002-12-15 Jim Meyering <jim@meyering.net>
777 * jm-glibc-io.m4n: Remove now-unused file.
778 * Makefile.am.in (Makefile.am): Remove jm-glibc-io.m4
781 2002-12-11 Jim Meyering <jim@meyering.net>
783 * jm-glibc-io.m4: Maintain this file manually rather than generating it.
784 Generating it caused too much trouble. From gnulib.
786 2002-11-19 Jim Meyering <jim@meyering.net>
788 * jm-macros.m4: Require Autoconf-2.56.
790 2002-09-30 Akim Demaille <akim@epita.fr>
792 * prereq.m4: Use AC_REQUIRE everywhere it is possible.
793 (jm_PREREQ_CANON_HOST): Remove duplicates.
795 2002-11-10 Jim Meyering <jim@meyering.net>
797 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(raise).
799 2002-10-30 Paul Eggert <eggert@twinsun.com>
801 * getgroups.m4 (jm_FUNC_GETGROUPS):
802 Fix typo: cv_func_getgroups_works -> ac_cv_func_getgroups_works.
804 2002-10-07 Paul Eggert <eggert@twinsun.com>
806 * prereq.m4 (jm_PREREQ_HUMAN): Check for locale.h, localeconv,
807 AC_HEADER_STDBOOL. No need to check for limits.h since it's in
808 freestanding C89. No need to check for stdlib.h or string.h since
809 autoconf does this now.
811 2002-10-12 Paul Eggert <eggert@twionsun.com>
813 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Remove fenv.h.
815 2002-09-29 Jim Meyering <jim@meyering.net>
817 * gettext.m4 (AM_INTL_SUBDIR): Don't require gt_HEADER_INTTYPES_H.
818 It's not necessary with autoconf-2.54.
820 2002-09-28 Jim Meyering <jim@meyering.net>
822 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
823 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
824 * jm-macros.m4 (jm_MACROS): Don't set GETGROUPS_LIB here; now it's
825 done via getgroups.m4's wrapper function.
827 * strerror_r.m4: Remove file -- now it's part of autoconf-2.54.
828 Reported by Akim Demaille.
830 2002-09-25 Jim Meyering <jim@meyering.net>
832 * gettext.m4: Upgrade to gettext-0.11.5.
834 2002-09-07 Bruno Haible <bruno@clisp.org>
836 * host-os.m4 (UTILS_HOST_OS): Add a case for freebsd*-gnu*.
838 2002-09-17 Jim Meyering <jim@meyering.net>
840 * jm-macros.m4 (jm_MACROS): Require gt_INTTYPES_PRI.
841 * inttypes-pri.m4 (gt_INTTYPES_PRI): New file, mostly from gettext.
843 2002-09-16 Jim Meyering <jim@meyering.net>
845 * prereq.m4: Forbid symbols matching ^jm_[A-Z].
846 (jm_PREREQ_QUOTEARG): Add jm_FUNC_MEMCMP.
849 * error.m4 (jm_PREREQ_ERROR): Check for libintl.h.
850 Reported by Akim Demaille.
852 2002-09-13 Jim Meyering <jim@meyering.net>
854 * jm-macros.m4 (jm_MACROS): Require autoconf-2.54.
856 2002-09-09 Jim Meyering <jim@meyering.net>
858 * getloadavg.m4: Remove file -- now it's part of autoconf-2.53c.
859 * jm-macros.m4: Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
860 AC_FUNC_GETLOADAVG where to find getloadavg.c.
862 2002-09-03 Jim Meyering <jim@meyering.net>
864 * gnu-source.m4: Remove file -- now it's part of autoconf-2.53c.
865 * mbstate_t.m4: Likewise.
866 * fnmatch.m4: Likewise.
868 2002-08-05 Jim Meyering <jim@meyering.net>
870 * jm-winsz1.m4: Also change use of $am_cv_sys_posix_termios
871 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
873 2002-08-03 Jim Meyering <jim@meyering.net>
875 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
876 Reported by mkc@mathdogs.com.
878 2002-08-01 Jim Meyering <jim@meyering.net>
880 * prereq.m4 (jm_PREREQ_TEMPNAME): lib/tempname.c may use uintmax_t,
881 so require jm_AC_TYPE_UINTMAX_T. Patch by Joe Orton.
883 2002-07-28 Jim Meyering <jim@meyering.net>
885 * jm-macros.m4: Don't require jm_FUNC_READDIR.
886 * readdir.m4 (jm_FUNC_READDIR): Remove file/macro. No longer needed.
888 2002-07-27 Jim Meyering <jim@meyering.net>
890 * prereq.m4 (jm_PREREQ_READUTMP): Don't check just
891 `struct utmpx.ut_exit' and `struct utmp.ut_exit'. Instead, check
892 all combinations of utmp/utmpx and ut_termination/e_termination
895 2002-07-23 Jim Meyering <jim@meyering.net>
897 * c-bs-a.m4 (AC_C_BACKSLASH_A): Remove file, now that autoconf
900 2002-07-20 Jim Meyering <jim@meyering.net>
902 * intdiv0.m4: New file. From gettex-0.11.3.
904 * jm-macros.m4: Require autoconf-2.53b.
905 Use new macros AC_FUNC_MALLOC and AC_FUNC_REALLOC,
906 in place of jm_-prefixed ones. Thanks, Akim!
907 * malloc.m4: Remove file, now that autoconf provides this macro.
908 * realloc.m4: Likewise.
910 2002-07-18 gettextize <bug-gnu-gettext@gnu.org>
912 * gettext.m4: Upgrade to gettext-0.11.3.
913 * iconv.m4: Upgrade to gettext-0.11.3.
914 * isc-posix.m4: Upgrade to gettext-0.11.3.
915 * lcmessage.m4: Upgrade to gettext-0.11.3.
916 * lib-link.m4: Upgrade to gettext-0.11.3.
918 2002-07-17 Jim Meyering <jim@meyering.net>
920 * boottime.m4: New file. Extracted from sh-utils' configure.ac
921 and extended to work also with *BSD systems.
923 2002-07-15 Jim Meyering <jim@meyering.net>
925 FreeBSD support for uname and uptime.
926 * jm-macros.m4 (jm_MACROS): Check for the sysctl function.
927 (jm_CHECK_ALL_HEADERS): Check for sys/sysctl.h.
928 Suggestion from Bruno Haible.
930 2002-06-11 Paul Eggert <eggert@twinsun.com>
932 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
934 2002-06-22 Jim Meyering <jim@meyering.net>
936 * c-stack.m4: New file, from diffutils-2.8.2.
937 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
939 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
940 now that configure.ac uses AC_GNU_SOURCE.
941 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
942 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
944 Update to latest tools. Suggestions from Paul Eggert.
945 * stdbool.m4: New file, from diffutils-2.8.2.
946 * gnu-source.m4: Update from diffutils-2.8.2.
947 * fnmatch.m4: Likewise.
948 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
951 2002-06-21 Jim Meyering <jim@meyering.net>
953 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
954 * mbrtowc.m4: Likewise.
956 * mbstate_t.m4: Update from diffutils-2.8.2.
957 * mbswidth.m4: Reflect name change:
958 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
959 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
961 * lib-link.m4: Update from gettext-0.11.2.
962 * gettext.m4: Likewise.
964 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
965 From Alfred M. Szmidt.
967 2002-05-19 Paul Eggert <eggert@twinsun.com>
969 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
971 2002-06-07 Jim Meyering <jim@meyering.net>
973 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
974 They're needed at least for NetBSD 1.5.2.
975 ($statxfs_includes): Include those same headers.
976 ($statxfs_includes): Include sys/vfs.h if available.
977 ($statxfs_includes): Likewise for sys/statvfs.h.
978 Check for the following members in both structs statfs and statvfs:
979 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
981 2002-06-01 Jim Meyering <jim@meyering.net>
983 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
984 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
986 2002-05-28 Jim Meyering <jim@meyering.net>
988 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
989 Reported by Volker Borchert.
991 2002-05-27 Jim Meyering <jim@meyering.net>
993 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
996 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
997 use the replacement function; it wouldn't resolve at link time.
998 Reported by Volker Borchert.
1000 2002-04-30 Jim Meyering <jim@meyering.net>
1002 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
1004 2002-04-29 Paul Eggert <eggert@twinsun.com>
1006 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
1007 Do not check for alloca.h (no longer used) or stdbool.h (was never
1008 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
1010 2002-04-28 Paul Eggert <eggert@twinsun.com>
1012 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
1014 2002-04-29 Jim Meyering <jim@meyering.net>
1016 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
1017 * prereq.m4: Add jm_PREREQ_STRNLEN.
1018 Use AC_FUNC_STRNLEN here instead.
1020 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
1021 With autoconf-2.53a, it's part of AC_PROG_CC.
1023 2002-04-28 Paul Eggert <eggert@twinsun.com>
1025 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
1026 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
1028 2002-04-24 Jim Meyering <jim@meyering.net>
1030 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
1031 (jm_PREREQ): Use it.
1033 * getloadavg.m4: Check for these headers: locale.h unistd.h
1034 mach/mach.h fcntl.h.
1035 Check for this function: setlocale.
1037 2002-04-16 Jim Meyering <jim@meyering.net>
1039 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
1040 ut_pid, ut_id, ut_exit.
1042 2002-04-12 Jim Meyering <jim@meyering.net>
1044 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
1045 check for f_type in sys/mount.h. Instead, just test for the existence
1046 of the getmntinfo function. Needed for Darwin 5.3.
1048 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
1049 This is necessary at least on Darwin 5.3.
1051 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
1052 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
1053 in the library, and that makes some versions of ranlib object.
1055 2002-04-09 Jim Meyering <jim@meyering.net>
1057 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
1058 to be more precise. Rather than saying we're checking whether the
1059 function `works', say what we're testing.
1060 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
1061 Reported by Bruno Haible.
1063 2002-02-27 Paul Eggert <eggert@twinsun.com>
1065 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
1066 Check for clock_settime.
1068 2002-02-25 Paul Eggert <eggert@twinsun.com>
1071 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
1072 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
1074 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
1076 * codeset.m4: Upgrade to gettext-0.11.
1077 * gettext.m4: Upgrade to gettext-0.11.
1078 * glibc21.m4: Upgrade to gettext-0.11.
1079 * iconv.m4: Upgrade to gettext-0.11.
1080 * isc-posix.m4: Upgrade to gettext-0.11.
1081 * lcmessage.m4: Upgrade to gettext-0.11.
1082 * lib-ld.m4: New file, from gettext-0.11.
1083 * lib-link.m4: New file, from gettext-0.11.
1084 * lib-prefix.m4: New file, from gettext-0.11.
1085 * progtest.m4: Upgrade to gettext-0.11.
1087 2002-02-15 Paul Eggert <eggert@twinsun.com>
1089 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
1090 (jm_PREREQ): Use it.
1092 2002-01-26 Jim Meyering <jim@meyering.net>
1094 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
1095 * strnlen.m4: Remove file, now that it's part of autoconf.
1097 2002-01-22 Paul Eggert <eggert@twinsun.com>
1099 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
1101 2002-01-19 Jim Meyering <jim@meyering.net>
1103 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
1104 Remove useless quotes: DF_PROG="df".
1105 * strnlen.m4: New file.
1107 2001-12-14 Jim Meyering <jim@meyering.net>
1109 * jm-macros.m4 (jm_MACROS): Check for iswspace.
1110 Suggestion from Bruno Haible.
1112 2001-11-20 Jim Meyering <jim@meyering.net>
1114 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
1115 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
1117 2001-11-19 Jim Meyering <jim@meyering.net>
1119 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
1120 directory. Use "conftestXXXXXX" as the template.
1121 Suggestion from Paul Eggert.
1123 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
1124 so the test doesn't mistakenly hit the max-open-files limit.
1126 2001-11-18 Jim Meyering <jim@meyering.net>
1128 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
1130 2001-11-17 Jim Meyering <jim@meyering.net>
1132 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
1133 Prompted by a report from Bob Proulx.
1135 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
1136 Instead, require UTILS_FUNC_MKSTEMP.
1138 2001-11-11 Jim Meyering <jim@meyering.net>
1140 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
1141 Now, that's done as part of AC_FUNC_STRTOD.
1143 2001-10-22 Paul Eggert <eggert@twinsun.com>
1145 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
1146 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
1148 2001-11-10 Jim Meyering <jim@meyering.net>
1150 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
1151 (jm_PREREQ): Use it.
1153 2001-11-09 Jim Meyering <jim@meyering.net>
1155 * jm-macros.m4: Require autoconf-2.52f.
1156 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
1157 Use these AC_-prefixed names, not the AM_-prefixed ones.
1159 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
1161 2001-11-04 Jim Meyering <jim@meyering.net>
1163 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
1165 2001-11-03 Jim Meyering <jim@meyering.net>
1167 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
1170 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
1171 know the name of the variable in the macro definition.
1173 2001-11-01 Jim Meyering <jim@meyering.net>
1175 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
1176 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
1178 2001-10-20 Paul Eggert <eggert@twinsun.com>
1180 * error.m4 (jm_PREREQ_ERROR):
1181 Do not invoke AC_CHECK_FUNCS with strerror_r, as
1182 AC_FUNC_STRERROR_R does that.
1183 Check for strerror declaration.
1185 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
1186 are supposed to have them these days.
1187 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
1188 Merge changes from latest Autoconf CVS.
1189 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
1190 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
1191 POSIX decided to standardize on the int flavor of strerror_r.
1193 2001-09-30 Jim Meyering <jim@meyering.net>
1195 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
1196 `struct fsstat' has the `f_fstypename' member.
1197 Use that to define FS_TYPE, which is now used to make
1198 the getfsstat link test tighter.
1200 2001-09-29 Jim Meyering <jim@meyering.net>
1202 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1203 [one-argument getmntent function]): Include stdio.h before mntent.h.
1204 SunOS 4.1.x needs it for the declaration of `FILE'.
1205 Patch by Volker Borchert.
1207 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1208 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
1209 sys/fs_types.h, and make the link-test for getfsstat guard #include
1210 directives with appropriate #if HAVE_*_H tests so that we can
1211 detect getfsstat on Apple Darwin1.3.7 systems.
1212 Reported by Nelson Beebe.
1213 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
1215 2001-09-28 Paul Eggert <eggert@twinsun.com>
1217 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
1218 #defines strtoimax. Also treat the other strto* functions
1221 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1222 Check for strtoul and strtoumax,
1223 as those declarations are made even in the signed case.
1224 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
1225 Likewise, for strtol and strtoimax.
1227 2001-09-24 Jim Meyering <jim@meyering.net>
1229 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
1231 2001-09-23 Jim Meyering <jim@meyering.net>
1233 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
1234 instead of the mere test for existence of mntent.h. The latter
1235 would get a false-positive on AIX 3.4 systems.
1236 In the outer getmntent if-block, don't die if neither of the getmntent
1237 tests succeeds. Instead, just fall through and continue with the
1240 2001-09-22 Jim Meyering <jim@meyering.net>
1242 * gettext.m4: New file. From gettext.
1243 * lcmessage.m4: Sync with gettext -- this changes only comments.
1244 * progtest.m4: Likewise
1245 * isc-posix.m4: Decrement serial number to sync with gettext.
1246 * glibc21.m4: Likewise.
1248 * libintl.m4: Remove. No longer used.
1250 2001-09-20 Jim Meyering <jim@meyering.net>
1252 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
1254 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
1257 2001-09-17 Jim Meyering <jim@meyering.net>
1259 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
1260 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
1261 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
1262 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
1263 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
1264 whenever the right hand side need not be expanded by the shell.
1266 2001-09-16 Paul Eggert <eggert@twinsun.com>
1268 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
1269 library. It's not correct, as some older glibcs are buggy.
1270 fnmatch wasn't fixed until glibc 2.2.
1272 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
1273 special shell magic here.
1275 2001-09-16 Jim Meyering <jim@meyering.net>
1277 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
1278 * jm-macros.m4: Require it.
1280 2001-09-15 Jim Meyering <jim@meyering.net>
1282 * jm-macros.m4: Check for help2man.
1284 2001-09-11 Jim Meyering <jim@meyering.net>
1286 * host-os.m4 (UTILS_HOST_OS): New file/macro.
1287 The body, by Paul Eggert, was moved here from configure.in.
1288 * jm-macros.m4: Require UTILS_HOST_OS.
1290 2001-09-04 Paul Eggert <eggert@twinsun.com>
1292 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
1293 (jm_PREREQ): Use it.
1295 2001-09-03 Paul Eggert <eggert@twinsun.com>
1297 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
1298 sys/param.h, as pathmax.h includes them.
1300 2001-09-03 Paul Eggert <eggert@twinsun.com>
1302 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
1303 (jm_PREREQ_XGETCWD): New macro.
1305 * getcwd.m4: New file.
1307 2001-09-01 Jim Meyering <jim@meyering.net>
1309 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
1312 2001-08-30 Paul Eggert <eggert@twinsun.com>
1314 Simplify code, partly by assuming autoconf 2.52 semantics.
1316 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
1318 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
1319 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
1321 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
1322 Move AC_REQUIRE to next-to-top level, to avoid confusion.
1323 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
1324 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
1325 * jm-macros.m4 (jm_MACROS): Likewise.
1327 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
1329 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1330 Quote first arg of AC_DEFUN.
1331 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
1332 since they are needed to parse the include file even if we need
1333 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
1334 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
1335 but with opposite signedness.
1337 2001-08-30 Paul Eggert <eggert@twinsun.com>
1339 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
1340 (jm_PREREQ_EXCLUDE): New macro.
1342 2001-08-26 Jim Meyering <jim@meyering.net>
1344 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
1346 * xstrtoimax.m4: New file.
1347 * xstrtoumax.m4: Add comments explaining why we
1348 AC_REPLACE_FUNCS(strtol).
1350 2001-06-20 Paul Eggert <eggert@twinsun.com>
1352 * inttypes.m4: Add AC_PREREQ(2.13).
1353 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
1354 (jm_AC_TYPE_INTMAX_T): New macro.
1355 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
1357 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
1359 * longlong.m4: Renamed from ulonglong.m4.
1360 * inttypes.m4: Renamed from inttypes_h.m4.
1361 * uintmax_t.m4: Removed.
1363 2001-08-12 Jim Meyering <jim@meyering.net>
1365 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
1366 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
1367 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
1368 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
1369 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
1370 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
1371 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
1372 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
1373 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
1374 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
1375 utime.m4, utimes.m4, xstrtoumax.m4:
1376 Quote the first argument in each use of AC_DEFUN.
1378 2001-08-05 Jim Meyering <jim@meyering.net>
1380 * jm-macros.m4: Require autoconf-2.52.
1382 2001-08-03 Paul Eggert <eggert@twinsun.com>
1384 The following changes are from gettext 0.10.39 as maintained by
1385 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
1387 * codeset.m4: Upgrade to serial AM1.
1388 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
1389 all uses changed. Quote first arg of AC_DEFUN.
1390 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
1392 * iconv.m4: Upgrade to serial AM2.
1393 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
1394 Add --with-libconv-prefix.
1395 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
1396 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
1397 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
1398 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
1399 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
1401 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
1402 * getline.m4 (AM_FUNC_GETLINE): Likewise.
1403 * glibc21.m4 (jm_GLIBC21): Likewise.
1404 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
1405 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
1406 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
1407 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
1408 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
1409 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
1411 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
1414 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
1415 not the default value.
1417 2001-06-25 Bruno Haible <haible@clisp.cons.org>
1418 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
1419 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
1420 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
1421 Also check for iswcntrl, used for wcwidth fallback.
1422 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
1425 2001-08-03 Jim Meyering <jim@meyering.net>
1427 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
1428 as it was in the original. Reported by Paul Eggert.
1430 2001-07-16 Jim Meyering <jim@meyering.net>
1432 * gettimeofday.m4: New file.
1433 Prompted by a report from Bernhard Baehr.
1435 2001-07-15 Jim Meyering <jim@meyering.net>
1437 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
1438 Now it's in ../Makefile.cfg.
1440 2001-07-04 Jim Meyering <jim@meyering.net>
1442 * Makefile.am.in (glibc-io.struct): New target. Rework the code
1443 that generates jm-glibc-io.m4 so that it doesn't trigger any make
1446 2001-07-02 Jim Meyering <jim@meyering.net>
1448 The following changes were prompted by suggestions from Bruno Haible.
1450 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
1452 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
1453 definition of EXTRA_DIST.
1454 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
1455 ensure that the generated file is created/updated whenever the list
1456 of $(unlocked_functions) is changed.
1457 (jm-glibc-io.m4): New rule.
1458 (unlocked-io.h): New rule -- currently unused.
1460 2001-06-24 Jim Meyering <jim@meyering.net>
1462 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
1463 unmatched right bracket, rather than kludging it with an extra,
1464 falsely-matching quote in a comment. Patch by Akim Demaille.
1466 2001-05-27 Jim Meyering <jim@meyering.net>
1468 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
1469 Check for ut_type in struct utmp.
1471 2001-05-22 Jim Meyering <jim@meyering.net>
1473 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
1474 now that we use the package-supplied version unconditionally.
1475 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
1477 2001-05-21 Jim Meyering <jim@meyering.net>
1479 * regex.m4: Change a couple backticks to single quotes to avoid shell
1482 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1484 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
1486 2001-05-11 Paul Eggert <eggert@twinsun.com>
1488 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
1489 Don't bother to check library strftime, since
1490 we'll be using our own my_strftime function anyway.
1491 Define my_strftime instead of strftime.
1493 2001-05-15 Jim Meyering <jim@meyering.net>
1495 * regex.m4: Use proper quoting so brackets appear in the test program.
1496 Reported by, and with help from, Bruno Haible.
1498 2001-05-13 Jim Meyering <jim@meyering.net>
1500 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
1502 2000-11-26 Paul Eggert <eggert@twinsun.com>
1504 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
1506 2001-04-21 Jim Meyering <jim@meyering.net>
1508 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
1511 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1513 * ftruncate.m4: Check for chsize.
1514 Link with ftruncate.o unconditionally if ftruncate is missing.
1515 This was required when cross-compiling to i586-mingw32msvc.
1517 2001-03-24 Jim Meyering <jim@meyering.net>
1519 * jm-macros.m4: Require autoconf-2.49d.
1521 2001-03-20 Bruno Haible <haible@clisp.cons.org>
1523 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
1525 2001-03-17 Jim Meyering <jim@meyering.net>
1527 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
1528 now that the version in autoconf is equivalent.
1529 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
1531 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
1532 Suggestion from Akim Demaille.
1534 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
1535 (jm_PREREQ_TEMPNAME): New function.
1537 2001-02-25 Paul Eggert <eggert@twinsun.com>
1539 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
1540 lacks mkstemp. Compile our own tempname.c if we compile our own
1541 mkstemp.c, as mkstemp relies on tempname.
1543 2001-03-01 Jim Meyering <jim@meyering.net>
1545 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
1546 AH_VERBATIM really does output its argument verbatim.
1548 2001-02-18 Paul Eggert <eggert@twinsun.com>
1550 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
1552 2001-02-17 Jim Meyering <jim@meyering.net>
1554 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
1555 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
1556 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
1559 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
1560 rather than AC_CACHE_VAL.
1562 2001-02-17 Paul Eggert <eggert@twinsun.com>
1564 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
1565 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
1566 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
1567 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
1569 2001-02-07 Jim Meyering <jim@meyering.net>
1571 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
1573 2001-02-05 Jim Meyering <jim@meyering.net>
1575 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
1576 it includes the patch required for `large file' support with at least
1577 HP-UX's 10.20 /bin/cc.
1579 2001-02-03 Jim Meyering <jim@meyering.net>
1581 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
1582 AS_IF, now that it works once again (mysteriously).
1583 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1585 2001-01-30 Jim Meyering <jim@meyering.net>
1587 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
1588 * chown.m4: Rename conftestchown to conftest.chown.
1589 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
1590 * utimes.m4: s/conftestdata/conftest.data/
1591 Inspired by Pavel Roskin's change in autoconf.
1593 2001-01-27 Jim Meyering <jim@meyering.net>
1595 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
1597 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1599 2001-01-26 Jim Meyering <jim@meyering.net>
1601 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
1602 quotearg.c includes it.
1604 2001-01-15 Bruno Haible <haible@clisp.cons.org>
1606 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
1609 2001-01-20 Jim Meyering <jim@meyering.net>
1611 Be sure that headers are checked before used in code compiled
1612 for the type checks.
1613 * jm-macros.m4 (jm_MACROS): Remove all header checks.
1614 In place of that, invoke jm_CHECK_ALL_TYPES.
1615 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
1616 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
1617 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
1618 The check for ssize_t was mistakenly run before the test for unistd.h.
1620 The configure-time check for stdbool.h was missing.
1621 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
1622 (jm_PREREQ_HASH): New function.
1624 2001-01-17 Jim Meyering <jim@meyering.net>
1626 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
1628 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
1630 2001-01-14 Jim Meyering <jim@meyering.net>
1632 * rename.m4: Use temporary directories named conftestdir{,2}, not
1633 foo and bar. Create conftestdir/ in the script, not in the C code.
1634 Remove directories in the script, not in the C code.
1635 Remove conftestdir{,2} before trying to create the directory.
1636 Make the entire configure script fail if the mkdir fails.
1638 2001-01-02 Volker Borchert <bt@teknon.de>
1640 * rename.m4: New file.
1641 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
1643 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1645 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
1646 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
1647 so `make install' also works in VPATH builds.
1649 2001-01-01 Jim Meyering <jim@meyering.net>
1651 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
1652 on systems with utmpx.h. It's necessary for the declaration of utmp's
1653 ut_user member. Reported by Andreas Jaeger.
1655 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
1656 They are required for the declarations of getgrgid and getpwuid resp.
1657 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
1658 Reported by Andreas Jaeger.
1660 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1662 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
1663 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
1664 can be used in subdirectories.
1666 2000-12-26 Jim Meyering <jim@meyering.net>
1668 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
1671 2000-12-17 Jim Meyering <jim@meyering.net>
1673 * dos.m4 (jm_AC_DOS): New file and macro.
1674 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
1676 2000-12-06 Paul Eggert <eggert@twinsun.com>
1678 * off_t-format.m4: Remove this file.
1679 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
1681 2000-12-06 Jim Meyering <jim@meyering.net>
1683 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
1684 strtoull, we may well need the replacement strtoul, too.
1685 Check for declarations of strtoul and strtoull.
1686 Check for strtol. Mainly as a cue to cause automake to include
1687 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
1688 Check for limits.h -- strtol.c needs it.
1690 2000-12-02 Jim Meyering <jim@meyering.net>
1692 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
1693 * jm-macros.m4 (jm_MACROS): require it.
1695 2000-11-30 Jim Meyering <jim@meyering.net>
1697 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
1699 2000-11-30 Jim Meyering <jim@meyering.net>
1701 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
1703 2000-11-03 Bruno Haible <haible@clisp.cons.org>
1705 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
1707 2000-11-04 Jim Meyering <jim@meyering.net>
1709 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
1711 2000-10-29 Jim Meyering <jim@meyering.net>
1713 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
1714 * ls-mntd-fs.m4: Likewise
1716 2000-10-28 Jim Meyering <jim@meyering.net>
1718 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
1719 (jm_PREREQ_MEMCHR): New function.
1721 2000-10-21 Jim Meyering <jim@meyering.net>
1723 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
1724 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
1725 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
1727 2000-09-18 Jim Meyering <jim@meyering.net>
1729 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
1730 Otherwise, everyone ends up linking with -lelf for some configurations.
1731 Reported by Mike Stone.
1733 2000-08-26 Jim Meyering <jim@meyering.net>
1735 * jm-macros.m4: Use jm_FUNC_FPENDING.
1736 * fpending.m4: New file.
1738 2000-08-20 Jim Meyering <jim@meyering.net>
1740 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
1741 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
1742 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
1744 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1746 Improve fileutils installation on systems where running
1747 programs (like install) can't be unlinked.
1748 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
1749 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
1751 2000-08-06 Paul Eggert <eggert@twinsun.com>
1753 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
1754 not char, for compatibility with glibc 2.1.3 strftime.c.
1756 2000-07-23 Paul Eggert <eggert@twinsun.com>
1758 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
1760 2000-07-23 Jim Meyering <jim@meyering.net>
1762 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
1763 getgrgid, getpwuid, getuid.
1765 2000-07-16 Bruno Haible <haible@clisp.cons.org>
1767 * mbswidth.m4: New file.
1768 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
1770 2000-07-14 Jim Meyering <jim@meyering.net>
1772 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
1774 2000-07-10 Paul Eggert <eggert@twinsun.com>
1776 From a suggestion by Bruno Haible.
1777 * mbstate_t.m4 (AC_MBSTATE_T):
1778 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
1779 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
1780 and mbstate_t, to a single-part test that simply defines mbstate_t.
1781 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
1783 2000-07-10 Jim Meyering <jim@meyering.net>
1785 * strerror_r.m4: Mirror the correction made in autoconf.
1787 * gnu-source.m4: Output to confdefs.h directly.
1788 Suggestion from Akim Demaille.
1790 2000-07-09 Jim Meyering <jim@meyering.net>
1792 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
1793 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
1795 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
1796 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
1798 2000-07-05 Bruno Haible <haible@clisp.cons.org>
1800 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
1802 Include <ctype.h> for use of isalpha.
1804 2000-07-05 Paul Eggert <eggert@twinsun.com>
1805 and Bruno Haible <haible@clisp.cons.org>
1807 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
1808 only if the test for an object-type mbstate_t fails. This
1809 prevents us from mistakenly reporting that mbstate_t is a
1810 system object type after we "#define mbstate_t int" to work
1813 2000-07-04 Jim Meyering <jim@meyering.net>
1815 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
1816 of the deprecated AC_CHECKING.
1818 2000-07-03 Jim Meyering <jim@meyering.net>
1820 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
1822 2000-07-03 Paul Eggert <eggert@twinsun.com>
1824 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
1825 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
1827 2000-07-02 Jim Meyering <jim@meyering.net>
1829 * mbstate_t.m4: Also define mbstate_t, if necessary.
1831 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
1832 AC_LIBOBJ(function_name).
1833 * chown.m4: Likewise.
1834 * fnmatch.m4: Likewise.
1835 * ftruncate.m4: Likewise.
1836 * getgroups.m4: Likewise.
1837 * getline.m4: Likewise.
1838 * group-member.m4: Likewise.
1839 * jm-macros.m4: Likewise.
1840 * lstat.m4: Likewise.
1841 * malloc.m4: Likewise.
1842 * memcmp.m4: Likewise.
1843 * nanosleep.m4: Likewise.
1844 * putenv.m4: Likewise.
1845 * realloc.m4: Likewise.
1846 * regex.m4: Likewise.
1847 * stat.m4: Likewise.
1848 * strftime.m4: Likewise.
1850 2000-07-01 Jim Meyering <jim@meyering.net>
1852 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
1855 2000-06-17 Bruno Haible <haible@clisp.cons.org>
1857 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
1858 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
1860 2000-07-01 Jim Meyering <jim@meyering.net>
1862 * uptime.m4: Put double quotes around use of $cross_compiling.
1864 2000-06-28 Jim Meyering <jim@meyering.net>
1866 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
1867 by quotearg.c, for which we perform this test. From Bruno Haible.
1869 2000-06-17 Bruno Haible <haible@clisp.cons.org>
1871 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
1872 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
1873 <utmpx.h> exists, put readutmp.o into LIBOBJS.
1875 2000-06-25 Jim Meyering <jim@meyering.net>
1877 * mbstate_t.m4: Include stdio.h before wchar.h to work around
1878 Linux header bug when _XOPEN_SOURCE is defined to 500.
1880 2000-06-24 Jim Meyering <jim@meyering.net>
1882 * strerror_r.m4: Revive this file -- to try out an experimental
1883 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
1884 for which strerror does return char*, but which lacks a conveniently
1885 accessible declaration of the function. If the compile-test says
1886 strerror_r doesn't work, then resort to a `run'-test that works on
1887 BeOS and segfaults on DEC Unix.
1889 2000-06-19 Paul Eggert <eggert@twinsun.com>
1891 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
1892 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
1894 2000-06-23 Jim Meyering <jim@meyering.net>
1896 * afs.m4: Add missing AC_MSG_RESULT.
1897 Reported by Bruno Haible.
1899 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
1900 Suggestion from Bruno Haible.
1902 2000-06-21 Jim Meyering <jim@meyering.net>
1904 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
1906 2000-06-18 Jim Meyering <jim@meyering.net>
1908 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
1910 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
1911 `checking whether...' message to be consistent with that of the
1914 2000-06-16 Bruno Haible <haible@clisp.cons.org>
1916 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
1918 2000-06-12 Jim Meyering <jim@meyering.net>
1920 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
1921 from autoconf, and tweak the latter to accept an optional argument.
1922 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
1923 the optional argument, `lib'.
1925 2000-06-08 Jim Meyering <jim@meyering.net>
1927 * largefile.m4: Remove file (now that it's part of autoconf).
1929 2000-06-04 Paul Eggert <eggert@twinsun.com>
1931 Rewrite largefile configuration so that we don't need to run
1932 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
1933 AC_CANONICAL_HOST in configure.in -- jmm]
1935 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
1936 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
1937 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
1938 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
1939 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
1941 Instead of inspecting the output of getconf, try to compile the
1942 test program without and with the macro definition.
1943 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
1944 for getconf. Instead, check for the needed flags by compiling
1947 2000-06-03 Jim Meyering <jim@meyering.net>
1949 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
1950 now that autoconf requires that.
1952 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
1953 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
1954 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
1956 2000-05-26 Bruno Haible <haible@clisp.cons.org>
1958 * glibc21.m4: New file.
1959 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
1961 2000-05-28 Jim Meyering <jim@meyering.net>
1963 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
1964 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1965 * stat.m4: Likewise.
1966 * lstat.m4: Likewise.
1967 * lstat-slash.m4: Remove file (absorbed into autoconf).
1969 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
1970 * strerror_r.m4: Remove file (absorbed into autoconf).
1972 2000-05-26 Jim Meyering <jim@meyering.net>
1974 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
1976 2000-05-24 Jim Meyering <jim@meyering.net>
1978 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
1979 autoconf requires that.
1980 * lib-check.m4: Likewise.
1981 * jm-macros.m4: Likewise.
1982 * strftime.m4: Likewise.
1984 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
1985 now that autoconf requires that.
1987 2000-05-22 Jim Meyering <jim@meyering.net>
1989 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1990 * lstat.m4: Likewise.
1992 2000-05-20 Jim Meyering <jim@meyering.net>
1994 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
1995 (jm_PREREQ): Use it.
1997 2000-05-09 Jim Meyering <jim@meyering.net>
1999 * gettext.m4: Rename this...
2000 * libintl.m4: ...to this.
2002 2000-05-06 Jim Meyering <jim@meyering.net>
2004 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
2005 (AC_REPLACE_FUNCS): Add strnlen.
2007 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
2008 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
2010 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
2011 AC_SEARCH_LIBS call for nanosleep.
2012 (LIB_NANOSLEEP): Set and AC_SUBST.
2014 2000-05-03 Paul Eggert <eggert@twinsun.com>
2016 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
2017 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
2018 2.1.3 bug. This avoids a clash when files like regex.c define
2021 2000-05-05 Jim Meyering <jim@meyering.net>
2023 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
2024 call for clock_gettime.
2025 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
2027 * search-libs.m4: Update from autoconf.
2029 su doesn't work on Solaris 2.6.
2030 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
2031 <shadow.h>. Reported by Dragos Harabor.
2033 2000-05-03 Jim Meyering <jim@meyering.net>
2035 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
2037 2000-05-02 Paul Eggert <eggert@twinsun.com>
2039 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
2040 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
2041 compile-time test, rather than inspecting host and OS, to
2042 decide whether to define _LARGEFILE_SOURCE.
2044 2000-05-01 Jim Meyering <jim@meyering.net>
2046 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
2048 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
2049 Based on a patch from Bruno Haible.
2051 2000-04-18 Jim Meyering <jim@meyering.net>
2053 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
2054 (jm_PREREQ): Use it.
2056 2000-04-17 Jim Meyering <jim@meyering.net>
2059 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
2060 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
2061 Suggestion from Akim Demaille.
2063 2000-04-14 Jim Meyering <jim@meyering.net>
2065 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
2066 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
2068 2000-04-13 Jim Meyering <jim@meyering.net>
2070 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
2071 to insert required #ifndef into config.h.in.
2072 Suggestion from Akim Demaille.
2074 2000-04-12 Jim Meyering <jim@meyering.net>
2076 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
2077 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
2078 Christian Krackowizer.
2080 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
2081 * jm-macros.m4 (_GNU_SOURCE): Define.
2082 (AC_SYS_LARGEFILE): Require.
2083 (AM_C_PROTOTYPES): Require.
2085 2000-04-05 Paul Eggert <eggert@twinsun.com>
2087 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
2088 IRIX if the installer said otherwise.
2090 2000-04-05 Jim Meyering <jim@meyering.net>
2092 Portability tweaks required for ultrix4.3.
2093 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
2094 (jm_CHECK_DECLS): Add getutent to the list of functions.
2095 (_jm_DECL_HEADERS): Add utmpx.h.
2096 From John David Anglin.
2098 * strftime.m4: Back out the 2000-04-02 change.
2099 Instead of that change, simply undefine putenv in the test program.
2101 2000-04-03 Jim Meyering <jim@meyering.net>
2103 * gettext.m4: Fix typo in comment.
2105 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
2106 textutils/configure.in). Suggestion from Paul Eggert.
2107 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
2109 2000-04-02 Paul Eggert <eggert@twinsun.com>
2111 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
2112 variable in the shell rather than using putenv, which isn't
2113 portable. This avoids the configure-time inter-test dependency
2114 on the potentially-renamed putenv function.
2116 2000-03-30 Paul Eggert <eggert@twinsun.com>
2118 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
2119 before checking struct stat.st_blksize, so that
2120 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
2122 2000-03-29 Paul Eggert <eggert@twinsun.com>
2124 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
2125 since strftime.c uses HAVE_STRFTIME to decide whether to use
2126 the underlying strftime.
2128 2000-03-10 Jim Meyering <jim@meyering.net>
2130 * lib-check.m4: Look for getspnam in -lgen, too.
2133 2000-02-02 Bruno Haible <haible@clisp.cons.org>
2135 * codeset.m4: New file.
2136 * iconv.m4: New file.
2137 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
2139 2000-03-04 Jim Meyering <jim@meyering.net>
2141 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
2142 for lib/localcharset.c.
2144 2000-03-03 Jim Meyering <jim@meyering.net>
2146 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
2148 2000-03-02 Jim Meyering <jim@meyering.net>
2150 * timespec.m4: Require AC_HEADER_TIME before the cache check so
2151 the messages come out on separate lines.
2153 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
2154 rather than jm_CHECK_DECLARATIONS.
2155 * decl.m4: Remove now-unused file.
2157 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
2159 2000-02-27 Jim Meyering <jim@meyering.net>
2161 * check-decl.m4: Add getenv to the list.
2163 2000-02-23 Jim Meyering <jim@meyering.net>
2165 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
2166 in place of my hack.
2168 2000-02-10 Jim Meyering <jim@meyering.net>
2170 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
2171 gnu_nanosleep to rpl_nanosleep.
2173 2000-02-09 Jim Meyering <jim@meyering.net>
2175 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
2176 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
2178 2000-02-08 Akim Demaille <akim@epita.fr>
2180 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
2181 `[' and `]' and remove uses of `changequote'.
2182 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
2183 (AC_SYS_LARGEFILE): Likewise.
2184 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
2185 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
2187 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
2188 * readdir.m4 (jm_FUNC_READDIR): Likewise
2189 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
2190 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
2192 2000-02-05 Jim Meyering <jim@meyering.net>
2194 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
2195 Remove explicit use of AC_HEADER_TIME. It is required by
2196 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
2197 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
2198 in autoconf whereby the expansion of the latter ended up preceding
2199 the expansion of its prerequisite, AC_HEADER_TIME.
2200 Reported by Volker Borchert.
2202 2000-02-03 Jim Meyering <jim@meyering.net>
2204 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
2206 2000-02-02 Jim Meyering <jim@meyering.net>
2208 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
2209 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
2210 Reported by Eli Zaretskii.
2212 2000-01-31 Jim Meyering <jim@meyering.net>
2214 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
2215 functions. Add the time.h and sys/time.h headers along with the
2216 AC_REQUIRE'ment of AC_HEADER_TIME.
2218 2000-01-30 Jim Meyering <jim@meyering.net>
2220 * lib-check.m4: Clean up some kludgy old shadow password tests.
2222 * prereq.m4 (utmp_includes): Define.
2223 Check for ut_user and ut_name members in both struct utmpx
2226 2000-01-29 Jim Meyering <jim@meyering.net>
2228 * lib-check.m4: New file containing library-related checks from
2229 fileutils and sh-utils (textutils had none).
2231 2000-01-28 Jim Meyering <jim@meyering.net>
2233 * perl.m4: Change format of warning message to look more like that
2234 from the missing script. Suggestion from François Pinard.
2236 2000-01-25 Jim Meyering <jim@meyering.net>
2238 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
2239 as time.h in the compile check.
2240 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
2241 Fix typo in cross-compiling case: s/yes/no/.
2243 2000-01-23 Jim Meyering <jim@meyering.net>
2245 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
2247 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
2248 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
2250 * fsusage.m4: New file. Extracted from fileutils/configure.in.
2251 s/space/ac_fsusage_space/.
2252 (jm_FILE_SYSTEM_USAGE): Take two parameters.
2254 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
2255 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
2256 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
2258 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
2259 AC_SUBST these here, rather than just in sh-util/configure.in, so
2260 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
2262 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
2263 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
2264 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
2265 (AC_SUBST(POW_LIBM)): Likewise.
2266 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
2268 2000-01-22 Jim Meyering <jim@meyering.net>
2270 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
2272 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
2274 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
2276 (AC_CHECK_HEADERS): Likewise for sh-utils.
2277 (AC_CHECK_HEADERS): Likewise for textutils.
2278 Merge the three lists of headers.
2280 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
2281 from fileutils' configure.in.
2283 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
2284 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
2286 * check-decl.m4: Use #if rather than #ifdef.
2287 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
2288 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
2289 (_jm_DECL_HEADERS): Define new function.
2290 (jm_CHECK_DECLARATIONS): Require it.
2292 2000-01-19 Jim Meyering <jim@meyering.net>
2294 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
2295 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
2296 defines `struct timespec' in <sys/time.h>
2298 * c-bs-a.m4: Remove uses of changequote altogether.
2299 Thanks to Akim for explaining.
2301 2000-01-16 Jim Meyering <jim@meyering.net>
2303 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
2304 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
2305 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
2306 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
2308 2000-01-16 Jim Meyering <jim@meyering.net>
2310 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
2311 because the latter didn't work.
2313 2000-01-15 Jim Meyering <jim@meyering.net>
2315 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
2316 (AC_REPLACE_FUNCS): Add memcpy and memset.
2317 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
2319 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
2321 2000-01-12 Jim Meyering <jim@meyering.net>
2323 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
2324 (jm_PREREQ): Use it.
2325 (jm_PREREQ_READUTMP): New macro.
2326 (jm_PREREQ): Use it.
2328 2000-01-11 Paul Eggert <eggert@twinsun.com>
2330 Quote multibyte characters correctly.
2331 * c-bs-a.m4: New file.
2332 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
2333 (jm_PREREQ): Use it.
2335 2000-01-11 Paul Eggert <eggert@twinsun.com>
2337 * uintmax_t.m4: Port to autoconf 2.13.
2339 2000-01-08 Jim Meyering <meyering@ascend.com>
2341 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
2342 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
2344 2000-01-04 Jim Meyering <meyering@ascend.com>
2346 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
2347 jm_STRUCT_DIRENT_D_TYPE.
2348 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
2349 jm_STRUCT_DIRENT_D_INO.
2350 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
2352 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
2353 * utime.m4: Likewise.
2355 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
2356 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
2358 2000-01-03 Paul Eggert <eggert@twinsun.com>
2360 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
2361 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
2363 2000-01-02 Jim Meyering <meyering@ascend.com>
2365 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
2366 remember if this is necessary.
2368 1999-12-26 Jim Meyering <meyering@ascend.com>
2370 * jm-macros.m4: Use it here.
2371 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
2373 1999-12-23 Jim Meyering <meyering@ascend.com>
2375 * jm-macros.m4: Check for clock_gettime (moved from
2376 fileutils/configure.in)
2377 Check for gettimeofday.
2379 1999-12-20 Jim Meyering <meyering@ascend.com>
2381 * strftime.m4: Remove kludge, now that I'm using the fixed
2382 autoconf-2.14a-1999-12-20.
2384 1999-12-19 Jim Meyering <meyering@ascend.com>
2386 * lstat-slash.m4: New file.
2387 * jm-macros.m4: Use the new macro:
2388 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2390 1999-12-07 Jim Meyering <meyering@ascend.com>
2392 * perl.m4: Require that File::Compare be available, too.
2393 Too many systems seem to lack it.
2395 * strftime.m4: Add checks for most of the cpp macros tested in
2396 GNU's strftime.c. Prompted by a patch from Paul Eggert.
2398 1999-11-18 Paul Eggert <eggert@twinsun.com>
2400 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
2401 problem with the QNX 4.25 shell, which doesn't propagate exit
2402 status of failed commands inside shell assignments.
2404 1999-11-17 Jim Meyering <meyering@ascend.com>
2406 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
2408 1999-11-07 Jim Meyering <meyering@ascend.com>
2410 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
2412 1999-11-06 Jim Meyering <meyering@ascend.com>
2414 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
2415 * jm-macros.m4 (jm_MACROS): Use it here.
2417 1999-11-05 Jim Meyering <meyering@ascend.com>
2419 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
2420 of textutils, fileutils, and sh-utils into this one (shared between
2421 those packages) file.
2422 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
2423 AC_STRUCT_ST_BLKSIZE.
2425 1999-11-03 Jim Meyering <meyering@ascend.com>
2427 * ssize_t.m4: Remove file. No longer needed since the new version of
2428 AC_CHECK_TYPE checks includes unistd.h.
2429 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
2430 Suggestion from Akim Demaille.
2432 1999-10-30 Jim Meyering <meyering@ascend.com>
2434 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
2436 * ls-mntd-fs.m4: Likewise.
2437 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
2438 * jm-winsz1.m4: Likewise.
2440 * const.m4: Remove file, since the fix made it into the experimental
2441 version of autoconf.
2442 * mktime.m4: Likewise.
2444 * check-type.m4: Remove file, now that the latest version of
2445 AC_CHECK_TYPE takes a third arg to specify additional #includes.
2447 * ssize_t.m4: New file, requires experimental version of autoconf.
2448 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
2451 1999-10-04 Jim Meyering <meyering@ascend.com>
2453 * jm-macros.m4: Don't require autoconf-2.14.1.
2455 1999-09-22 Paul Eggert <eggert@twinsun.com>
2457 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
2458 2.95.1 bug with HP-UX 10.20.
2460 1999-09-17 Jim Meyering <meyering@ascend.com>
2462 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
2463 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
2464 due to missing strdup (against sh-utils-2.0).
2466 1999-08-29 Jim Meyering <meyering@ascend.com>
2468 * jm-macros.m4: Require jm_BISON.
2469 * bison.m4: New file.
2471 1999-08-17 Paul Eggert <eggert@twinsun.com>
2473 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
2474 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
2476 1999-08-05 Jim Meyering <meyering@ascend.com>
2478 * getline.m4: Rename test file from conftestdata to conftest.data
2479 to avoid conflicts with `conftest' on 8+3 filesystems.
2480 Suggestion from Eli Zaretskii.
2482 1999-08-04 Jim Meyering <meyering@ascend.com>
2484 * jm-macros.m4: Move a 4-line block of code from the configure.in of
2485 fileutils and sh-utils (textutils's getline test was inadequate).
2486 (AM_FUNC_GETLINE): Run this test.
2487 (AC_CHECK_FUNCS): Check for getdelim.
2488 Reported by Bob Proulx.
2490 1999-08-02 Jim Meyering <meyering@ascend.com>
2492 * jm-macros.m4: Add a comment.
2494 1999-08-01 Jim Meyering <meyering@ascend.com>
2496 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
2498 1999-08-01 Paul Eggert <eggert@twinsun.com>
2500 * lfs.m4: Remove this file.
2501 * largefile.m4: New file. It contains the old contents of
2502 lfs.m4, except that all names with prefix AC_LFS have been
2503 changed to use the prefix AC_SYS_LARGEFILE instead, to be
2504 compatible with future autoconf versions. Also, some minor m4
2505 quoting problems have been fixed.
2507 1999-07-16 Paul Eggert <eggert@twinsun.com>
2509 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
2510 that we can shift, multiply and divide unsigned long long
2511 values; Ultrix cc can't do it.
2513 1999-07-14 Paul Eggert <eggert@twinsun.com>
2515 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
2516 <inttypes.h> defines strtoumax as a macro (and not as a
2519 1999-07-05 Paul Eggert <eggert@twinsun.com>
2521 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
2522 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
2523 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
2524 and simplify the shell code.
2526 1999-07-03 Paul Eggert <eggert@twinsun.com>
2528 * mktime.m4: New file, which is a preview of what should appear
2529 in the next public autoconf release.
2531 1999-07-20 Jim Meyering <meyering@ascend.com>
2533 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
2535 1999-07-15 Jim Meyering <meyering@ascend.com>
2537 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
2539 1999-05-22 Jim Meyering <meyering@ascend.com>
2541 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
2543 1999-05-20 Jim Meyering <meyering@ascend.com>
2545 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
2546 Add a colon after each `then' in case $4 is empty.
2548 1999-05-16 Jim Meyering <meyering@ascend.com>
2550 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
2552 1999-05-10 Jim Meyering <meyering@ascend.com>
2554 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
2556 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
2559 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2561 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
2563 1999-05-04 Paul Eggert <eggert@twinsun.com>
2565 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
2566 not CPPFLAGS, so that linking works correctly in IRIX.
2568 1999-04-30 Paul Eggert <eggert@twinsun.com>
2570 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
2572 1999-04-20 Jim Meyering <meyering@ascend.com>
2574 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
2575 AC_REPLACE xstroull if necessary. From Paul Eggert.
2576 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
2578 1999-04-20 Paul Eggert <eggert@twinsun.com>
2580 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
2581 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
2582 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
2583 jm_AC_TYPE_UNSIGNED_LONG_LONG.
2584 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
2586 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
2588 1999-04-18 Jim Meyering <meyering@ascend.com>
2590 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
2591 * jm-macros.m4: Use it.
2593 1999-04-06 Jim Meyering <meyering@ascend.com>
2595 * strftime.m4: Remove test for %f.
2597 1999-03-29 Jim Meyering <meyering@ascend.com>
2599 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
2600 superset of the AC_TYPE_* checks in the textutils, fileutils,
2601 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
2604 1999-03-28 Jim Meyering <meyering@ascend.com>
2606 * jm-macros.m4: Define GNU_PACKAGE here.
2607 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
2608 replaced e.g., in the *.sh files of the sh-utils.
2610 1999-03-20 Jim Meyering <meyering@ascend.com>
2612 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
2613 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
2614 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
2616 1999-03-19 Jim Meyering <meyering@ascend.com>
2618 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
2620 1999-03-12 Jim Meyering <meyering@ascend.com>
2622 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
2624 1999-03-07 Jim Meyering <meyering@ascend.com>
2626 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
2628 1999-02-17 Jim Meyering <meyering@ascend.com>
2630 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
2631 in macro definition. From Eli Zaretskii and Alain Magloire.
2633 1999-02-07 Jim Meyering <meyering@ascend.com>
2635 * group-member.m4: New file -- extracted from sh-utils' configure.in.
2637 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
2638 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
2640 1999-02-06 Jim Meyering <meyering@ascend.com>
2642 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
2643 * fnmatch.m4: Likewise.
2644 * getgroups.m4: Likewise.
2645 * lstat.m4: Likewise.
2646 * malloc.m4: Likewise.
2647 * putenv.m4: Likewise.
2648 * realloc.m4: Likewise.
2649 * regex.m4: Likewise.
2650 * stat.m4: Likewise.
2651 * strftime.m4: Likewise.
2652 Suggestion from Alain Magloire.
2654 * chown.m4: Use `.$ac_objext', not `.o'.
2655 * fnmatch.m4: Likewise.
2656 * getgroups.m4: Likewise.
2657 * getline.m4: Likewise.
2658 * lstat.m4: Likewise.
2659 * malloc.m4: Likewise.
2660 * memcmp.m4: Likewise.
2661 * putenv.m4: Likewise.
2662 * realloc.m4: Likewise.
2663 * regex.m4: Likewise.
2664 * stat.m4: Likewise.
2665 * strftime.m4: Likewise.
2666 Suggestion from Alain Magloire.
2668 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
2671 * regex.m4: Add a run-time Test for proper operation of
2674 1999-01-31 Jim Meyering <meyering@ascend.com>
2676 * getloadavg.m4: Check for locale.h and the function, setlocale.
2678 1999-01-30 Jim Meyering <meyering@ascend.com>
2680 * check-type.m4: Use 3-arg form of AC_DEFINE.
2682 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
2683 rather than my private copy, now that the official one is up to date.
2684 * mktime.m4: Remove file.
2686 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
2687 * uptime.m4: Likewise.
2688 * uintmax_t.m4: Likewise.
2690 1999-01-28 Jim Meyering <meyering@ascend.com>
2692 * jm-macros.m4: Use jm_AFS.
2693 * afs.m4: New file (from fileutils' configure.in).
2695 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
2696 * chown.m4: Likewise.
2697 * d-ino.m4: Likewise.
2698 * d-type.m4: Likewise.
2699 * fnmatch.m4: Likewise.
2700 * getgroups.m4: Likewise.
2701 * gettext.m4: Likewise.
2702 * jm-mktime.m4: Likewise.
2703 * jm-winsz2.m4: Likewise.
2704 * lcmessage.m4: Likewise.
2705 * ls-mntd-fs.m4: Likewise.
2706 * malloc.m4: Likewise.
2707 * memcmp.m4: Likewise.
2708 * putenv.m4: Likewise.
2709 * realloc.m4: Likewise.
2710 * st_mtim.m4: Likewise.
2711 * strftime.m4: Likewise.
2713 1999-01-16 Jim Meyering <meyering@ascend.com>
2715 * jm-macros.m4 (ARGMATCH_DIE): Define.
2716 (ARGMATCH_DIE_DECL): Define.
2718 1999-01-12 Jim Meyering <meyering@ascend.com>
2720 * Makefile.am.in: Rewrite to avoid using fmt.
2721 Reported by Lars Hecking.
2723 1999-01-10 Jim Meyering <meyering@ascend.com>
2725 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
2727 * inttypes_h.m4: Likewise.
2728 * lstat.m4: Likewise.
2729 * malloc.m4: Likewise.
2730 * readdir.m4: Likewise.
2731 * realloc.m4: Likewise.
2732 * st_dm_mode.m4: Likewise.
2733 * stat.m4: Likewise.
2734 * utimbuf.m4: Likewise.
2735 * utimes.m4: Likewise.
2737 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
2738 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
2739 comments in config.h.in are meaningful.
2741 * jm-macros.m4: Require autoconf-2.13 here.
2743 * regex.m4: By default, don't use the included regex.c on systems
2744 with glibc 2. Suggestion from Uli Drepper.
2746 1999-01-02 Jim Meyering <meyering@ascend.com>
2748 * jm-macros.m4: Replace strcasecmp and strncasecmp.
2750 1998-12-18 Jim Meyering <meyering@ascend.com>
2752 * Makefile.am.in (Makefile.am): Simplify rule.
2753 Based on a suggestion from Lars Hecking.
2755 1998-11-16 Jim Meyering <meyering@ascend.com>
2757 * lfs.m4: Double-quote the `uname...` expression.
2759 1998-11-16 Paul Eggert <eggert@twinsun.com>
2761 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
2763 1998-11-14 Jim Meyering <meyering@ascend.com>
2765 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
2766 * stat.m4: Likewise.
2768 1998-11-03 Jim Meyering <meyering@ascend.com>
2770 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
2771 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
2773 1998-10-18 Jim Meyering <meyering@ascend.com>
2775 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
2777 1998-10-17 Jim Meyering <meyering@ascend.com>
2779 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
2780 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
2781 calls for those previously hard-coded headers. Instead, take a new
2783 (jm_CHECK_DECLARATIONS): Reflect interface change.
2784 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
2785 (jm_CHECK_DECL_LOCALTIME_R): New macro.
2787 * mktime.m4: Test for spring-forward gap before long-running test.
2789 1998-10-14 Jim Meyering <meyering@ascend.com>
2791 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
2792 instead of "TZ=America/Vancouver". From Paul Eggert.
2794 1998-10-11 Jim Meyering <meyering@ascend.com>
2796 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
2797 This adds a test for a recently added compatibility fix for mktime.c.
2798 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
2800 1998-09-27 Jim Meyering <meyering@ascend.com>
2802 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
2804 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
2805 ../configure.in, including a change from Gordon Matzigkeit to allow
2806 cross-compiling for the Hurd.
2808 * glibc.m4: New file/macro to test for the GNU C Library
2809 versions 1 and 2. From Gordon Matzigkeit.
2812 1998-09-21 Jim Meyering <meyering@ascend.com>
2814 * chown.m4: Declare locals: before, after. From Andries Brouwer.
2816 1998-08-18 Paul Eggert <eggert@twinsun.com>
2818 Port nanosecond-resolution times to UnixWare 2.1.2 and
2819 pedantic Solaris 2.6.
2821 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
2823 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
2824 Generate name of ns member, instead of just 1 or undef.
2825 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
2827 1998-08-15 Jim Meyering <meyering@ascend.com>
2829 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
2830 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
2831 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
2832 instead of jm_TYPE_SSIZE_T.
2834 1998-08-12 Jim Meyering <meyering@ascend.com>
2836 * st_dm_mode.m4: New file. From Johan Danielsson.
2838 1998-08-02 Jim Meyering <meyering@ascend.com>
2840 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
2841 in acconfig.h manually.
2843 1998-07-31 Paul Eggert <eggert@twinsun.com>
2845 * st_mtim.m4: New file.
2847 1998-07-28 Jim Meyering <meyering@ascend.com>
2849 * utimes.m4: Undef stat.
2851 1998-07-25 Jim Meyering <meyering@ascend.com>
2853 * utime.m4 (jm_FUNC_UTIME): New file and macro.
2854 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
2856 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
2858 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
2859 uid and gid actually remain unchanged.
2861 1998-07-07 Jim Meyering <meyering@ascend.com>
2863 * jm-glibc-io.m4: Remove fclose_unlocked.
2865 1998-07-04 Jim Meyering <meyering@ascend.com>
2867 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
2868 to prove that this macro can be used in packages without regex.c.
2870 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2872 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
2875 1998-07-03 Jim Meyering <meyering@ascend.com>
2877 * gettext.m4: Add -lintl if it's found to be necessary.
2879 * gettext.m4: New file -- from gettext-0.10.35.
2880 * lcmessage.m4: Likewise.
2881 * progtest.m4: Likewise.
2883 * regex.m4 (jm_WITH_REGEX): New file and macro.
2884 * jm-macros.m4: Require the new macro.
2886 1998-06-29 Jim Meyering <meyering@ascend.com>
2888 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
2889 for the definition of NGROUPS (used in a system header included
2892 1998-06-28 Jim Meyering <meyering@ascend.com>
2894 * ls-mntd-fs.m4: New file.
2895 * fstypename.m4: New file.
2897 * jm-macros.m4: Require the new macro.
2898 * jm-glibc-io.m4: New file.
2900 1998-05-19 Jim Meyering <meyering@ascend.com>
2902 * jm-macros.m4: Add jm_FUNC_LCHOWN.
2903 * lchown.m4: New file.
2905 * Makefile.am.in: New file.
2906 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
2908 1998-05-14 Jim Meyering <meyering@ascend.com>
2910 * Makefile.am (EXTRA_DIST): Add them.
2911 * jm-macros.m4: New file.
2912 * utimbuf.m4: New file.
2914 1998-05-12 Jim Meyering <meyering@ascend.com>
2916 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
2918 1998-05-11 Jim Meyering <meyering@ascend.com>
2920 * isc-posix.m4: New file.
2922 1998-05-10 Jim Meyering <meyering@ascend.com>
2924 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
2926 1998-05-09 Jim Meyering <meyering@ascend.com>
2928 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
2929 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
2932 * ssize_t.m4: New file.
2933 * mktime.m4: Remove file -- the new automake has this now.
2935 1998-04-26 Jim Meyering <meyering@ascend.com>
2937 * assert.m4: New file.
2938 * Makefile.am (EXTRA_DIST): Add assert.m4.
2940 1998-04-05 Jim Meyering <meyering@ascend.com>
2942 * prereq.m4 (jm_PREREQ_REGEX): New macro.
2943 (jm_PREREQ): Use it here.
2945 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
2947 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
2950 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
2952 * prereq.m4: New file.
2953 * error.m4: New file.
2954 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
2956 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
2958 * getline.m4: Don't set am_cv_func_working_getline before the
2959 cache-check for the same variable -- that defeated the purpose of
2960 the test; the test program was never run. This was a problem only
2961 on systems with losing getline functions -- HP-UX 10.20 is one.
2962 Reported by Bjorn Helgaas.
2964 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
2966 * Makefile.am (EXTRA_DIST): Add perl.m4.
2968 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
2970 * Makefile.am (EXTRA_DIST): Add const.m4.
2972 * const.m4: New file. Use an initializer in this declaration
2973 typedef int charset[2]; const charset x;
2974 Reported by Bob Glickstein.
2976 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
2978 * chown.m4: Fix reversed types on -1 args to chown.
2981 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
2983 * check-decl.m4: s/DECLARATION_/DECL_/g.
2984 Add lseek and memchr.
2986 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
2987 T.E.Dickey <dickey@clark.net> said that some older preprocessors
2988 have a 20-character limit on names.
2990 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
2992 * inttypes_h.m4: New file.
2993 * uintmax_t.m4: New file.
2994 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.