1 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
3 * .cvsignore: Remove Makefile, dev-ino.m4, glibc2.m4, intdiv0.m4,
4 inttypes-h.m4, inttypes-pri.m4, jm-glibc-io.m4, lcmessage.m4,
5 lock.m4, printf-posix.m4, same-inode.m4, size_max.m4,
6 uintmax_t.m4, ulonglong.m4, visibility.m4, xsize.m4. Many of
7 these are put in automatically by ../bootstrap, but that's a
8 bootstrap bug that I plan to fix shortly.
10 2006-08-22 Bruno Haible <bruno@clisp.org>
13 * boottime.m4 (GNULIB_BOOT_TIME): Test also for utmp.h, utmpx.h,
14 OS.h. Don't require to have utmp.h or utmpx.h. Enable boottime
15 support if <OS.h> is found.
17 2006-08-22 Jim Meyering <jim@meyering.net>
19 * .cvsignore: Add files that are now generated by ../bootstrap.
21 2006-08-21 Paul Eggert <eggert@cs.ucla.edu>
24 Remove from CVS, since ../bootstrap generates it automatically.
26 2006-08-20 Paul Eggert <eggert@cs.ucla.edu>
28 Add a bootstrap procedure, so that the CVS version contains fewer
29 files and we bootstrap the rest from gnulib, gettext, etc.
30 * check-decl.m4 (gl_CHECK_DECLS):
31 Don't include stdio.h, string.h, stdlib.h, unistd.h, sys/time.h,
32 time.h. Use AC_CHECK_DECLS_ONCE for free, getenv, geteuid, getlogin,
33 getuid, lseek, malloc, memchr, realloc. Don't check for getutent,
34 memrchr, nanosleep, stpcpy, strndup, strnlen, strstr, strtoul,
36 (_gl_DECL_HEADERS): Remove; all uses removed.
37 * jm-macros.m4 (gl_MACROS): Move AC_PREREQ into configure.ac
38 for the benefit of gnulib-tool. Call gl_INIT.
39 Do not call or require the following, since gnulib now does this:
40 gl_HOST_OS, gl_ASSERT, gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE,
41 gl_CHECK_TYPE_STRUCT_DIRENT_D_INO, gl_FUNC_DIRFD, AC_FUNC_ACL,
42 gl_FUNC_LCHMOD, gl_FUNC_LCHOWN, gl_FUNC_RMDIR_NOTEMPTY,
43 gl_FUNC_CHOWN, AC_FUNC_LSTAT, AC_FUNC_STRERROR_R,
44 gl_FUNC_GROUP_MEMBER, gl_AC_FUNC_LINK_FOLLOWS_SYMLINK,
45 gl_FUNC_FPENDING, gt_INTTYPES_PRI, gl_ULLONG_MAX,
46 gl_FUNC_GETGROUPS, AC_FUNC_ALLOCA, AC_FUNC_GETLOADAVG,
47 gl_SYS_PROC_UPTIME, gl_FUNC_FTRUNCATE, AC_REPLACE_FUNCS(raise),
48 AC_CHECK_FUNCS_ONCE(gettimeofday), AC_FUNC_GETTIMEOFDAY_CLOBBER,
49 AC_FUNC_CLOSEDIR_VOID, AC_FUNC_STRTOD, gl_GLIBC21, AM_ICONV,
50 gl_FUNC_UNLINK_BUSY_TEXT, gl_FSUSAGE, gl_MOUNTLIST, gl_AC_DOS,
51 AC_FUNC_CANONICALIZE_FILE_NAME, gl_FUNC_FREE, gl_FUNC_CHDIR_LONG,
52 gl_FUNC_XFTS, gl_ROOT_DEV_INO, gl_VERSION_ETC, gl_DIACRIT,
53 gl_TYPE_SOCKLEN_T, gl_FPRINTFTIME, gl_CHDIR_SAFER.
54 Don't check for fchmod, hasmntopt, isascii, lchown, listmntent,
55 mempcpy, realpath, wcrtomb, tzset.
56 (gl_CHECK_ALL_HEADERS): Don't check for sys/statvfs.h, sys/vfs.h,
58 (gl_CHECK_ALL_TYPES): Require AC_TYPE_UNSIGNED_LONG_LONG_INT.
59 Don't check for struct stat.st_blksize.
60 Don't require AC_STRUCT_ST_DM_MODE, gt_TYPE_SSIZE_T,
61 gl_AC_TYPE_UINT32_T, gl_AC_TYPE_UINTMAX_T, gl_AC_TYPE_UINTPTR_T,
62 gl_AC_TYPE_UNSIGNED_LONG_LONG.
63 * prereq.m4 (gl_PREREQ): Require gl_FUNC_XFTS, gl_ROOT_DEV_INO.
64 Don't require AM_STDBOOL_H, gl_ALLOCSA, gl_BACKUPFILE,
65 gl_BASENAME, gl_C_STRTOD, gl_C_STRTOLD, gl_CANON_HOST, gl_CLOEXEC,
66 gl_CLOSE_STREAM, gl_CLOSEOUT, gl_DIRNAME, gl_ERROR, gl_EXCLUDE,
67 gl_EXITFAIL, gl_FCNTL_SAFER, gl_FILEBLOCKS, gl_FILEMODE,
68 gl_FILE_NAME_CONCAT, gl_FILE_TYPE, gl_FSUSAGE, gl_FOPEN_SAFER,
69 gl_FUNC_ALLOCA, gl_FUNC_ATEXIT, gl_FUNC_DUP2, gl_FUNC_FNMATCH_GNU,
70 gl_FUNC_GETHOSTNAME, gl_FUNC_GETLINE, AC_FUNC_GETLOADAVG,
71 gl_FUNC_GETPASS_GNU, gl_FUNC_GETUSERSHELL, gl_FUNC_LSTAT,
72 gl_FUNC_MEMCHR, gl_FUNC_MEMCPY, gl_FUNC_MEMMOVE, gl_FUNC_MEMPCPY,
73 gl_FUNC_MEMRCHR, gl_FUNC_MEMSET, gl_FUNC_MKDIR_TRAILING_SLASH,
74 gl_FUNC_MKTIME, gl_FUNC_MKSTEMP,
75 gl_FUNC_READLINK, gl_FUNC_RMDIR, gl_FUNC_RPMATCH, gt_FUNC_SETENV,
76 gl_FUNC_SIG2STR, gl_FUNC_SNPRINTF, gl_FUNC_STPCPY,
77 gl_FUNC_STRCSPN, gl_FUNC_STRDUP, gl_FUNC_STRNDUP, gl_FUNC_STRNLEN,
78 gl_FUNC_STRPBRK, gl_FUNC_STRSTR, gl_FUNC_STRTOD,
79 gl_FUNC_STRTOIMAX, gl_FUNC_STRTOLL, gl_FUNC_STRTOL,
80 gl_FUNC_STRTOULL, gl_FUNC_STRTOUL, gl_FUNC_STRTOUMAX,
81 gl_FUNC_STRVERSCMP, gl_FUNC_TZSET_CLOBBER, gl_FUNC_VASNPRINTF,
82 gl_FUNC_VASPRINTF, gl_FUNC_WCWIDTH, gl_GETADDRINFO, gl_GETDATE,
83 gl_GETHRXTIME, gl_GETNDELIM2, gl_GETOPT, gl_GETPAGESIZE,
84 gl_GETTIME, gl_GETUGROUPS, gl_HARD_LOCALE, gl_HASH, gl_HASH_PJW,
85 gl_HEADER_ARPA_INET, gl_HEADER_NETINET_IN, gl_HEADER_SYS_SOCKET,
86 gl_HUMAN, gl_IDCACHE, gl_INET_NTOP, gl_INTTOSTR, gl_LINEBUFFER,
87 gl_LOCALCHARSET, gl_LONG_OPTIONS, gl_MBCHAR, gl_MBITER,
88 gl_MBSWIDTH, gl_MD5, gl_MEMCOLL, gl_MKANCESDIRS, gl_MKDIR_PARENTS,
89 gl_MODECHANGE, gl_MOUNTLIST, gl_OBSTACK, gl_PATHMAX, gl_PHYSMEM,
90 gl_POSIXTM, gl_POSIXVER, gl_QUOTEARG, gl_QUOTE, gl_READTOKENS,
91 gl_READUTMP, gl_REGEX, gl_SAFE_READ, gl_SAFE_WRITE, gl_SAME,
92 gl_SAVEDIR, gl_SAVE_CWD, gl_SETTIME, gl_SHA1, gl_STAT_MACROS,
93 gl_STAT_TIME, gl_STDARG_H, gl_STDINT_H, gl_STDLIB_SAFER,
94 gl_STRCASE, gl_STRIPSLASH, gl_TIMESPEC, gl_TIME_R,
95 gl_TYPE_SOCKLEN_T, gl_UNICODEIO, gl_UNISTD_SAFER, gl_UNLINKDIR,
96 gl_USERSPEC, gl_UTIMECMP, gl_UTIMENS, gl_XALLOC, gl_XGETCWD,
97 gl_XNANOSLEEP, gl_XREADLINK, gl_XSTRTOD, gl_XSTRTOL, gl_XSTRTOLD,
98 gl_YESNO, AC_FUNC_CALLOC, gl_FUNC_GLIBC_UNLOCKED_IO,
99 gl_FUNC_GNU_STRFTIME, AC_FUNC_MALLOC, gl_FUNC_MEMCMP,
100 gl_FUNC_NANOSLEEP, gl_FUNC_PUTENV, AC_FUNC_REALLOC, gl_FUNC_UTIME,
101 gl_XSTRTOIMAX, gl_XSTRTOUMAX, vb_FUNC_RENAME, gl_FUNC_FTS,
102 gl_MEMCASECMP, gl_STRIPSLASH, gl_LINEBUFFER, gl_ARGMATCH,
103 gl_CYCLE_CHECK, gl_EUIDACCESS_STAT, since gnulib handles this.
104 * stat-prog.m4 (cu_PREREQ_STAT_PROG): Don't check for
105 sys/sysmacros.h. Don't check for statvfs. Use AC_CHECK_HEADERS_ONCE
106 for netinet/in.h, nfs/nfs_clnt.h, nfs/vfs.h.
107 Don't require gl_AC_TYPE_LONG_LONG, gt_HEADER_INTTYPES_H.
109 * absolute-header.m4, acl.m4, alloca.m4, allocsa.m4, arpa_inet_h.m4:
110 * assert.m4, atexit.m4, backupfile.m4, basename.m4, bison.m4:
111 * c-strtod.m4, c.m4, calloc.m4, canon-host.m4, canonicalize.m4:
112 * chdir-long.m4, chdir-safer.m4, chown.m4, clock_time.m4:
113 * cloexec.m4, close-stream.m4, closeout.m4, codeset.m4:
114 * cycle-check.m4, d-ino.m4, d-type.m4, dev-ino.m4, diacrit.m4:
115 * dirfd.m4, dirname.m4, dos.m4, double-slash-root.m4, dup2.m4:
116 * eealloc.m4, eoverflow.m4, error.m4, euidaccess.m4, exclude.m4:
117 * exitfail.m4, extensions.m4, fcntl-safer.m4, file-type.m4:
118 * fileblocks.m4, filemode.m4, filenamecat.m4, fnmatch.m4:
119 * fpending.m4, fprintftime.m4, free.m4, fstypename.m4, fsusage.m4:
120 * ftruncate.m4, fts.m4, getaddrinfo.m4, getcwd-abort-bug.m4:
121 * getcwd-path-max.m4, getcwd.m4, getdate.m4, getdelim.m4:
122 * getgroups.m4, gethostname.m4, gethrxtime.m4, getline.m4:
123 * getndelim2.m4, getopt.m4, getpagesize.m4, getpass.m4, gettext.m4:
124 * gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4:
125 * glibc21.m4, group-member.m4, hard-locale.m4, hash-pjw.m4, hash.m4:
126 * host-os.m4, human.m4, iconv.m4, idcache.m4, inet_ntop.m4:
127 * intmax_t.m4, inttostr.m4, inttypes-h.m4, inttypes-pri.m4:
128 * inttypes.m4, inttypes_h.m4, isc-posix.m4, jm-winsz1.m4:
129 * jm-winsz2.m4, lchmod.m4, lchown.m4, lib-ignore.m4, lib-ld.m4:
130 * lib-link.m4, lib-prefix.m4, linebuffer.m4, link-follow.m4:
131 * localcharset.m4, long-options.m4, longdouble.m4, longlong.m4:
132 * ls-mntd-fs.m4, lstat.m4, mbchar.m4, mbiter.m4, mbrtowc.m4:
133 * mbstate_t.m4, mbswidth.m4, md5.m4, memcasecmp.m4, memchr.m4:
134 * memcmp.m4, memcoll.m4, memcpy.m4, memmove.m4, mempcpy.m4:
135 * memrchr.m4, memset.m4, mkancesdirs.m4, mkdir-p.m4, mkdir-slash.m4:
136 * mkstemp.m4, mktime.m4, modechange.m4, mountlist.m4, nanosleep.m4:
137 * netinet_in_h.m4, nls.m4, obstack.m4, openat.m4, pathmax.m4:
138 * perl.m4, physmem.m4, po.m4, posixtm.m4, posixver.m4, progtest.m4:
139 * putenv.m4, quote.m4, quotearg.m4, readlink.m4, readtokens.m4:
140 * readutmp.m4, regex.m4, rename.m4, rmdir-errno.m4, rmdir.m4:
141 * rpmatch.m4, safe-read.m4, safe-write.m4, same-inode.m4, same.m4:
142 * save-cwd.m4, savedir.m4, setenv.m4, settime.m4, sha1.m4:
143 * sig2str.m4, signed.m4, snprintf.m4, socklen.m4, sockpfaf.m4:
144 * ssize_t.m4, st_dm_mode.m4, stat-macros.m4, stat-time.m4:
145 * stdarg.m4, stdbool.m4, stdint.m4, stdint_h.m4, stdio-safer.m4:
146 * stdlib-safer.m4, stpcpy.m4, strcase.m4, strcspn.m4, strdup.m4:
147 * strftime.m4, stripslash.m4, strndup.m4, strnlen.m4, strpbrk.m4:
148 * strstr.m4, strtod.m4, strtoimax.m4, strtol.m4, strtoll.m4:
149 * strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4:
150 * sys_socket_h.m4, time_r.m4, timespec.m4, tm_gmtoff.m4, tzset.m4:
151 * uint32_t.m4, uintmax_t.m4, uintptr_t.m4, ullong_max.m4:
152 * ulonglong.m4, unicodeio.m4, unistd-safer.m4, unlink-busy.m4:
153 * unlinkdir.m4, unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4:
154 * utime.m4, utimecmp.m4, utimens.m4, utimes-null.m4, utimes.m4:
155 * vasnprintf.m4, vasprintf.m4, version-etc.m4, wchar_t.m4:
156 * wcwidth.m4, wint_t.m4, xalloc.m4, xgetcwd.m4, xnanosleep.m4:
157 * xreadlink.m4, xstrtod.m4, xstrtoimax.m4, xstrtol.m4:
158 * xstrtoumax.m4, yesno.m4:
159 Remove from CVS, since ../bootstrap generates them automatically.
161 2006-08-18 Bruno Haible <bruno@clisp.org>
163 * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Also check for
164 sys/statvfs.h. When getmntinfo was found, check its declaration and
165 set either MOUNTED_GETMNTINFO or MOUNTED_GETMNTINFO2 depending on it.
166 * stat-prog.m4 (cu_PREREQ_STAT_PROG): Test also for f_fstypename
169 2006-08-18 Jim Meyering <jim@meyering.net>
171 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Also check for CLOCK_REALTIME,
172 since gethrxtime may revert to using clock_gettime via gettime.c.
173 Gabor Z. Papp reported that gethrxtime-using programs failed to
174 link due to unresolved clock_gettime on a linux-2.4.x system.
176 2006-08-17 Paul Eggert <eggert@cs.ucla.edu>
178 * ChangeLog: Add copyright notice.
179 * check-decl.m4: Likewise.
181 2006-08-15 Jim Meyering <jim@meyering.net>
183 * openat.m4 (gl_FUNC_OPENAT): Add at-func.c via AC_LIBSOURCES.
185 2006-08-10 Jim Meyering <jim@meyering.net>
188 * cycle-check.m4 (gl_CYCLE_CHECK): Don't mention same-inode.h.
189 Require gl_STRUCT_DEV_INO and gl_SAME_INODE.
190 * dev-ino.m4, same-inode.m4: New files.
192 2006-08-10 Paul Eggert <eggert@cs.ucla.edu>
194 Accommodate new getaddrinfo implementation in gnulib.
195 * arpa_inet_h.m4, inet_ntop.m4, netinet_in_h.m4, snprintf.m4:
196 New files, from gnulib.
197 * prereq.m4 (gl_PREREQ): Require gl_FUNC_SNPRINTF, gl_GETADDRINFO,
198 gl_HEADER_ARPA_INET, gl_HEADER_NETINET_IN, gl_HEADER_SYS_SOCKET,
199 gl_INET_NTOP, gl_TYPE_SOCKEN_T.
201 2006-08-09 Paul Eggert <eggert@cs.ucla.edu>
203 * inttypes-h.m4, stdarg.m4: New files, from gnulib.
204 * prereq.m4 (gl_PREREQ): Require gl_STDARG_H.
205 Require gl_FOPEN_SAFER rather than gl_STDIO_SAFER (due to renaming).
206 * getline.m4, gettext.m4, inttypes-pri.m4, lib-link.m4, localcharset.m4:
207 * mbchar.m4, nls.m4, po.m4, stdint.m4, stdio-safer.m4, unistd-safer.m4:
211 2006-08-08 Paul Eggert <eggert@cs.ucla.edu>
213 * memxfrm.m4, randint.m4, randperm.m4, randread.m4: New files.
215 * prereq.m4 (gl_PREREQ): Require gl_MEMXFRM, gl_RANDINT, gl_RANDPERM,
218 * restrict.m4: Remove, now that we assume Autoconf 2.58 or later.
219 All uses of gl_C_RESTRICT changed to AC_C_RESTRICT.
221 2006-07-22 Paul Eggert <eggert@cs.ucla.edu>
223 * close-stream.m4: New file.
224 * prereq.m4 (gl_PREREQ): Require gl_CLOSE_STREAM.
226 2006-07-16 Paul Eggert <eggert@cs.ucla.edu>
228 * mkancesdirs.m4: New file.
229 * afs.m4: Remove; no longer needed.
230 * jm-macros.m4 (gl_MACROS): Remove gl_AFS.
231 * mkdir-p.m4 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h.
232 Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed.
233 Require gl_FUNC_LCHOWN, since dirchownmod.c needs it.
234 * prereq.m4 (gl_PREREQ): Require gl_MKANCESDIRS.
236 2006-07-11 Eric Blake <ebb9@byu.net>
238 * absolute-header.m4: Fix comments to match recent change.
240 2006-07-10 Derek R. Price <derek@ximbiot.com>
241 and Paul Eggert <eggert@cs.ucla.edu>
243 * backupfile.m4, d-ino.m4, d-type.m4, dirfd.m4, fts.m4, getcwd.m4:
245 Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN
246 macros into the GNU _D_EXACT_NAMLEN.
248 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
250 * stdint.m4 (gl_STDINT_H): Like yesterday's change to
251 absolute-header.m4. Also, set ABSOLUTE_STDINT_H to a string
252 "no/such/file/stdint.h" when there is no such file, so that
253 the resulting C code can be parsed by dodgy compilers.
254 Problems reported by Bob Proulx.
256 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
258 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
259 around the absolute name, to work around a problem with the HP-UX
260 11.23 native C compiler, reported by Bob Proulx.
262 Update from gnulib, as follows:
264 2006-07-06 Derek R. Price <derek@ximbiot.com>
265 and Paul Eggert <eggert@cs.ucla.edu>
267 * backupfile.m4 (gl_BACKUPFILE): Check for dirent.h, instead
268 of invoking obsolescent AC_HEADER_DIRENT macro.
269 * d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
270 * d-type.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Likewise.
271 * dirfd.m4 (gl_FUNC_DIRFD): Likewise.
272 * fts.m4 (gl_FUNC_FTS_CORE): Likewise.
273 * getcwd.m4 (gl_PREREQ_GETCWD): Likewise.
274 * savedir.m4 (gl_SAVEDIR): Likewise.
276 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
278 * fileblocks.m4 (gl_PREREQ_FILEBLOCKS): AC_CHECK_DECLS_ONCE may
279 expand to nothing, so add a shell command to avoid syntax error.
280 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
282 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
284 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't check for getenv decl;
285 no longer needed. Check for isblank decl.
286 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Don't check for getenv decl.
287 * regex.m4 (gl_PREREQ_REGEX): Dheck for isblank decl instead
290 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
292 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Use AC_CHECK_DECLS_ONCE
293 rather than AC_CHECK_DECLS for strtoimax and strtoumax.
294 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed.
296 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
297 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
298 * exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer needed.
299 * getdate.m4 (gl_GETDATE): Likewise.
300 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
301 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
302 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
303 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
304 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
305 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
306 * exclude.m4 (gl_EXCLUDE): Don't require AC_C_INLINE; no longer
309 2006-07-05 Derek R. Price <derek@ximbiot.com>
311 * calloc.m4 (_AC_FUNC_CALLOC_IF): Don't require AC_HEADER_STDC;
313 * exclude.m4 (gl_EXCLUDE): Likewise.
314 * getdate.m4 (gl_GETDATE): Likewise.
315 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
316 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
317 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
318 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
319 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
321 2006-07-05 Eric Blake <ebb9@byu.net>
323 * sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
324 to avoid 'header present but could not be compiled' on cygwin.
326 2006-07-03 Bruno Haible <bruno@clisp.org>
328 * strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, check whether
329 the function exists, before testing against AIX.
330 Reported by Martin Lambers <marlam@marlam.de>.
332 2006-07-04 Paul Eggert <eggert@cs.ucla.edu>
334 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
335 to the absolute name, not just one, to bypass Sun C 5.8's
336 "warning: #include of /usr/include/... may be non-portable".
338 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
340 * absolute-header.m4: Renamed from full-header-path.m4.
341 This is to keep the terminology clean; POSIX talks about
342 "absolute pathnames", not "full pathnames", but the GNU
343 Coding Standards say to use "path" for something else;
344 so use "absolute" to keep both sides happy.
345 (gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
346 Set gl_absolute_header, not gl_full_header_path.
347 Set gl_cv_absolute_<header>, not gl_full_path_<header>.
348 Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
351 2006-07-08 Jim Meyering <jim@meyering.net>
353 * link-follow.m4: Remove one of two adjacent "whether"s in a comment.
354 * getopt.m4: Remove one of two adjacent "your"s in a comment.
355 * autobuild.m4: Remove one of two adjacent "can"s in a comment.
356 * regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment.
358 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
360 * prereq.m4 (gl_PREREQ): Require gl_FUNC_WCWIDTH, to accommodate
361 changes mentioned below.
362 * setenv.m4 (gt_FUNC_SETENV): Undo private change that added an
363 AC_LIBSOURCES line here, since Bruno didn't buy it back. Instead,
364 update ../lib/Makefile.am to mention the files explicitly.
368 2006-06-28 Simon Josefsson <jas@extundo.com>
370 * getaddrinfo.m4: Look for getnameinfo prototypes too.
372 2006-06-28 Eric Blake <ebb9@byu.net>
374 * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
375 * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
377 2006-06-22 Simon Josefsson <jas@extundo.com>
379 * sockpfaf.m4: Include winsock2.h too, to make it work under
382 2006-06-21 Simon Josefsson <jas@extundo.com>
384 * getaddrinfo.m4: Don't define WINVER. Look for gethostbyname in
385 -lws2_32 too. Fixes getaddrinfo on Windows 2000, with the price
386 of using the (limited) gnulib implementation on Windows XP.
388 2006-06-17 Bruno Haible <bruno@clisp.org>
390 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
391 whether errno is declared. Assume <errno.h> declares errno.
393 2006-06-16 Eric Blake <ebb9@byu.net>
395 * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
398 2006-06-15 Eric Blake <ebb9@byu.net>
400 * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
402 2006-04-20 Bruno Haible <bruno@clisp.org>
404 * getpass.m4 (gl_PREREQ_GETPASS):
405 Don't call AC_CHECK_DECLS_ONCE with more than
406 one argument, so that the code will be portable to Autoconf 2.60.
407 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
409 2006-03-15 Eric Blake <ebb9@byu.net>
411 * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
413 2006-07-03 Jim Meyering <jim@meyering.net>
415 * ftruncate.m4 (gl_FUNC_FTRUNCATE): Adjust diagnostic to recommend
416 ./configure SKIP_FTRUNCATE_CHECK=yes, rather than env ... ./configure.
417 Suggestion from Ralf Wildenhues.
419 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
421 * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
422 test cases, so that config.log is a bit easier to follow.
424 2006-07-02 Jim Meyering <jim@meyering.net>
426 * full-header-path.m4: New file, from gnulib. Required by stdint.m4.
428 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
430 * longlong.m4: Sync from gnulib.
431 * stdint.m4: Likewise.
432 * ulonglong.m4: Likewise.
434 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
436 * c-strtod.m4 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
437 Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
438 want to require the building of c-strtod.o.
439 * lib-check.m4 (cu_LIB_CHECK): Remove SEQ_LIBM, since seq no longer
441 * prereq.m4 (gl_PREREQ): Require gl_C_STRTOD and gl_XSTRTOLD.
442 * xstrtod.m4 (gl_XSTRTOLD): New macro.
444 2006-06-29 Derek R. Price <derek@ximbiot.com>
446 * strftime.m4: Don't call AC_FUNC_STRFTIME.
448 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
450 * jm-macros.m4 (jl_MACROS): Require 2.60, not 2.59d.
451 * jm-macros.m4 (gl_CHECK_ALL_TYPES): Don't require AC_C_CONST, since
454 2006-06-28 Derek R. Price <derek@ximbiot.com>
456 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
458 * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
459 * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
461 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
463 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
464 --as-needed option if available. Problem reported by Albert Chin in
465 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
466 However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
467 cc merely issues a bunch of annoying warnings for --as-needed
468 (this problem was reported by Bob Proulx). Also, try linking with
469 -lm to detect a bug in binutils 2.16 (this problem was reported
472 2006-06-18 Jim Meyering <jim@meyering.net>
474 Test for a bug that causes glibc's getcwd to suffer a failed assertion.
475 * getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
476 * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
477 also check for glibc-2.4's abort-inducing bug.
479 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
480 Low-probability clean-up should be to use rmdir to get rid of
481 the just-created directory, not unlink.
483 * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
484 configure fail, and request a bug report to inform us about it.
485 Add a comment that, barring reports to the contrary, in 2007 we'll
486 assume ftruncate is universally available.
488 2006-06-10 Jim Meyering <jim@meyering.net>
490 Apply this change from gnulib:
492 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
493 Bruno Haible <bruno@clisp.org>
495 * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
496 check for the declaration of strnlen and a run test that exposes the
497 AIX 5.1 strnlen bug. In the failure case, #define strndup to
500 2006-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
502 * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
503 compile test, for Tru64 4.0D.
505 2006-05-24 Jim Meyering <jim@meyering.net>
507 * jm-macros.m4: Require autoconf-2.59d, for its fixed version
508 of AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
510 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
512 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
513 gl_ rather than jm_. Link, don't run, so that cross-compiles are
514 allowed. Check that resulting type is arithmetic. Move AC_REQUIRE
515 and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
516 not really conditional on the cache.
517 (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
519 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
521 * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
522 test for C99 conformance; (bool) 0.5 is an integer constant
523 expression, but (bool) -0.5 is not. Problem reported by Fedor
524 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
526 2006-02-17 Eric Blake <ebb9@byu.net>
529 * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
531 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
533 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
534 to define main with arguments, for C++. Reported by Eric Blake.
535 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
536 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
537 for 'main', for C99 and C++.
539 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
541 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
542 Don't assume that exit status -1 is valid.
543 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
544 * putenv.m4 (gl_FUNC_PUTENV): Likewise.
545 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
546 * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
547 * rename.m4 (vb_FUNC_RENAME): Likewise.
548 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
549 not AC_TRY_RUN. Use return, not exit. Don't assume that
550 functions can be used without declaring them, or that you can
552 * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
554 2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
556 * filemode.m4 (gl_FILEMODE): Check for strmode declaration.
558 2006-04-12 Paul Eggert <eggert@cs.ucla.edu>
560 * jm-macros.m4 (gl_MACROS): Check for setgroups and sync, since they
563 2006-04-11 Paul Eggert <eggert@cs.ucla.edu>
565 * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
567 2006-04-09 Paul Eggert <eggert@cs.ucla.edu>
569 * regex.m4 (gl_REGEX): Check for new glibc interface to
572 2006-03-11 Eric Blake <ebb9@byu.net>
574 * double-slash-root.m4: New file, provides gl_DOUBLE_SLASH_ROOT.
575 * dirname.m4 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
576 * dos.m4 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
577 (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
579 2006-03-25 Paul Eggert <eggert@cs.ucla.edu>
581 * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
582 REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
583 glibc names. Even if glibc is changed to conform to POSIX, the
584 traditional names will be available anyway, since regex depends on
585 the extensions module. Also, fix a longstanding typo in the
586 implementation of Spencer ERE test #75 from grep 2.3. Problems
587 reported by Emanuele Giaquinta. Also, change sense of cached
588 variable, so that the message makes sense.
590 2006-03-17 Jim Meyering <jim@meyering.net>
592 * regex.m4 (gl_REGEX): Fix typo in last change:
593 s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
595 2006-03-16 Paul Eggert <eggert@cs.ucla.edu>
597 * regex.m4 (gl_REGEX): Don't check for off_t, since the code
598 no longer needs it. Instead, check that regoff_t is as least
599 as wide as ptrdiff_t.
601 Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
602 so that our regex.h stays compatible with the installed regex.
603 This is helpful for installers who configure --without-included-regex.
604 Problem reported by Emanuele Giaquinta.
606 2006-03-12 Jim Meyering <jim@meyering.net>
608 * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.
609 * cycle-check.m4 (gl_CYCLE_CHECK): Likewise.
610 * same.m4 (gl_SAME): Likewise.
611 * root-dev-ino.m4 (gl_ROOT_DEV_INO): Likewise.
613 2006-03-12 Paul Eggert <eggert@cs.ucla.edu>
615 * prereq.m4 (gl_PREREQ): Require gl_TIME_R.
616 * time_r.m4: New file, from gnulib.
618 2006-03-01 Paul Eggert <eggert@cs.ucla.edu>
620 * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
621 not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
623 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
624 * timespec.m4 (gl_TIMESPEC): Likewise.
626 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
627 not "==". Reported by Ralf Wildenhues.
629 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
631 * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
634 2006-02-16 Eric Blake <ebb9@byu.net>
637 * sys_socket_h.m4: New file. Solves 'present but cannot compile'
638 warnings on cygwin, which cannot use ws2tcpip.h.
639 * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET.
640 Don't use ws2tcpip.h if sys/socket.h works.
641 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use
642 gl_HEADER_SYS_SOCKET.
643 (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is
646 2006-02-14 Simon Josefsson <jas@extundo.com>
649 * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
650 -lws2_32. Protect sys/socket.h and netdb.h #include's. Include
651 ws2tcpip.h with WINVER=0x0501. All for mingw32.
652 * socklen.m4: Look in ws2tcpip.h too, for mingw32.
654 2006-02-05 Paul Eggert <eggert@cs.ucla.edu>
656 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
657 __EXTENSIONS__ if this causes compilation to fail. Problem
658 reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
659 c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
661 2006-01-26 Paul Eggert <eggert@cs.ucla.edu>
663 * stdbool.m4 (AC_HEADER_STDBOOL): Sync from gnulib.
664 Use 'defined __GNUC__' rather than __GNUC__.
666 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
668 * stdbool.m4: Merge from gnulib; we still don't quite match
669 exactly, but we're getting closer.
670 (AC_HEADER_STDBOOL): Add some comments.
672 2006-01-24 Jim Meyering <jim@meyering.net>
674 * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
675 Reported by Mark D. Baushke.
677 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
679 * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
681 2006-01-20 Paul Eggert <eggert@cs.ucla.edu>
683 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
684 rather than -Xlinker -z -Xlinker ignore, as it's more portable.
685 Suggested by Bruno Haible.
687 2006-01-17 Jim Meyering <jim@meyering.net>
689 * fts.m4 (gl_FUNC_FTS_CORE): Depend on gl_FUNC_OPENAT.
691 2006-01-16 Paul Eggert <eggert@cs.ucla.edu>
693 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
694 it's not portable and it doesn't work with cross-compiles.
695 Problem reported by Bruno Haible. Fix missing-$ typo in
696 'test "gl_cv_ignore_unused_libraries" ...' that prevented
697 -zignore from being used with Sun's C compiler.
699 2006-01-13 Jim Meyering <jim@meyering.net>
701 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
702 unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
703 gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
704 variable, to accommodate the rare case in which getmntent is
705 available in none of the libraries checked. This happens at
706 least on FreeBSD 5.0.
708 2006-01-11 Paul Eggert <eggert@cs.ucla.edu>
710 * prereq.m4 (gl_PREREQ): Require gl_STDINT_H.
711 * stdint.m4: New file, from gnulib.
713 2006-01-11 Jim Meyering <jim@meyering.net>
715 * openat.m4 (gl_FUNC_OPENAT): Require and compile fchmodat.c.
716 Check for the lchmod function.
718 2006-01-10 Paul Eggert <eggert@cs.ucla.edu>
720 * argmatch.m4 (gl_ARGMATCH): Don't require gl_FUNC_MEMCMP, for the
721 sake of packages that don't want to worry about ancient systems.
723 * getaddrinfo.m4, localcharset.m4, md5.m4, memcoll.m4:
726 2006-01-10 Jim Meyering <jim@meyering.net>
728 * fpending.m4: Also include <stdio.h>, for Dragonfly.
729 Patch by Joerg Sonnenberger.
731 2006-01-06 Paul Eggert <eggert@cs.ucla.edu>
733 * lib-ignore.m4: New file.
735 2006-01-01 Paul Eggert <eggert@cs.ucla.edu>
737 * chmod-safer.m4: Remove.
738 * lchmod.m4: New file.
739 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_LCHMOD.
740 Don't require gl_CHDIR_SAFER.
742 2005-12-21 Jim Meyering <jim@meyering.net>
744 * chdir-safer.m4: New file.
745 * jm-macros.m4: Require gl_CHDIR_SAFER.
747 2005-12-05 Andreas Gruenbacher <agruen@suse.de>
749 * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
751 2005-12-14 Jim Meyering <jim@meyering.net>
753 * fprintftime.m4: New file.
754 * jm-macros.m4: Require gl_FPRINTFTIME.
756 2005-12-13 Paul Eggert <eggert@cs.ucla.edu>
758 * stdbool.m4 (AM_STDBOOL_H): Substitute HAVE__BOOL again, reverting
760 (AC_HEADER_STDBOOL): Check for buggy compiler that
761 has _Bool but mishandles _Bool |= _Bool.
763 2005-12-07 Paul Eggert <eggert@cs.ucla.edu>
765 * stat-time.m4 (gl_STAT_TIME): Add check for
766 TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
767 porting problem reported by Georg Schwarz in
768 <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
770 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
772 * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
773 Use implementation from Albert Chin, with some
774 comments/corrections by Stepan Kasal and myself.
775 * jm-macros.m4 (gl_MACROS): Adjust to renaming.
777 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
779 * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
780 statement, to work around an HP-UX 10.20 compiler bug reported by
783 2005-12-01 Bruno Haible <bruno@clisp.org>
786 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
787 mbchar.c if they are not both present.
788 * mbiter.m4 (gl_MBITER): Likewise.
789 * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
790 * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
792 2005-11-30 Jim Meyering <jim@meyering.net>
794 * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
795 Require openat-priv.h.
797 2005-11-25 Paul Eggert <eggert@cs.ucla.edu>
799 * stdbool.m4 (AM_STDBOOL_H): Don't bother substituting HAVE__BOOL;
801 (gl_STDBOOL_H): New macro, from gnulib.
802 (AC_HEADER_STDBOOL): Sync with gnulib.
804 2005-11-20 Jim Meyering <jim@meyering.net>
806 * c.m4: Remove spurious space-before-TAB.
808 * euidaccess-stat.m4 (gl_EUIDACCESS_STAT): New file/macro.
809 * prereq.m4: Require gl_EUIDACCESS_STAT.
811 2005-11-18 Paul Eggert <eggert@cs.ucla.edu>
813 * c.m4: New file, to work around bugs in AIX cc.
814 Problem reported by James Lemley. This file can go away
815 after Autoconf 2.60 comes out.
817 2005-11-10 Paul Eggert <eggert@cs.ucla.edu>
819 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
820 or gettimeofday; no longer needed.
822 2005-10-30 Paul Eggert <eggert@cs.ucla.edu>
824 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
825 variables to suggest the intended function of the PATH_MAX check.
827 2005-10-30 Kean Johnston <jkj@sco.com>
829 Trivial changes to support SCO systems.
830 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
832 * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
833 where __ptr is null when no I/O is pending.
835 2005-08-27 David Madore <david.madore@ens.fr>
837 * sha256.m4, sha512.m4: New files.
838 * prereq.m4: Add gl_SHA256 and gl_SHA512.
840 2005-10-07 Paul Eggert <eggert@cs.ucla.edu>
842 * stdbool.m4 (AC_HEADER_STDBOOL): Add an "#ifdef __xlc__" test,
843 since yesterday's attempt didn't work.
845 2005-10-06 Paul Eggert <eggert@cs.ucla.edu>
847 * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
848 promotes to int, not unsigned int, to catch the AIX 5.3
851 2005-10-02 Alfred M. Szmidt <ams@gnu.org>
853 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
854 against `yes', rather than just testing for nonempty.
856 2005-10-01 Simon Josefsson <jas@extundo.com>
858 * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
861 2005-10-01 Simon Josefsson <jas@extundo.com>
863 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use AC_GNU_SOURCE,
864 GNU declares only getaddrinfo as an (POSIX) extension.
865 Check for sys/types.h, sys/socket.h, and netdb.h too,
866 needed by getaddrinfo.h.
867 Check if getaddrinfo, freeaddrinfo and gai_strerror are
868 declared by the POSIX headers.
869 Check if struct addrinfo is declared.
871 2005-10-01 Jim Meyering <jim@meyering.net>
873 * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
874 libraries [inet nsl socket xnet]. Nelson Beebe reported that with
875 native cc on Solaris 7, getaddrinfo.c requires -lsocket.
877 2005-09-29 Paul Eggert <eggert@cs.ucla.edu>
879 * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
881 2005-09-28 Paul Eggert <eggert@cs.ucla.edu>
883 * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
884 defines ULONG_MAX_LT_ULLONG_MAX. Thomas M.Ott reports that
885 ULLONG_MAX doesn't work with 2.7.2.1.
887 2005-09-26 Jim Meyering <jim@meyering.net>
889 * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
890 from glibc-2.2.5 that fails for read-only files.
892 2005-09-24 Paul Eggert <eggert@cs.ucla.edu>
894 * jm-macros.m4 (gl_MACROS): Check for fchmod and fchown.
896 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h, and
897 don't compile mbchar.c unless both headers exist. See
898 <http://lists.gnu.org/archive/html/bug-gnulib/2005-09/msg00242.html>.
900 2005-09-24 Jim Meyering <jim@meyering.net>
902 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
903 in the inet and nsl libraries. Required on Solaris 5.7.
905 2005-09-23 Paul Eggert <eggert@cs.ucla.edu>
907 * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
908 and similarly for the other external symbols. Problem reported
911 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
912 bug reported by Jim Meyering.
914 * jm-macros.m4 (gl_MACROS): Don't require gl_CHECK_TYPE_STRUCT_UTIMBUF.
915 (gl_CHECK_ALL_HEADERS): Don't check for utime.h.
916 * utimens.m4 (gl_UTIMENS): Check for futimesat (Solaris 10).
917 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
918 not needed, since socklen is a prerequisite module.
920 2005-09-23 Jim Meyering <jim@meyering.net>
922 * jm-macros.m4 (gl_MACROS): AC_REQUIRE([gl_SOCKLEN_T]) here,
923 now that it's no longer required by getaddrinfo.m4.
925 Correct build failure (socklen_t not defined) on at least
926 mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
927 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
928 * socklen.m4: New file, from gnulib.
930 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
932 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
934 2005-09-21 Paul Eggert <eggert@cs.ucla.edu>
936 * check-decl.m4 (_gl_DECL_HEADERS): Don't bother checking for
937 standard C headers, or for headers we no longer use.
938 * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_XANSTRFTIME;
940 (gl_CHECK_ALL_HEADERS): Don't check for memory.h, mntent.h, mnttab.h,
941 netdb.h, stdlib.h, stdint.h, string.h, sys/filsys.h, sys/fs/s5param.h,
942 sys/fs_types.h, sys/fstyp.h, sys/mntent.h, sys/socket.h, sys/stafs.h,
943 sys/timeb.h, unistd.h. No longer needed.
944 * prereq.m4 (gl_PREREQ): Require gl_FUNC_GETLINE rather than
945 AM_FUNC_GETLINE. Require gl_FUNC_GETPASS_GNU rather than
946 gl_FUNC_GETPASS. Require gl_MBCHAR and gl_MBITER.
948 * xanstrftime.m4: Remove; no longer used.
950 * getaddrinfo.m4, getdelim.m4, mbchar.m4, mbiter.m4, sockpfaf.m4:
951 New files, from gnulib.
953 * backupfile.m4, bison.m4, calloc.m4:
954 * canonicalize.m4, chown.m4, cloexec.m4, dup2.m4:
955 * fileblocks.m4, free.m4, ftruncate.m4, fts.m4:
956 * getcwd.m4, getopt.m4, getpagesize.m4, getpass.m4:
957 * getugroups.m4, group-member.m4, idcache.m4:
958 * lib-link.m4, lib-prefix.m4, link-follow.m4:
959 * mkdir-p.m4, mkstemp.m4, mktime.m4, mountlist.m4:
960 * nanosleep.m4, onceonly_2_57.m4, pathmax.m4:
961 * physmem.m4, posixver.m4, putenv.m4, safe-read.m4:
962 * same.m4, save-cwd.m4, stdio-safer.m4, strndup.m4:
963 * strnlen.m4, unistd-safer.m4, unlinkdir.m4:
964 * userspec.m4, xreadlink.m4, xstrtod.m4:
967 * canon-host.m4, getline.m4, mbrtowc.m4, strcase.m4, strstr.m4:
968 Nontrivial sync from gnulib.
970 2005-09-16 Paul Eggert <eggert@cs.ucla.edu>
972 * jm-macros.m4 (gl_CHECK_ALL_TYPES): Do not require
973 AC_STRUCT_ST_MTIM_NSEC; it's obsolete.
974 * prereq.m4 (gl_PREREQ): Require gl_STAT_TIME.
977 * st_mtim.m4: Remove. Superseded by...
978 * stat-time.m4: New file.
979 * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
980 Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
982 2005-09-13 Jim Meyering <jim@meyering.net>
984 * autobuild.m4: New file, from autobuild.
986 2005-09-09 Paul Eggert <eggert@cs.ucla.edu>
988 * regex.m4: Import from gnulib, to fix some 64-bit bugs.
990 2005-09-01 Jim Meyering <jim@meyering.net>
992 * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
993 CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
994 Require gl_STAT_MACROS, too.
996 2005-08-27 Jim Meyering <jim@meyering.net>
998 * fcntl-safer.m4, stdio-safer.m4, unistd-safer.m4: Sync from gnulib.
1000 2005-08-01 Jim Meyering <jim@meyering.net>
1002 * xanstrftime.m4 (gl_FUNC_XANSTRFTIME): New file/macro.
1003 * jm-macros.m4: Require gl_FUNC_XANSTRFTIME.
1005 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1007 * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_ELSE instead of the
1008 obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
1010 2005-07-21 Paul Eggert <eggert@cs.ucla.edu>
1012 * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
1013 (gl_GETDATE): Use it.
1015 2005-07-13 Paul Eggert <eggert@cs.ucla.edu>
1017 * lib-check.m4 (cu_LIB_CHECK): Remove no-longer-necessary check
1020 2005-07-08 Paul Eggert <eggert@cs.ucla.edu>
1022 * jm-macros.m4 (gl_CHECK_ALL_HEADERS): Check for stropts.h.
1024 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1026 * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1027 * same.m4 (gl_SAME): Likewise.
1028 Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1030 Switch to Isamu Hasegawa's implementation of regex, which is
1032 * regex.m4: Import from gnulib.
1034 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
1036 * prereq.m4 (gl_PREREQ): Don't require gl_TYPEOF; no longer needed.
1037 * typeof.m4: Remove; no longer needed.
1039 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1041 Remove the dependency of the strftime module on the tzset module.
1042 * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1043 * prereq.m4 (gl_PREREQ): Add gl_FUNC_TZSET_CLOBBER.
1045 2005-07-03 Jim Meyering <jim@meyering.net>
1047 * lstat.m4 (gl_FUNC_LSTAT): New file, from gnulib.
1048 Use AC_LIBSOURCES to require lstat.c and lstat.h.
1049 Remove obsolete comment.
1051 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1053 * fts.m4 (gl_FUNC_FTS_CORE): Don't require
1054 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
1056 * jm-macros.m4 (gl_MACROS): Likewise.
1057 * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
1059 2005-07-03 Jim Meyering <jim@meyering.net>
1061 * fcntl-safer.m4 (gl_FCNTL_SAFER): Add fcntl--.h to the list.
1062 * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h to the list.
1063 * stdlib-safer.m4 (gl_STDLIB_SAFER): Add stdlib--.h to the list.
1064 * unistd-safer.m4 (gl_UNISTD_SAFER): Add unistd--.h to the list.
1066 2005-07-02 Paul Eggert <eggert@cs.ucla.edu>
1068 Cleanup to isolate "safer" functions to a small part of the code.
1069 * fcntl-safer.m4, fd-reopen.m4, stdlib-safer.m4: New files.
1070 * prereq.m4 (gl_PREREQ): Require gl_FCNTL_SAFER,
1071 gl_FD_REOPEN, gl_STDLIB_SAFER.
1073 2005-07-02 Jim Meyering <jim@meyering.net>
1075 * check-decl.m4, chown.m4, free.m4, getcwd.m4, link-follow.m4:
1076 * mktime.m4: Assume HAVE_UNISTD_H, i.e., that <unistd.h> works.
1078 2005-07-01 Jim Meyering <jim@meyering.net>
1080 * chown.m4, cloexec.m4, dup2.m4, fsusage.m4, getcwd.m4, jm-macros.m4:
1081 * mkstemp.m4, mountlist.m4, save-cwd.m4, unistd-safer.m4:
1082 Don't check for fcntl.h anymore. Now we assume it exists and is usable.
1084 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1085 Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,
1086 and don't check for fcntl.h).
1088 2005-06-30 Jim Meyering <jim@meyering.net>
1090 * stdopen.m4 (gl_STDOPEN): New file/macro.
1091 * jm-macros.m4: Require it.
1093 2005-06-26 Jim Meyering <jim@meyering.net>
1095 * diacrit.m4 (gl_DIACRIT): New file/macro.
1096 * jm-macros.m4: Require it.
1098 2005-06-25 Jim Meyering <jim@meyering.net>
1100 * version-etc.m4 (gl_VERSION_ETC): New file/macro.
1101 * jm-macros.m4: Require it.
1103 * root-dev-ino.m4 (gl_ROOT_DEV_INO): New file/macro.
1104 * jm-macros.m4: Require it.
1106 2005-06-23 Jim Meyering <jim@meyering.net>
1108 * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
1109 * xstrtod.m4: Likewise.
1111 2005-06-19 Jim Meyering <jim@meyering.net>
1113 * xgetcwd.m4 (gl_XGETCWD): Add `AC_LIBOBJ([xgetcwd])'.
1114 Register xgetcwd.c and xgetcwd.h via AC_LIBSOURCES.
1116 * xfts.m4 (gl_FUNC_XFTS): New file/macro.
1117 * jm-macros.m4: Require it.
1119 2005-06-13 Jim Meyering <jim@meyering.net>
1121 * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
1123 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1125 * extensions.m4: Sync from gnulib; this defines
1126 _POSIX_PTHREAD_SEMANTICS for the benefit of Solaris.
1128 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
1130 * mkdir-p.m4: Renamed from makepath.m4.
1131 (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed.
1132 Rename files from makepath.c to mkdir-p.c, and from
1133 makepath.h to mkdir-p.h.
1134 * filenamecat.m4: Renamed from path-concat.m4.
1135 (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed.
1136 Rename files from path-concat.c to filenamecat.c,
1137 and from path-concat.h to filenamecat.h.
1138 * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1139 "file name" in local variables or comments.
1140 * rename.m4: Likewise.
1142 2005-05-30 Paul Eggert <eggert@cs.ucla.edu>
1144 * jm-macros.m4 (gl_CHECK_ALL_HEADERS): Check for priv.h.
1146 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1148 * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1149 and don't require gt_INTTYPES_PRI.
1151 * prereq.m4 (gl_PREREQ): Require gl_STRINTCMP, gl_STRNUMCMP.
1152 * strnumcmp.m4: New file.
1154 2005-05-20 Paul Eggert <eggert@cs.ucla.edu>
1156 * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1157 (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1159 2005-05-20 Eric Blake <ebb9@byu.net> (tiny change)
1161 * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1164 2005-05-18 Paul Eggert <eggert@cs.ucla.edu>
1166 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1167 Don't check for stddef.h.
1168 * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1169 don't use its results.
1170 Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1171 since we include them unconditionally. Don't require
1172 AM_STDBOOL_H, since stdbool is a prerequisite.
1173 Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1174 since we assume C89 or better.
1175 Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1176 as we don't use their results.
1177 Don't check for fchdir, memmove, memset, strrchr, as we use
1178 them unconditionally.
1179 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1180 GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1181 * jm-macros.m4 (gl_MACROS): Require AC_FUNC_LSTAT.
1182 Don't check for memcpy, strchr, strerror, strrchr, float.h.
1183 Use AC_REQUIRE on AM_LANGINFO_CODESET and gl_GLIBC21 rather
1184 than invoking them directly.
1185 (gl_CHECK_ALL_HEADERS): Don't check for errno.h, float.h,
1186 limits.h, stddef.h, since we assume C89 now.
1187 * lib-check.m4: Add copyright notice.
1188 (cu_LIB_CHECK): Renamed from gl_LIB_CHECK.
1189 Don't check for sqrt; factor no longer needs it.
1190 Revamp tests for floor, modf, rint, to define SEQ_LIBM.
1191 Redo tests for fesetround to act like the other wons.
1192 Use "cu_saved_libs" for local var name, not "ac_su_saved_lib".
1193 * prereq.m4: Add copyright notice.
1194 (gl_PREREQ): Add gl_LOCALCHARSET.
1195 * localcharset.m4: New file, from gnulib.
1197 2005-05-16 Jim Meyering <jim@meyering.net>
1199 * fts.m4 (gl_FUNC_FTS): Don't require AC_FUNC_MALLOC or
1200 AC_FUNC_REALLOC. They are not needed.
1202 2005-05-14 Jim Meyering <jim@meyering.net>
1204 * unlinkdir.m4: Register unlinkdir.c and unlinkdir.h via AC_LIBSOURCES.
1205 Add `AC_LIBOBJ([unlinkdir])'.
1207 2005-05-14 Paul Eggert <eggert@cs.ucla.edu>
1209 * prereqs.m4 (gl_PREREQ): Require gl_UNLINKDIR.
1210 * unlinkdir.m4: New file.
1212 2005-05-13 Jim Meyering <jim@meyering.net>
1214 * prereq.m4: Don't require gl_FUNC_STAT or gl_FUNC_LSTAT.
1215 * stat.m4: Remove unnecessary file.
1216 * lstat.m4: Remove unnecessary file.
1218 * readdir.m4 (GL_FUNC_READDIR): Remove, now that remove.c no
1220 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_READDIR.
1222 2005-05-10 Derek Price <derek@ximbiot.com>
1224 * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1227 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1229 * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1232 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1234 * getpass.m4, gettext.m4: Sync from gnulib.
1236 2005-04-28 Paul Eggert <eggert@cs.ucla.edu>
1238 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1239 * jm-macros.m4 (gl_CHECK_ALL_TYPES): Likewise.
1240 * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1241 (gl_PREREQ_CHOWN): Remove.
1242 * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1243 it. Don't require AC_HEADER_STAT.
1244 (gl_PREREQ_LSTAT): Remove.
1245 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1246 Don't require AC_HEADER_STAT.
1247 * prereq.m4 (gl_PREREQ): Require gl_STAT_MACROS.
1248 * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1249 (gl_PREREQ_RMDIR): Remove.
1251 2005-04-27 Paul Eggert <eggert@cs.ucla.edu>
1253 * stat-macros.m4: New file, from gnulib, except that gl_STAT_MACROS
1254 also requires AC_HEADER_STAT.
1255 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1256 mention stat-macros.h or AC_HEADER_STAT, since we'll make
1257 the stat-macros module a prerequisite.
1258 * file-type.m4 (gl_FILE_TYPE): Likewise.
1259 * filemode.m4 (gl_FILEMODE): Likewise.
1260 * makepath.m4 (gl_MAKEPATH): Likewise.
1261 * modechange.m4 (gl_MODECHANGE): Likewise.
1263 2005-04-18 Paul Eggert <eggert@cs.ucla.edu>
1265 * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1267 * jm-macros.m4 (gl_MACROS): Use gl_ or coreutils_ rather than fetish_
1269 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1270 fetish_FUNC_RMDIR_NOTEMPTY. All uses changed. Use gl_ for
1273 2005-04-11 Paul Eggert <eggert@cs.ucla.edu>
1275 Add bulletproofing for cases where stdin, stdout, or stderr are closed.
1276 * fcntl-safer.m4: Remove.
1277 * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1278 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1279 Invoke gl_PREREQ_FD_SAFER.
1280 (gl_PREREQ_FD_SAFER): New macro.
1281 * prereq.m4 (gl_PREREQ): Don't require gl_FCNTL_SAFER.
1283 2005-04-08 Paul Eggert <eggert@cs.ucla.edu>
1285 * jm-macros.m4 (gl_MACROS): Check for siginterrupt.
1286 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Likewise.
1287 * jm-macros.m4 (gl_CHECK_ALL_TYPES): Do not require AC_TYPE_SIGNAL.
1289 2005-03-30 Paul Eggert <eggert@cs.ucla.edu>
1291 * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1292 Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1293 Remove duplicate call to AC_LIBOBJ(readutmp).
1294 (gl_PREREQ_READUTMP): Remove. All uses inlined.
1296 2005-03-28 Eric Blake <ebb9@byu.net> (tiny change)
1298 * getcwd-path-max.m4: Return success on systems such as Cygwin
1299 where no absolute path name can be longer than PATH_MAX.
1301 2005-03-21 Paul Eggert <eggert@cs.ucla.edu>
1303 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Add stat-macros.h
1305 * file-type.m4 (gl_FILE_TYPE): Likewise.
1306 * filemode.m4 (gl_FILEMODE): Likewise.
1307 * makepath.m4 (gl_MAKEPATH): Likewise.
1308 * xstrtol.m4 (gl_XSTRTOL): Add xstrtoul.c to AC_LIBSOURCES.
1309 Add xstrtoul to AC_LIBOBJ.
1311 * onceonly.m4: Remove.
1312 * onceonly_2_57.m4: Add.
1313 This change shrinks "configure" by over 300 kB.
1315 Another change imported from gnulib.
1316 * memcasecmp.m4 (gl_MEMCASECMP): Renamed from gl_FUNC_MEMCASECMP.
1317 All uses changed. Require AC_HEADER_STDC instead of invoking it.
1318 Remove check for stddef.h, size_t, const, since we now assume
1321 2005-03-20 Paul Eggert <eggert@cs.ucla.edu>
1323 * gettext.m4, inttypes.m4, isc-posix.m4, lib-link.m4, nls.m4,
1324 onceonly.m4, po.m4: Sync from gnulib.
1326 2005-03-17 Jim Meyering <jim@meyering.net>
1328 * typeof.m4 (gl_TYPEOF): New file/macro.
1329 * prereq.m4 (gl_PREREQ): Require gl_TYPEOF.
1331 2005-03-10 Jim Meyering <jim@meyering.net>
1333 * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1335 * human.m4 (gl_HUMAN): Add intprops.h.
1336 * inttostr.m4 (gl_INTTOSTR): Likewise
1337 * sig2str.m4 (gl_FUNC_SIG2STR): Likewise.
1338 * userspec.m4 (gl_USERSPEC): Likewise.
1339 * utimecmp.m4 (gl_UTIMECMP): Likewise.
1340 * xnanosleep.m4 (gl_XNANOSLEEP): Likewise.
1342 * xstrtol.m4 (gl_XSTRTOL): Use AC_LIBSOURCES and AC_LIBOBJ
1343 to list the required files.
1345 2005-03-09 Jim Meyering <jim@meyering.net>
1347 * argmatch.m4, cycle-check.m4: New files.
1348 * prereq.m4: Require their macros.
1350 2005-03-01 Paul Eggert <eggert@cs.ucla.edu>
1352 * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1353 to detect nanosleep bug.
1355 2005-02-25 Paul Eggert <eggert@cs.ucla.edu>
1357 * gettext.m4, inttypes-pri.m4, lib-link.m4, lib-prefix.m4, nls.m4,
1358 po.m4, progtest.m4: Sync from gnulib.
1360 2005-02-23 Jim Meyering <jim@meyering.net>
1362 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
1363 Thanks to Bruno Haible for catching it.
1365 2005-02-22 Jim Meyering <jim@meyering.net>
1367 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
1369 2005-02-21 Paul Eggert <eggert@cs.ucla.edu>
1371 * xnanosleep.m4: New file.
1372 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Require gl_CLOCK_TIME,
1373 gl_USE_SYSTEM_EXTENSIONS. Check whether CLOCK_MONOTONIC is
1374 defined, and set LIB_GETHRXTIME accordingly. This is needed
1375 for newer GNU/Linux systems that have clock_gettime, so that they
1376 link in the appropriate library for it when needed.
1377 * prereq.m4 (gl_PREREQ): Require gl_XNANOSLEEP.
1379 2005-02-20 Paul Eggert <eggert@cs.ucla.edu>
1381 * gethrxtime.m4: New file.
1382 * gettime.m4 (gl_GETTIME): Check for nanotime.
1383 * jm-macros.m4 (gl_MACROS): Don't check for gethrtime.
1384 * prereq.m4 (gl_PREREQ): Require gl_GETHRXTIME.
1386 2005-02-20 Jim Meyering <jim@meyering.net>
1388 * stripslash.m4: New file.
1389 * linebuffer.m4: New file.
1390 * prereq.m4 (gl_PREREQ): Require gl_STRIPSLASH and gl_LINEBUFFER.
1392 2005-02-11 Jim Meyering <jim@meyering.net>
1394 * inttostr.m4 (gl_INTTOSTR): Use AC_LIBSOURCES to list the
1395 required source files.
1397 2005-02-09 Jim Meyering <jim@meyering.net>
1399 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Use AC_LIBSOURCES to list the
1400 required source files.
1402 2005-02-08 Jim Meyering <jim@meyering.net>
1404 * memcasecmp.m4 (gl_FUNC_MEMCASECMP): New file and macro.
1405 * prereq.m4: Require gl_FUNC_MEMCASECMP.
1407 2005-02-07 Jim Meyering <jim@meyering.net>
1409 * fts.m4 (gl_FUNC_FTS): New file and macro.
1410 * prereq.m4: Require gl_FUNC_FTS.
1412 2005-02-06 Jim Meyering <jim@meyering.net>
1414 * memrchr.m4 (gl_FUNC_MEMRCHR): Check for declaration of memrchr.
1416 * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Depend on gl_FUNC_MEMRCHR.
1418 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1420 * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
1422 2005-01-29 Jim Meyering <jim@meyering.net>
1424 Use AC_LIBSOURCES to list corresponding source (.c, .h, .y) files
1425 so that automake automatically knows to distribute those files.
1426 Use AC_LIBOBJ to ensure that automake automatically knows the
1427 names of always-compiled source files. Automake already knows
1428 the names of conditionally compiled ones, e.g., due to preexisting
1429 uses of AC_LIBOBJ and AC_REPLACE_FUNCS.
1430 [This is a start. Many still remain to be fixed...]
1432 * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4:
1433 * canonicalize.m4, cloexec.m4, closeout.m4, dirfd.m4, dirname.m4:
1434 * exclude.m4, exitfail.m4, file-type.m4, filemode.m4, fpending.m4:
1435 * fsusage.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4:
1436 * gettime.m4, getugroups.m4, group-member.m4, hard-locale.m4:
1437 * hash.m4, human.m4, idcache.m4, long-options.m4, makepath.m4:
1438 * md5.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4:
1439 * path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4:
1440 * quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4:
1441 * safe-write.m4, same.m4, savedir.m4, setenv.m4, settime.m4:
1442 * sha1.m4, sig2str.m4, strdup.m4, strftime.m4, strndup.m4:
1443 * strverscmp.m4, timespec.m4, unlocked-io.m4, userspec.m4:
1444 * utimecmp.m4, utimens.m4, xalloc.m4, yesno.m4:
1446 2005-01-27 Jim Meyering <jim@meyering.net>
1448 * hash-pjw.m4 (gl_HASH_PJW): New file/macro.
1449 * basename.m4 (gl_BASENAME): New file/macro.
1450 * prereq.m4: Require gl_HASH_PJW and gl_BASENAME.
1452 2005-01-23 Paul Eggert <eggert@cs.ucla.edu>
1455 * acl.m4, afs.m4, alloca.m4, assert.m4, atexit.m4,
1456 backupfile.m4, bison.m4, c-strtod.m4, calloc.m4,
1457 canon-host.m4, canonicalize.m4, clock_time.m4, cloexec.m4,
1458 closeout.m4, d-ino.m4, d-type.m4, dirfd.m4, dirname.m4,
1459 dos.m4, dup2.m4, error.m4, euidaccess.m4, exclude.m4,
1460 exitfail.m4, extensions.m4, fcntl-safer.m4, file-type.m4,
1461 fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4, free.m4,
1462 fstypename.m4, fsusage.m4, ftruncate.m4, getcwd-path-max.m4,
1463 getcwd.m4, getdate.m4, getgroups.m4, gethostname.m4,
1464 getline.m4, getndelim2.m4, getopt.m4, getpagesize.m4,
1465 getpass.m4, gettime.m4, gettimeofday.m4, getugroups.m4,
1466 getusershell.m4, group-member.m4, hard-locale.m4, hash.m4,
1467 host-os.m4, human.m4, idcache.m4, inttostr.m4, jm-winsz1.m4,
1468 jm-winsz2.m4, link-follow.m4, long-options.m4, ls-mntd-fs.m4,
1469 lstat.m4, makepath.m4, md5.m4, memchr.m4, memcmp.m4,
1470 memcoll.m4, memcpy.m4, memmove.m4, memrchr.m4, memset.m4,
1471 mkdir-slash.m4, mkstemp.m4, mktime.m4, modechange.m4,
1472 mountlist.m4, nanosleep.m4, obstack.m4, path-concat.m4,
1473 pathmax.m4, perl.m4, physmem.m4, posixtm.m4, posixver.m4,
1474 putenv.m4, quote.m4, quotearg.m4, readdir.m4, readtokens.m4,
1475 readutmp.m4, regex.m4, rename.m4, restrict.m4, rmdir-errno.m4,
1476 rmdir.m4, rpmatch.m4, same.m4, savedir.m4, settime.m4,
1477 sha1.m4, sig2str.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
1478 stdio-safer.m4, strdup.m4, strftime.m4, strndup.m4,
1479 strnlen.m4, strtod.m4, strtoimax.m4, strtol.m4, strtoll.m4,
1480 strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4,
1481 timespec.m4, tm_gmtoff.m4, tzset.m4, uint32_t.m4,
1482 uintptr_t.m4, unistd-safer.m4, unlink-busy.m4, unlocked-io.m4,
1483 uptime.m4, userspec.m4, utimbuf.m4, utime.m4, utimecmp.m4,
1484 utimens.m4, utimes-null.m4, xalloc.m4, xgetcwd.m4,
1485 xreadlink.m4, xstrtod.m4, xstrtoimax.m4, xstrtol.m4,
1486 xstrtoumax.m4, yesno.m4:
1487 Use an all-permissive copyright notice, recommended by RMS.
1489 2005-01-21 Bruno Haible <bruno@clisp.org>
1492 * allocsa.m4, chdir-long.m4, chown.m4, codeset.m4, eealloc.m4,
1493 eoverflow.m4, glibc21.m4, iconv.m4, intmax_t.m4, inttypes_h.m4,
1494 lchown.m4, lib-ld.m4, lib-link.m4, lib-prefix.m4, longdouble.m4,
1495 longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mempcpy.m4,
1496 openat.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4,
1497 signed.m4, ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4,
1498 strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, uintmax_t.m4,
1499 ullong_max.m4, ulonglong.m4, unicodeio.m4, utimes.m4,
1500 vasnprintf.m4, vasprintf.m4, wchar_t.m4, wint_t.m4:
1501 Use an all-permissive copyright notice, recommended by RMS.
1503 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
1505 * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
1507 2005-01-14 Jim Meyering <jim@meyering.net>
1509 * utimes.m4: Work around tests/touch/empty-file failure on a system
1510 (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
1511 NULL-means-set-to-current-time semantics.
1512 Remove temporary file immediately, rather than waiting
1513 for configure's at-exit trap code to do it.
1515 2005-01-04 Jim Meyering <jim@meyering.net>
1517 * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
1518 is sane and DOES follow symlinks. Besides, testing 20 different
1519 systems found no broken chown implementations.
1520 Prompted by a change in rsync's copy of this macro.
1522 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
1524 * ullong_max.m4: New file.
1525 * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
1527 2005-01-03 Jim Meyering <jim@meyering.net>
1529 * mkstemp.m4 (gl_FUNC_MKSTEMP): Don't `cd' into the temporary
1530 subdirectory. That would make the subsequent AC_TRY_RUN macro fail,
1531 for lack of the ./confdefs.h file. Instead, use the temporary
1532 directory name as a prefix on the template string.
1533 Include <unistd.h> for the declaration of close.
1534 Remove `.tmp' suffix; mkstemp requires that XXXXXX be a suffix.
1536 2004-12-23 Paul Eggert <eggert@cs.ucla.edu>
1538 * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
1540 2004-12-21 Jim Meyering <jim@meyering.net>
1542 * mkstemp.m4 (gl_FUNC_MKSTEMP): Remove temporary directory right
1543 away, rather than waiting for configure's at-exit trap code to do it.
1544 Suggestion from Stepan Kasal.
1546 2004-12-20 Jim Meyering <jim@meyering.net>
1548 * mkstemp.m4: Do the `cd' in a subshell.
1550 * mkstemp.m4: Rather than using "conftestXXXXXX" as the mkstemp
1551 template, use a temporary directory and an 8.3-friendly template
1552 to avoid trouble on systems like DJGPP.
1553 Reported by Juan M. Guerrero via Stepan Kasal.
1555 2004-12-19 Paul Eggert <eggert@cs.ucla.edu>
1557 * c-strtod.m4 (gl_C99_STRTOLD): New macro.
1558 (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
1560 2004-12-10 Jim Meyering <jim@meyering.net>
1562 * chdir-long.m4 (gl_FUNC_CHDIR_LONG: Arrange to compile chdir-long.c
1563 only on systems that define PATH_MAX.
1565 2004-12-07 Paul Eggert <eggert@cs.ucla.edu>
1567 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
1568 spurious "-l"s. Problem reported by Stepan Kasal.
1570 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1572 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
1573 in Autoconf 2.59. Problem reported by Mark D. Baushke.
1575 2004-12-06 Jim Meyering <jim@meyering.net>
1577 * save-cwd.m4 (gl_SAVE_CWD): Use AC_LIBSOURCES.
1578 Use AC_LIBOBJ(save-cwd).
1579 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Use AC_LIBSOURCES.
1580 Use AC_LIBOBJ(chdir-long).
1581 * mempcpy.m4 (gl_FUNC_MEMPCPY): Use AC_LIBSOURCES.
1582 * lchown.m4 (gl_FUNC_LCHOWN): Likewise.
1583 * openat.m4 (gl_FUNC_OPENAT): Likewise.
1584 (gl_PREREQ_GETCWD): Use AC_REQUIRE.
1586 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
1588 * openat.m4: Add copyright notice.
1589 (gl_FUNC_OPENAT): Require gl_USE_SYSTEM_EXTENSIONS, since Solaris
1590 requires __EXTENSIONS__ to be defined when compiling pedantically,
1591 if you want AT_FDCWD.
1593 2004-12-01 Paul Eggert <eggert@cs.ucla.edu>
1595 * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
1597 * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
1598 * jm-macros.m4 (gl_MACROS): Assume localeconv exists.
1600 2004-11-30 Paul Eggert <eggert@cs.ucla.edu>
1602 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1603 Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
1605 * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
1607 2004-11-30 Jim Meyering <jim@meyering.net>
1609 * chdir-long.m4: Rename from chdir.m4.
1610 * jm-macros.m4 (gl_MACROS): Reflect renaming.
1612 2004-11-28 Jim Meyering <jim@meyering.net>
1614 * chdir.m4: New file.
1615 * openat.m4: New file.
1616 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR.
1618 2004-11-25 Paul Eggert <eggert@cs.ucla.edu>
1620 * mempcpy.m4: New file, taken from gnulib.
1621 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
1622 GL_FUNC_GETCWD_PATH_MAX for consistency. All uses changed.
1623 Use the _ONCE methods, for efficiency.
1624 Check for fcntl.h. In test program, include <errno.h>
1625 and <fcntl.h> if available. Remove old K&R cruft from
1626 test program. Check for common errors in GNU/Linux,
1627 OpenBSD, and Solaris. Just set gl_cv_func_getcwd_path_max;
1628 don't do AC_LIBOBJ, as that's getcwd.m4's job.
1629 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
1630 AC_FUNC_GETCWD_NULL. All used changed. Change cache variable
1632 (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros. Revamp to
1633 accommodate new getcwd.c.
1634 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
1635 * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
1636 * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
1637 that's all we need now.
1639 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1641 * utimens.m4 (gl_UTIMENS): Check for futimes function.
1643 2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1645 * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
1646 order not to spoil the result of an eventual previous invocation
1647 of gl_GETOPT_SUBSTITUTE.
1649 2004-11-17 Paul Eggert <eggert@cs.ucla.edu>
1651 * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
1652 that mishandle size_t overflow.
1654 2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
1656 * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
1658 2004-11-13 Jim Meyering <jim@meyering.net>
1660 * jm-macros.m4: Do require gl_FUNC_FPENDING.
1661 * fpending.m4: Restore file.
1663 2004-11-11 Paul Eggert <eggert@cs.ucla.edu>
1665 * getopt.m4: Sync from gnulib.
1667 2004-11-06 Jim Meyering <jim@meyering.net>
1669 * jm-macros.m4: Don't require gl_FUNC_FPENDING.
1670 * fpending.m4: Remove file.
1672 2004-11-03 Paul Eggert <eggert@cs.ucla.edu>
1674 * setenv.m4: New file, from gnulib.
1675 * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
1676 * uint32_t.m4: Sync from gnulib.
1678 2004-11-02 Paul Eggert <eggert@cs.ucla.edu>
1680 * getpass.m4: Sync from gnulib.
1682 2004-10-29 Paul Eggert <eggert@cs.ucla.edu>
1684 * getpagesize.m4: Sync from gnulib.
1686 2004-10-17 Paul Eggert <eggert@cs.ucla.edu>
1688 * jm-macros.m4 (gl_MACROS): Check for mbrlen, for pathchk.
1689 (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
1692 * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
1693 implementation of getopt_long.
1695 2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
1699 * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove. All uses removed.
1701 * unlocked-io.m4: Add copyright notice.
1702 (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
1704 2004-10-03 Paul Eggert <eggert@cs.ucla.edu>
1707 * mbswidth.m4: Add copyright notice.
1708 * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
1709 * eoverflow.m4: New file.
1711 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
1713 * getopt.m4: Sync from gnulib.
1715 2004-08-11 Paul Eggert <eggert@cs.ucla.edu>
1717 * obstack.m4 (gl_PREREQ_OBSTACK): Require
1718 gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
1720 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
1722 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
1724 * sha1.m4: Renamed from sha.m4.
1725 (gl_SHA1): Renamed from gl_SHA. All uses changed.
1727 2004-08-08 Simon Josefsson <jas@extundo.com>
1729 * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
1730 Check getpass declaration.
1732 2004-08-07 Paul Eggert <eggert@cs.ucla.edu>
1734 * canonicalize.m4, getcwd-path-max.m4, strdup.m4: Merge from gnulib.
1736 2004-08-05 Paul Eggert <eggert@cs.ucla.edu>
1740 * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
1741 for backward compatibility with older code. We need our own
1742 alloca.h if _AIX is defined. Define HAVE_ALLOCA if we discover
1743 it under some other name, and our alloca.h will define it.
1744 * backupfile.m4, calloc.m4, strtoimax.m4, strtoumax.m4:
1745 Bump serial number only.
1746 * dirfd.m4, intmax_t.m4, inttypes_h.m4, mbrtowc.m4, stdint_h.m4,
1747 uintmax_t.m4: Finish renaming jm_ to gl_.
1748 * dos.m4 (gl_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
1749 * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
1750 * prereq.m4 (gl_PREREQ): Add gl_GETTIME, AC_FUNC_CALLOC.
1751 * gettime.m4: New file.
1752 * settime.m4: Require gl_TIMESPEC; check for settimeofday, stime.
1753 * unlocked-io.m4: Remove -*- autoconf -*-.
1754 * xalloc.m4: No longer require AC_FUNC_CALLOC, AC_FUNC_MALLOC,
1757 2004-08-04 Paul Eggert <eggert@cs.ucla.edu>
1759 OpenBSD porting fixes.
1760 * boottime.m4: Add copyright notice.
1761 (GNULIB_BOOT_TIME): Include sys/param.h before testing
1763 * fsusage.m4: Add copyright notice.
1764 (gl_FSUSAGE): Include sys/param.h before checking for sys/mount.h.
1765 * jm-macros.m4: Include copyright notice.
1766 (gl_MACROS): Use the _ONCE variants when appropriate.
1767 Include sys/param.h before testing for sys/sysctl.h and sys/mount.h.
1768 * ls-mntd-fs.m4: Include copyright notice.
1769 (gl_LIST_MOUNTED_FILE_SYSTEMS): Include sys/param.h before
1770 testing for sys/mount.h.
1771 * stat-prog.m4: Include copyright notice.
1772 (cu_PREREQ_STAT_PROG): Use the _ONCE variants when appropriate.
1773 Include sys/param.h before testing for sys/mount.h.
1775 2004-08-01 Paul Eggert <eggert@cs.ucla.edu>
1777 * jm-macros.m4 (gl_CHECK_ALL_TYPES):
1778 Require gl_AC_TYPE_UINTPTR_T instead of using AC_CHECK_TYPE
1779 on uintptr_t. Require gl_AC_TYPE_UINT32_T.
1780 * md5.m4 (gl_MD5): Require gl_AC_TYPE_UINT32_T.
1781 * uint32_t.m4, uintptr_t.m4: New files.
1783 2004-07-28 Paul Eggert <eggert@cs.ucla.edu>
1785 * md5.m4 (gl_MD5): Do not require AC_C_INLINE, since it doesn't
1786 use inline any more. Require AC_C_BIGENDIAN, though.
1787 * sha.m4 (gl_SHA): Require AC_C_BIGENDIAN.
1789 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
1791 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't bother checking for
1792 unistd.h, as autoconf does this for us. Check for libgen.h.
1793 Also look for eaccess within -lgen, which is where it is in
1794 Solaris. Set LIB_EACCESS accordingly.
1796 * backupfile.m4 (gl_BACKUPFILE): AC_REQUIRE
1797 gl_CHECK_TYPE_STRUCT_DIRENT_D_INO instead of invoking it directly.
1798 Do not require AC_FUNC_CLOSEDIR_VOID.
1800 2004-07-25 Paul Eggert <eggert@cs.ucla.edu>
1802 * jm-macros.m4 (gl_MACROS): Remove test for setreuid and setregid,
1803 as test.c no longer uses them directly.
1805 * euidaccess.m4 (gl_FUNC_NONREENTRANT_EUIDACCESS): New macro.
1806 (gl_FUNC_EUIDACCESS): Use AC_CHECK_DECLS_ONCE, not AC_CHECK_DECLS.
1807 (gl_PREREQ_EUIDACCESS): Check for eaccess and setregid decls.
1808 Require AC_HEADER_STAT.
1810 * prereq.m4 (gl_PREREQ): Invoke gl_FUNC_NONREENTRANT_EUIDACCESS,
1811 not gl_FUNC_EUIDACCESS.
1813 2004-07-23 Paul Eggert <eggert@cs.ucla.edu>
1815 * prereq.m4 (gl_PREREQ): Add gl_FCNTL_SAFER.
1816 * fcntl-safer.m4: New file.
1818 2004-07-12 Paul Eggert <eggert@cs.ucla.edu>
1820 * c-strtod.m4 (gl_C_STRTOD): Add gl_USE_SYSTEM_EXTENSIONS.
1822 2004-07-11 Paul Eggert <eggert@cs.ucla.edu>
1824 * c-strtod.m4: New file.
1825 * prereq.m4 (gl_PREREQ): Add gl_C_STRTOLD.
1827 2004-04-03 Dmitry V. Levin <ldv@altlinux.org>
1829 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME):
1830 Do not add canonicalize.c here.
1832 2004-07-02 Paul Eggert <eggert@cs.ucla.edu>
1834 * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
1835 prerequisite modules now handle the DOS stuff.
1836 Don't check for unistd.h.
1838 2004-06-30 Paul Eggert <eggert@cs.ucla.edu>
1840 * dos.m4 (gl_AC_DOS): Define FILE_SYSTEM_PREFIX_LEN, not
1841 FILESYSTEM_PREFIX_LEN. Generate
1842 FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX, not
1843 FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX. Generate
1844 FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR, not
1845 FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
1846 * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Renamed from
1847 gl_LIST_MOUNTED_FILESYSTEMS. All uses changed.
1849 2004-06-25 Jim Meyering <jim@meyering.net>
1851 * afs.m4 (gl_AFS): Use AC_ARG_WITH instead of ancient, hard-coded
1852 AC_MSG_CHECKING/AC_MSG_RESULT etc. From Tim Waugh.
1854 2004-06-15 Paul Eggert <eggert@cs.ucla.edu>
1856 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Fix typo: getcwd
1857 was being replaced when it shouldn't have been, and vice versa.
1859 2004-06-09 Jim Meyering <jim@meyering.net>
1861 * calloc.m4 (AC_FUNC_CALLOC): Remove use of AN_FUNCTION.
1863 2004-06-07 Jim Meyering <jim@meyering.net>
1865 * jm-macros.m4 (gl_MACROS): Check for the directio function.
1867 2004-06-01 Jim Meyering <jim@meyering.net>
1869 * stdbool.m4: Update from gnulib.
1871 2004-05-29 Jim Meyering <jim@meyering.net>
1873 * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_FUNC_CALLOC.
1874 * calloc.m4 (AC_FUNC_CALLOC, _AC_FUNC_CALLOC_IF): New file/macros.
1876 2004-05-21 Jim Meyering <jim@meyering.net>
1878 * free.m4: Update from gnulib (fix reversed test).
1880 2004-05-03 Jim Meyering <jim@meyering.net>
1882 Temporary work-around for the problem reported here:
1883 http://sources.redhat.com/ml/bug-automake/2004/msg00339.html
1885 * gettext.m4 (AM_GNU_GETTEXT): Don't require AM_INTL_SUBDIR.
1886 (AM_INTL_SUBDIR): Comment out definition.
1888 2004-05-01 Jim Meyering <jim@meyering.net>
1890 * jm-mktime.m4: Remove file. This is now part of mktime.m4.
1891 * glibc.m4, c-stack.m4, xsize.m4, size_max.m4: Remove unused files.
1892 * printf-posix.m4, lcmessage.m4: Likewise.
1893 * gettextext.m4, intdiv0.m4, intmax.m4: Likewise.
1895 * jm-macros.m4 (gl_MACROS): Move fchown-checking code to chown.m4.
1896 * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
1897 See if we need an fchown replacement.
1898 (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
1899 (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
1900 and use the replacement function if we detect either defect.
1902 2004-04-22 Paul Eggert <eggert@twinsun.com>
1904 * jm-macros.m4 (gl_MACROS): Check for tcgetpgrp.
1906 2004-04-23 Jim Meyering <jim@meyering.net>
1908 * jm-macros.m4: Don't check for values.h; it's no longer used.
1910 2004-04-20 Jim Meyering <jim@meyering.net>
1912 Change UTILS_ to gl_ in AC_DEFINE'd names.
1913 Change utils_- and jm_-prefixed variables, too.
1914 * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
1915 UTILS_FUNC_MKDIR_TRAILING_SLASH.
1916 * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
1917 * host-os.m4 (gl_HOST_OS): Renamed from UTILS_HOST_OS.
1919 * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
1920 Don't emit trailing blanks.
1921 Also rename jm_-prefixed variables to have gl_ prefix.
1923 * jm-macros.m4: Reflect the renamings.
1924 * prereq.m4: Likewise.
1926 2004-04-19 Jim Meyering <jim@meyering.net>
1928 * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
1929 now that readutmp.c may call `free (0)'.
1931 2004-04-14 Jim Meyering <jim@meyering.net>
1933 * Makefile.am: Remove file. With automake-1.8.3, it's no longer needed.
1934 * Makefile.am.in: Likewise.
1935 * Makefile.in: Likewise.
1937 * stat-prog.m4 (cu_PREREQ_STAT_PROG): Don't use AC_CHECK_HEADERS to
1938 check for inttypes.h. Instead, require gt_HEADER_INTTYPES_H.
1940 * jm-macros.m4: Require cu_PREREQ_STAT_PROG.
1942 * prereq.m4: Move prerequisite function for src/stat.c to ...
1943 * stat-prog.m4 (cu_PREREQ_STAT_PROG): New file. Contents from prereq.m4.
1945 2004-04-13 Jim Meyering <jim@meyering.net>
1947 Change `jm_' in AC_DEFINE'd names to `gl_'. Update all uses.
1949 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
1950 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4:
1951 * dos.m4, error.m4, fpending.m4, fstypename.m4, fsusage.m4:
1952 * ftruncate.m4, getdate.m4, getgroups.m4, gettext.m4, glibc21.m4:
1953 * group-member.m4, human.m4, intmax.m4, intmax_t.m4, inttostr.m4:
1954 * inttypes_h.m4, jm-macros.m4, jm-mktime.m4, jm-winsz1.m4:
1955 * jm-winsz2.m4, lchown.m4, lib-check.m4, link-follow.m4, longlong.m4:
1956 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
1957 * memchr.m4, memcmp.m4, mkstemp.m4, mountlist.m4, nanosleep.m4:
1958 * path-concat.m4, perl.m4, prereq.m4, putenv.m4, quotearg.m4:
1959 * regex.m4, stat.m4, stdint_h.m4, strftime.m4, strtoimax.m4:
1960 * strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4, uintmax_t.m4:
1961 * ulonglong.m4, unlink-busy.m4, unlocked-io.m4, uptime.m4, utimbuf.m4:
1962 * utime.m4, utimens.m4, utimes-null.m4, vasnprintf.m4, xstrtoimax.m4:
1963 * xstrtol.m4, xstrtoumax.m4: Change jm_ to gl_ in AC_DEFINE'd names.
1965 2004-03-27 Paul Eggert <eggert@twinsun.com>
1967 * utimecmp.m4: New file.
1968 * prereq.m4 (jm_PREREQ): Require gl_UTIMECMP.
1970 2004-04-07 Paul Eggert <eggert@twinsun.com>
1972 * jm-macros.m4 (jm_MACROS): Check for fdatasync within
1973 -lrt and -lposix4, so that it can be used in Solaris 2.5.1 and later.
1975 2004-03-30 Paul Eggert <eggert@twinsun.com>
1977 * c-stack.m4, getline.m4, getndelim2.m4, mbswidth.m4, po.m4,
1978 strdup.m4, xsize.m4: Sync from gnulib.
1980 * allocsa.m4, cloexec.m4, eealloc.m4, inttostr.m4, mbstate_t.m4:
1981 New files, from gnulib.
1983 * prereq.m4 (jm_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR.
1985 2004-03-31 Jim Meyering <jim@meyering.net>
1987 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
1988 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
1989 * xalloc.m4: Likewise.
1991 * realloc.m4: Remove file, since now it does no more than
1992 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
1993 the `configure.ac' section of module/realloc.
1994 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
1996 2004-02-29 Paul Eggert <eggert@twinsun.com>
1998 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
1999 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
2000 Require AM_STDBOOL_H and gl_TIMESPEC instead.
2001 Require gl_CLOCK_TIME.
2003 2004-03-07 Paul Eggert <eggert@twinsun.com>
2005 * Makefile.am.in (Makefile.am):
2006 Don't use $<, as it doesn't work with Solaris make.
2008 2004-01-29 Jim Meyering <jim@meyering.net>
2010 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
2011 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
2012 on some systems one must include <grp.h> before it.
2013 Reported by Christian Krackowizer.
2015 2004-01-16 Jim Meyering <jim@meyering.net>
2017 * onceonly.m4: Sync with version from gettext-0.13.1.
2019 2003-10-08 Paul Eggert <eggert@twinsun.com>
2023 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2025 2003-08-26 Bruno Haible <bruno@clisp.org>
2029 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2030 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2031 followed by '#define fnmatch fnmatch_posix' gives an error.
2033 2004-01-14 Paul Eggert <eggert@twinsun.com>
2035 * posixv.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
2037 2004-01-13 Jim Meyering <jim@meyering.net>
2039 * gettext.m4, lib-ld.m4, lib-prefix.m4, nls.m4, po.m4:
2040 Update from gettext-0.13.1.
2041 * intmax.m4, isc-posix.m4, printf-posix.m4, size_max.m4, xsize.m4:
2042 New files. From gettext-0.13.1.
2044 2004-01-11 Paul Eggert <eggert@twinsun.com>
2046 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): Move
2047 the documentation from 'configure' into 'config.hin',
2048 so that 'configure --help' isn't burdened by it and
2049 we don't have to worry about its formatting there.
2050 Reword the documentation so that it's more succinct
2051 and can be run together into a single paragraph.
2053 2004-01-12 Jim Meyering <jim@meyering.net>
2055 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2057 2003-12-20 Jim Meyering <jim@meyering.net>
2059 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2061 * open-max.m4 (UTILS_SYS_OPEN_MAX): Remove file. No longer used.
2063 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2064 value, $ac_cv_search_crypt, if it's "none required".
2066 2003-12-19 Jim Meyering <jim@meyering.net>
2068 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2069 if no library is required.
2071 2003-12-18 Jim Meyering <jim@meyering.net>
2073 * search-libs.m4 (AC_SEARCH_LIBS): Remove file/macro, now that
2074 this replacement is no longer needed. Besides, this macro has
2075 no effect with autoconf-2.58, since `undefine' in package-supplied
2076 .m4 files is no longer honored. Reported by Andreas Schwab.
2078 Remove now-unnecessary (and unused) files. They also used `undefine'.
2079 * isc-posix.m4 (AC_ISC_POSIX): Remove file.
2080 * getloadavg.m4 (gl_FUNC_GETLOADAVG): Remove file.
2081 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2082 not gl_FUNC_GETLOADAVG.
2084 2003-11-08 Jim Meyering <jim@meyering.net>
2086 * inttypes.m4: Sync from gnulib (this file was previously empty,
2087 to work around some sort of problem).
2089 2003-11-08 Alexandre Duret-Lutz <adl@gnu.org>
2091 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2092 value, $ac_cv_search_nanosleep, if it's "none required".
2094 2003-11-05 Paul Eggert <eggert@twinsun.com>
2096 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
2098 2003-11-05 Jim Meyering <jim@meyering.net>
2100 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2101 * free.m4: New file, from gnulib.
2103 * exitfail.m4, host-os.m4, strndup.m4: Update from gnulib.
2105 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2106 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2108 2003-10-13 Paul Eggert <eggert@twinsun.com>
2110 * xalloc.m4: Import latest version from gnulib.
2112 2003-10-06 Jim Meyering <jim@meyering.net>
2114 * ftw.m4: Remove now-unused file.
2116 2003-10-05 Jim Meyering <jim@meyering.net>
2118 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2120 2003-09-17 Paul Eggert <eggert@twinsun.com>
2123 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2124 to avoid spurious warnings like "AC_RUN_IFELSE was called before
2125 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2127 2003-09-12 Paul Eggert <eggert@twinsun.com>
2129 More patches to assume C89 or better.
2131 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2132 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2133 * userspec.m4 (gl_USERSPEC): Likewise.
2134 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2135 * xstrtod.m4 (gl_XSTRTOD): Likewise.
2136 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2137 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2139 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2140 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2141 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2142 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2143 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2144 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2147 2003-09-12 Paul Eggert <eggert@twinsun.com>
2149 * error.m4 (gl_ERROR): Don't check for vprintf.
2150 Require AC_FUNC_STRERROR_R rather than invoking it.
2152 2003-09-12 Paul Eggert <eggert@twinsun.com>
2154 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2156 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2157 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2158 Include <string.h>, <stdlib.h> unconditionally.
2159 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2160 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2161 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2163 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlb.h
2165 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2166 and AC_MINIX, too, so that their extensions are available.
2168 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
2169 This macro has been superseded by gl_BACKUPFILE.
2171 2003-09-12 Jim Meyering <jim@meyering.net>
2173 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2174 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2175 * readtokens.m4: New file, from gnulib
2177 * makepath.m4: Likewise.
2178 * long-options.m4: Likewise.
2179 * idcache.m4: Likewise.
2180 * getugroups.m4: Likewise.
2182 2003-09-11 Paul Eggert <eggert@twinsun.com>
2184 More patches to assume C89 or better.
2185 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2186 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2187 string.h, memchr, STDC_HEADERS.
2189 2003-09-10 Bruno Haible <bruno@clisp.org>
2191 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2192 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2193 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2194 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2195 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2196 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2198 2003-09-09 Paul Eggert <eggert@twinsun.com>
2200 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2201 * getopt.m4 (gl_GETOPT): Don't check for string.h.
2202 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2203 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2205 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2207 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2208 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2209 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2210 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2211 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2212 * memcoll.m4 (gl_MEMCOLL): Likewise.
2213 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2214 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2216 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2217 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2218 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2219 C headers, or for string.h.
2220 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2221 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2222 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2223 headers, memory.h, stdlib.h, string.h, strings.h.
2224 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2225 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2226 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2228 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2229 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2231 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2232 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2233 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2234 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2236 2003-09-09 Derek Robert Price <derek@ximbiot.com>
2238 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2241 2003-09-08 Paul Eggert <eggert@twinsun.com>
2243 Assume C89 or better; remove K&R cruft.
2244 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2245 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2246 string.h, getenv, malloc.
2247 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2249 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2250 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2251 do not check for strerror.
2252 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2253 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2254 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
2255 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2257 2003-08-27 Jim Meyering <jim@meyering.net>
2259 * mkstemp.m4: Require that the system mkstemp be able to create
2260 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
2261 would fail after 32. Reported by Danny Levinson. Details here:
2262 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2264 2003-08-19 Jim Meyering <jim@meyering.net>
2266 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2267 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2269 2003-08-18 Paul Eggert <eggert@twinsun.com>
2271 * same.m4 (gl_SAME): Do not check for stdlib.h or string.h or free.
2274 2003-08-18 Jim Meyering <jim@meyering.net>
2276 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2277 * lib-ld.m4: Likewise.
2280 2003-08-18 Paul Eggert <eggert@twinsun.com>
2281 and Jim Meyering <jim@meyering.net>
2283 It turns out that we need AM_NLS and AM_PO_SUBDIRS after all;
2284 otherwise po/POTFILES and po/Makefile aren't built by 'configure'.
2285 I'm not sure why I didn't catch this earlier; most likely some
2286 leftover build files. Sorry about that.
2287 * gettextext.m4 (AM_NLS, AM_PO_SUBDIRS): Remove definitions.
2288 * nls.m4, po.m4: New files, taken from gnulib / gettext.
2290 2003-08-16 Paul Eggert <eggert@twinsun.com>
2294 * gettextext.m4: New file.
2296 * atexit.m4, backupfile.m4, canon-host.m4, clock_time.m4,
2297 closeout.m4, dirname.m4, dup2.m4, euidaccess.m4, exclude.m4,
2298 exitfail.m4, file-type.m4, fileblocks.m4, filemode.m4, getdate.m4,
2299 gethostname.m4, getloadavg.m4, getopt.m4, getpagesize.m4,
2300 getpass.m4, getusershell.m4, hard-locale.m4, hash.m4, malloc.m4,
2301 memchr.m4, memcpy.m4, memmove.m4, memrchr.m4, memset.m4,
2302 modechange.m4, mountlist.m4, obstack.m4, path-concat.m4,
2303 pathmax.m4, physmem.m4, posixtm.m4, posixver.m4, quote.m4,
2304 quotearg.m4, readlink.m4, readutmp.m4, realloc.m4, rmdir.m4,
2305 rpmatch.m4, safe-read.m4, safe-write.m4, same.m4, save-cwd.m4,
2306 savedir.m4, settime.m4, sha.m4, sig2str.m4, stdio-safer.m4,
2307 stpcpy.m4, strcase.m4, strcspn.m4, strdup.m4, strndup.m4,
2308 strnlen.m4, strpbrk.m4, strstr.m4, strtod.m4, strtoimax.m4,
2309 strtol.m4, strtoll.m4, strtoul.m4, strtoull.m4, strtoumax.m4,
2310 strverscmp.m4, ulonglong.m4, unicodeio.m4, unistd-safer.m4,
2311 userspec.m4, xalloc.m4, xgetcwd.m4, xreadlink.m4, xstrtod.m4,
2312 xstrtol.m4, yesno.m4: New files, from gnulib.
2314 * acl.m4, check-decl.m4, chown.m4, c-stack.m4, d-ino.m4,
2315 d-type.m4, fileblocks.m4, fsusage.m4, ftruncate.m4, getcwd.m4,
2316 getgroups.m4, getline.m4, getndelim2.m4, gettext.m4,
2317 gettimeofday.m4, group-member.m4, host-os.m4, iconv.m4,
2318 intmax_t.m4, inttypes-pri.m4, jm-macros.m4, lchown.m4, lib-ld.m4,
2319 lib-link.m4, lib-prefix.m4, longdouble.m4, longlong.m4,
2320 ls-mntd-fs.m4, lstat.m4, mbrtowc.m4, mbswidth.m4, memcmp.m4,
2321 mkdir-slash.m4, mkstemp.m4, nanosleep.m4, onceonly.m4, prereq.m4,
2322 progtest.m4, putenv.m4, readdir.m4, rename.m4, stat.m4, tzset.m4,
2323 utimbuf.m4, utime.m4, vasnprintf.m4, xstrtoimax.m4, xstrtoumax.m4:
2326 2003-08-15 Jim Meyering <jim@meyering.net>
2328 * utimes.m4 (gl_FUNC_UTIMES): Use `conftest.utimes' as the test
2329 file name, not `x'. The former will be removed automatically.
2331 2003-08-13 Jim Meyering <jim@meyering.net>
2333 * README: Remove file.
2334 * Makefile.am.in: Simplify.
2335 (Makefile.am): Remove README.
2337 2003-08-10 Jim Meyering <jim@meyering.net>
2339 * utimes.m4 (gl_FUNC_UTIMES): New file.
2340 * utimens.m4: Require gl_FUNC_UTIMES.
2341 Don't check for utime or utimes.
2343 * utimes.m4: Removed.
2344 * utimes-null.m4: Renamed from utimes.m4.
2346 2003-08-06 Paul Eggert <eggert@twinsun.com>
2348 * prereq.m4 (jm_PREREQ): Require gl_UTIMENS.
2349 * utimens.m4: New file.
2351 2003-08-08 Paul Eggert <eggert@twinsun.com>
2353 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF):
2354 Solaris 2.5.1 needs -lw to get the wcslen function.
2356 2003-08-08 Paul Eggert <eggert@twinsun.com>
2358 Use new gnulib 'extensions' module.
2359 * extensions.m4, unlocked-io.m4: New files, from gnulib.
2360 * gnu-source.m4, jm-glibc-io.m4: Remove.
2361 * timespec.m4: Merge from gnulib.
2363 2003-08-08 Paul Eggert <eggert@twinsun.com>
2365 * jm-macros.m4 (jm_MACROS): Replace jm_INCLUDED_REGEX([lib/regex.c])
2367 Replace jm_FUNC_MKTIME with gl_FUNC_MKTIME.
2368 Remove redundant AC_FUNC_FNMATCH_GNU, jm_FUNC_MKTIME.
2369 Remove AC_FUNC_VPRINTF.
2372 2003-08-05 Paul Eggert <eggert@twinsun.com>
2374 * jm-macros.m4 (jm_MACROS): Use gl_GETNDELIM2 rather than
2375 checking for getdelim.
2376 (jm_CHECK_ALL_TYPES): Use gt_TYPE_SSIZE_T for ssize_t rather
2377 than rolling our own.
2378 Merge getline from gnulib.
2379 * getline.m4: Merge from gnulib.
2380 * getndelim2.m4, ssize_t.m4: New files, from gnulib.
2382 2003-08-04 Paul Eggert <eggert@twinsun.com>
2384 * regex.m4: Merge with gnulib.
2385 (gl_REGEX): New macro.
2386 (jm_INCLUDED_REGEX): Don't assume Latin-1 encoding of source code.
2387 * restrict.m4: Merge with gnulib.
2388 (gl_C_RESTRICT): Renamed from ACX_C_RESTRICT. All uses changed.
2389 Rename cache vars to gl_cv_*. Incorporate latest Autoconf CVS tricks.
2391 2003-08-05 Paul Eggert <eggert@twinsun.com>
2393 * gnu-source.m4: New file, taken from gnulib, with support
2394 added for __EXTENSIONS__ a la Solaris.
2395 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Call gl_TIMESPEC rather
2396 than jm_CHECK_TYPE_STRUCT_TIMESPEC.
2397 * st_mtim.m4: Sync with gnulib (white space change only).
2398 * timespec.m4: Sync with gnulib, except also require
2401 2003-08-05 Paul Eggert <eggert@twinsun.com>
2403 * prereq.m4 (jm_PREREQ_PHYSMEM, jm_PREREQ_STAT): Ignore headers
2404 that are present but cannot be compiled. This avoids spurious warnings
2405 on Solaris 9 sparc with Forte Developer 7 C 5.4.
2407 2003-08-04 Paul Eggert <eggert@twinsun.com>
2409 Merge fnmatch module from gnulib.
2410 * fnmatch.m4: New file, from gnulib.
2411 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FNMATCH_GNU
2412 instead of AC_FUNC_ERROR_AT_LINE.
2414 2003-08-04 Paul Eggert <eggert@twinsun.com>
2416 * error.m4: Sync from gnulib.
2418 2003-07-23 Jim Meyering <jim@meyering.net>
2420 * lstat.m4, mkstemp.m4, regex.m4, stat.m4: Normalize naming of Sun
2421 operating systems in comments, e.g., SunOS4 -> SunOS 4,
2422 Solaris5.9 -> Solaris 9. From Paul Eggert.
2424 2003-07-18 Paul Eggert <eggert@twinsun.com>
2426 * jm-macros.m4 (jm_MACROS): Invoke gl_MEMCOLL.
2427 * memcoll.m4: New file, from gnulib.
2428 Based on a patch from Andreas Schwab.
2430 2003-07-14 Jim Meyering <jim@meyering.net>
2432 * Makefile.am.in: Correct comment on first line.
2434 2003-07-12 Jim Meyering <jim@meyering.net>
2436 * jm-macros.m4 (OPTIONAL_BIN_ZCRIPTS): Remove unused variable.
2438 2003-07-10 Jim Meyering <jim@meyering.net>
2440 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_VASPRINTF and
2443 * longdouble.m4, signed.m4, vasnprintf.m4, vasprintf.m4, wchar_t.m4:
2444 * wint_t.m4: New files, in support of new asprintf use. From gnulib.
2446 * stdint_h.m4: New file.
2447 * inttypes_h.m4: New file.
2448 * uintmax_t.m4: New file.
2449 * intmax_t.m4: New file.
2450 * inttypes.m4: Remove file. Use intmax_t.m4 and uintmax_t.m4
2451 from gnulib, instead.
2453 2003-06-09 Jim Meyering <jim@meyering.net>
2455 * tzset.m4 (gl_FUNC_TZSET_CLOBBER): Also define gmtime.
2456 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Likewise.
2457 Suggestion from Paul Eggert.
2459 2003-06-08 Jim Meyering <jim@meyering.net>
2461 * tzset.m4 (gl_FUNC_TZSET_CLOBBER): New file/macro.
2462 Used by strftime.m4.
2463 * strftime.m4 (_jm_STRFTIME_PREREQS): Require gl_FUNC_TZSET_CLOBBER.
2465 2003-06-07 Jim Meyering <jim@meyering.net>
2467 * strftime.m4: Update from gnulib.
2468 * tm_gmtoff.m4: New file, used by strftime.m4.
2469 * mktime.m4: New file. From gnulib.
2471 2003-06-06 Jim Meyering <jim@meyering.net>
2473 * jm-macros.m4: Require gl_FUNC_ALLOCA.
2474 * alloca.m4: New file, from gnulib.
2476 * stdbool.m4: Update from gnulib.
2478 2003-06-04 Paul Eggert <eggert@twinsun.com>
2480 Merge human.c etc. from gnulib.
2481 * human.m4: New file, from gnulib.
2482 * prereq.m4 (jm_PREREQ): Use gl_HUMAN, not jm_PREREQ_HUMAN.
2483 (jm_prereq_HUMAN): Remove.
2485 2003-06-02 Jim Meyering <jim@meyering.net>
2487 * jm-macros.m4 (jm_MACROS): Require AM_STDBOOL_H.
2489 2003-05-26 Jim Meyering <jim@meyering.net>
2491 * dirfd.m4 (UTILS_FUNC_DIRFD): Merge in change from gnulib,
2492 fixing an M4 quoting bug.
2494 * lib-ld.m4 (AC_LIB_PROG_LD_GNU): Use TAB-SP, not SP-TAB
2496 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
2498 2003-05-06 Jim Meyering <jim@meyering.net>
2500 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for the
2501 declaration of getcwd *before* checking for the getcwd kernel bug.
2502 Otherwise, configure-time `checking ...' messages would be intermixed.
2504 2003-05-02 Jim Meyering <jim@meyering.net>
2506 * readdir.m4 (GL_FUNC_READDIR): Revive dead file. Change name to
2507 have GL_ (not jm_) prefix. Adjust cache variables similarly.
2508 Create 500 rather than just 300 files, to exercise bug on
2510 * jm-macros.m4 (jm_MACROS): Require GL_FUNC_READDIR.
2512 2003-04-25 Jim Meyering <jim@meyering.net>
2514 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): If PATH_MAX
2515 is not defined, don't run the test, and don't use the wrapper.
2516 Otherwise, on the Hurd, it would take a long time to create
2517 and remove a hierarchy about 4000 levels deep.
2518 Based on a patch from Robert Millan.
2520 2003-04-22 Jim Meyering <jim@meyering.net>
2523 * gettext.m4: Change an occurrence of [ \t] to [\t ].
2525 2003-04-07 Jim Meyering <jim@meyering.net>
2527 * prereq.m4 (jm_PREREQ_STAT): Add prerequisites and #includes
2530 2003-04-02 Jim Meyering <jim@meyering.net>
2532 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
2534 2003-03-19 Jim Meyering <jim@meyering.net>
2536 * ftw.m4 (AC_FUNC_FTW): Require AC_HEADER_STAT.
2538 2003-03-17 Richard Dawe <rich@phekda.freeserve.co.uk>
2540 * jm-macros.m4 (jm_MACROS): Include $(EXEEXT) in DF_PROG's program
2541 name, since automake only adds $(EXEEXT) to programs in its *_PROGRAMS.
2542 Arrange to compile the corresponding stub function if fchdir is missing.
2544 2003-03-18 Jim Meyering <jim@meyering.net>
2546 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
2547 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
2548 systems would end up using the latter. MOUNTED_GETMNTENT1 support
2549 is inadequate on such systems: 1) detecting whether a file system
2550 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
2551 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
2552 merely /MOUNT_POINT. Reported by Mike Jetzer.
2554 2003-03-17 Jim Meyering <jim@meyering.net>
2556 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
2557 that is guaranteed to be `no'. Use `no_such_member' to indicate
2558 that condition, rather than `-1' which is slightly misleading.
2559 Change the name of the cache variable to have the gl_ prefix.
2560 Prompted by a patch from Richard Dawe for DJGPP.
2562 2003-03-14 Jim Meyering <jim@meyering.net>
2564 * prereq.m4 (jm_PREREQ): Also forbid the gl_[A-Z] prefix.
2565 Don't require jm_PREREQ_C_STACK.
2567 2003-03-13 Paul Eggert <eggert@twinsun.com>
2570 * onceonly.m4 (m4_quote): New macro.
2571 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
2572 Quote AC_FOREACH variable-expansions properly.
2574 2003-03-13 Jim Meyering <jim@meyering.net>
2576 * jm-macros.m4 (jm_MACROS): Arrange to compile the corresponding stub
2577 function if any of the following is missing: fchown, lstat, readlink.
2580 2003-03-07 Jim Meyering <jim@meyering.net>
2582 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
2583 using the latest version from cvs. This avoids problems with #line
2584 directives using a vendor (Sun) compiler.
2586 * jm-macros.m4: Don't require AC_SYS_MMAP_STACK.
2587 * mmap-stack.m4 (AC_SYS_MMAP_STACK): Remove file.
2589 2003-03-06 Jim Meyering <jim@meyering.net>
2591 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for
2592 declaration of getcwd.
2594 2003-03-04 Jim Meyering <jim@meyering.net>
2596 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): New macro.
2597 * jm-macros.m4: Require GL_FUNC_GETCWD_PATH_MAX.
2599 `df /some/mount-point' no longer hangs when an unrelated hard-mount
2601 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
2602 /proc/mounts until it finds one with matching device number. This is
2603 unnecessary when the FILE argument *is* a mount point. No stat call
2604 is necessary in that case. So, disable the statvfs-testing code on
2605 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
2606 as RedHat bug# 84846.
2608 2003-02-27 Jim Meyering <jim@meyering.net>
2610 * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for `table' function.
2611 Reported by Kaveh Ghazi.
2613 * prereq.m4 (gl_SYS__SYSTEM_CONFIGURATION): New function.
2614 (jm_PREREQ_PHYSMEM): Check for new headers and functions.
2615 Use gl_SYS__SYSTEM_CONFIGURATION.
2616 With suggestions from Kaveh Ghazi.
2618 2003-02-19 Jim Meyering <jim@meyering.net>
2620 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2621 to 1MB, so as not to render systems with no stack size limit (e.g.,
2622 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2624 2003-02-17 Jim Meyering <jim@meyering.net>
2626 * prereq.m4 (jm_PREREQ_PHYSMEM): Undo last change, since
2627 Kaveh Ghazi found a better way to get the required information.
2628 Add check for sys/sysmp.h.
2630 2003-02-15 Jim Meyering <jim@meyering.net>
2632 * mmap-stack.m4: New file.
2634 * jm-macros.m4: Require AC_SYS_MMAP_STACK.
2636 Add Irix6 support to physmem.c.
2637 * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for sys/sysget.h
2639 Also check for sysget.
2640 Reported by Kaveh Ghazi.
2642 2003-02-12 Jim Meyering <jim@meyering.net>
2644 * restrict.m4 (ACX_C_RESTRICT): Remove #ifndef -- so now this
2645 macro also checks for support when using a C++ compiler.
2646 Also, remove the test for SGI's __restrict.
2647 Suggested by Steven G. Johnson.
2649 * regex.m4 (jm_PREREQ_REGEX): Require ACX_C_RESTRICT.
2651 * restrict.m4 (ACX_C_RESTRICT): Minor syntactic changes:
2652 Split long lines, use AC_COMPILE_IFELSE, indent, use `case'
2653 instead of nested `if's, remove unnecessary quotes.
2655 * restrict.m4 (ACX_C_RESTRICT): New macro.
2656 Copied directly from the URL in the comments.
2657 By Steven G. Johnson.
2659 2003-02-09 Jim Meyering <jim@meyering.net>
2661 * check-decl.m4 (jm_CHECK_DECLS): Add euidaccess.
2663 2003-02-03 Jim Meyering <jim@meyering.net>
2665 * c-stack.m4: Include <unistd.h>. On some systems,
2666 it is required for the definition of _SC_PAGESIZE.
2668 2003-02-02 Jim Meyering <jim@meyering.net>
2670 * onceonly.m4: New file. From gnulib.
2672 * regex.m4 (jm_PREREQ_REGEX): New function, from gnulib.
2673 (jm_INCLUDED_REGEX): Use it.
2674 * prereq.m4 (jm_PREREQ_REGEX): Remove.
2676 2003-01-31 Jim Meyering <jim@meyering.net>
2678 * open-max.m4 (UTILS_SYS_OPEN_MAX): New file/macro.
2679 * jm-macros.m4 (jm_MACROS): Require UTILS_SYS_OPEN_MAX.
2681 2003-01-29 Jim Meyering <jim@meyering.net>
2683 * regex.m4: Detect broken re_search in e.g. glibc-2.2.93.
2685 2003-01-23 Jim Meyering <jim@meyering.net>
2687 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
2688 from working on systems without dirfd (at least Irix and OSF1/Tru64).
2690 Merge in change by Bruno Haible from gnulib.
2691 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
2693 2003-01-16 Jim Meyering <jim@meyering.net>
2695 * regex.m4: The `regex' struct is both input and output.
2696 Initialize it before each use. Patch by Tim Waugh.
2698 2003-01-15 Jim Meyering <jim@meyering.net>
2700 * jm-macros.m4: Require AC_FUNC_FTW.
2702 2003-01-12 Jim Meyering <jim@meyering.net>
2706 2003-01-11 Jim Meyering <jim@meyering.net>
2708 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): New file and macro.
2709 * jm-macros.m4: Require AC_FUNC_CANONICALIZE_FILE_NAME.
2710 (jm_MACROS): No longer check for resolvepath or canonicalize_file_name.
2712 2002-12-15 Jim Meyering <jim@meyering.net>
2714 * jm-glibc-io.m4n: Remove now-unused file.
2715 * Makefile.am.in (Makefile.am): Remove jm-glibc-io.m4
2716 and jm-glibc-io.m4n.
2718 2002-12-11 Jim Meyering <jim@meyering.net>
2720 * jm-glibc-io.m4: Maintain this file manually rather than generating it.
2721 Generating it caused too much trouble. From gnulib.
2723 2002-11-19 Jim Meyering <jim@meyering.net>
2725 * jm-macros.m4: Require Autoconf-2.56.
2727 2002-09-30 Akim Demaille <akim@epita.fr>
2729 * prereq.m4: Use AC_REQUIRE everywhere it is possible.
2730 (jm_PREREQ_CANON_HOST): Remove duplicates.
2732 2002-11-10 Jim Meyering <jim@meyering.net>
2734 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(raise).
2736 2002-10-30 Paul Eggert <eggert@twinsun.com>
2738 * getgroups.m4 (jm_FUNC_GETGROUPS):
2739 Fix typo: cv_func_getgroups_works -> ac_cv_func_getgroups_works.
2741 2002-10-07 Paul Eggert <eggert@twinsun.com>
2743 * prereq.m4 (jm_PREREQ_HUMAN): Check for locale.h, localeconv,
2744 AC_HEADER_STDBOOL. No need to check for limits.h since it's in
2745 freestanding C89. No need to check for stdlib.h or string.h since
2746 autoconf does this now.
2748 2002-10-12 Paul Eggert <eggert@twionsun.com>
2750 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Remove fenv.h.
2752 2002-09-29 Jim Meyering <jim@meyering.net>
2754 * gettext.m4 (AM_INTL_SUBDIR): Don't require gt_HEADER_INTTYPES_H.
2755 It's not necessary with autoconf-2.54.
2757 2002-09-28 Jim Meyering <jim@meyering.net>
2759 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
2760 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
2761 * jm-macros.m4 (jm_MACROS): Don't set GETGROUPS_LIB here; now it's
2762 done via getgroups.m4's wrapper function.
2764 * strerror_r.m4: Remove file -- now it's part of autoconf-2.54.
2765 Reported by Akim Demaille.
2767 2002-09-25 Jim Meyering <jim@meyering.net>
2769 * gettext.m4: Upgrade to gettext-0.11.5.
2771 2002-09-07 Bruno Haible <bruno@clisp.org>
2773 * host-os.m4 (UTILS_HOST_OS): Add a case for freebsd*-gnu*.
2775 2002-09-17 Jim Meyering <jim@meyering.net>
2777 * jm-macros.m4 (jm_MACROS): Require gt_INTTYPES_PRI.
2778 * inttypes-pri.m4 (gt_INTTYPES_PRI): New file, mostly from gettext.
2780 2002-09-16 Jim Meyering <jim@meyering.net>
2782 * prereq.m4: Forbid symbols matching ^jm_[A-Z].
2783 (jm_PREREQ_QUOTEARG): Add jm_FUNC_MEMCMP.
2786 * error.m4 (jm_PREREQ_ERROR): Check for libintl.h.
2787 Reported by Akim Demaille.
2789 2002-09-13 Jim Meyering <jim@meyering.net>
2791 * jm-macros.m4 (jm_MACROS): Require autoconf-2.54.
2793 2002-09-09 Jim Meyering <jim@meyering.net>
2795 * getloadavg.m4: Remove file -- now it's part of autoconf-2.53c.
2796 * jm-macros.m4: Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
2797 AC_FUNC_GETLOADAVG where to find getloadavg.c.
2799 2002-09-03 Jim Meyering <jim@meyering.net>
2801 * gnu-source.m4: Remove file -- now it's part of autoconf-2.53c.
2802 * mbstate_t.m4: Likewise.
2803 * fnmatch.m4: Likewise.
2805 2002-08-05 Jim Meyering <jim@meyering.net>
2807 * jm-winsz1.m4: Also change use of $am_cv_sys_posix_termios
2808 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
2810 2002-08-03 Jim Meyering <jim@meyering.net>
2812 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
2813 Reported by mkc@mathdogs.com.
2815 2002-08-01 Jim Meyering <jim@meyering.net>
2817 * prereq.m4 (jm_PREREQ_TEMPNAME): lib/tempname.c may use uintmax_t,
2818 so require jm_AC_TYPE_UINTMAX_T. Patch by Joe Orton.
2820 2002-07-28 Jim Meyering <jim@meyering.net>
2822 * jm-macros.m4: Don't require jm_FUNC_READDIR.
2823 * readdir.m4 (jm_FUNC_READDIR): Remove file/macro. No longer needed.
2825 2002-07-27 Jim Meyering <jim@meyering.net>
2827 * prereq.m4 (jm_PREREQ_READUTMP): Don't check just
2828 `struct utmpx.ut_exit' and `struct utmp.ut_exit'. Instead, check
2829 all combinations of utmp/utmpx and ut_termination/e_termination
2832 2002-07-23 Jim Meyering <jim@meyering.net>
2834 * c-bs-a.m4 (AC_C_BACKSLASH_A): Remove file, now that autoconf
2835 provides this macro.
2837 2002-07-20 Jim Meyering <jim@meyering.net>
2839 * intdiv0.m4: New file. From gettex-0.11.3.
2841 * jm-macros.m4: Require autoconf-2.53b.
2842 Use new macros AC_FUNC_MALLOC and AC_FUNC_REALLOC,
2843 in place of jm_-prefixed ones. Thanks, Akim!
2844 * malloc.m4: Remove file, now that autoconf provides this macro.
2845 * realloc.m4: Likewise.
2847 2002-07-18 gettextize <bug-gnu-gettext@gnu.org>
2849 * gettext.m4: Upgrade to gettext-0.11.3.
2850 * iconv.m4: Upgrade to gettext-0.11.3.
2851 * isc-posix.m4: Upgrade to gettext-0.11.3.
2852 * lcmessage.m4: Upgrade to gettext-0.11.3.
2853 * lib-link.m4: Upgrade to gettext-0.11.3.
2855 2002-07-17 Jim Meyering <jim@meyering.net>
2857 * boottime.m4: New file. Extracted from sh-utils' configure.ac
2858 and extended to work also with *BSD systems.
2860 2002-07-15 Jim Meyering <jim@meyering.net>
2862 FreeBSD support for uname and uptime.
2863 * jm-macros.m4 (jm_MACROS): Check for the sysctl function.
2864 (jm_CHECK_ALL_HEADERS): Check for sys/sysctl.h.
2865 Suggestion from Bruno Haible.
2867 2002-06-11 Paul Eggert <eggert@twinsun.com>
2869 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
2871 2002-06-22 Jim Meyering <jim@meyering.net>
2873 * c-stack.m4: New file, from diffutils-2.8.2.
2874 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
2876 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
2877 now that configure.ac uses AC_GNU_SOURCE.
2878 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
2879 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
2881 Update to latest tools. Suggestions from Paul Eggert.
2882 * stdbool.m4: New file, from diffutils-2.8.2.
2883 * gnu-source.m4: Update from diffutils-2.8.2.
2884 * fnmatch.m4: Likewise.
2885 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
2886 to AC_HEADER_STDBOOL
2888 2002-06-21 Jim Meyering <jim@meyering.net>
2890 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
2891 * mbrtowc.m4: Likewise.
2893 * mbstate_t.m4: Update from diffutils-2.8.2.
2894 * mbswidth.m4: Reflect name change:
2895 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
2896 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
2898 * lib-link.m4: Update from gettext-0.11.2.
2899 * gettext.m4: Likewise.
2901 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
2902 From Alfred M. Szmidt.
2904 2002-05-19 Paul Eggert <eggert@twinsun.com>
2906 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
2908 2002-06-07 Jim Meyering <jim@meyering.net>
2910 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
2911 They're needed at least for NetBSD 1.5.2.
2912 ($statxfs_includes): Include those same headers.
2913 ($statxfs_includes): Include sys/vfs.h if available.
2914 ($statxfs_includes): Likewise for sys/statvfs.h.
2915 Check for the following members in both structs statfs and statvfs:
2916 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
2918 2002-06-01 Jim Meyering <jim@meyering.net>
2920 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
2921 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
2923 2002-05-28 Jim Meyering <jim@meyering.net>
2925 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
2926 Reported by Volker Borchert.
2928 2002-05-27 Jim Meyering <jim@meyering.net>
2930 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
2933 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
2934 use the replacement function; it wouldn't resolve at link time.
2935 Reported by Volker Borchert.
2937 2002-04-30 Jim Meyering <jim@meyering.net>
2939 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
2941 2002-04-29 Paul Eggert <eggert@twinsun.com>
2943 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
2944 Do not check for alloca.h (no longer used) or stdbool.h (was never
2945 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
2947 2002-04-28 Paul Eggert <eggert@twinsun.com>
2949 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
2951 2002-04-29 Jim Meyering <jim@meyering.net>
2953 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
2954 * prereq.m4: Add jm_PREREQ_STRNLEN.
2955 Use AC_FUNC_STRNLEN here instead.
2957 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
2958 With autoconf-2.53a, it's part of AC_PROG_CC.
2960 2002-04-28 Paul Eggert <eggert@twinsun.com>
2962 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
2963 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
2965 2002-04-24 Jim Meyering <jim@meyering.net>
2967 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
2968 (jm_PREREQ): Use it.
2970 * getloadavg.m4: Check for these headers: locale.h unistd.h
2971 mach/mach.h fcntl.h.
2972 Check for this function: setlocale.
2974 2002-04-16 Jim Meyering <jim@meyering.net>
2976 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
2977 ut_pid, ut_id, ut_exit.
2979 2002-04-12 Jim Meyering <jim@meyering.net>
2981 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
2982 check for f_type in sys/mount.h. Instead, just test for the existence
2983 of the getmntinfo function. Needed for Darwin 5.3.
2985 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
2986 This is necessary at least on Darwin 5.3.
2988 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
2989 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
2990 in the library, and that makes some versions of ranlib object.
2992 2002-04-09 Jim Meyering <jim@meyering.net>
2994 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
2995 to be more precise. Rather than saying we're checking whether the
2996 function `works', say what we're testing.
2997 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
2998 Reported by Bruno Haible.
3000 2002-02-27 Paul Eggert <eggert@twinsun.com>
3002 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
3003 Check for clock_settime.
3005 2002-02-25 Paul Eggert <eggert@twinsun.com>
3008 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
3009 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
3011 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
3013 * codeset.m4: Upgrade to gettext-0.11.
3014 * gettext.m4: Upgrade to gettext-0.11.
3015 * glibc21.m4: Upgrade to gettext-0.11.
3016 * iconv.m4: Upgrade to gettext-0.11.
3017 * isc-posix.m4: Upgrade to gettext-0.11.
3018 * lcmessage.m4: Upgrade to gettext-0.11.
3019 * lib-ld.m4: New file, from gettext-0.11.
3020 * lib-link.m4: New file, from gettext-0.11.
3021 * lib-prefix.m4: New file, from gettext-0.11.
3022 * progtest.m4: Upgrade to gettext-0.11.
3024 2002-02-15 Paul Eggert <eggert@twinsun.com>
3026 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
3027 (jm_PREREQ): Use it.
3029 2002-01-26 Jim Meyering <jim@meyering.net>
3031 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
3032 * strnlen.m4: Remove file, now that it's part of autoconf.
3034 2002-01-22 Paul Eggert <eggert@twinsun.com>
3036 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
3038 2002-01-19 Jim Meyering <jim@meyering.net>
3040 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
3041 Remove useless quotes: DF_PROG="df".
3042 * strnlen.m4: New file.
3044 2001-12-14 Jim Meyering <jim@meyering.net>
3046 * jm-macros.m4 (jm_MACROS): Check for iswspace.
3047 Suggestion from Bruno Haible.
3049 2001-11-20 Jim Meyering <jim@meyering.net>
3051 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
3052 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
3054 2001-11-19 Jim Meyering <jim@meyering.net>
3056 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
3057 directory. Use "conftestXXXXXX" as the template.
3058 Suggestion from Paul Eggert.
3060 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
3061 so the test doesn't mistakenly hit the max-open-files limit.
3063 2001-11-18 Jim Meyering <jim@meyering.net>
3065 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
3067 2001-11-17 Jim Meyering <jim@meyering.net>
3069 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
3070 Prompted by a report from Bob Proulx.
3072 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
3073 Instead, require UTILS_FUNC_MKSTEMP.
3075 2001-11-11 Jim Meyering <jim@meyering.net>
3077 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
3078 Now, that's done as part of AC_FUNC_STRTOD.
3080 2001-10-22 Paul Eggert <eggert@twinsun.com>
3082 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
3083 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
3085 2001-11-10 Jim Meyering <jim@meyering.net>
3087 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
3088 (jm_PREREQ): Use it.
3090 2001-11-09 Jim Meyering <jim@meyering.net>
3092 * jm-macros.m4: Require autoconf-2.52f.
3093 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
3094 Use these AC_-prefixed names, not the AM_-prefixed ones.
3096 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
3098 2001-11-04 Jim Meyering <jim@meyering.net>
3100 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
3102 2001-11-03 Jim Meyering <jim@meyering.net>
3104 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
3107 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
3108 know the name of the variable in the macro definition.
3110 2001-11-01 Jim Meyering <jim@meyering.net>
3112 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
3113 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
3115 2001-10-20 Paul Eggert <eggert@twinsun.com>
3117 * error.m4 (jm_PREREQ_ERROR):
3118 Do not invoke AC_CHECK_FUNCS with strerror_r, as
3119 AC_FUNC_STRERROR_R does that.
3120 Check for strerror declaration.
3122 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
3123 are supposed to have them these days.
3124 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
3125 Merge changes from latest Autoconf CVS.
3126 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3127 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3128 POSIX decided to standardize on the int flavor of strerror_r.
3130 2001-09-30 Jim Meyering <jim@meyering.net>
3132 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
3133 `struct fsstat' has the `f_fstypename' member.
3134 Use that to define FS_TYPE, which is now used to make
3135 the getfsstat link test tighter.
3137 2001-09-29 Jim Meyering <jim@meyering.net>
3139 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3140 [one-argument getmntent function]): Include stdio.h before mntent.h.
3141 SunOS 4.1.x needs it for the declaration of `FILE'.
3142 Patch by Volker Borchert.
3144 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3145 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
3146 sys/fs_types.h, and make the link-test for getfsstat guard #include
3147 directives with appropriate #if HAVE_*_H tests so that we can
3148 detect getfsstat on Apple Darwin1.3.7 systems.
3149 Reported by Nelson Beebe.
3150 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
3152 2001-09-28 Paul Eggert <eggert@twinsun.com>
3154 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
3155 #defines strtoimax. Also treat the other strto* functions
3158 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3159 Check for strtoul and strtoumax,
3160 as those declarations are made even in the signed case.
3161 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
3162 Likewise, for strtol and strtoimax.
3164 2001-09-24 Jim Meyering <jim@meyering.net>
3166 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
3168 2001-09-23 Jim Meyering <jim@meyering.net>
3170 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
3171 instead of the mere test for existence of mntent.h. The latter
3172 would get a false-positive on AIX 3.4 systems.
3173 In the outer getmntent if-block, don't die if neither of the getmntent
3174 tests succeeds. Instead, just fall through and continue with the
3177 2001-09-22 Jim Meyering <jim@meyering.net>
3179 * gettext.m4: New file. From gettext.
3180 * lcmessage.m4: Sync with gettext -- this changes only comments.
3181 * progtest.m4: Likewise
3182 * isc-posix.m4: Decrement serial number to sync with gettext.
3183 * glibc21.m4: Likewise.
3185 * libintl.m4: Remove. No longer used.
3187 2001-09-20 Jim Meyering <jim@meyering.net>
3189 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
3191 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
3194 2001-09-17 Jim Meyering <jim@meyering.net>
3196 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
3197 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
3198 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
3199 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
3200 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
3201 whenever the right hand side need not be expanded by the shell.
3203 2001-09-16 Paul Eggert <eggert@twinsun.com>
3205 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
3206 library. It's not correct, as some older glibcs are buggy.
3207 fnmatch wasn't fixed until glibc 2.2.
3209 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
3210 special shell magic here.
3212 2001-09-16 Jim Meyering <jim@meyering.net>
3214 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
3215 * jm-macros.m4: Require it.
3217 2001-09-15 Jim Meyering <jim@meyering.net>
3219 * jm-macros.m4: Check for help2man.
3221 2001-09-11 Jim Meyering <jim@meyering.net>
3223 * host-os.m4 (UTILS_HOST_OS): New file/macro.
3224 The body, by Paul Eggert, was moved here from configure.in.
3225 * jm-macros.m4: Require UTILS_HOST_OS.
3227 2001-09-04 Paul Eggert <eggert@twinsun.com>
3229 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
3230 (jm_PREREQ): Use it.
3232 2001-09-03 Paul Eggert <eggert@twinsun.com>
3234 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
3235 sys/param.h, as pathmax.h includes them.
3237 2001-09-03 Paul Eggert <eggert@twinsun.com>
3239 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
3240 (jm_PREREQ_XGETCWD): New macro.
3242 * getcwd.m4: New file.
3244 2001-09-01 Jim Meyering <jim@meyering.net>
3246 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
3249 2001-08-30 Paul Eggert <eggert@twinsun.com>
3251 Simplify code, partly by assuming autoconf 2.52 semantics.
3253 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
3255 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
3256 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
3258 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
3259 Move AC_REQUIRE to next-to-top level, to avoid confusion.
3260 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
3261 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
3262 * jm-macros.m4 (jm_MACROS): Likewise.
3264 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
3266 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3267 Quote first arg of AC_DEFUN.
3268 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
3269 since they are needed to parse the include file even if we need
3270 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
3271 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
3272 but with opposite signedness.
3274 2001-08-30 Paul Eggert <eggert@twinsun.com>
3276 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
3277 (jm_PREREQ_EXCLUDE): New macro.
3279 2001-08-26 Jim Meyering <jim@meyering.net>
3281 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
3283 * xstrtoimax.m4: New file.
3284 * xstrtoumax.m4: Add comments explaining why we
3285 AC_REPLACE_FUNCS(strtol).
3287 2001-06-20 Paul Eggert <eggert@twinsun.com>
3289 * inttypes.m4: Add AC_PREREQ(2.13).
3290 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
3291 (jm_AC_TYPE_INTMAX_T): New macro.
3292 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
3294 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
3296 * longlong.m4: Renamed from ulonglong.m4.
3297 * inttypes.m4: Renamed from inttypes_h.m4.
3298 * uintmax_t.m4: Removed.
3300 2001-08-12 Jim Meyering <jim@meyering.net>
3302 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
3303 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
3304 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
3305 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
3306 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
3307 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
3308 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
3309 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
3310 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
3311 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
3312 utime.m4, utimes.m4, xstrtoumax.m4:
3313 Quote the first argument in each use of AC_DEFUN.
3315 2001-08-05 Jim Meyering <jim@meyering.net>
3317 * jm-macros.m4: Require autoconf-2.52.
3319 2001-08-03 Paul Eggert <eggert@twinsun.com>
3321 The following changes are from gettext 0.10.39 as maintained by
3322 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
3324 * codeset.m4: Upgrade to serial AM1.
3325 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
3326 all uses changed. Quote first arg of AC_DEFUN.
3327 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
3329 * iconv.m4: Upgrade to serial AM2.
3330 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
3331 Add --with-libconv-prefix.
3332 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
3333 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
3334 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
3335 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
3336 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
3338 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
3339 * getline.m4 (AM_FUNC_GETLINE): Likewise.
3340 * glibc21.m4 (jm_GLIBC21): Likewise.
3341 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
3342 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
3343 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
3344 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
3345 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
3346 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
3348 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
3351 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
3352 not the default value.
3354 2001-06-25 Bruno Haible <haible@clisp.cons.org>
3355 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
3356 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
3357 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
3358 Also check for iswcntrl, used for wcwidth fallback.
3359 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
3362 2001-08-03 Jim Meyering <jim@meyering.net>
3364 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
3365 as it was in the original. Reported by Paul Eggert.
3367 2001-07-16 Jim Meyering <jim@meyering.net>
3369 * gettimeofday.m4: New file.
3370 Prompted by a report from Bernhard Baehr.
3372 2001-07-15 Jim Meyering <jim@meyering.net>
3374 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
3375 Now it's in ../Makefile.cfg.
3377 2001-07-04 Jim Meyering <jim@meyering.net>
3379 * Makefile.am.in (glibc-io.struct): New target. Rework the code
3380 that generates jm-glibc-io.m4 so that it doesn't trigger any make
3383 2001-07-02 Jim Meyering <jim@meyering.net>
3385 The following changes were prompted by suggestions from Bruno Haible.
3387 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
3389 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
3390 definition of EXTRA_DIST.
3391 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
3392 ensure that the generated file is created/updated whenever the list
3393 of $(unlocked_functions) is changed.
3394 (jm-glibc-io.m4): New rule.
3395 (unlocked-io.h): New rule -- currently unused.
3397 2001-06-24 Jim Meyering <jim@meyering.net>
3399 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
3400 unmatched right bracket, rather than kludging it with an extra,
3401 falsely-matching quote in a comment. Patch by Akim Demaille.
3403 2001-05-27 Jim Meyering <jim@meyering.net>
3405 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
3406 Check for ut_type in struct utmp.
3408 2001-05-22 Jim Meyering <jim@meyering.net>
3410 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
3411 now that we use the package-supplied version unconditionally.
3412 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
3414 2001-05-21 Jim Meyering <jim@meyering.net>
3416 * regex.m4: Change a couple backticks to single quotes to avoid shell
3419 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
3421 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
3423 2001-05-11 Paul Eggert <eggert@twinsun.com>
3425 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
3426 Don't bother to check library strftime, since
3427 we'll be using our own my_strftime function anyway.
3428 Define my_strftime instead of strftime.
3430 2001-05-15 Jim Meyering <jim@meyering.net>
3432 * regex.m4: Use proper quoting so brackets appear in the test program.
3433 Reported by, and with help from, Bruno Haible.
3435 2001-05-13 Jim Meyering <jim@meyering.net>
3437 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
3439 2000-11-26 Paul Eggert <eggert@twinsun.com>
3441 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
3443 2001-04-21 Jim Meyering <jim@meyering.net>
3445 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
3448 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
3450 * ftruncate.m4: Check for chsize.
3451 Link with ftruncate.o unconditionally if ftruncate is missing.
3452 This was required when cross-compiling to i586-mingw32msvc.
3454 2001-03-24 Jim Meyering <jim@meyering.net>
3456 * jm-macros.m4: Require autoconf-2.49d.
3458 2001-03-20 Bruno Haible <haible@clisp.cons.org>
3460 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
3462 2001-03-17 Jim Meyering <jim@meyering.net>
3464 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
3465 now that the version in autoconf is equivalent.
3466 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
3468 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
3469 Suggestion from Akim Demaille.
3471 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
3472 (jm_PREREQ_TEMPNAME): New function.
3474 2001-02-25 Paul Eggert <eggert@twinsun.com>
3476 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
3477 lacks mkstemp. Compile our own tempname.c if we compile our own
3478 mkstemp.c, as mkstemp relies on tempname.
3480 2001-03-01 Jim Meyering <jim@meyering.net>
3482 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
3483 AH_VERBATIM really does output its argument verbatim.
3485 2001-02-18 Paul Eggert <eggert@twinsun.com>
3487 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
3489 2001-02-17 Jim Meyering <jim@meyering.net>
3491 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
3492 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
3493 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
3496 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
3497 rather than AC_CACHE_VAL.
3499 2001-02-17 Paul Eggert <eggert@twinsun.com>
3501 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
3502 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
3503 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
3504 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3506 2001-02-07 Jim Meyering <jim@meyering.net>
3508 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
3510 2001-02-05 Jim Meyering <jim@meyering.net>
3512 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
3513 it includes the patch required for `large file' support with at least
3514 HP-UX's 10.20 /bin/cc.
3516 2001-02-03 Jim Meyering <jim@meyering.net>
3518 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
3519 AS_IF, now that it works once again (mysteriously).
3520 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
3522 2001-01-30 Jim Meyering <jim@meyering.net>
3524 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
3525 * chown.m4: Rename conftestchown to conftest.chown.
3526 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
3527 * utimes.m4: s/conftestdata/conftest.data/
3528 Inspired by Pavel Roskin's change in autoconf.
3530 2001-01-27 Jim Meyering <jim@meyering.net>
3532 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
3534 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
3536 2001-01-26 Jim Meyering <jim@meyering.net>
3538 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
3539 quotearg.c includes it.
3541 2001-01-15 Bruno Haible <haible@clisp.cons.org>
3543 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
3546 2001-01-20 Jim Meyering <jim@meyering.net>
3548 Be sure that headers are checked before used in code compiled
3549 for the type checks.
3550 * jm-macros.m4 (jm_MACROS): Remove all header checks.
3551 In place of that, invoke jm_CHECK_ALL_TYPES.
3552 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
3553 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
3554 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
3555 The check for ssize_t was mistakenly run before the test for unistd.h.
3557 The configure-time check for stdbool.h was missing.
3558 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
3559 (jm_PREREQ_HASH): New function.
3561 2001-01-17 Jim Meyering <jim@meyering.net>
3563 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
3565 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
3567 2001-01-14 Jim Meyering <jim@meyering.net>
3569 * rename.m4: Use temporary directories named conftestdir{,2}, not
3570 foo and bar. Create conftestdir/ in the script, not in the C code.
3571 Remove directories in the script, not in the C code.
3572 Remove conftestdir{,2} before trying to create the directory.
3573 Make the entire configure script fail if the mkdir fails.
3575 2001-01-02 Volker Borchert <bt@teknon.de>
3577 * rename.m4: New file.
3578 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
3580 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
3582 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
3583 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
3584 so `make install' also works in VPATH builds.
3586 2001-01-01 Jim Meyering <jim@meyering.net>
3588 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
3589 on systems with utmpx.h. It's necessary for the declaration of utmp's
3590 ut_user member. Reported by Andreas Jaeger.
3592 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
3593 They are required for the declarations of getgrgid and getpwuid resp.
3594 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
3595 Reported by Andreas Jaeger.
3597 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3599 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
3600 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
3601 can be used in subdirectories.
3603 2000-12-26 Jim Meyering <jim@meyering.net>
3605 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
3608 2000-12-17 Jim Meyering <jim@meyering.net>
3610 * dos.m4 (jm_AC_DOS): New file and macro.
3611 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
3613 2000-12-06 Paul Eggert <eggert@twinsun.com>
3615 * off_t-format.m4: Remove this file.
3616 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
3618 2000-12-06 Jim Meyering <jim@meyering.net>
3620 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
3621 strtoull, we may well need the replacement strtoul, too.
3622 Check for declarations of strtoul and strtoull.
3623 Check for strtol. Mainly as a cue to cause automake to include
3624 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
3625 Check for limits.h -- strtol.c needs it.
3627 2000-12-02 Jim Meyering <jim@meyering.net>
3629 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
3630 * jm-macros.m4 (jm_MACROS): require it.
3632 2000-11-30 Jim Meyering <jim@meyering.net>
3634 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
3636 2000-11-30 Jim Meyering <jim@meyering.net>
3638 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
3640 2000-11-03 Bruno Haible <haible@clisp.cons.org>
3642 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
3644 2000-11-04 Jim Meyering <jim@meyering.net>
3646 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
3648 2000-10-29 Jim Meyering <jim@meyering.net>
3650 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
3651 * ls-mntd-fs.m4: Likewise
3653 2000-10-28 Jim Meyering <jim@meyering.net>
3655 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
3656 (jm_PREREQ_MEMCHR): New function.
3658 2000-10-21 Jim Meyering <jim@meyering.net>
3660 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
3661 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
3662 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
3664 2000-09-18 Jim Meyering <jim@meyering.net>
3666 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
3667 Otherwise, everyone ends up linking with -lelf for some configurations.
3668 Reported by Mike Stone.
3670 2000-08-26 Jim Meyering <jim@meyering.net>
3672 * jm-macros.m4: Use jm_FUNC_FPENDING.
3673 * fpending.m4: New file.
3675 2000-08-20 Jim Meyering <jim@meyering.net>
3677 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
3678 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
3679 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
3681 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
3683 Improve fileutils installation on systems where running
3684 programs (like install) can't be unlinked.
3685 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
3686 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
3688 2000-08-06 Paul Eggert <eggert@twinsun.com>
3690 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
3691 not char, for compatibility with glibc 2.1.3 strftime.c.
3693 2000-07-23 Paul Eggert <eggert@twinsun.com>
3695 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
3697 2000-07-23 Jim Meyering <jim@meyering.net>
3699 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
3700 getgrgid, getpwuid, getuid.
3702 2000-07-16 Bruno Haible <haible@clisp.cons.org>
3704 * mbswidth.m4: New file.
3705 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
3707 2000-07-14 Jim Meyering <jim@meyering.net>
3709 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
3711 2000-07-10 Paul Eggert <eggert@twinsun.com>
3713 From a suggestion by Bruno Haible.
3714 * mbstate_t.m4 (AC_MBSTATE_T):
3715 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
3716 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
3717 and mbstate_t, to a single-part test that simply defines mbstate_t.
3718 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
3720 2000-07-10 Jim Meyering <jim@meyering.net>
3722 * strerror_r.m4: Mirror the correction made in autoconf.
3724 * gnu-source.m4: Output to confdefs.h directly.
3725 Suggestion from Akim Demaille.
3727 2000-07-09 Jim Meyering <jim@meyering.net>
3729 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
3730 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
3732 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
3733 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
3735 2000-07-05 Bruno Haible <haible@clisp.cons.org>
3737 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
3739 Include <ctype.h> for use of isalpha.
3741 2000-07-05 Paul Eggert <eggert@twinsun.com>
3742 and Bruno Haible <haible@clisp.cons.org>
3744 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
3745 only if the test for an object-type mbstate_t fails. This
3746 prevents us from mistakenly reporting that mbstate_t is a
3747 system object type after we "#define mbstate_t int" to work
3750 2000-07-04 Jim Meyering <jim@meyering.net>
3752 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
3753 of the deprecated AC_CHECKING.
3755 2000-07-03 Jim Meyering <jim@meyering.net>
3757 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
3759 2000-07-03 Paul Eggert <eggert@twinsun.com>
3761 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
3762 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
3764 2000-07-02 Jim Meyering <jim@meyering.net>
3766 * mbstate_t.m4: Also define mbstate_t, if necessary.
3768 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
3769 AC_LIBOBJ(function_name).
3770 * chown.m4: Likewise.
3771 * fnmatch.m4: Likewise.
3772 * ftruncate.m4: Likewise.
3773 * getgroups.m4: Likewise.
3774 * getline.m4: Likewise.
3775 * group-member.m4: Likewise.
3776 * jm-macros.m4: Likewise.
3777 * lstat.m4: Likewise.
3778 * malloc.m4: Likewise.
3779 * memcmp.m4: Likewise.
3780 * nanosleep.m4: Likewise.
3781 * putenv.m4: Likewise.
3782 * realloc.m4: Likewise.
3783 * regex.m4: Likewise.
3784 * stat.m4: Likewise.
3785 * strftime.m4: Likewise.
3787 2000-07-01 Jim Meyering <jim@meyering.net>
3789 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
3792 2000-06-17 Bruno Haible <haible@clisp.cons.org>
3794 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
3795 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
3797 2000-07-01 Jim Meyering <jim@meyering.net>
3799 * uptime.m4: Put double quotes around use of $cross_compiling.
3801 2000-06-28 Jim Meyering <jim@meyering.net>
3803 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
3804 by quotearg.c, for which we perform this test. From Bruno Haible.
3806 2000-06-17 Bruno Haible <haible@clisp.cons.org>
3808 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
3809 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
3810 <utmpx.h> exists, put readutmp.o into LIBOBJS.
3812 2000-06-25 Jim Meyering <jim@meyering.net>
3814 * mbstate_t.m4: Include stdio.h before wchar.h to work around
3815 Linux header bug when _XOPEN_SOURCE is defined to 500.
3817 2000-06-24 Jim Meyering <jim@meyering.net>
3819 * strerror_r.m4: Revive this file -- to try out an experimental
3820 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
3821 for which strerror does return char*, but which lacks a conveniently
3822 accessible declaration of the function. If the compile-test says
3823 strerror_r doesn't work, then resort to a `run'-test that works on
3824 BeOS and segfaults on DEC Unix.
3826 2000-06-19 Paul Eggert <eggert@twinsun.com>
3828 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
3829 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
3831 2000-06-23 Jim Meyering <jim@meyering.net>
3833 * afs.m4: Add missing AC_MSG_RESULT.
3834 Reported by Bruno Haible.
3836 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
3837 Suggestion from Bruno Haible.
3839 2000-06-21 Jim Meyering <jim@meyering.net>
3841 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
3843 2000-06-18 Jim Meyering <jim@meyering.net>
3845 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
3847 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
3848 `checking whether...' message to be consistent with that of the
3851 2000-06-16 Bruno Haible <haible@clisp.cons.org>
3853 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
3855 2000-06-12 Jim Meyering <jim@meyering.net>
3857 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
3858 from autoconf, and tweak the latter to accept an optional argument.
3859 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
3860 the optional argument, `lib'.
3862 2000-06-08 Jim Meyering <jim@meyering.net>
3864 * largefile.m4: Remove file (now that it's part of autoconf).
3866 2000-06-04 Paul Eggert <eggert@twinsun.com>
3868 Rewrite largefile configuration so that we don't need to run
3869 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
3870 AC_CANONICAL_HOST in configure.in -- jmm]
3872 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
3873 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
3874 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
3875 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
3876 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
3878 Instead of inspecting the output of getconf, try to compile the
3879 test program without and with the macro definition.
3880 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
3881 for getconf. Instead, check for the needed flags by compiling
3884 2000-06-03 Jim Meyering <jim@meyering.net>
3886 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
3887 now that autoconf requires that.
3889 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
3890 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
3891 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
3893 2000-05-26 Bruno Haible <haible@clisp.cons.org>
3895 * glibc21.m4: New file.
3896 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
3898 2000-05-28 Jim Meyering <jim@meyering.net>
3900 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
3901 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
3902 * stat.m4: Likewise.
3903 * lstat.m4: Likewise.
3904 * lstat-slash.m4: Remove file (absorbed into autoconf).
3906 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
3907 * strerror_r.m4: Remove file (absorbed into autoconf).
3909 2000-05-26 Jim Meyering <jim@meyering.net>
3911 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
3913 2000-05-24 Jim Meyering <jim@meyering.net>
3915 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
3916 autoconf requires that.
3917 * lib-check.m4: Likewise.
3918 * jm-macros.m4: Likewise.
3919 * strftime.m4: Likewise.
3921 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
3922 now that autoconf requires that.
3924 2000-05-22 Jim Meyering <jim@meyering.net>
3926 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
3927 * lstat.m4: Likewise.
3929 2000-05-20 Jim Meyering <jim@meyering.net>
3931 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
3932 (jm_PREREQ): Use it.
3934 2000-05-09 Jim Meyering <jim@meyering.net>
3936 * gettext.m4: Rename this...
3937 * libintl.m4: ...to this.
3939 2000-05-06 Jim Meyering <jim@meyering.net>
3941 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
3942 (AC_REPLACE_FUNCS): Add strnlen.
3944 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
3945 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
3947 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
3948 AC_SEARCH_LIBS call for nanosleep.
3949 (LIB_NANOSLEEP): Set and AC_SUBST.
3951 2000-05-03 Paul Eggert <eggert@twinsun.com>
3953 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
3954 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
3955 2.1.3 bug. This avoids a clash when files like regex.c define
3958 2000-05-05 Jim Meyering <jim@meyering.net>
3960 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
3961 call for clock_gettime.
3962 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
3964 * search-libs.m4: Update from autoconf.
3966 su doesn't work on Solaris 2.6.
3967 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
3968 <shadow.h>. Reported by Dragos Harabor.
3970 2000-05-03 Jim Meyering <jim@meyering.net>
3972 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
3974 2000-05-02 Paul Eggert <eggert@twinsun.com>
3976 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
3977 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
3978 compile-time test, rather than inspecting host and OS, to
3979 decide whether to define _LARGEFILE_SOURCE.
3981 2000-05-01 Jim Meyering <jim@meyering.net>
3983 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
3985 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
3986 Based on a patch from Bruno Haible.
3988 2000-04-18 Jim Meyering <jim@meyering.net>
3990 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
3991 (jm_PREREQ): Use it.
3993 2000-04-17 Jim Meyering <jim@meyering.net>
3996 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
3997 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
3998 Suggestion from Akim Demaille.
4000 2000-04-14 Jim Meyering <jim@meyering.net>
4002 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
4003 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
4005 2000-04-13 Jim Meyering <jim@meyering.net>
4007 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
4008 to insert required #ifndef into config.h.in.
4009 Suggestion from Akim Demaille.
4011 2000-04-12 Jim Meyering <jim@meyering.net>
4013 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
4014 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
4015 Christian Krackowizer.
4017 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
4018 * jm-macros.m4 (_GNU_SOURCE): Define.
4019 (AC_SYS_LARGEFILE): Require.
4020 (AM_C_PROTOTYPES): Require.
4022 2000-04-05 Paul Eggert <eggert@twinsun.com>
4024 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
4025 IRIX if the installer said otherwise.
4027 2000-04-05 Jim Meyering <jim@meyering.net>
4029 Portability tweaks required for ultrix4.3.
4030 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
4031 (jm_CHECK_DECLS): Add getutent to the list of functions.
4032 (_jm_DECL_HEADERS): Add utmpx.h.
4033 From John David Anglin.
4035 * strftime.m4: Back out the 2000-04-02 change.
4036 Instead of that change, simply undefine putenv in the test program.
4038 2000-04-03 Jim Meyering <jim@meyering.net>
4040 * gettext.m4: Fix typo in comment.
4042 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
4043 textutils/configure.in). Suggestion from Paul Eggert.
4044 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
4046 2000-04-02 Paul Eggert <eggert@twinsun.com>
4048 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
4049 variable in the shell rather than using putenv, which isn't
4050 portable. This avoids the configure-time inter-test dependency
4051 on the potentially-renamed putenv function.
4053 2000-03-30 Paul Eggert <eggert@twinsun.com>
4055 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
4056 before checking struct stat.st_blksize, so that
4057 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
4059 2000-03-29 Paul Eggert <eggert@twinsun.com>
4061 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
4062 since strftime.c uses HAVE_STRFTIME to decide whether to use
4063 the underlying strftime.
4065 2000-03-10 Jim Meyering <jim@meyering.net>
4067 * lib-check.m4: Look for getspnam in -lgen, too.
4070 2000-02-02 Bruno Haible <haible@clisp.cons.org>
4072 * codeset.m4: New file.
4073 * iconv.m4: New file.
4074 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
4076 2000-03-04 Jim Meyering <jim@meyering.net>
4078 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
4079 for lib/localcharset.c.
4081 2000-03-03 Jim Meyering <jim@meyering.net>
4083 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
4085 2000-03-02 Jim Meyering <jim@meyering.net>
4087 * timespec.m4: Require AC_HEADER_TIME before the cache check so
4088 the messages come out on separate lines.
4090 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
4091 rather than jm_CHECK_DECLARATIONS.
4092 * decl.m4: Remove now-unused file.
4094 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
4096 2000-02-27 Jim Meyering <jim@meyering.net>
4098 * check-decl.m4: Add getenv to the list.
4100 2000-02-23 Jim Meyering <jim@meyering.net>
4102 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
4103 in place of my hack.
4105 2000-02-10 Jim Meyering <jim@meyering.net>
4107 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
4108 gnu_nanosleep to rpl_nanosleep.
4110 2000-02-09 Jim Meyering <jim@meyering.net>
4112 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
4113 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
4115 2000-02-08 Akim Demaille <akim@epita.fr>
4117 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
4118 `[' and `]' and remove uses of `changequote'.
4119 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
4120 (AC_SYS_LARGEFILE): Likewise.
4121 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
4122 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
4124 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
4125 * readdir.m4 (jm_FUNC_READDIR): Likewise
4126 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
4127 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
4129 2000-02-05 Jim Meyering <jim@meyering.net>
4131 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
4132 Remove explicit use of AC_HEADER_TIME. It is required by
4133 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
4134 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
4135 in autoconf whereby the expansion of the latter ended up preceding
4136 the expansion of its prerequisite, AC_HEADER_TIME.
4137 Reported by Volker Borchert.
4139 2000-02-03 Jim Meyering <jim@meyering.net>
4141 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
4143 2000-02-02 Jim Meyering <jim@meyering.net>
4145 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
4146 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
4147 Reported by Eli Zaretskii.
4149 2000-01-31 Jim Meyering <jim@meyering.net>
4151 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
4152 functions. Add the time.h and sys/time.h headers along with the
4153 AC_REQUIRE'ment of AC_HEADER_TIME.
4155 2000-01-30 Jim Meyering <jim@meyering.net>
4157 * lib-check.m4: Clean up some kludgy old shadow password tests.
4159 * prereq.m4 (utmp_includes): Define.
4160 Check for ut_user and ut_name members in both struct utmpx
4163 2000-01-29 Jim Meyering <jim@meyering.net>
4165 * lib-check.m4: New file containing library-related checks from
4166 fileutils and sh-utils (textutils had none).
4168 2000-01-28 Jim Meyering <jim@meyering.net>
4170 * perl.m4: Change format of warning message to look more like that
4171 from the missing script. Suggestion from François Pinard.
4173 2000-01-25 Jim Meyering <jim@meyering.net>
4175 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
4176 as time.h in the compile check.
4177 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
4178 Fix typo in cross-compiling case: s/yes/no/.
4180 2000-01-23 Jim Meyering <jim@meyering.net>
4182 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
4184 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
4185 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
4187 * fsusage.m4: New file. Extracted from fileutils/configure.in.
4188 s/space/ac_fsusage_space/.
4189 (jm_FILE_SYSTEM_USAGE): Take two parameters.
4191 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
4192 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
4193 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
4195 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
4196 AC_SUBST these here, rather than just in sh-util/configure.in, so
4197 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
4199 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
4200 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
4201 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
4202 (AC_SUBST(POW_LIBM)): Likewise.
4203 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
4205 2000-01-22 Jim Meyering <jim@meyering.net>
4207 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
4209 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
4211 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
4213 (AC_CHECK_HEADERS): Likewise for sh-utils.
4214 (AC_CHECK_HEADERS): Likewise for textutils.
4215 Merge the three lists of headers.
4217 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
4218 from fileutils' configure.in.
4220 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
4221 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
4223 * check-decl.m4: Use #if rather than #ifdef.
4224 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
4225 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
4226 (_jm_DECL_HEADERS): Define new function.
4227 (jm_CHECK_DECLARATIONS): Require it.
4229 2000-01-19 Jim Meyering <jim@meyering.net>
4231 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
4232 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
4233 defines `struct timespec' in <sys/time.h>
4235 * c-bs-a.m4: Remove uses of changequote altogether.
4236 Thanks to Akim for explaining.
4238 2000-01-16 Jim Meyering <jim@meyering.net>
4240 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
4241 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
4242 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
4243 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
4245 2000-01-16 Jim Meyering <jim@meyering.net>
4247 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
4248 because the latter didn't work.
4250 2000-01-15 Jim Meyering <jim@meyering.net>
4252 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
4253 (AC_REPLACE_FUNCS): Add memcpy and memset.
4254 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
4256 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
4258 2000-01-12 Jim Meyering <jim@meyering.net>
4260 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
4261 (jm_PREREQ): Use it.
4262 (jm_PREREQ_READUTMP): New macro.
4263 (jm_PREREQ): Use it.
4265 2000-01-11 Paul Eggert <eggert@twinsun.com>
4267 Quote multibyte characters correctly.
4268 * c-bs-a.m4: New file.
4269 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
4270 (jm_PREREQ): Use it.
4272 2000-01-11 Paul Eggert <eggert@twinsun.com>
4274 * uintmax_t.m4: Port to autoconf 2.13.
4276 2000-01-08 Jim Meyering <meyering@ascend.com>
4278 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
4279 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
4281 2000-01-04 Jim Meyering <meyering@ascend.com>
4283 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
4284 jm_STRUCT_DIRENT_D_TYPE.
4285 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
4286 jm_STRUCT_DIRENT_D_INO.
4287 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
4289 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
4290 * utime.m4: Likewise.
4292 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
4293 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
4295 2000-01-03 Paul Eggert <eggert@twinsun.com>
4297 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
4298 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
4300 2000-01-02 Jim Meyering <meyering@ascend.com>
4302 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
4303 remember if this is necessary.
4305 1999-12-26 Jim Meyering <meyering@ascend.com>
4307 * jm-macros.m4: Use it here.
4308 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
4310 1999-12-23 Jim Meyering <meyering@ascend.com>
4312 * jm-macros.m4: Check for clock_gettime (moved from
4313 fileutils/configure.in)
4314 Check for gettimeofday.
4316 1999-12-20 Jim Meyering <meyering@ascend.com>
4318 * strftime.m4: Remove kludge, now that I'm using the fixed
4319 autoconf-2.14a-1999-12-20.
4321 1999-12-19 Jim Meyering <meyering@ascend.com>
4323 * lstat-slash.m4: New file.
4324 * jm-macros.m4: Use the new macro:
4325 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4327 1999-12-07 Jim Meyering <meyering@ascend.com>
4329 * perl.m4: Require that File::Compare be available, too.
4330 Too many systems seem to lack it.
4332 * strftime.m4: Add checks for most of the cpp macros tested in
4333 GNU's strftime.c. Prompted by a patch from Paul Eggert.
4335 1999-11-18 Paul Eggert <eggert@twinsun.com>
4337 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
4338 problem with the QNX 4.25 shell, which doesn't propagate exit
4339 status of failed commands inside shell assignments.
4341 1999-11-17 Jim Meyering <meyering@ascend.com>
4343 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
4345 1999-11-07 Jim Meyering <meyering@ascend.com>
4347 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
4349 1999-11-06 Jim Meyering <meyering@ascend.com>
4351 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
4352 * jm-macros.m4 (jm_MACROS): Use it here.
4354 1999-11-05 Jim Meyering <meyering@ascend.com>
4356 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
4357 of textutils, fileutils, and sh-utils into this one (shared between
4358 those packages) file.
4359 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
4360 AC_STRUCT_ST_BLKSIZE.
4362 1999-11-03 Jim Meyering <meyering@ascend.com>
4364 * ssize_t.m4: Remove file. No longer needed since the new version of
4365 AC_CHECK_TYPE checks includes unistd.h.
4366 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
4367 Suggestion from Akim Demaille.
4369 1999-10-30 Jim Meyering <meyering@ascend.com>
4371 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
4373 * ls-mntd-fs.m4: Likewise.
4374 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
4375 * jm-winsz1.m4: Likewise.
4377 * const.m4: Remove file, since the fix made it into the experimental
4378 version of autoconf.
4379 * mktime.m4: Likewise.
4381 * check-type.m4: Remove file, now that the latest version of
4382 AC_CHECK_TYPE takes a third arg to specify additional #includes.
4384 * ssize_t.m4: New file, requires experimental version of autoconf.
4385 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
4388 1999-10-04 Jim Meyering <meyering@ascend.com>
4390 * jm-macros.m4: Don't require autoconf-2.14.1.
4392 1999-09-22 Paul Eggert <eggert@twinsun.com>
4394 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
4395 2.95.1 bug with HP-UX 10.20.
4397 1999-09-17 Jim Meyering <meyering@ascend.com>
4399 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
4400 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
4401 due to missing strdup (against sh-utils-2.0).
4403 1999-08-29 Jim Meyering <meyering@ascend.com>
4405 * jm-macros.m4: Require jm_BISON.
4406 * bison.m4: New file.
4408 1999-08-17 Paul Eggert <eggert@twinsun.com>
4410 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
4411 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
4413 1999-08-05 Jim Meyering <meyering@ascend.com>
4415 * getline.m4: Rename test file from conftestdata to conftest.data
4416 to avoid conflicts with `conftest' on 8+3 filesystems.
4417 Suggestion from Eli Zaretskii.
4419 1999-08-04 Jim Meyering <meyering@ascend.com>
4421 * jm-macros.m4: Move a 4-line block of code from the configure.in of
4422 fileutils and sh-utils (textutils's getline test was inadequate).
4423 (AM_FUNC_GETLINE): Run this test.
4424 (AC_CHECK_FUNCS): Check for getdelim.
4425 Reported by Bob Proulx.
4427 1999-08-02 Jim Meyering <meyering@ascend.com>
4429 * jm-macros.m4: Add a comment.
4431 1999-08-01 Jim Meyering <meyering@ascend.com>
4433 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
4435 1999-08-01 Paul Eggert <eggert@twinsun.com>
4437 * lfs.m4: Remove this file.
4438 * largefile.m4: New file. It contains the old contents of
4439 lfs.m4, except that all names with prefix AC_LFS have been
4440 changed to use the prefix AC_SYS_LARGEFILE instead, to be
4441 compatible with future autoconf versions. Also, some minor m4
4442 quoting problems have been fixed.
4444 1999-07-16 Paul Eggert <eggert@twinsun.com>
4446 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
4447 that we can shift, multiply and divide unsigned long long
4448 values; Ultrix cc can't do it.
4450 1999-07-14 Paul Eggert <eggert@twinsun.com>
4452 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
4453 <inttypes.h> defines strtoumax as a macro (and not as a
4456 1999-07-05 Paul Eggert <eggert@twinsun.com>
4458 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
4459 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
4460 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
4461 and simplify the shell code.
4463 1999-07-03 Paul Eggert <eggert@twinsun.com>
4465 * mktime.m4: New file, which is a preview of what should appear
4466 in the next public autoconf release.
4468 1999-07-20 Jim Meyering <meyering@ascend.com>
4470 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
4472 1999-07-15 Jim Meyering <meyering@ascend.com>
4474 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
4476 1999-05-22 Jim Meyering <meyering@ascend.com>
4478 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
4480 1999-05-20 Jim Meyering <meyering@ascend.com>
4482 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
4483 Add a colon after each `then' in case $4 is empty.
4485 1999-05-16 Jim Meyering <meyering@ascend.com>
4487 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
4489 1999-05-10 Jim Meyering <meyering@ascend.com>
4491 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
4493 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
4496 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4498 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
4500 1999-05-04 Paul Eggert <eggert@twinsun.com>
4502 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
4503 not CPPFLAGS, so that linking works correctly in IRIX.
4505 1999-04-30 Paul Eggert <eggert@twinsun.com>
4507 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
4509 1999-04-20 Jim Meyering <meyering@ascend.com>
4511 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
4512 AC_REPLACE xstroull if necessary. From Paul Eggert.
4513 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
4515 1999-04-20 Paul Eggert <eggert@twinsun.com>
4517 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
4518 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
4519 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
4520 jm_AC_TYPE_UNSIGNED_LONG_LONG.
4521 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
4523 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
4525 1999-04-18 Jim Meyering <meyering@ascend.com>
4527 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
4528 * jm-macros.m4: Use it.
4530 1999-04-06 Jim Meyering <meyering@ascend.com>
4532 * strftime.m4: Remove test for %f.
4534 1999-03-29 Jim Meyering <meyering@ascend.com>
4536 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
4537 superset of the AC_TYPE_* checks in the textutils, fileutils,
4538 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
4541 1999-03-28 Jim Meyering <meyering@ascend.com>
4543 * jm-macros.m4: Define GNU_PACKAGE here.
4544 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
4545 replaced e.g., in the *.sh files of the sh-utils.
4547 1999-03-20 Jim Meyering <meyering@ascend.com>
4549 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
4550 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
4551 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
4553 1999-03-19 Jim Meyering <meyering@ascend.com>
4555 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
4557 1999-03-12 Jim Meyering <meyering@ascend.com>
4559 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
4561 1999-03-07 Jim Meyering <meyering@ascend.com>
4563 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
4565 1999-02-17 Jim Meyering <meyering@ascend.com>
4567 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
4568 in macro definition. From Eli Zaretskii and Alain Magloire.
4570 1999-02-07 Jim Meyering <meyering@ascend.com>
4572 * group-member.m4: New file -- extracted from sh-utils' configure.in.
4574 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
4575 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
4577 1999-02-06 Jim Meyering <meyering@ascend.com>
4579 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
4580 * fnmatch.m4: Likewise.
4581 * getgroups.m4: Likewise.
4582 * lstat.m4: Likewise.
4583 * malloc.m4: Likewise.
4584 * putenv.m4: Likewise.
4585 * realloc.m4: Likewise.
4586 * regex.m4: Likewise.
4587 * stat.m4: Likewise.
4588 * strftime.m4: Likewise.
4589 Suggestion from Alain Magloire.
4591 * chown.m4: Use `.$ac_objext', not `.o'.
4592 * fnmatch.m4: Likewise.
4593 * getgroups.m4: Likewise.
4594 * getline.m4: Likewise.
4595 * lstat.m4: Likewise.
4596 * malloc.m4: Likewise.
4597 * memcmp.m4: Likewise.
4598 * putenv.m4: Likewise.
4599 * realloc.m4: Likewise.
4600 * regex.m4: Likewise.
4601 * stat.m4: Likewise.
4602 * strftime.m4: Likewise.
4603 Suggestion from Alain Magloire.
4605 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
4608 * regex.m4: Add a run-time Test for proper operation of
4611 1999-01-31 Jim Meyering <meyering@ascend.com>
4613 * getloadavg.m4: Check for locale.h and the function, setlocale.
4615 1999-01-30 Jim Meyering <meyering@ascend.com>
4617 * check-type.m4: Use 3-arg form of AC_DEFINE.
4619 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
4620 rather than my private copy, now that the official one is up to date.
4621 * mktime.m4: Remove file.
4623 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
4624 * uptime.m4: Likewise.
4625 * uintmax_t.m4: Likewise.
4627 1999-01-28 Jim Meyering <meyering@ascend.com>
4629 * jm-macros.m4: Use jm_AFS.
4630 * afs.m4: New file (from fileutils' configure.in).
4632 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
4633 * chown.m4: Likewise.
4634 * d-ino.m4: Likewise.
4635 * d-type.m4: Likewise.
4636 * fnmatch.m4: Likewise.
4637 * getgroups.m4: Likewise.
4638 * gettext.m4: Likewise.
4639 * jm-mktime.m4: Likewise.
4640 * jm-winsz2.m4: Likewise.
4641 * lcmessage.m4: Likewise.
4642 * ls-mntd-fs.m4: Likewise.
4643 * malloc.m4: Likewise.
4644 * memcmp.m4: Likewise.
4645 * putenv.m4: Likewise.
4646 * realloc.m4: Likewise.
4647 * st_mtim.m4: Likewise.
4648 * strftime.m4: Likewise.
4650 1999-01-16 Jim Meyering <meyering@ascend.com>
4652 * jm-macros.m4 (ARGMATCH_DIE): Define.
4653 (ARGMATCH_DIE_DECL): Define.
4655 1999-01-12 Jim Meyering <meyering@ascend.com>
4657 * Makefile.am.in: Rewrite to avoid using fmt.
4658 Reported by Lars Hecking.
4660 1999-01-10 Jim Meyering <meyering@ascend.com>
4662 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
4664 * inttypes_h.m4: Likewise.
4665 * lstat.m4: Likewise.
4666 * malloc.m4: Likewise.
4667 * readdir.m4: Likewise.
4668 * realloc.m4: Likewise.
4669 * st_dm_mode.m4: Likewise.
4670 * stat.m4: Likewise.
4671 * utimbuf.m4: Likewise.
4672 * utimes.m4: Likewise.
4674 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
4675 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
4676 comments in config.h.in are meaningful.
4678 * jm-macros.m4: Require autoconf-2.13 here.
4680 * regex.m4: By default, don't use the included regex.c on systems
4681 with glibc 2. Suggestion from Uli Drepper.
4683 1999-01-02 Jim Meyering <meyering@ascend.com>
4685 * jm-macros.m4: Replace strcasecmp and strncasecmp.
4687 1998-12-18 Jim Meyering <meyering@ascend.com>
4689 * Makefile.am.in (Makefile.am): Simplify rule.
4690 Based on a suggestion from Lars Hecking.
4692 1998-11-16 Jim Meyering <meyering@ascend.com>
4694 * lfs.m4: Double-quote the `uname...` expression.
4696 1998-11-16 Paul Eggert <eggert@twinsun.com>
4698 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
4700 1998-11-14 Jim Meyering <meyering@ascend.com>
4702 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
4703 * stat.m4: Likewise.
4705 1998-11-03 Jim Meyering <meyering@ascend.com>
4707 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
4708 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
4710 1998-10-18 Jim Meyering <meyering@ascend.com>
4712 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
4714 1998-10-17 Jim Meyering <meyering@ascend.com>
4716 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
4717 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
4718 calls for those previously hard-coded headers. Instead, take a new
4720 (jm_CHECK_DECLARATIONS): Reflect interface change.
4721 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
4722 (jm_CHECK_DECL_LOCALTIME_R): New macro.
4724 * mktime.m4: Test for spring-forward gap before long-running test.
4726 1998-10-14 Jim Meyering <meyering@ascend.com>
4728 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
4729 instead of "TZ=America/Vancouver". From Paul Eggert.
4731 1998-10-11 Jim Meyering <meyering@ascend.com>
4733 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
4734 This adds a test for a recently added compatibility fix for mktime.c.
4735 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
4737 1998-09-27 Jim Meyering <meyering@ascend.com>
4739 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
4741 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
4742 ../configure.in, including a change from Gordon Matzigkeit to allow
4743 cross-compiling for the Hurd.
4745 * glibc.m4: New file/macro to test for the GNU C Library
4746 versions 1 and 2. From Gordon Matzigkeit.
4749 1998-09-21 Jim Meyering <meyering@ascend.com>
4751 * chown.m4: Declare locals: before, after. From Andries Brouwer.
4753 1998-08-18 Paul Eggert <eggert@twinsun.com>
4755 Port nanosecond-resolution times to UnixWare 2.1.2 and
4756 pedantic Solaris 2.6.
4758 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
4760 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
4761 Generate name of ns member, instead of just 1 or undef.
4762 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
4764 1998-08-15 Jim Meyering <meyering@ascend.com>
4766 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
4767 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
4768 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
4769 instead of jm_TYPE_SSIZE_T.
4771 1998-08-12 Jim Meyering <meyering@ascend.com>
4773 * st_dm_mode.m4: New file. From Johan Danielsson.
4775 1998-08-02 Jim Meyering <meyering@ascend.com>
4777 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
4778 in acconfig.h manually.
4780 1998-07-31 Paul Eggert <eggert@twinsun.com>
4782 * st_mtim.m4: New file.
4784 1998-07-28 Jim Meyering <meyering@ascend.com>
4786 * utimes.m4: Undef stat.
4788 1998-07-25 Jim Meyering <meyering@ascend.com>
4790 * utime.m4 (jm_FUNC_UTIME): New file and macro.
4791 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
4793 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
4795 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
4796 uid and gid actually remain unchanged.
4798 1998-07-07 Jim Meyering <meyering@ascend.com>
4800 * jm-glibc-io.m4: Remove fclose_unlocked.
4802 1998-07-04 Jim Meyering <meyering@ascend.com>
4804 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
4805 to prove that this macro can be used in packages without regex.c.
4807 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4809 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
4812 1998-07-03 Jim Meyering <meyering@ascend.com>
4814 * gettext.m4: Add -lintl if it's found to be necessary.
4816 * gettext.m4: New file -- from gettext-0.10.35.
4817 * lcmessage.m4: Likewise.
4818 * progtest.m4: Likewise.
4820 * regex.m4 (jm_WITH_REGEX): New file and macro.
4821 * jm-macros.m4: Require the new macro.
4823 1998-06-29 Jim Meyering <meyering@ascend.com>
4825 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
4826 for the definition of NGROUPS (used in a system header included
4829 1998-06-28 Jim Meyering <meyering@ascend.com>
4831 * ls-mntd-fs.m4: New file.
4832 * fstypename.m4: New file.
4834 * jm-macros.m4: Require the new macro.
4835 * jm-glibc-io.m4: New file.
4837 1998-05-19 Jim Meyering <meyering@ascend.com>
4839 * jm-macros.m4: Add jm_FUNC_LCHOWN.
4840 * lchown.m4: New file.
4842 * Makefile.am.in: New file.
4843 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
4845 1998-05-14 Jim Meyering <meyering@ascend.com>
4847 * Makefile.am (EXTRA_DIST): Add them.
4848 * jm-macros.m4: New file.
4849 * utimbuf.m4: New file.
4851 1998-05-12 Jim Meyering <meyering@ascend.com>
4853 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
4855 1998-05-11 Jim Meyering <meyering@ascend.com>
4857 * isc-posix.m4: New file.
4859 1998-05-10 Jim Meyering <meyering@ascend.com>
4861 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
4863 1998-05-09 Jim Meyering <meyering@ascend.com>
4865 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
4866 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
4869 * ssize_t.m4: New file.
4870 * mktime.m4: Remove file -- the new automake has this now.
4872 1998-04-26 Jim Meyering <meyering@ascend.com>
4874 * assert.m4: New file.
4875 * Makefile.am (EXTRA_DIST): Add assert.m4.
4877 1998-04-05 Jim Meyering <meyering@ascend.com>
4879 * prereq.m4 (jm_PREREQ_REGEX): New macro.
4880 (jm_PREREQ): Use it here.
4882 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
4884 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
4887 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
4889 * prereq.m4: New file.
4890 * error.m4: New file.
4891 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
4893 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
4895 * getline.m4: Don't set am_cv_func_working_getline before the
4896 cache-check for the same variable -- that defeated the purpose of
4897 the test; the test program was never run. This was a problem only
4898 on systems with losing getline functions -- HP-UX 10.20 is one.
4899 Reported by Bjorn Helgaas.
4901 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
4903 * Makefile.am (EXTRA_DIST): Add perl.m4.
4905 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
4907 * Makefile.am (EXTRA_DIST): Add const.m4.
4909 * const.m4: New file. Use an initializer in this declaration
4910 typedef int charset[2]; const charset x;
4911 Reported by Bob Glickstein.
4913 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
4915 * chown.m4: Fix reversed types on -1 args to chown.
4918 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
4920 * check-decl.m4: s/DECLARATION_/DECL_/g.
4921 Add lseek and memchr.
4923 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
4924 T.E.Dickey <dickey@clark.net> said that some older preprocessors
4925 have a 20-character limit on names.
4927 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
4929 * inttypes_h.m4: New file.
4930 * uintmax_t.m4: New file.
4931 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
4936 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4937 2005, 2006 Free Software Foundation, Inc.
4939 Copying and distribution of this file, with or without
4940 modification, are permitted provided the copyright notice
4941 and this notice are preserved.