1 2007-01-19 Jim Meyering <jim@meyering.net>
3 * .cvsignore, .gitignore: Add more bootstrap-inserted file names.
5 2006-12-12 Jim Meyering <jim@meyering.net>
7 * jm-macros.m4: Remove AC_FUNC_SETVBUF_REVERSED, now that it's a no-op.
9 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
11 * sha512.m4 (gl_SHA512): Add u64.h to AC_LIBSOURCES.
13 2006-10-12 Jim Meyering <jim@meyering.net>
15 * jm-macros.m4 (coreutils_MACROS): Rename from gl_MACROS, now that
16 most of the gnulib macros have migrated into gnulib.
17 Don't call gl_INIT here (now it's called from configure.ac, directly).
19 2006-10-07 Jim Meyering <jim@meyering.net>
21 * jm-macros.m4 (gl_MACROS): Remove use of AC_CONFIG_LIBOBJ_DIR(lib).
22 It is no longer needed, and was causing dependencies to appear
23 in lib/lib/.deps, which provoked a "make distcheck" failure.
25 2006-09-29 Jim Meyering <jim@meyering.net>
27 * readdir.m4: Remove file once again.
28 * jm-macros.m4: Remove reference to gl_FUNC_READDIR.
30 2006-09-28 Jim Meyering <jim@meyering.net>
32 * jm-macros.m4: Require the new macro.
33 * readdir.m4 (gl_FUNC_READDIR): Rename from GL_FUNC_READDIR.
34 Increment serial number.
35 * readdir.m4: Revivify this file.
36 We need it to work around a bug on Darwin 0.7.x.
38 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
40 * .cvsignore: Add fcntl_h.m4, getloadavg.m4, inttypes-h.m4,
41 inttypes-prio.m4, inttypes.m,4 isapipe.m4.
43 * jm-macros.m4 (gl_MACROS): Call cu_PREREQ_STAT_PROG rather
44 than AC_REQUIREing, so that sys/mount.h isn't tested for after
45 the test result. I'm not sure why this fix is needed, but it
47 * stat-prog.m4 (cu_PREREQ_STAT_PROG): Revamp to reflect better
48 what stat.c actually needs.
50 2006-08-29 Paul Eggert <eggert@cs.ucla.edu>
52 * stat-prog.m4 (cu_PREREQ_STAT_PROG): Check for __val versus val
53 components of fsid. Omit some checks that stat.c doesn't care
56 2006-08-26 Paul Eggert <eggert@cs.ucla.edu>
58 * .cvsignore: Add config-h.m4.
60 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
62 * .cvsignore: Remove Makefile, dev-ino.m4, glibc2.m4, intdiv0.m4,
63 inttypes-h.m4, inttypes-pri.m4, jm-glibc-io.m4, lcmessage.m4,
64 lock.m4, printf-posix.m4, same-inode.m4, size_max.m4,
65 uintmax_t.m4, ulonglong.m4, visibility.m4, xsize.m4. Many of
66 these are put in automatically by ../bootstrap, but that's a
67 bootstrap bug that I plan to fix shortly.
69 2006-08-22 Bruno Haible <bruno@clisp.org>
72 * boottime.m4 (GNULIB_BOOT_TIME): Test also for utmp.h, utmpx.h,
73 OS.h. Don't require to have utmp.h or utmpx.h. Enable boottime
74 support if <OS.h> is found.
76 2006-08-22 Jim Meyering <jim@meyering.net>
78 * .cvsignore: Add files that are now generated by ../bootstrap.
80 2006-08-21 Paul Eggert <eggert@cs.ucla.edu>
83 Remove from CVS, since ../bootstrap generates it automatically.
85 2006-08-20 Paul Eggert <eggert@cs.ucla.edu>
87 Add a bootstrap procedure, so that the CVS version contains fewer
88 files and we bootstrap the rest from gnulib, gettext, etc.
89 * check-decl.m4 (gl_CHECK_DECLS):
90 Don't include stdio.h, string.h, stdlib.h, unistd.h, sys/time.h,
91 time.h. Use AC_CHECK_DECLS_ONCE for free, getenv, geteuid, getlogin,
92 getuid, lseek, malloc, memchr, realloc. Don't check for getutent,
93 memrchr, nanosleep, stpcpy, strndup, strnlen, strstr, strtoul,
95 (_gl_DECL_HEADERS): Remove; all uses removed.
96 * jm-macros.m4 (gl_MACROS): Move AC_PREREQ into configure.ac
97 for the benefit of gnulib-tool. Call gl_INIT.
98 Do not call or require the following, since gnulib now does this:
99 gl_HOST_OS, gl_ASSERT, gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE,
100 gl_CHECK_TYPE_STRUCT_DIRENT_D_INO, gl_FUNC_DIRFD, AC_FUNC_ACL,
101 gl_FUNC_LCHMOD, gl_FUNC_LCHOWN, gl_FUNC_RMDIR_NOTEMPTY,
102 gl_FUNC_CHOWN, AC_FUNC_LSTAT, AC_FUNC_STRERROR_R,
103 gl_FUNC_GROUP_MEMBER, gl_AC_FUNC_LINK_FOLLOWS_SYMLINK,
104 gl_FUNC_FPENDING, gt_INTTYPES_PRI, gl_ULLONG_MAX,
105 gl_FUNC_GETGROUPS, AC_FUNC_ALLOCA, AC_FUNC_GETLOADAVG,
106 gl_SYS_PROC_UPTIME, gl_FUNC_FTRUNCATE, AC_REPLACE_FUNCS(raise),
107 AC_CHECK_FUNCS_ONCE(gettimeofday), AC_FUNC_GETTIMEOFDAY_CLOBBER,
108 AC_FUNC_CLOSEDIR_VOID, AC_FUNC_STRTOD, gl_GLIBC21, AM_ICONV,
109 gl_FUNC_UNLINK_BUSY_TEXT, gl_FSUSAGE, gl_MOUNTLIST, gl_AC_DOS,
110 AC_FUNC_CANONICALIZE_FILE_NAME, gl_FUNC_FREE, gl_FUNC_CHDIR_LONG,
111 gl_FUNC_XFTS, gl_ROOT_DEV_INO, gl_VERSION_ETC, gl_DIACRIT,
112 gl_TYPE_SOCKLEN_T, gl_FPRINTFTIME, gl_CHDIR_SAFER.
113 Don't check for fchmod, hasmntopt, isascii, lchown, listmntent,
114 mempcpy, realpath, wcrtomb, tzset.
115 (gl_CHECK_ALL_HEADERS): Don't check for sys/statvfs.h, sys/vfs.h,
117 (gl_CHECK_ALL_TYPES): Require AC_TYPE_UNSIGNED_LONG_LONG_INT.
118 Don't check for struct stat.st_blksize.
119 Don't require AC_STRUCT_ST_DM_MODE, gt_TYPE_SSIZE_T,
120 gl_AC_TYPE_UINT32_T, gl_AC_TYPE_UINTMAX_T, gl_AC_TYPE_UINTPTR_T,
121 gl_AC_TYPE_UNSIGNED_LONG_LONG.
122 * prereq.m4 (gl_PREREQ): Require gl_FUNC_XFTS, gl_ROOT_DEV_INO.
123 Don't require AM_STDBOOL_H, gl_ALLOCSA, gl_BACKUPFILE,
124 gl_BASENAME, gl_C_STRTOD, gl_C_STRTOLD, gl_CANON_HOST, gl_CLOEXEC,
125 gl_CLOSE_STREAM, gl_CLOSEOUT, gl_DIRNAME, gl_ERROR, gl_EXCLUDE,
126 gl_EXITFAIL, gl_FCNTL_SAFER, gl_FILEBLOCKS, gl_FILEMODE,
127 gl_FILE_NAME_CONCAT, gl_FILE_TYPE, gl_FSUSAGE, gl_FOPEN_SAFER,
128 gl_FUNC_ALLOCA, gl_FUNC_ATEXIT, gl_FUNC_DUP2, gl_FUNC_FNMATCH_GNU,
129 gl_FUNC_GETHOSTNAME, gl_FUNC_GETLINE, AC_FUNC_GETLOADAVG,
130 gl_FUNC_GETPASS_GNU, gl_FUNC_GETUSERSHELL, gl_FUNC_LSTAT,
131 gl_FUNC_MEMCHR, gl_FUNC_MEMCPY, gl_FUNC_MEMMOVE, gl_FUNC_MEMPCPY,
132 gl_FUNC_MEMRCHR, gl_FUNC_MEMSET, gl_FUNC_MKDIR_TRAILING_SLASH,
133 gl_FUNC_MKTIME, gl_FUNC_MKSTEMP,
134 gl_FUNC_READLINK, gl_FUNC_RMDIR, gl_FUNC_RPMATCH, gt_FUNC_SETENV,
135 gl_FUNC_SIG2STR, gl_FUNC_SNPRINTF, gl_FUNC_STPCPY,
136 gl_FUNC_STRCSPN, gl_FUNC_STRDUP, gl_FUNC_STRNDUP, gl_FUNC_STRNLEN,
137 gl_FUNC_STRPBRK, gl_FUNC_STRSTR, gl_FUNC_STRTOD,
138 gl_FUNC_STRTOIMAX, gl_FUNC_STRTOLL, gl_FUNC_STRTOL,
139 gl_FUNC_STRTOULL, gl_FUNC_STRTOUL, gl_FUNC_STRTOUMAX,
140 gl_FUNC_STRVERSCMP, gl_FUNC_TZSET_CLOBBER, gl_FUNC_VASNPRINTF,
141 gl_FUNC_VASPRINTF, gl_FUNC_WCWIDTH, gl_GETADDRINFO, gl_GETDATE,
142 gl_GETHRXTIME, gl_GETNDELIM2, gl_GETOPT, gl_GETPAGESIZE,
143 gl_GETTIME, gl_GETUGROUPS, gl_HARD_LOCALE, gl_HASH, gl_HASH_PJW,
144 gl_HEADER_ARPA_INET, gl_HEADER_NETINET_IN, gl_HEADER_SYS_SOCKET,
145 gl_HUMAN, gl_IDCACHE, gl_INET_NTOP, gl_INTTOSTR, gl_LINEBUFFER,
146 gl_LOCALCHARSET, gl_LONG_OPTIONS, gl_MBCHAR, gl_MBITER,
147 gl_MBSWIDTH, gl_MD5, gl_MEMCOLL, gl_MKANCESDIRS, gl_MKDIR_PARENTS,
148 gl_MODECHANGE, gl_MOUNTLIST, gl_OBSTACK, gl_PATHMAX, gl_PHYSMEM,
149 gl_POSIXTM, gl_POSIXVER, gl_QUOTEARG, gl_QUOTE, gl_READTOKENS,
150 gl_READUTMP, gl_REGEX, gl_SAFE_READ, gl_SAFE_WRITE, gl_SAME,
151 gl_SAVEDIR, gl_SAVE_CWD, gl_SETTIME, gl_SHA1, gl_STAT_MACROS,
152 gl_STAT_TIME, gl_STDARG_H, gl_STDINT_H, gl_STDLIB_SAFER,
153 gl_STRCASE, gl_STRIPSLASH, gl_TIMESPEC, gl_TIME_R,
154 gl_TYPE_SOCKLEN_T, gl_UNICODEIO, gl_UNISTD_SAFER, gl_UNLINKDIR,
155 gl_USERSPEC, gl_UTIMECMP, gl_UTIMENS, gl_XALLOC, gl_XGETCWD,
156 gl_XNANOSLEEP, gl_XREADLINK, gl_XSTRTOD, gl_XSTRTOL, gl_XSTRTOLD,
157 gl_YESNO, AC_FUNC_CALLOC, gl_FUNC_GLIBC_UNLOCKED_IO,
158 gl_FUNC_GNU_STRFTIME, AC_FUNC_MALLOC, gl_FUNC_MEMCMP,
159 gl_FUNC_NANOSLEEP, gl_FUNC_PUTENV, AC_FUNC_REALLOC, gl_FUNC_UTIME,
160 gl_XSTRTOIMAX, gl_XSTRTOUMAX, vb_FUNC_RENAME, gl_FUNC_FTS,
161 gl_MEMCASECMP, gl_STRIPSLASH, gl_LINEBUFFER, gl_ARGMATCH,
162 gl_CYCLE_CHECK, gl_EUIDACCESS_STAT, since gnulib handles this.
163 * stat-prog.m4 (cu_PREREQ_STAT_PROG): Don't check for
164 sys/sysmacros.h. Don't check for statvfs. Use AC_CHECK_HEADERS_ONCE
165 for netinet/in.h, nfs/nfs_clnt.h, nfs/vfs.h.
166 Don't require gl_AC_TYPE_LONG_LONG, gt_HEADER_INTTYPES_H.
168 * absolute-header.m4, acl.m4, alloca.m4, allocsa.m4, arpa_inet_h.m4:
169 * assert.m4, atexit.m4, backupfile.m4, basename.m4, bison.m4:
170 * c-strtod.m4, c.m4, calloc.m4, canon-host.m4, canonicalize.m4:
171 * chdir-long.m4, chdir-safer.m4, chown.m4, clock_time.m4:
172 * cloexec.m4, close-stream.m4, closeout.m4, codeset.m4:
173 * cycle-check.m4, d-ino.m4, d-type.m4, dev-ino.m4, diacrit.m4:
174 * dirfd.m4, dirname.m4, dos.m4, double-slash-root.m4, dup2.m4:
175 * eealloc.m4, eoverflow.m4, error.m4, euidaccess.m4, exclude.m4:
176 * exitfail.m4, extensions.m4, fcntl-safer.m4, file-type.m4:
177 * fileblocks.m4, filemode.m4, filenamecat.m4, fnmatch.m4:
178 * fpending.m4, fprintftime.m4, free.m4, fstypename.m4, fsusage.m4:
179 * ftruncate.m4, fts.m4, getaddrinfo.m4, getcwd-abort-bug.m4:
180 * getcwd-path-max.m4, getcwd.m4, getdate.m4, getdelim.m4:
181 * getgroups.m4, gethostname.m4, gethrxtime.m4, getline.m4:
182 * getndelim2.m4, getopt.m4, getpagesize.m4, getpass.m4, gettext.m4:
183 * gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4:
184 * glibc21.m4, group-member.m4, hard-locale.m4, hash-pjw.m4, hash.m4:
185 * host-os.m4, human.m4, iconv.m4, idcache.m4, inet_ntop.m4:
186 * intmax_t.m4, inttostr.m4, inttypes-h.m4, inttypes-pri.m4:
187 * inttypes.m4, inttypes_h.m4, isc-posix.m4, jm-winsz1.m4:
188 * jm-winsz2.m4, lchmod.m4, lchown.m4, lib-ignore.m4, lib-ld.m4:
189 * lib-link.m4, lib-prefix.m4, linebuffer.m4, link-follow.m4:
190 * localcharset.m4, long-options.m4, longdouble.m4, longlong.m4:
191 * ls-mntd-fs.m4, lstat.m4, mbchar.m4, mbiter.m4, mbrtowc.m4:
192 * mbstate_t.m4, mbswidth.m4, md5.m4, memcasecmp.m4, memchr.m4:
193 * memcmp.m4, memcoll.m4, memcpy.m4, memmove.m4, mempcpy.m4:
194 * memrchr.m4, memset.m4, mkancesdirs.m4, mkdir-p.m4, mkdir-slash.m4:
195 * mkstemp.m4, mktime.m4, modechange.m4, mountlist.m4, nanosleep.m4:
196 * netinet_in_h.m4, nls.m4, obstack.m4, openat.m4, pathmax.m4:
197 * perl.m4, physmem.m4, po.m4, posixtm.m4, posixver.m4, progtest.m4:
198 * putenv.m4, quote.m4, quotearg.m4, readlink.m4, readtokens.m4:
199 * readutmp.m4, regex.m4, rename.m4, rmdir-errno.m4, rmdir.m4:
200 * rpmatch.m4, safe-read.m4, safe-write.m4, same-inode.m4, same.m4:
201 * save-cwd.m4, savedir.m4, setenv.m4, settime.m4, sha1.m4:
202 * sig2str.m4, signed.m4, snprintf.m4, socklen.m4, sockpfaf.m4:
203 * ssize_t.m4, st_dm_mode.m4, stat-macros.m4, stat-time.m4:
204 * stdarg.m4, stdbool.m4, stdint.m4, stdint_h.m4, stdio-safer.m4:
205 * stdlib-safer.m4, stpcpy.m4, strcase.m4, strcspn.m4, strdup.m4:
206 * strftime.m4, stripslash.m4, strndup.m4, strnlen.m4, strpbrk.m4:
207 * strstr.m4, strtod.m4, strtoimax.m4, strtol.m4, strtoll.m4:
208 * strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4:
209 * sys_socket_h.m4, time_r.m4, timespec.m4, tm_gmtoff.m4, tzset.m4:
210 * uint32_t.m4, uintmax_t.m4, uintptr_t.m4, ullong_max.m4:
211 * ulonglong.m4, unicodeio.m4, unistd-safer.m4, unlink-busy.m4:
212 * unlinkdir.m4, unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4:
213 * utime.m4, utimecmp.m4, utimens.m4, utimes-null.m4, utimes.m4:
214 * vasnprintf.m4, vasprintf.m4, version-etc.m4, wchar_t.m4:
215 * wcwidth.m4, wint_t.m4, xalloc.m4, xgetcwd.m4, xnanosleep.m4:
216 * xreadlink.m4, xstrtod.m4, xstrtoimax.m4, xstrtol.m4:
217 * xstrtoumax.m4, yesno.m4:
218 Remove from CVS, since ../bootstrap generates them automatically.
220 2006-08-18 Bruno Haible <bruno@clisp.org>
222 * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Also check for
223 sys/statvfs.h. When getmntinfo was found, check its declaration and
224 set either MOUNTED_GETMNTINFO or MOUNTED_GETMNTINFO2 depending on it.
225 * stat-prog.m4 (cu_PREREQ_STAT_PROG): Test also for f_fstypename
228 2006-08-18 Jim Meyering <jim@meyering.net>
230 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Also check for CLOCK_REALTIME,
231 since gethrxtime may revert to using clock_gettime via gettime.c.
232 Gabor Z. Papp reported that gethrxtime-using programs failed to
233 link due to unresolved clock_gettime on a linux-2.4.x system.
235 2006-08-17 Paul Eggert <eggert@cs.ucla.edu>
237 * ChangeLog: Add copyright notice.
238 * check-decl.m4: Likewise.
240 2006-08-15 Jim Meyering <jim@meyering.net>
242 * openat.m4 (gl_FUNC_OPENAT): Add at-func.c via AC_LIBSOURCES.
244 2006-08-10 Jim Meyering <jim@meyering.net>
247 * cycle-check.m4 (gl_CYCLE_CHECK): Don't mention same-inode.h.
248 Require gl_STRUCT_DEV_INO and gl_SAME_INODE.
249 * dev-ino.m4, same-inode.m4: New files.
251 2006-08-10 Paul Eggert <eggert@cs.ucla.edu>
253 Accommodate new getaddrinfo implementation in gnulib.
254 * arpa_inet_h.m4, inet_ntop.m4, netinet_in_h.m4, snprintf.m4:
255 New files, from gnulib.
256 * prereq.m4 (gl_PREREQ): Require gl_FUNC_SNPRINTF, gl_GETADDRINFO,
257 gl_HEADER_ARPA_INET, gl_HEADER_NETINET_IN, gl_HEADER_SYS_SOCKET,
258 gl_INET_NTOP, gl_TYPE_SOCKEN_T.
260 2006-08-09 Paul Eggert <eggert@cs.ucla.edu>
262 * inttypes-h.m4, stdarg.m4: New files, from gnulib.
263 * prereq.m4 (gl_PREREQ): Require gl_STDARG_H.
264 Require gl_FOPEN_SAFER rather than gl_STDIO_SAFER (due to renaming).
265 * getline.m4, gettext.m4, inttypes-pri.m4, lib-link.m4, localcharset.m4:
266 * mbchar.m4, nls.m4, po.m4, stdint.m4, stdio-safer.m4, unistd-safer.m4:
270 2006-08-08 Paul Eggert <eggert@cs.ucla.edu>
272 * memxfrm.m4, randint.m4, randperm.m4, randread.m4: New files.
274 * prereq.m4 (gl_PREREQ): Require gl_MEMXFRM, gl_RANDINT, gl_RANDPERM,
277 * restrict.m4: Remove, now that we assume Autoconf 2.58 or later.
278 All uses of gl_C_RESTRICT changed to AC_C_RESTRICT.
280 2006-07-22 Paul Eggert <eggert@cs.ucla.edu>
282 * close-stream.m4: New file.
283 * prereq.m4 (gl_PREREQ): Require gl_CLOSE_STREAM.
285 2006-07-16 Paul Eggert <eggert@cs.ucla.edu>
287 * mkancesdirs.m4: New file.
288 * afs.m4: Remove; no longer needed.
289 * jm-macros.m4 (gl_MACROS): Remove gl_AFS.
290 * mkdir-p.m4 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h.
291 Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed.
292 Require gl_FUNC_LCHOWN, since dirchownmod.c needs it.
293 * prereq.m4 (gl_PREREQ): Require gl_MKANCESDIRS.
295 2006-07-11 Eric Blake <ebb9@byu.net>
297 * absolute-header.m4: Fix comments to match recent change.
299 2006-07-10 Derek R. Price <derek@ximbiot.com>
300 and Paul Eggert <eggert@cs.ucla.edu>
302 * backupfile.m4, d-ino.m4, d-type.m4, dirfd.m4, fts.m4, getcwd.m4:
304 Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN
305 macros into the GNU _D_EXACT_NAMLEN.
307 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
309 * stdint.m4 (gl_STDINT_H): Like yesterday's change to
310 absolute-header.m4. Also, set ABSOLUTE_STDINT_H to a string
311 "no/such/file/stdint.h" when there is no such file, so that
312 the resulting C code can be parsed by dodgy compilers.
313 Problems reported by Bob Proulx.
315 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
317 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
318 around the absolute name, to work around a problem with the HP-UX
319 11.23 native C compiler, reported by Bob Proulx.
321 Update from gnulib, as follows:
323 2006-07-06 Derek R. Price <derek@ximbiot.com>
324 and Paul Eggert <eggert@cs.ucla.edu>
326 * backupfile.m4 (gl_BACKUPFILE): Check for dirent.h, instead
327 of invoking obsolescent AC_HEADER_DIRENT macro.
328 * d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
329 * d-type.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Likewise.
330 * dirfd.m4 (gl_FUNC_DIRFD): Likewise.
331 * fts.m4 (gl_FUNC_FTS_CORE): Likewise.
332 * getcwd.m4 (gl_PREREQ_GETCWD): Likewise.
333 * savedir.m4 (gl_SAVEDIR): Likewise.
335 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
337 * fileblocks.m4 (gl_PREREQ_FILEBLOCKS): AC_CHECK_DECLS_ONCE may
338 expand to nothing, so add a shell command to avoid syntax error.
339 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
341 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
343 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't check for getenv decl;
344 no longer needed. Check for isblank decl.
345 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Don't check for getenv decl.
346 * regex.m4 (gl_PREREQ_REGEX): Dheck for isblank decl instead
349 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
351 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Use AC_CHECK_DECLS_ONCE
352 rather than AC_CHECK_DECLS for strtoimax and strtoumax.
353 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed.
355 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
356 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
357 * exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer needed.
358 * getdate.m4 (gl_GETDATE): Likewise.
359 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
360 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
361 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
362 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
363 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
364 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
365 * exclude.m4 (gl_EXCLUDE): Don't require AC_C_INLINE; no longer
368 2006-07-05 Derek R. Price <derek@ximbiot.com>
370 * calloc.m4 (_AC_FUNC_CALLOC_IF): Don't require AC_HEADER_STDC;
372 * exclude.m4 (gl_EXCLUDE): Likewise.
373 * getdate.m4 (gl_GETDATE): Likewise.
374 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
375 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
376 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
377 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
378 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
380 2006-07-05 Eric Blake <ebb9@byu.net>
382 * sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
383 to avoid 'header present but could not be compiled' on cygwin.
385 2006-07-03 Bruno Haible <bruno@clisp.org>
387 * strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, check whether
388 the function exists, before testing against AIX.
389 Reported by Martin Lambers <marlam@marlam.de>.
391 2006-07-04 Paul Eggert <eggert@cs.ucla.edu>
393 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
394 to the absolute name, not just one, to bypass Sun C 5.8's
395 "warning: #include of /usr/include/... may be non-portable".
397 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
399 * absolute-header.m4: Renamed from full-header-path.m4.
400 This is to keep the terminology clean; POSIX talks about
401 "absolute pathnames", not "full pathnames", but the GNU
402 Coding Standards say to use "path" for something else;
403 so use "absolute" to keep both sides happy.
404 (gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
405 Set gl_absolute_header, not gl_full_header_path.
406 Set gl_cv_absolute_<header>, not gl_full_path_<header>.
407 Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
410 2006-07-08 Jim Meyering <jim@meyering.net>
412 * link-follow.m4: Remove one of two adjacent "whether"s in a comment.
413 * getopt.m4: Remove one of two adjacent "your"s in a comment.
414 * autobuild.m4: Remove one of two adjacent "can"s in a comment.
415 * regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment.
417 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
419 * prereq.m4 (gl_PREREQ): Require gl_FUNC_WCWIDTH, to accommodate
420 changes mentioned below.
421 * setenv.m4 (gt_FUNC_SETENV): Undo private change that added an
422 AC_LIBSOURCES line here, since Bruno didn't buy it back. Instead,
423 update ../lib/Makefile.am to mention the files explicitly.
427 2006-06-28 Simon Josefsson <jas@extundo.com>
429 * getaddrinfo.m4: Look for getnameinfo prototypes too.
431 2006-06-28 Eric Blake <ebb9@byu.net>
433 * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
434 * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
436 2006-06-22 Simon Josefsson <jas@extundo.com>
438 * sockpfaf.m4: Include winsock2.h too, to make it work under
441 2006-06-21 Simon Josefsson <jas@extundo.com>
443 * getaddrinfo.m4: Don't define WINVER. Look for gethostbyname in
444 -lws2_32 too. Fixes getaddrinfo on Windows 2000, with the price
445 of using the (limited) gnulib implementation on Windows XP.
447 2006-06-17 Bruno Haible <bruno@clisp.org>
449 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
450 whether errno is declared. Assume <errno.h> declares errno.
452 2006-06-16 Eric Blake <ebb9@byu.net>
454 * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
457 2006-06-15 Eric Blake <ebb9@byu.net>
459 * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
461 2006-04-20 Bruno Haible <bruno@clisp.org>
463 * getpass.m4 (gl_PREREQ_GETPASS):
464 Don't call AC_CHECK_DECLS_ONCE with more than
465 one argument, so that the code will be portable to Autoconf 2.60.
466 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
468 2006-03-15 Eric Blake <ebb9@byu.net>
470 * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
472 2006-07-03 Jim Meyering <jim@meyering.net>
474 * ftruncate.m4 (gl_FUNC_FTRUNCATE): Adjust diagnostic to recommend
475 ./configure SKIP_FTRUNCATE_CHECK=yes, rather than env ... ./configure.
476 Suggestion from Ralf Wildenhues.
478 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
480 * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
481 test cases, so that config.log is a bit easier to follow.
483 2006-07-02 Jim Meyering <jim@meyering.net>
485 * full-header-path.m4: New file, from gnulib. Required by stdint.m4.
487 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
489 * longlong.m4: Sync from gnulib.
490 * stdint.m4: Likewise.
491 * ulonglong.m4: Likewise.
493 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
495 * c-strtod.m4 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
496 Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
497 want to require the building of c-strtod.o.
498 * lib-check.m4 (cu_LIB_CHECK): Remove SEQ_LIBM, since seq no longer
500 * prereq.m4 (gl_PREREQ): Require gl_C_STRTOD and gl_XSTRTOLD.
501 * xstrtod.m4 (gl_XSTRTOLD): New macro.
503 2006-06-29 Derek R. Price <derek@ximbiot.com>
505 * strftime.m4: Don't call AC_FUNC_STRFTIME.
507 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
509 * jm-macros.m4 (jl_MACROS): Require 2.60, not 2.59d.
510 * jm-macros.m4 (gl_CHECK_ALL_TYPES): Don't require AC_C_CONST, since
513 2006-06-28 Derek R. Price <derek@ximbiot.com>
515 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
517 * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
518 * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
520 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
522 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
523 --as-needed option if available. Problem reported by Albert Chin in
524 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
525 However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
526 cc merely issues a bunch of annoying warnings for --as-needed
527 (this problem was reported by Bob Proulx). Also, try linking with
528 -lm to detect a bug in binutils 2.16 (this problem was reported
531 2006-06-18 Jim Meyering <jim@meyering.net>
533 Test for a bug that causes glibc's getcwd to suffer a failed assertion.
534 * getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
535 * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
536 also check for glibc-2.4's abort-inducing bug.
538 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
539 Low-probability clean-up should be to use rmdir to get rid of
540 the just-created directory, not unlink.
542 * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
543 configure fail, and request a bug report to inform us about it.
544 Add a comment that, barring reports to the contrary, in 2007 we'll
545 assume ftruncate is universally available.
547 2006-06-10 Jim Meyering <jim@meyering.net>
549 Apply this change from gnulib:
551 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
552 Bruno Haible <bruno@clisp.org>
554 * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
555 check for the declaration of strnlen and a run test that exposes the
556 AIX 5.1 strnlen bug. In the failure case, #define strndup to
559 2006-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
561 * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
562 compile test, for Tru64 4.0D.
564 2006-05-24 Jim Meyering <jim@meyering.net>
566 * jm-macros.m4: Require autoconf-2.59d, for its fixed version
567 of AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
569 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
571 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
572 gl_ rather than jm_. Link, don't run, so that cross-compiles are
573 allowed. Check that resulting type is arithmetic. Move AC_REQUIRE
574 and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
575 not really conditional on the cache.
576 (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
578 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
580 * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
581 test for C99 conformance; (bool) 0.5 is an integer constant
582 expression, but (bool) -0.5 is not. Problem reported by Fedor
583 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
585 2006-02-17 Eric Blake <ebb9@byu.net>
588 * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
590 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
592 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
593 to define main with arguments, for C++. Reported by Eric Blake.
594 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
595 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
596 for 'main', for C99 and C++.
598 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
600 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
601 Don't assume that exit status -1 is valid.
602 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
603 * putenv.m4 (gl_FUNC_PUTENV): Likewise.
604 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
605 * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
606 * rename.m4 (vb_FUNC_RENAME): Likewise.
607 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
608 not AC_TRY_RUN. Use return, not exit. Don't assume that
609 functions can be used without declaring them, or that you can
611 * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
613 2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
615 * filemode.m4 (gl_FILEMODE): Check for strmode declaration.
617 2006-04-12 Paul Eggert <eggert@cs.ucla.edu>
619 * jm-macros.m4 (gl_MACROS): Check for setgroups and sync, since they
622 2006-04-11 Paul Eggert <eggert@cs.ucla.edu>
624 * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
626 2006-04-09 Paul Eggert <eggert@cs.ucla.edu>
628 * regex.m4 (gl_REGEX): Check for new glibc interface to
631 2006-03-11 Eric Blake <ebb9@byu.net>
633 * double-slash-root.m4: New file, provides gl_DOUBLE_SLASH_ROOT.
634 * dirname.m4 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
635 * dos.m4 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
636 (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
638 2006-03-25 Paul Eggert <eggert@cs.ucla.edu>
640 * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
641 REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
642 glibc names. Even if glibc is changed to conform to POSIX, the
643 traditional names will be available anyway, since regex depends on
644 the extensions module. Also, fix a longstanding typo in the
645 implementation of Spencer ERE test #75 from grep 2.3. Problems
646 reported by Emanuele Giaquinta. Also, change sense of cached
647 variable, so that the message makes sense.
649 2006-03-17 Jim Meyering <jim@meyering.net>
651 * regex.m4 (gl_REGEX): Fix typo in last change:
652 s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
654 2006-03-16 Paul Eggert <eggert@cs.ucla.edu>
656 * regex.m4 (gl_REGEX): Don't check for off_t, since the code
657 no longer needs it. Instead, check that regoff_t is as least
658 as wide as ptrdiff_t.
660 Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
661 so that our regex.h stays compatible with the installed regex.
662 This is helpful for installers who configure --without-included-regex.
663 Problem reported by Emanuele Giaquinta.
665 2006-03-12 Jim Meyering <jim@meyering.net>
667 * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.
668 * cycle-check.m4 (gl_CYCLE_CHECK): Likewise.
669 * same.m4 (gl_SAME): Likewise.
670 * root-dev-ino.m4 (gl_ROOT_DEV_INO): Likewise.
672 2006-03-12 Paul Eggert <eggert@cs.ucla.edu>
674 * prereq.m4 (gl_PREREQ): Require gl_TIME_R.
675 * time_r.m4: New file, from gnulib.
677 2006-03-01 Paul Eggert <eggert@cs.ucla.edu>
679 * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
680 not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
682 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
683 * timespec.m4 (gl_TIMESPEC): Likewise.
685 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
686 not "==". Reported by Ralf Wildenhues.
688 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
690 * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
693 2006-02-16 Eric Blake <ebb9@byu.net>
696 * sys_socket_h.m4: New file. Solves 'present but cannot compile'
697 warnings on cygwin, which cannot use ws2tcpip.h.
698 * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET.
699 Don't use ws2tcpip.h if sys/socket.h works.
700 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use
701 gl_HEADER_SYS_SOCKET.
702 (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is
705 2006-02-14 Simon Josefsson <jas@extundo.com>
708 * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
709 -lws2_32. Protect sys/socket.h and netdb.h #include's. Include
710 ws2tcpip.h with WINVER=0x0501. All for mingw32.
711 * socklen.m4: Look in ws2tcpip.h too, for mingw32.
713 2006-02-05 Paul Eggert <eggert@cs.ucla.edu>
715 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
716 __EXTENSIONS__ if this causes compilation to fail. Problem
717 reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
718 c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
720 2006-01-26 Paul Eggert <eggert@cs.ucla.edu>
722 * stdbool.m4 (AC_HEADER_STDBOOL): Sync from gnulib.
723 Use 'defined __GNUC__' rather than __GNUC__.
725 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
727 * stdbool.m4: Merge from gnulib; we still don't quite match
728 exactly, but we're getting closer.
729 (AC_HEADER_STDBOOL): Add some comments.
731 2006-01-24 Jim Meyering <jim@meyering.net>
733 * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
734 Reported by Mark D. Baushke.
736 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
738 * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
740 2006-01-20 Paul Eggert <eggert@cs.ucla.edu>
742 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
743 rather than -Xlinker -z -Xlinker ignore, as it's more portable.
744 Suggested by Bruno Haible.
746 2006-01-17 Jim Meyering <jim@meyering.net>
748 * fts.m4 (gl_FUNC_FTS_CORE): Depend on gl_FUNC_OPENAT.
750 2006-01-16 Paul Eggert <eggert@cs.ucla.edu>
752 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
753 it's not portable and it doesn't work with cross-compiles.
754 Problem reported by Bruno Haible. Fix missing-$ typo in
755 'test "gl_cv_ignore_unused_libraries" ...' that prevented
756 -zignore from being used with Sun's C compiler.
758 2006-01-13 Jim Meyering <jim@meyering.net>
760 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
761 unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
762 gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
763 variable, to accommodate the rare case in which getmntent is
764 available in none of the libraries checked. This happens at
765 least on FreeBSD 5.0.
767 2006-01-11 Paul Eggert <eggert@cs.ucla.edu>
769 * prereq.m4 (gl_PREREQ): Require gl_STDINT_H.
770 * stdint.m4: New file, from gnulib.
772 2006-01-11 Jim Meyering <jim@meyering.net>
774 * openat.m4 (gl_FUNC_OPENAT): Require and compile fchmodat.c.
775 Check for the lchmod function.
777 2006-01-10 Paul Eggert <eggert@cs.ucla.edu>
779 * argmatch.m4 (gl_ARGMATCH): Don't require gl_FUNC_MEMCMP, for the
780 sake of packages that don't want to worry about ancient systems.
782 * getaddrinfo.m4, localcharset.m4, md5.m4, memcoll.m4:
785 2006-01-10 Jim Meyering <jim@meyering.net>
787 * fpending.m4: Also include <stdio.h>, for Dragonfly.
788 Patch by Joerg Sonnenberger.
790 2006-01-06 Paul Eggert <eggert@cs.ucla.edu>
792 * lib-ignore.m4: New file.
794 2006-01-01 Paul Eggert <eggert@cs.ucla.edu>
796 * chmod-safer.m4: Remove.
797 * lchmod.m4: New file.
798 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_LCHMOD.
799 Don't require gl_CHDIR_SAFER.
801 2005-12-21 Jim Meyering <jim@meyering.net>
803 * chdir-safer.m4: New file.
804 * jm-macros.m4: Require gl_CHDIR_SAFER.
806 2005-12-05 Andreas Gruenbacher <agruen@suse.de>
808 * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
810 2005-12-14 Jim Meyering <jim@meyering.net>
812 * fprintftime.m4: New file.
813 * jm-macros.m4: Require gl_FPRINTFTIME.
815 2005-12-13 Paul Eggert <eggert@cs.ucla.edu>
817 * stdbool.m4 (AM_STDBOOL_H): Substitute HAVE__BOOL again, reverting
819 (AC_HEADER_STDBOOL): Check for buggy compiler that
820 has _Bool but mishandles _Bool |= _Bool.
822 2005-12-07 Paul Eggert <eggert@cs.ucla.edu>
824 * stat-time.m4 (gl_STAT_TIME): Add check for
825 TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
826 porting problem reported by Georg Schwarz in
827 <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
829 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
831 * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
832 Use implementation from Albert Chin, with some
833 comments/corrections by Stepan Kasal and myself.
834 * jm-macros.m4 (gl_MACROS): Adjust to renaming.
836 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
838 * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
839 statement, to work around an HP-UX 10.20 compiler bug reported by
842 2005-12-01 Bruno Haible <bruno@clisp.org>
845 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
846 mbchar.c if they are not both present.
847 * mbiter.m4 (gl_MBITER): Likewise.
848 * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
849 * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
851 2005-11-30 Jim Meyering <jim@meyering.net>
853 * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
854 Require openat-priv.h.
856 2005-11-25 Paul Eggert <eggert@cs.ucla.edu>
858 * stdbool.m4 (AM_STDBOOL_H): Don't bother substituting HAVE__BOOL;
860 (gl_STDBOOL_H): New macro, from gnulib.
861 (AC_HEADER_STDBOOL): Sync with gnulib.
863 2005-11-20 Jim Meyering <jim@meyering.net>
865 * c.m4: Remove spurious space-before-TAB.
867 * euidaccess-stat.m4 (gl_EUIDACCESS_STAT): New file/macro.
868 * prereq.m4: Require gl_EUIDACCESS_STAT.
870 2005-11-18 Paul Eggert <eggert@cs.ucla.edu>
872 * c.m4: New file, to work around bugs in AIX cc.
873 Problem reported by James Lemley. This file can go away
874 after Autoconf 2.60 comes out.
876 2005-11-10 Paul Eggert <eggert@cs.ucla.edu>
878 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
879 or gettimeofday; no longer needed.
881 2005-10-30 Paul Eggert <eggert@cs.ucla.edu>
883 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
884 variables to suggest the intended function of the PATH_MAX check.
886 2005-10-30 Kean Johnston <jkj@sco.com>
888 Trivial changes to support SCO systems.
889 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
891 * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
892 where __ptr is null when no I/O is pending.
894 2005-08-27 David Madore <david.madore@ens.fr>
896 * sha256.m4, sha512.m4: New files.
897 * prereq.m4: Add gl_SHA256 and gl_SHA512.
899 2005-10-07 Paul Eggert <eggert@cs.ucla.edu>
901 * stdbool.m4 (AC_HEADER_STDBOOL): Add an "#ifdef __xlc__" test,
902 since yesterday's attempt didn't work.
904 2005-10-06 Paul Eggert <eggert@cs.ucla.edu>
906 * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
907 promotes to int, not unsigned int, to catch the AIX 5.3
910 2005-10-02 Alfred M. Szmidt <ams@gnu.org>
912 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
913 against `yes', rather than just testing for nonempty.
915 2005-10-01 Simon Josefsson <jas@extundo.com>
917 * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
920 2005-10-01 Simon Josefsson <jas@extundo.com>
922 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use AC_GNU_SOURCE,
923 GNU declares only getaddrinfo as an (POSIX) extension.
924 Check for sys/types.h, sys/socket.h, and netdb.h too,
925 needed by getaddrinfo.h.
926 Check if getaddrinfo, freeaddrinfo and gai_strerror are
927 declared by the POSIX headers.
928 Check if struct addrinfo is declared.
930 2005-10-01 Jim Meyering <jim@meyering.net>
932 * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
933 libraries [inet nsl socket xnet]. Nelson Beebe reported that with
934 native cc on Solaris 7, getaddrinfo.c requires -lsocket.
936 2005-09-29 Paul Eggert <eggert@cs.ucla.edu>
938 * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
940 2005-09-28 Paul Eggert <eggert@cs.ucla.edu>
942 * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
943 defines ULONG_MAX_LT_ULLONG_MAX. Thomas M.Ott reports that
944 ULLONG_MAX doesn't work with 2.7.2.1.
946 2005-09-26 Jim Meyering <jim@meyering.net>
948 * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
949 from glibc-2.2.5 that fails for read-only files.
951 2005-09-24 Paul Eggert <eggert@cs.ucla.edu>
953 * jm-macros.m4 (gl_MACROS): Check for fchmod and fchown.
955 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h, and
956 don't compile mbchar.c unless both headers exist. See
957 <http://lists.gnu.org/archive/html/bug-gnulib/2005-09/msg00242.html>.
959 2005-09-24 Jim Meyering <jim@meyering.net>
961 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
962 in the inet and nsl libraries. Required on Solaris 5.7.
964 2005-09-23 Paul Eggert <eggert@cs.ucla.edu>
966 * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
967 and similarly for the other external symbols. Problem reported
970 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
971 bug reported by Jim Meyering.
973 * jm-macros.m4 (gl_MACROS): Don't require gl_CHECK_TYPE_STRUCT_UTIMBUF.
974 (gl_CHECK_ALL_HEADERS): Don't check for utime.h.
975 * utimens.m4 (gl_UTIMENS): Check for futimesat (Solaris 10).
976 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
977 not needed, since socklen is a prerequisite module.
979 2005-09-23 Jim Meyering <jim@meyering.net>
981 * jm-macros.m4 (gl_MACROS): AC_REQUIRE([gl_SOCKLEN_T]) here,
982 now that it's no longer required by getaddrinfo.m4.
984 Correct build failure (socklen_t not defined) on at least
985 mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
986 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
987 * socklen.m4: New file, from gnulib.
989 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
991 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
993 2005-09-21 Paul Eggert <eggert@cs.ucla.edu>
995 * check-decl.m4 (_gl_DECL_HEADERS): Don't bother checking for
996 standard C headers, or for headers we no longer use.
997 * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_XANSTRFTIME;
999 (gl_CHECK_ALL_HEADERS): Don't check for memory.h, mntent.h, mnttab.h,
1000 netdb.h, stdlib.h, stdint.h, string.h, sys/filsys.h, sys/fs/s5param.h,
1001 sys/fs_types.h, sys/fstyp.h, sys/mntent.h, sys/socket.h, sys/stafs.h,
1002 sys/timeb.h, unistd.h. No longer needed.
1003 * prereq.m4 (gl_PREREQ): Require gl_FUNC_GETLINE rather than
1004 AM_FUNC_GETLINE. Require gl_FUNC_GETPASS_GNU rather than
1005 gl_FUNC_GETPASS. Require gl_MBCHAR and gl_MBITER.
1007 * xanstrftime.m4: Remove; no longer used.
1009 * getaddrinfo.m4, getdelim.m4, mbchar.m4, mbiter.m4, sockpfaf.m4:
1010 New files, from gnulib.
1012 * backupfile.m4, bison.m4, calloc.m4:
1013 * canonicalize.m4, chown.m4, cloexec.m4, dup2.m4:
1014 * fileblocks.m4, free.m4, ftruncate.m4, fts.m4:
1015 * getcwd.m4, getopt.m4, getpagesize.m4, getpass.m4:
1016 * getugroups.m4, group-member.m4, idcache.m4:
1017 * lib-link.m4, lib-prefix.m4, link-follow.m4:
1018 * mkdir-p.m4, mkstemp.m4, mktime.m4, mountlist.m4:
1019 * nanosleep.m4, onceonly_2_57.m4, pathmax.m4:
1020 * physmem.m4, posixver.m4, putenv.m4, safe-read.m4:
1021 * same.m4, save-cwd.m4, stdio-safer.m4, strndup.m4:
1022 * strnlen.m4, unistd-safer.m4, unlinkdir.m4:
1023 * userspec.m4, xreadlink.m4, xstrtod.m4:
1026 * canon-host.m4, getline.m4, mbrtowc.m4, strcase.m4, strstr.m4:
1027 Nontrivial sync from gnulib.
1029 2005-09-16 Paul Eggert <eggert@cs.ucla.edu>
1031 * jm-macros.m4 (gl_CHECK_ALL_TYPES): Do not require
1032 AC_STRUCT_ST_MTIM_NSEC; it's obsolete.
1033 * prereq.m4 (gl_PREREQ): Require gl_STAT_TIME.
1036 * st_mtim.m4: Remove. Superseded by...
1037 * stat-time.m4: New file.
1038 * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
1039 Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
1041 2005-09-13 Jim Meyering <jim@meyering.net>
1043 * autobuild.m4: New file, from autobuild.
1045 2005-09-09 Paul Eggert <eggert@cs.ucla.edu>
1047 * regex.m4: Import from gnulib, to fix some 64-bit bugs.
1049 2005-09-01 Jim Meyering <jim@meyering.net>
1051 * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
1052 CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
1053 Require gl_STAT_MACROS, too.
1055 2005-08-27 Jim Meyering <jim@meyering.net>
1057 * fcntl-safer.m4, stdio-safer.m4, unistd-safer.m4: Sync from gnulib.
1059 2005-08-01 Jim Meyering <jim@meyering.net>
1061 * xanstrftime.m4 (gl_FUNC_XANSTRFTIME): New file/macro.
1062 * jm-macros.m4: Require gl_FUNC_XANSTRFTIME.
1064 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1066 * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_ELSE instead of the
1067 obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
1069 2005-07-21 Paul Eggert <eggert@cs.ucla.edu>
1071 * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
1072 (gl_GETDATE): Use it.
1074 2005-07-13 Paul Eggert <eggert@cs.ucla.edu>
1076 * lib-check.m4 (cu_LIB_CHECK): Remove no-longer-necessary check
1079 2005-07-08 Paul Eggert <eggert@cs.ucla.edu>
1081 * jm-macros.m4 (gl_CHECK_ALL_HEADERS): Check for stropts.h.
1083 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1085 * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1086 * same.m4 (gl_SAME): Likewise.
1087 Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1089 Switch to Isamu Hasegawa's implementation of regex, which is
1091 * regex.m4: Import from gnulib.
1093 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
1095 * prereq.m4 (gl_PREREQ): Don't require gl_TYPEOF; no longer needed.
1096 * typeof.m4: Remove; no longer needed.
1098 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1100 Remove the dependency of the strftime module on the tzset module.
1101 * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1102 * prereq.m4 (gl_PREREQ): Add gl_FUNC_TZSET_CLOBBER.
1104 2005-07-03 Jim Meyering <jim@meyering.net>
1106 * lstat.m4 (gl_FUNC_LSTAT): New file, from gnulib.
1107 Use AC_LIBSOURCES to require lstat.c and lstat.h.
1108 Remove obsolete comment.
1110 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1112 * fts.m4 (gl_FUNC_FTS_CORE): Don't require
1113 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
1115 * jm-macros.m4 (gl_MACROS): Likewise.
1116 * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
1118 2005-07-03 Jim Meyering <jim@meyering.net>
1120 * fcntl-safer.m4 (gl_FCNTL_SAFER): Add fcntl--.h to the list.
1121 * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h to the list.
1122 * stdlib-safer.m4 (gl_STDLIB_SAFER): Add stdlib--.h to the list.
1123 * unistd-safer.m4 (gl_UNISTD_SAFER): Add unistd--.h to the list.
1125 2005-07-02 Paul Eggert <eggert@cs.ucla.edu>
1127 Cleanup to isolate "safer" functions to a small part of the code.
1128 * fcntl-safer.m4, fd-reopen.m4, stdlib-safer.m4: New files.
1129 * prereq.m4 (gl_PREREQ): Require gl_FCNTL_SAFER,
1130 gl_FD_REOPEN, gl_STDLIB_SAFER.
1132 2005-07-02 Jim Meyering <jim@meyering.net>
1134 * check-decl.m4, chown.m4, free.m4, getcwd.m4, link-follow.m4:
1135 * mktime.m4: Assume HAVE_UNISTD_H, i.e., that <unistd.h> works.
1137 2005-07-01 Jim Meyering <jim@meyering.net>
1139 * chown.m4, cloexec.m4, dup2.m4, fsusage.m4, getcwd.m4, jm-macros.m4:
1140 * mkstemp.m4, mountlist.m4, save-cwd.m4, unistd-safer.m4:
1141 Don't check for fcntl.h anymore. Now we assume it exists and is usable.
1143 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1144 Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,
1145 and don't check for fcntl.h).
1147 2005-06-30 Jim Meyering <jim@meyering.net>
1149 * stdopen.m4 (gl_STDOPEN): New file/macro.
1150 * jm-macros.m4: Require it.
1152 2005-06-26 Jim Meyering <jim@meyering.net>
1154 * diacrit.m4 (gl_DIACRIT): New file/macro.
1155 * jm-macros.m4: Require it.
1157 2005-06-25 Jim Meyering <jim@meyering.net>
1159 * version-etc.m4 (gl_VERSION_ETC): New file/macro.
1160 * jm-macros.m4: Require it.
1162 * root-dev-ino.m4 (gl_ROOT_DEV_INO): New file/macro.
1163 * jm-macros.m4: Require it.
1165 2005-06-23 Jim Meyering <jim@meyering.net>
1167 * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
1168 * xstrtod.m4: Likewise.
1170 2005-06-19 Jim Meyering <jim@meyering.net>
1172 * xgetcwd.m4 (gl_XGETCWD): Add `AC_LIBOBJ([xgetcwd])'.
1173 Register xgetcwd.c and xgetcwd.h via AC_LIBSOURCES.
1175 * xfts.m4 (gl_FUNC_XFTS): New file/macro.
1176 * jm-macros.m4: Require it.
1178 2005-06-13 Jim Meyering <jim@meyering.net>
1180 * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
1182 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1184 * extensions.m4: Sync from gnulib; this defines
1185 _POSIX_PTHREAD_SEMANTICS for the benefit of Solaris.
1187 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
1189 * mkdir-p.m4: Renamed from makepath.m4.
1190 (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed.
1191 Rename files from makepath.c to mkdir-p.c, and from
1192 makepath.h to mkdir-p.h.
1193 * filenamecat.m4: Renamed from path-concat.m4.
1194 (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed.
1195 Rename files from path-concat.c to filenamecat.c,
1196 and from path-concat.h to filenamecat.h.
1197 * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1198 "file name" in local variables or comments.
1199 * rename.m4: Likewise.
1201 2005-05-30 Paul Eggert <eggert@cs.ucla.edu>
1203 * jm-macros.m4 (gl_CHECK_ALL_HEADERS): Check for priv.h.
1205 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1207 * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1208 and don't require gt_INTTYPES_PRI.
1210 * prereq.m4 (gl_PREREQ): Require gl_STRINTCMP, gl_STRNUMCMP.
1211 * strnumcmp.m4: New file.
1213 2005-05-20 Paul Eggert <eggert@cs.ucla.edu>
1215 * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1216 (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1218 2005-05-20 Eric Blake <ebb9@byu.net> (tiny change)
1220 * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1223 2005-05-18 Paul Eggert <eggert@cs.ucla.edu>
1225 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1226 Don't check for stddef.h.
1227 * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1228 don't use its results.
1229 Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1230 since we include them unconditionally. Don't require
1231 AM_STDBOOL_H, since stdbool is a prerequisite.
1232 Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1233 since we assume C89 or better.
1234 Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1235 as we don't use their results.
1236 Don't check for fchdir, memmove, memset, strrchr, as we use
1237 them unconditionally.
1238 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1239 GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1240 * jm-macros.m4 (gl_MACROS): Require AC_FUNC_LSTAT.
1241 Don't check for memcpy, strchr, strerror, strrchr, float.h.
1242 Use AC_REQUIRE on AM_LANGINFO_CODESET and gl_GLIBC21 rather
1243 than invoking them directly.
1244 (gl_CHECK_ALL_HEADERS): Don't check for errno.h, float.h,
1245 limits.h, stddef.h, since we assume C89 now.
1246 * lib-check.m4: Add copyright notice.
1247 (cu_LIB_CHECK): Renamed from gl_LIB_CHECK.
1248 Don't check for sqrt; factor no longer needs it.
1249 Revamp tests for floor, modf, rint, to define SEQ_LIBM.
1250 Redo tests for fesetround to act like the other wons.
1251 Use "cu_saved_libs" for local var name, not "ac_su_saved_lib".
1252 * prereq.m4: Add copyright notice.
1253 (gl_PREREQ): Add gl_LOCALCHARSET.
1254 * localcharset.m4: New file, from gnulib.
1256 2005-05-16 Jim Meyering <jim@meyering.net>
1258 * fts.m4 (gl_FUNC_FTS): Don't require AC_FUNC_MALLOC or
1259 AC_FUNC_REALLOC. They are not needed.
1261 2005-05-14 Jim Meyering <jim@meyering.net>
1263 * unlinkdir.m4: Register unlinkdir.c and unlinkdir.h via AC_LIBSOURCES.
1264 Add `AC_LIBOBJ([unlinkdir])'.
1266 2005-05-14 Paul Eggert <eggert@cs.ucla.edu>
1268 * prereqs.m4 (gl_PREREQ): Require gl_UNLINKDIR.
1269 * unlinkdir.m4: New file.
1271 2005-05-13 Jim Meyering <jim@meyering.net>
1273 * prereq.m4: Don't require gl_FUNC_STAT or gl_FUNC_LSTAT.
1274 * stat.m4: Remove unnecessary file.
1275 * lstat.m4: Remove unnecessary file.
1277 * readdir.m4 (GL_FUNC_READDIR): Remove, now that remove.c no
1279 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_READDIR.
1281 2005-05-10 Derek Price <derek@ximbiot.com>
1283 * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1286 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1288 * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1291 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1293 * getpass.m4, gettext.m4: Sync from gnulib.
1295 2005-04-28 Paul Eggert <eggert@cs.ucla.edu>
1297 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1298 * jm-macros.m4 (gl_CHECK_ALL_TYPES): Likewise.
1299 * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1300 (gl_PREREQ_CHOWN): Remove.
1301 * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1302 it. Don't require AC_HEADER_STAT.
1303 (gl_PREREQ_LSTAT): Remove.
1304 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1305 Don't require AC_HEADER_STAT.
1306 * prereq.m4 (gl_PREREQ): Require gl_STAT_MACROS.
1307 * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1308 (gl_PREREQ_RMDIR): Remove.
1310 2005-04-27 Paul Eggert <eggert@cs.ucla.edu>
1312 * stat-macros.m4: New file, from gnulib, except that gl_STAT_MACROS
1313 also requires AC_HEADER_STAT.
1314 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1315 mention stat-macros.h or AC_HEADER_STAT, since we'll make
1316 the stat-macros module a prerequisite.
1317 * file-type.m4 (gl_FILE_TYPE): Likewise.
1318 * filemode.m4 (gl_FILEMODE): Likewise.
1319 * makepath.m4 (gl_MAKEPATH): Likewise.
1320 * modechange.m4 (gl_MODECHANGE): Likewise.
1322 2005-04-18 Paul Eggert <eggert@cs.ucla.edu>
1324 * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1326 * jm-macros.m4 (gl_MACROS): Use gl_ or coreutils_ rather than fetish_
1328 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1329 fetish_FUNC_RMDIR_NOTEMPTY. All uses changed. Use gl_ for
1332 2005-04-11 Paul Eggert <eggert@cs.ucla.edu>
1334 Add bulletproofing for cases where stdin, stdout, or stderr are closed.
1335 * fcntl-safer.m4: Remove.
1336 * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1337 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1338 Invoke gl_PREREQ_FD_SAFER.
1339 (gl_PREREQ_FD_SAFER): New macro.
1340 * prereq.m4 (gl_PREREQ): Don't require gl_FCNTL_SAFER.
1342 2005-04-08 Paul Eggert <eggert@cs.ucla.edu>
1344 * jm-macros.m4 (gl_MACROS): Check for siginterrupt.
1345 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Likewise.
1346 * jm-macros.m4 (gl_CHECK_ALL_TYPES): Do not require AC_TYPE_SIGNAL.
1348 2005-03-30 Paul Eggert <eggert@cs.ucla.edu>
1350 * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1351 Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1352 Remove duplicate call to AC_LIBOBJ(readutmp).
1353 (gl_PREREQ_READUTMP): Remove. All uses inlined.
1355 2005-03-28 Eric Blake <ebb9@byu.net> (tiny change)
1357 * getcwd-path-max.m4: Return success on systems such as Cygwin
1358 where no absolute path name can be longer than PATH_MAX.
1360 2005-03-21 Paul Eggert <eggert@cs.ucla.edu>
1362 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Add stat-macros.h
1364 * file-type.m4 (gl_FILE_TYPE): Likewise.
1365 * filemode.m4 (gl_FILEMODE): Likewise.
1366 * makepath.m4 (gl_MAKEPATH): Likewise.
1367 * xstrtol.m4 (gl_XSTRTOL): Add xstrtoul.c to AC_LIBSOURCES.
1368 Add xstrtoul to AC_LIBOBJ.
1370 * onceonly.m4: Remove.
1371 * onceonly_2_57.m4: Add.
1372 This change shrinks "configure" by over 300 kB.
1374 Another change imported from gnulib.
1375 * memcasecmp.m4 (gl_MEMCASECMP): Renamed from gl_FUNC_MEMCASECMP.
1376 All uses changed. Require AC_HEADER_STDC instead of invoking it.
1377 Remove check for stddef.h, size_t, const, since we now assume
1380 2005-03-20 Paul Eggert <eggert@cs.ucla.edu>
1382 * gettext.m4, inttypes.m4, isc-posix.m4, lib-link.m4, nls.m4,
1383 onceonly.m4, po.m4: Sync from gnulib.
1385 2005-03-17 Jim Meyering <jim@meyering.net>
1387 * typeof.m4 (gl_TYPEOF): New file/macro.
1388 * prereq.m4 (gl_PREREQ): Require gl_TYPEOF.
1390 2005-03-10 Jim Meyering <jim@meyering.net>
1392 * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1394 * human.m4 (gl_HUMAN): Add intprops.h.
1395 * inttostr.m4 (gl_INTTOSTR): Likewise
1396 * sig2str.m4 (gl_FUNC_SIG2STR): Likewise.
1397 * userspec.m4 (gl_USERSPEC): Likewise.
1398 * utimecmp.m4 (gl_UTIMECMP): Likewise.
1399 * xnanosleep.m4 (gl_XNANOSLEEP): Likewise.
1401 * xstrtol.m4 (gl_XSTRTOL): Use AC_LIBSOURCES and AC_LIBOBJ
1402 to list the required files.
1404 2005-03-09 Jim Meyering <jim@meyering.net>
1406 * argmatch.m4, cycle-check.m4: New files.
1407 * prereq.m4: Require their macros.
1409 2005-03-01 Paul Eggert <eggert@cs.ucla.edu>
1411 * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1412 to detect nanosleep bug.
1414 2005-02-25 Paul Eggert <eggert@cs.ucla.edu>
1416 * gettext.m4, inttypes-pri.m4, lib-link.m4, lib-prefix.m4, nls.m4,
1417 po.m4, progtest.m4: Sync from gnulib.
1419 2005-02-23 Jim Meyering <jim@meyering.net>
1421 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
1422 Thanks to Bruno Haible for catching it.
1424 2005-02-22 Jim Meyering <jim@meyering.net>
1426 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
1428 2005-02-21 Paul Eggert <eggert@cs.ucla.edu>
1430 * xnanosleep.m4: New file.
1431 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Require gl_CLOCK_TIME,
1432 gl_USE_SYSTEM_EXTENSIONS. Check whether CLOCK_MONOTONIC is
1433 defined, and set LIB_GETHRXTIME accordingly. This is needed
1434 for newer GNU/Linux systems that have clock_gettime, so that they
1435 link in the appropriate library for it when needed.
1436 * prereq.m4 (gl_PREREQ): Require gl_XNANOSLEEP.
1438 2005-02-20 Paul Eggert <eggert@cs.ucla.edu>
1440 * gethrxtime.m4: New file.
1441 * gettime.m4 (gl_GETTIME): Check for nanotime.
1442 * jm-macros.m4 (gl_MACROS): Don't check for gethrtime.
1443 * prereq.m4 (gl_PREREQ): Require gl_GETHRXTIME.
1445 2005-02-20 Jim Meyering <jim@meyering.net>
1447 * stripslash.m4: New file.
1448 * linebuffer.m4: New file.
1449 * prereq.m4 (gl_PREREQ): Require gl_STRIPSLASH and gl_LINEBUFFER.
1451 2005-02-11 Jim Meyering <jim@meyering.net>
1453 * inttostr.m4 (gl_INTTOSTR): Use AC_LIBSOURCES to list the
1454 required source files.
1456 2005-02-09 Jim Meyering <jim@meyering.net>
1458 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Use AC_LIBSOURCES to list the
1459 required source files.
1461 2005-02-08 Jim Meyering <jim@meyering.net>
1463 * memcasecmp.m4 (gl_FUNC_MEMCASECMP): New file and macro.
1464 * prereq.m4: Require gl_FUNC_MEMCASECMP.
1466 2005-02-07 Jim Meyering <jim@meyering.net>
1468 * fts.m4 (gl_FUNC_FTS): New file and macro.
1469 * prereq.m4: Require gl_FUNC_FTS.
1471 2005-02-06 Jim Meyering <jim@meyering.net>
1473 * memrchr.m4 (gl_FUNC_MEMRCHR): Check for declaration of memrchr.
1475 * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Depend on gl_FUNC_MEMRCHR.
1477 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1479 * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
1481 2005-01-29 Jim Meyering <jim@meyering.net>
1483 Use AC_LIBSOURCES to list corresponding source (.c, .h, .y) files
1484 so that automake automatically knows to distribute those files.
1485 Use AC_LIBOBJ to ensure that automake automatically knows the
1486 names of always-compiled source files. Automake already knows
1487 the names of conditionally compiled ones, e.g., due to preexisting
1488 uses of AC_LIBOBJ and AC_REPLACE_FUNCS.
1489 [This is a start. Many still remain to be fixed...]
1491 * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4:
1492 * canonicalize.m4, cloexec.m4, closeout.m4, dirfd.m4, dirname.m4:
1493 * exclude.m4, exitfail.m4, file-type.m4, filemode.m4, fpending.m4:
1494 * fsusage.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4:
1495 * gettime.m4, getugroups.m4, group-member.m4, hard-locale.m4:
1496 * hash.m4, human.m4, idcache.m4, long-options.m4, makepath.m4:
1497 * md5.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4:
1498 * path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4:
1499 * quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4:
1500 * safe-write.m4, same.m4, savedir.m4, setenv.m4, settime.m4:
1501 * sha1.m4, sig2str.m4, strdup.m4, strftime.m4, strndup.m4:
1502 * strverscmp.m4, timespec.m4, unlocked-io.m4, userspec.m4:
1503 * utimecmp.m4, utimens.m4, xalloc.m4, yesno.m4:
1505 2005-01-27 Jim Meyering <jim@meyering.net>
1507 * hash-pjw.m4 (gl_HASH_PJW): New file/macro.
1508 * basename.m4 (gl_BASENAME): New file/macro.
1509 * prereq.m4: Require gl_HASH_PJW and gl_BASENAME.
1511 2005-01-23 Paul Eggert <eggert@cs.ucla.edu>
1514 * acl.m4, afs.m4, alloca.m4, assert.m4, atexit.m4,
1515 backupfile.m4, bison.m4, c-strtod.m4, calloc.m4,
1516 canon-host.m4, canonicalize.m4, clock_time.m4, cloexec.m4,
1517 closeout.m4, d-ino.m4, d-type.m4, dirfd.m4, dirname.m4,
1518 dos.m4, dup2.m4, error.m4, euidaccess.m4, exclude.m4,
1519 exitfail.m4, extensions.m4, fcntl-safer.m4, file-type.m4,
1520 fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4, free.m4,
1521 fstypename.m4, fsusage.m4, ftruncate.m4, getcwd-path-max.m4,
1522 getcwd.m4, getdate.m4, getgroups.m4, gethostname.m4,
1523 getline.m4, getndelim2.m4, getopt.m4, getpagesize.m4,
1524 getpass.m4, gettime.m4, gettimeofday.m4, getugroups.m4,
1525 getusershell.m4, group-member.m4, hard-locale.m4, hash.m4,
1526 host-os.m4, human.m4, idcache.m4, inttostr.m4, jm-winsz1.m4,
1527 jm-winsz2.m4, link-follow.m4, long-options.m4, ls-mntd-fs.m4,
1528 lstat.m4, makepath.m4, md5.m4, memchr.m4, memcmp.m4,
1529 memcoll.m4, memcpy.m4, memmove.m4, memrchr.m4, memset.m4,
1530 mkdir-slash.m4, mkstemp.m4, mktime.m4, modechange.m4,
1531 mountlist.m4, nanosleep.m4, obstack.m4, path-concat.m4,
1532 pathmax.m4, perl.m4, physmem.m4, posixtm.m4, posixver.m4,
1533 putenv.m4, quote.m4, quotearg.m4, readdir.m4, readtokens.m4,
1534 readutmp.m4, regex.m4, rename.m4, restrict.m4, rmdir-errno.m4,
1535 rmdir.m4, rpmatch.m4, same.m4, savedir.m4, settime.m4,
1536 sha1.m4, sig2str.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
1537 stdio-safer.m4, strdup.m4, strftime.m4, strndup.m4,
1538 strnlen.m4, strtod.m4, strtoimax.m4, strtol.m4, strtoll.m4,
1539 strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4,
1540 timespec.m4, tm_gmtoff.m4, tzset.m4, uint32_t.m4,
1541 uintptr_t.m4, unistd-safer.m4, unlink-busy.m4, unlocked-io.m4,
1542 uptime.m4, userspec.m4, utimbuf.m4, utime.m4, utimecmp.m4,
1543 utimens.m4, utimes-null.m4, xalloc.m4, xgetcwd.m4,
1544 xreadlink.m4, xstrtod.m4, xstrtoimax.m4, xstrtol.m4,
1545 xstrtoumax.m4, yesno.m4:
1546 Use an all-permissive copyright notice, recommended by RMS.
1548 2005-01-21 Bruno Haible <bruno@clisp.org>
1551 * allocsa.m4, chdir-long.m4, chown.m4, codeset.m4, eealloc.m4,
1552 eoverflow.m4, glibc21.m4, iconv.m4, intmax_t.m4, inttypes_h.m4,
1553 lchown.m4, lib-ld.m4, lib-link.m4, lib-prefix.m4, longdouble.m4,
1554 longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mempcpy.m4,
1555 openat.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4,
1556 signed.m4, ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4,
1557 strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, uintmax_t.m4,
1558 ullong_max.m4, ulonglong.m4, unicodeio.m4, utimes.m4,
1559 vasnprintf.m4, vasprintf.m4, wchar_t.m4, wint_t.m4:
1560 Use an all-permissive copyright notice, recommended by RMS.
1562 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
1564 * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
1566 2005-01-14 Jim Meyering <jim@meyering.net>
1568 * utimes.m4: Work around tests/touch/empty-file failure on a system
1569 (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
1570 NULL-means-set-to-current-time semantics.
1571 Remove temporary file immediately, rather than waiting
1572 for configure's at-exit trap code to do it.
1574 2005-01-04 Jim Meyering <jim@meyering.net>
1576 * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
1577 is sane and DOES follow symlinks. Besides, testing 20 different
1578 systems found no broken chown implementations.
1579 Prompted by a change in rsync's copy of this macro.
1581 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
1583 * ullong_max.m4: New file.
1584 * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
1586 2005-01-03 Jim Meyering <jim@meyering.net>
1588 * mkstemp.m4 (gl_FUNC_MKSTEMP): Don't `cd' into the temporary
1589 subdirectory. That would make the subsequent AC_TRY_RUN macro fail,
1590 for lack of the ./confdefs.h file. Instead, use the temporary
1591 directory name as a prefix on the template string.
1592 Include <unistd.h> for the declaration of close.
1593 Remove `.tmp' suffix; mkstemp requires that XXXXXX be a suffix.
1595 2004-12-23 Paul Eggert <eggert@cs.ucla.edu>
1597 * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
1599 2004-12-21 Jim Meyering <jim@meyering.net>
1601 * mkstemp.m4 (gl_FUNC_MKSTEMP): Remove temporary directory right
1602 away, rather than waiting for configure's at-exit trap code to do it.
1603 Suggestion from Stepan Kasal.
1605 2004-12-20 Jim Meyering <jim@meyering.net>
1607 * mkstemp.m4: Do the `cd' in a subshell.
1609 * mkstemp.m4: Rather than using "conftestXXXXXX" as the mkstemp
1610 template, use a temporary directory and an 8.3-friendly template
1611 to avoid trouble on systems like DJGPP.
1612 Reported by Juan M. Guerrero via Stepan Kasal.
1614 2004-12-19 Paul Eggert <eggert@cs.ucla.edu>
1616 * c-strtod.m4 (gl_C99_STRTOLD): New macro.
1617 (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
1619 2004-12-10 Jim Meyering <jim@meyering.net>
1621 * chdir-long.m4 (gl_FUNC_CHDIR_LONG: Arrange to compile chdir-long.c
1622 only on systems that define PATH_MAX.
1624 2004-12-07 Paul Eggert <eggert@cs.ucla.edu>
1626 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
1627 spurious "-l"s. Problem reported by Stepan Kasal.
1629 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1631 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
1632 in Autoconf 2.59. Problem reported by Mark D. Baushke.
1634 2004-12-06 Jim Meyering <jim@meyering.net>
1636 * save-cwd.m4 (gl_SAVE_CWD): Use AC_LIBSOURCES.
1637 Use AC_LIBOBJ(save-cwd).
1638 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Use AC_LIBSOURCES.
1639 Use AC_LIBOBJ(chdir-long).
1640 * mempcpy.m4 (gl_FUNC_MEMPCPY): Use AC_LIBSOURCES.
1641 * lchown.m4 (gl_FUNC_LCHOWN): Likewise.
1642 * openat.m4 (gl_FUNC_OPENAT): Likewise.
1643 (gl_PREREQ_GETCWD): Use AC_REQUIRE.
1645 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
1647 * openat.m4: Add copyright notice.
1648 (gl_FUNC_OPENAT): Require gl_USE_SYSTEM_EXTENSIONS, since Solaris
1649 requires __EXTENSIONS__ to be defined when compiling pedantically,
1650 if you want AT_FDCWD.
1652 2004-12-01 Paul Eggert <eggert@cs.ucla.edu>
1654 * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
1656 * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
1657 * jm-macros.m4 (gl_MACROS): Assume localeconv exists.
1659 2004-11-30 Paul Eggert <eggert@cs.ucla.edu>
1661 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1662 Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
1664 * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
1666 2004-11-30 Jim Meyering <jim@meyering.net>
1668 * chdir-long.m4: Rename from chdir.m4.
1669 * jm-macros.m4 (gl_MACROS): Reflect renaming.
1671 2004-11-28 Jim Meyering <jim@meyering.net>
1673 * chdir.m4: New file.
1674 * openat.m4: New file.
1675 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR.
1677 2004-11-25 Paul Eggert <eggert@cs.ucla.edu>
1679 * mempcpy.m4: New file, taken from gnulib.
1680 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
1681 GL_FUNC_GETCWD_PATH_MAX for consistency. All uses changed.
1682 Use the _ONCE methods, for efficiency.
1683 Check for fcntl.h. In test program, include <errno.h>
1684 and <fcntl.h> if available. Remove old K&R cruft from
1685 test program. Check for common errors in GNU/Linux,
1686 OpenBSD, and Solaris. Just set gl_cv_func_getcwd_path_max;
1687 don't do AC_LIBOBJ, as that's getcwd.m4's job.
1688 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
1689 AC_FUNC_GETCWD_NULL. All used changed. Change cache variable
1691 (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros. Revamp to
1692 accommodate new getcwd.c.
1693 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
1694 * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
1695 * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
1696 that's all we need now.
1698 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1700 * utimens.m4 (gl_UTIMENS): Check for futimes function.
1702 2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1704 * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
1705 order not to spoil the result of an eventual previous invocation
1706 of gl_GETOPT_SUBSTITUTE.
1708 2004-11-17 Paul Eggert <eggert@cs.ucla.edu>
1710 * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
1711 that mishandle size_t overflow.
1713 2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
1715 * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
1717 2004-11-13 Jim Meyering <jim@meyering.net>
1719 * jm-macros.m4: Do require gl_FUNC_FPENDING.
1720 * fpending.m4: Restore file.
1722 2004-11-11 Paul Eggert <eggert@cs.ucla.edu>
1724 * getopt.m4: Sync from gnulib.
1726 2004-11-06 Jim Meyering <jim@meyering.net>
1728 * jm-macros.m4: Don't require gl_FUNC_FPENDING.
1729 * fpending.m4: Remove file.
1731 2004-11-03 Paul Eggert <eggert@cs.ucla.edu>
1733 * setenv.m4: New file, from gnulib.
1734 * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
1735 * uint32_t.m4: Sync from gnulib.
1737 2004-11-02 Paul Eggert <eggert@cs.ucla.edu>
1739 * getpass.m4: Sync from gnulib.
1741 2004-10-29 Paul Eggert <eggert@cs.ucla.edu>
1743 * getpagesize.m4: Sync from gnulib.
1745 2004-10-17 Paul Eggert <eggert@cs.ucla.edu>
1747 * jm-macros.m4 (gl_MACROS): Check for mbrlen, for pathchk.
1748 (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
1751 * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
1752 implementation of getopt_long.
1754 2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
1758 * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove. All uses removed.
1760 * unlocked-io.m4: Add copyright notice.
1761 (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
1763 2004-10-03 Paul Eggert <eggert@cs.ucla.edu>
1766 * mbswidth.m4: Add copyright notice.
1767 * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
1768 * eoverflow.m4: New file.
1770 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
1772 * getopt.m4: Sync from gnulib.
1774 2004-08-11 Paul Eggert <eggert@cs.ucla.edu>
1776 * obstack.m4 (gl_PREREQ_OBSTACK): Require
1777 gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
1779 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
1781 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
1783 * sha1.m4: Renamed from sha.m4.
1784 (gl_SHA1): Renamed from gl_SHA. All uses changed.
1786 2004-08-08 Simon Josefsson <jas@extundo.com>
1788 * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
1789 Check getpass declaration.
1791 2004-08-07 Paul Eggert <eggert@cs.ucla.edu>
1793 * canonicalize.m4, getcwd-path-max.m4, strdup.m4: Merge from gnulib.
1795 2004-08-05 Paul Eggert <eggert@cs.ucla.edu>
1799 * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
1800 for backward compatibility with older code. We need our own
1801 alloca.h if _AIX is defined. Define HAVE_ALLOCA if we discover
1802 it under some other name, and our alloca.h will define it.
1803 * backupfile.m4, calloc.m4, strtoimax.m4, strtoumax.m4:
1804 Bump serial number only.
1805 * dirfd.m4, intmax_t.m4, inttypes_h.m4, mbrtowc.m4, stdint_h.m4,
1806 uintmax_t.m4: Finish renaming jm_ to gl_.
1807 * dos.m4 (gl_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
1808 * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
1809 * prereq.m4 (gl_PREREQ): Add gl_GETTIME, AC_FUNC_CALLOC.
1810 * gettime.m4: New file.
1811 * settime.m4: Require gl_TIMESPEC; check for settimeofday, stime.
1812 * unlocked-io.m4: Remove -*- autoconf -*-.
1813 * xalloc.m4: No longer require AC_FUNC_CALLOC, AC_FUNC_MALLOC,
1816 2004-08-04 Paul Eggert <eggert@cs.ucla.edu>
1818 OpenBSD porting fixes.
1819 * boottime.m4: Add copyright notice.
1820 (GNULIB_BOOT_TIME): Include sys/param.h before testing
1822 * fsusage.m4: Add copyright notice.
1823 (gl_FSUSAGE): Include sys/param.h before checking for sys/mount.h.
1824 * jm-macros.m4: Include copyright notice.
1825 (gl_MACROS): Use the _ONCE variants when appropriate.
1826 Include sys/param.h before testing for sys/sysctl.h and sys/mount.h.
1827 * ls-mntd-fs.m4: Include copyright notice.
1828 (gl_LIST_MOUNTED_FILE_SYSTEMS): Include sys/param.h before
1829 testing for sys/mount.h.
1830 * stat-prog.m4: Include copyright notice.
1831 (cu_PREREQ_STAT_PROG): Use the _ONCE variants when appropriate.
1832 Include sys/param.h before testing for sys/mount.h.
1834 2004-08-01 Paul Eggert <eggert@cs.ucla.edu>
1836 * jm-macros.m4 (gl_CHECK_ALL_TYPES):
1837 Require gl_AC_TYPE_UINTPTR_T instead of using AC_CHECK_TYPE
1838 on uintptr_t. Require gl_AC_TYPE_UINT32_T.
1839 * md5.m4 (gl_MD5): Require gl_AC_TYPE_UINT32_T.
1840 * uint32_t.m4, uintptr_t.m4: New files.
1842 2004-07-28 Paul Eggert <eggert@cs.ucla.edu>
1844 * md5.m4 (gl_MD5): Do not require AC_C_INLINE, since it doesn't
1845 use inline any more. Require AC_C_BIGENDIAN, though.
1846 * sha.m4 (gl_SHA): Require AC_C_BIGENDIAN.
1848 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
1850 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't bother checking for
1851 unistd.h, as autoconf does this for us. Check for libgen.h.
1852 Also look for eaccess within -lgen, which is where it is in
1853 Solaris. Set LIB_EACCESS accordingly.
1855 * backupfile.m4 (gl_BACKUPFILE): AC_REQUIRE
1856 gl_CHECK_TYPE_STRUCT_DIRENT_D_INO instead of invoking it directly.
1857 Do not require AC_FUNC_CLOSEDIR_VOID.
1859 2004-07-25 Paul Eggert <eggert@cs.ucla.edu>
1861 * jm-macros.m4 (gl_MACROS): Remove test for setreuid and setregid,
1862 as test.c no longer uses them directly.
1864 * euidaccess.m4 (gl_FUNC_NONREENTRANT_EUIDACCESS): New macro.
1865 (gl_FUNC_EUIDACCESS): Use AC_CHECK_DECLS_ONCE, not AC_CHECK_DECLS.
1866 (gl_PREREQ_EUIDACCESS): Check for eaccess and setregid decls.
1867 Require AC_HEADER_STAT.
1869 * prereq.m4 (gl_PREREQ): Invoke gl_FUNC_NONREENTRANT_EUIDACCESS,
1870 not gl_FUNC_EUIDACCESS.
1872 2004-07-23 Paul Eggert <eggert@cs.ucla.edu>
1874 * prereq.m4 (gl_PREREQ): Add gl_FCNTL_SAFER.
1875 * fcntl-safer.m4: New file.
1877 2004-07-12 Paul Eggert <eggert@cs.ucla.edu>
1879 * c-strtod.m4 (gl_C_STRTOD): Add gl_USE_SYSTEM_EXTENSIONS.
1881 2004-07-11 Paul Eggert <eggert@cs.ucla.edu>
1883 * c-strtod.m4: New file.
1884 * prereq.m4 (gl_PREREQ): Add gl_C_STRTOLD.
1886 2004-04-03 Dmitry V. Levin <ldv@altlinux.org>
1888 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME):
1889 Do not add canonicalize.c here.
1891 2004-07-02 Paul Eggert <eggert@cs.ucla.edu>
1893 * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
1894 prerequisite modules now handle the DOS stuff.
1895 Don't check for unistd.h.
1897 2004-06-30 Paul Eggert <eggert@cs.ucla.edu>
1899 * dos.m4 (gl_AC_DOS): Define FILE_SYSTEM_PREFIX_LEN, not
1900 FILESYSTEM_PREFIX_LEN. Generate
1901 FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX, not
1902 FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX. Generate
1903 FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR, not
1904 FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
1905 * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Renamed from
1906 gl_LIST_MOUNTED_FILESYSTEMS. All uses changed.
1908 2004-06-25 Jim Meyering <jim@meyering.net>
1910 * afs.m4 (gl_AFS): Use AC_ARG_WITH instead of ancient, hard-coded
1911 AC_MSG_CHECKING/AC_MSG_RESULT etc. From Tim Waugh.
1913 2004-06-15 Paul Eggert <eggert@cs.ucla.edu>
1915 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Fix typo: getcwd
1916 was being replaced when it shouldn't have been, and vice versa.
1918 2004-06-09 Jim Meyering <jim@meyering.net>
1920 * calloc.m4 (AC_FUNC_CALLOC): Remove use of AN_FUNCTION.
1922 2004-06-07 Jim Meyering <jim@meyering.net>
1924 * jm-macros.m4 (gl_MACROS): Check for the directio function.
1926 2004-06-01 Jim Meyering <jim@meyering.net>
1928 * stdbool.m4: Update from gnulib.
1930 2004-05-29 Jim Meyering <jim@meyering.net>
1932 * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_FUNC_CALLOC.
1933 * calloc.m4 (AC_FUNC_CALLOC, _AC_FUNC_CALLOC_IF): New file/macros.
1935 2004-05-21 Jim Meyering <jim@meyering.net>
1937 * free.m4: Update from gnulib (fix reversed test).
1939 2004-05-03 Jim Meyering <jim@meyering.net>
1941 Temporary work-around for the problem reported here:
1942 http://sources.redhat.com/ml/bug-automake/2004/msg00339.html
1944 * gettext.m4 (AM_GNU_GETTEXT): Don't require AM_INTL_SUBDIR.
1945 (AM_INTL_SUBDIR): Comment out definition.
1947 2004-05-01 Jim Meyering <jim@meyering.net>
1949 * jm-mktime.m4: Remove file. This is now part of mktime.m4.
1950 * glibc.m4, c-stack.m4, xsize.m4, size_max.m4: Remove unused files.
1951 * printf-posix.m4, lcmessage.m4: Likewise.
1952 * gettextext.m4, intdiv0.m4, intmax.m4: Likewise.
1954 * jm-macros.m4 (gl_MACROS): Move fchown-checking code to chown.m4.
1955 * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
1956 See if we need an fchown replacement.
1957 (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
1958 (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
1959 and use the replacement function if we detect either defect.
1961 2004-04-22 Paul Eggert <eggert@twinsun.com>
1963 * jm-macros.m4 (gl_MACROS): Check for tcgetpgrp.
1965 2004-04-23 Jim Meyering <jim@meyering.net>
1967 * jm-macros.m4: Don't check for values.h; it's no longer used.
1969 2004-04-20 Jim Meyering <jim@meyering.net>
1971 Change UTILS_ to gl_ in AC_DEFINE'd names.
1972 Change utils_- and jm_-prefixed variables, too.
1973 * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
1974 UTILS_FUNC_MKDIR_TRAILING_SLASH.
1975 * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
1976 * host-os.m4 (gl_HOST_OS): Renamed from UTILS_HOST_OS.
1978 * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
1979 Don't emit trailing blanks.
1980 Also rename jm_-prefixed variables to have gl_ prefix.
1982 * jm-macros.m4: Reflect the renamings.
1983 * prereq.m4: Likewise.
1985 2004-04-19 Jim Meyering <jim@meyering.net>
1987 * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
1988 now that readutmp.c may call `free (0)'.
1990 2004-04-14 Jim Meyering <jim@meyering.net>
1992 * Makefile.am: Remove file. With automake-1.8.3, it's no longer needed.
1993 * Makefile.am.in: Likewise.
1994 * Makefile.in: Likewise.
1996 * stat-prog.m4 (cu_PREREQ_STAT_PROG): Don't use AC_CHECK_HEADERS to
1997 check for inttypes.h. Instead, require gt_HEADER_INTTYPES_H.
1999 * jm-macros.m4: Require cu_PREREQ_STAT_PROG.
2001 * prereq.m4: Move prerequisite function for src/stat.c to ...
2002 * stat-prog.m4 (cu_PREREQ_STAT_PROG): New file. Contents from prereq.m4.
2004 2004-04-13 Jim Meyering <jim@meyering.net>
2006 Change `jm_' in AC_DEFINE'd names to `gl_'. Update all uses.
2008 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
2009 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4:
2010 * dos.m4, error.m4, fpending.m4, fstypename.m4, fsusage.m4:
2011 * ftruncate.m4, getdate.m4, getgroups.m4, gettext.m4, glibc21.m4:
2012 * group-member.m4, human.m4, intmax.m4, intmax_t.m4, inttostr.m4:
2013 * inttypes_h.m4, jm-macros.m4, jm-mktime.m4, jm-winsz1.m4:
2014 * jm-winsz2.m4, lchown.m4, lib-check.m4, link-follow.m4, longlong.m4:
2015 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
2016 * memchr.m4, memcmp.m4, mkstemp.m4, mountlist.m4, nanosleep.m4:
2017 * path-concat.m4, perl.m4, prereq.m4, putenv.m4, quotearg.m4:
2018 * regex.m4, stat.m4, stdint_h.m4, strftime.m4, strtoimax.m4:
2019 * strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4, uintmax_t.m4:
2020 * ulonglong.m4, unlink-busy.m4, unlocked-io.m4, uptime.m4, utimbuf.m4:
2021 * utime.m4, utimens.m4, utimes-null.m4, vasnprintf.m4, xstrtoimax.m4:
2022 * xstrtol.m4, xstrtoumax.m4: Change jm_ to gl_ in AC_DEFINE'd names.
2024 2004-03-27 Paul Eggert <eggert@twinsun.com>
2026 * utimecmp.m4: New file.
2027 * prereq.m4 (jm_PREREQ): Require gl_UTIMECMP.
2029 2004-04-07 Paul Eggert <eggert@twinsun.com>
2031 * jm-macros.m4 (jm_MACROS): Check for fdatasync within
2032 -lrt and -lposix4, so that it can be used in Solaris 2.5.1 and later.
2034 2004-03-30 Paul Eggert <eggert@twinsun.com>
2036 * c-stack.m4, getline.m4, getndelim2.m4, mbswidth.m4, po.m4,
2037 strdup.m4, xsize.m4: Sync from gnulib.
2039 * allocsa.m4, cloexec.m4, eealloc.m4, inttostr.m4, mbstate_t.m4:
2040 New files, from gnulib.
2042 * prereq.m4 (jm_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR.
2044 2004-03-31 Jim Meyering <jim@meyering.net>
2046 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
2047 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2048 * xalloc.m4: Likewise.
2050 * realloc.m4: Remove file, since now it does no more than
2051 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
2052 the `configure.ac' section of module/realloc.
2053 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
2055 2004-02-29 Paul Eggert <eggert@twinsun.com>
2057 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
2058 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
2059 Require AM_STDBOOL_H and gl_TIMESPEC instead.
2060 Require gl_CLOCK_TIME.
2062 2004-03-07 Paul Eggert <eggert@twinsun.com>
2064 * Makefile.am.in (Makefile.am):
2065 Don't use $<, as it doesn't work with Solaris make.
2067 2004-01-29 Jim Meyering <jim@meyering.net>
2069 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
2070 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
2071 on some systems one must include <grp.h> before it.
2072 Reported by Christian Krackowizer.
2074 2004-01-16 Jim Meyering <jim@meyering.net>
2076 * onceonly.m4: Sync with version from gettext-0.13.1.
2078 2003-10-08 Paul Eggert <eggert@twinsun.com>
2082 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2084 2003-08-26 Bruno Haible <bruno@clisp.org>
2088 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2089 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2090 followed by '#define fnmatch fnmatch_posix' gives an error.
2092 2004-01-14 Paul Eggert <eggert@twinsun.com>
2094 * posixv.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
2096 2004-01-13 Jim Meyering <jim@meyering.net>
2098 * gettext.m4, lib-ld.m4, lib-prefix.m4, nls.m4, po.m4:
2099 Update from gettext-0.13.1.
2100 * intmax.m4, isc-posix.m4, printf-posix.m4, size_max.m4, xsize.m4:
2101 New files. From gettext-0.13.1.
2103 2004-01-11 Paul Eggert <eggert@twinsun.com>
2105 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): Move
2106 the documentation from 'configure' into 'config.hin',
2107 so that 'configure --help' isn't burdened by it and
2108 we don't have to worry about its formatting there.
2109 Reword the documentation so that it's more succinct
2110 and can be run together into a single paragraph.
2112 2004-01-12 Jim Meyering <jim@meyering.net>
2114 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2116 2003-12-20 Jim Meyering <jim@meyering.net>
2118 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2120 * open-max.m4 (UTILS_SYS_OPEN_MAX): Remove file. No longer used.
2122 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2123 value, $ac_cv_search_crypt, if it's "none required".
2125 2003-12-19 Jim Meyering <jim@meyering.net>
2127 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2128 if no library is required.
2130 2003-12-18 Jim Meyering <jim@meyering.net>
2132 * search-libs.m4 (AC_SEARCH_LIBS): Remove file/macro, now that
2133 this replacement is no longer needed. Besides, this macro has
2134 no effect with autoconf-2.58, since `undefine' in package-supplied
2135 .m4 files is no longer honored. Reported by Andreas Schwab.
2137 Remove now-unnecessary (and unused) files. They also used `undefine'.
2138 * isc-posix.m4 (AC_ISC_POSIX): Remove file.
2139 * getloadavg.m4 (gl_FUNC_GETLOADAVG): Remove file.
2140 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2141 not gl_FUNC_GETLOADAVG.
2143 2003-11-08 Jim Meyering <jim@meyering.net>
2145 * inttypes.m4: Sync from gnulib (this file was previously empty,
2146 to work around some sort of problem).
2148 2003-11-08 Alexandre Duret-Lutz <adl@gnu.org>
2150 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2151 value, $ac_cv_search_nanosleep, if it's "none required".
2153 2003-11-05 Paul Eggert <eggert@twinsun.com>
2155 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
2157 2003-11-05 Jim Meyering <jim@meyering.net>
2159 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2160 * free.m4: New file, from gnulib.
2162 * exitfail.m4, host-os.m4, strndup.m4: Update from gnulib.
2164 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2165 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2167 2003-10-13 Paul Eggert <eggert@twinsun.com>
2169 * xalloc.m4: Import latest version from gnulib.
2171 2003-10-06 Jim Meyering <jim@meyering.net>
2173 * ftw.m4: Remove now-unused file.
2175 2003-10-05 Jim Meyering <jim@meyering.net>
2177 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2179 2003-09-17 Paul Eggert <eggert@twinsun.com>
2182 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2183 to avoid spurious warnings like "AC_RUN_IFELSE was called before
2184 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2186 2003-09-12 Paul Eggert <eggert@twinsun.com>
2188 More patches to assume C89 or better.
2190 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2191 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2192 * userspec.m4 (gl_USERSPEC): Likewise.
2193 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2194 * xstrtod.m4 (gl_XSTRTOD): Likewise.
2195 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2196 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2198 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2199 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2200 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2201 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2202 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2203 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2206 2003-09-12 Paul Eggert <eggert@twinsun.com>
2208 * error.m4 (gl_ERROR): Don't check for vprintf.
2209 Require AC_FUNC_STRERROR_R rather than invoking it.
2211 2003-09-12 Paul Eggert <eggert@twinsun.com>
2213 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2215 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2216 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2217 Include <string.h>, <stdlib.h> unconditionally.
2218 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2219 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2220 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2222 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlb.h
2224 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2225 and AC_MINIX, too, so that their extensions are available.
2227 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
2228 This macro has been superseded by gl_BACKUPFILE.
2230 2003-09-12 Jim Meyering <jim@meyering.net>
2232 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2233 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2234 * readtokens.m4: New file, from gnulib
2236 * makepath.m4: Likewise.
2237 * long-options.m4: Likewise.
2238 * idcache.m4: Likewise.
2239 * getugroups.m4: Likewise.
2241 2003-09-11 Paul Eggert <eggert@twinsun.com>
2243 More patches to assume C89 or better.
2244 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2245 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2246 string.h, memchr, STDC_HEADERS.
2248 2003-09-10 Bruno Haible <bruno@clisp.org>
2250 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2251 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2252 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2253 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2254 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2255 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2257 2003-09-09 Paul Eggert <eggert@twinsun.com>
2259 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2260 * getopt.m4 (gl_GETOPT): Don't check for string.h.
2261 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2262 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2264 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2266 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2267 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2268 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2269 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2270 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2271 * memcoll.m4 (gl_MEMCOLL): Likewise.
2272 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2273 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2275 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2276 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2277 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2278 C headers, or for string.h.
2279 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2280 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2281 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2282 headers, memory.h, stdlib.h, string.h, strings.h.
2283 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2284 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2285 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2287 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2288 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2290 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2291 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2292 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2293 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2295 2003-09-09 Derek Robert Price <derek@ximbiot.com>
2297 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2300 2003-09-08 Paul Eggert <eggert@twinsun.com>
2302 Assume C89 or better; remove K&R cruft.
2303 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2304 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2305 string.h, getenv, malloc.
2306 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2308 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2309 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2310 do not check for strerror.
2311 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2312 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2313 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
2314 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2316 2003-08-27 Jim Meyering <jim@meyering.net>
2318 * mkstemp.m4: Require that the system mkstemp be able to create
2319 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
2320 would fail after 32. Reported by Danny Levinson. Details here:
2321 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2323 2003-08-19 Jim Meyering <jim@meyering.net>
2325 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2326 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2328 2003-08-18 Paul Eggert <eggert@twinsun.com>
2330 * same.m4 (gl_SAME): Do not check for stdlib.h or string.h or free.
2333 2003-08-18 Jim Meyering <jim@meyering.net>
2335 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2336 * lib-ld.m4: Likewise.
2339 2003-08-18 Paul Eggert <eggert@twinsun.com>
2340 and Jim Meyering <jim@meyering.net>
2342 It turns out that we need AM_NLS and AM_PO_SUBDIRS after all;
2343 otherwise po/POTFILES and po/Makefile aren't built by 'configure'.
2344 I'm not sure why I didn't catch this earlier; most likely some
2345 leftover build files. Sorry about that.
2346 * gettextext.m4 (AM_NLS, AM_PO_SUBDIRS): Remove definitions.
2347 * nls.m4, po.m4: New files, taken from gnulib / gettext.
2349 2003-08-16 Paul Eggert <eggert@twinsun.com>
2353 * gettextext.m4: New file.
2355 * atexit.m4, backupfile.m4, canon-host.m4, clock_time.m4,
2356 closeout.m4, dirname.m4, dup2.m4, euidaccess.m4, exclude.m4,
2357 exitfail.m4, file-type.m4, fileblocks.m4, filemode.m4, getdate.m4,
2358 gethostname.m4, getloadavg.m4, getopt.m4, getpagesize.m4,
2359 getpass.m4, getusershell.m4, hard-locale.m4, hash.m4, malloc.m4,
2360 memchr.m4, memcpy.m4, memmove.m4, memrchr.m4, memset.m4,
2361 modechange.m4, mountlist.m4, obstack.m4, path-concat.m4,
2362 pathmax.m4, physmem.m4, posixtm.m4, posixver.m4, quote.m4,
2363 quotearg.m4, readlink.m4, readutmp.m4, realloc.m4, rmdir.m4,
2364 rpmatch.m4, safe-read.m4, safe-write.m4, same.m4, save-cwd.m4,
2365 savedir.m4, settime.m4, sha.m4, sig2str.m4, stdio-safer.m4,
2366 stpcpy.m4, strcase.m4, strcspn.m4, strdup.m4, strndup.m4,
2367 strnlen.m4, strpbrk.m4, strstr.m4, strtod.m4, strtoimax.m4,
2368 strtol.m4, strtoll.m4, strtoul.m4, strtoull.m4, strtoumax.m4,
2369 strverscmp.m4, ulonglong.m4, unicodeio.m4, unistd-safer.m4,
2370 userspec.m4, xalloc.m4, xgetcwd.m4, xreadlink.m4, xstrtod.m4,
2371 xstrtol.m4, yesno.m4: New files, from gnulib.
2373 * acl.m4, check-decl.m4, chown.m4, c-stack.m4, d-ino.m4,
2374 d-type.m4, fileblocks.m4, fsusage.m4, ftruncate.m4, getcwd.m4,
2375 getgroups.m4, getline.m4, getndelim2.m4, gettext.m4,
2376 gettimeofday.m4, group-member.m4, host-os.m4, iconv.m4,
2377 intmax_t.m4, inttypes-pri.m4, jm-macros.m4, lchown.m4, lib-ld.m4,
2378 lib-link.m4, lib-prefix.m4, longdouble.m4, longlong.m4,
2379 ls-mntd-fs.m4, lstat.m4, mbrtowc.m4, mbswidth.m4, memcmp.m4,
2380 mkdir-slash.m4, mkstemp.m4, nanosleep.m4, onceonly.m4, prereq.m4,
2381 progtest.m4, putenv.m4, readdir.m4, rename.m4, stat.m4, tzset.m4,
2382 utimbuf.m4, utime.m4, vasnprintf.m4, xstrtoimax.m4, xstrtoumax.m4:
2385 2003-08-15 Jim Meyering <jim@meyering.net>
2387 * utimes.m4 (gl_FUNC_UTIMES): Use `conftest.utimes' as the test
2388 file name, not `x'. The former will be removed automatically.
2390 2003-08-13 Jim Meyering <jim@meyering.net>
2392 * README: Remove file.
2393 * Makefile.am.in: Simplify.
2394 (Makefile.am): Remove README.
2396 2003-08-10 Jim Meyering <jim@meyering.net>
2398 * utimes.m4 (gl_FUNC_UTIMES): New file.
2399 * utimens.m4: Require gl_FUNC_UTIMES.
2400 Don't check for utime or utimes.
2402 * utimes.m4: Removed.
2403 * utimes-null.m4: Renamed from utimes.m4.
2405 2003-08-06 Paul Eggert <eggert@twinsun.com>
2407 * prereq.m4 (jm_PREREQ): Require gl_UTIMENS.
2408 * utimens.m4: New file.
2410 2003-08-08 Paul Eggert <eggert@twinsun.com>
2412 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF):
2413 Solaris 2.5.1 needs -lw to get the wcslen function.
2415 2003-08-08 Paul Eggert <eggert@twinsun.com>
2417 Use new gnulib 'extensions' module.
2418 * extensions.m4, unlocked-io.m4: New files, from gnulib.
2419 * gnu-source.m4, jm-glibc-io.m4: Remove.
2420 * timespec.m4: Merge from gnulib.
2422 2003-08-08 Paul Eggert <eggert@twinsun.com>
2424 * jm-macros.m4 (jm_MACROS): Replace jm_INCLUDED_REGEX([lib/regex.c])
2426 Replace jm_FUNC_MKTIME with gl_FUNC_MKTIME.
2427 Remove redundant AC_FUNC_FNMATCH_GNU, jm_FUNC_MKTIME.
2428 Remove AC_FUNC_VPRINTF.
2431 2003-08-05 Paul Eggert <eggert@twinsun.com>
2433 * jm-macros.m4 (jm_MACROS): Use gl_GETNDELIM2 rather than
2434 checking for getdelim.
2435 (jm_CHECK_ALL_TYPES): Use gt_TYPE_SSIZE_T for ssize_t rather
2436 than rolling our own.
2437 Merge getline from gnulib.
2438 * getline.m4: Merge from gnulib.
2439 * getndelim2.m4, ssize_t.m4: New files, from gnulib.
2441 2003-08-04 Paul Eggert <eggert@twinsun.com>
2443 * regex.m4: Merge with gnulib.
2444 (gl_REGEX): New macro.
2445 (jm_INCLUDED_REGEX): Don't assume Latin-1 encoding of source code.
2446 * restrict.m4: Merge with gnulib.
2447 (gl_C_RESTRICT): Renamed from ACX_C_RESTRICT. All uses changed.
2448 Rename cache vars to gl_cv_*. Incorporate latest Autoconf CVS tricks.
2450 2003-08-05 Paul Eggert <eggert@twinsun.com>
2452 * gnu-source.m4: New file, taken from gnulib, with support
2453 added for __EXTENSIONS__ a la Solaris.
2454 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Call gl_TIMESPEC rather
2455 than jm_CHECK_TYPE_STRUCT_TIMESPEC.
2456 * st_mtim.m4: Sync with gnulib (white space change only).
2457 * timespec.m4: Sync with gnulib, except also require
2460 2003-08-05 Paul Eggert <eggert@twinsun.com>
2462 * prereq.m4 (jm_PREREQ_PHYSMEM, jm_PREREQ_STAT): Ignore headers
2463 that are present but cannot be compiled. This avoids spurious warnings
2464 on Solaris 9 sparc with Forte Developer 7 C 5.4.
2466 2003-08-04 Paul Eggert <eggert@twinsun.com>
2468 Merge fnmatch module from gnulib.
2469 * fnmatch.m4: New file, from gnulib.
2470 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FNMATCH_GNU
2471 instead of AC_FUNC_ERROR_AT_LINE.
2473 2003-08-04 Paul Eggert <eggert@twinsun.com>
2475 * error.m4: Sync from gnulib.
2477 2003-07-23 Jim Meyering <jim@meyering.net>
2479 * lstat.m4, mkstemp.m4, regex.m4, stat.m4: Normalize naming of Sun
2480 operating systems in comments, e.g., SunOS4 -> SunOS 4,
2481 Solaris5.9 -> Solaris 9. From Paul Eggert.
2483 2003-07-18 Paul Eggert <eggert@twinsun.com>
2485 * jm-macros.m4 (jm_MACROS): Invoke gl_MEMCOLL.
2486 * memcoll.m4: New file, from gnulib.
2487 Based on a patch from Andreas Schwab.
2489 2003-07-14 Jim Meyering <jim@meyering.net>
2491 * Makefile.am.in: Correct comment on first line.
2493 2003-07-12 Jim Meyering <jim@meyering.net>
2495 * jm-macros.m4 (OPTIONAL_BIN_ZCRIPTS): Remove unused variable.
2497 2003-07-10 Jim Meyering <jim@meyering.net>
2499 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_VASPRINTF and
2502 * longdouble.m4, signed.m4, vasnprintf.m4, vasprintf.m4, wchar_t.m4:
2503 * wint_t.m4: New files, in support of new asprintf use. From gnulib.
2505 * stdint_h.m4: New file.
2506 * inttypes_h.m4: New file.
2507 * uintmax_t.m4: New file.
2508 * intmax_t.m4: New file.
2509 * inttypes.m4: Remove file. Use intmax_t.m4 and uintmax_t.m4
2510 from gnulib, instead.
2512 2003-06-09 Jim Meyering <jim@meyering.net>
2514 * tzset.m4 (gl_FUNC_TZSET_CLOBBER): Also define gmtime.
2515 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Likewise.
2516 Suggestion from Paul Eggert.
2518 2003-06-08 Jim Meyering <jim@meyering.net>
2520 * tzset.m4 (gl_FUNC_TZSET_CLOBBER): New file/macro.
2521 Used by strftime.m4.
2522 * strftime.m4 (_jm_STRFTIME_PREREQS): Require gl_FUNC_TZSET_CLOBBER.
2524 2003-06-07 Jim Meyering <jim@meyering.net>
2526 * strftime.m4: Update from gnulib.
2527 * tm_gmtoff.m4: New file, used by strftime.m4.
2528 * mktime.m4: New file. From gnulib.
2530 2003-06-06 Jim Meyering <jim@meyering.net>
2532 * jm-macros.m4: Require gl_FUNC_ALLOCA.
2533 * alloca.m4: New file, from gnulib.
2535 * stdbool.m4: Update from gnulib.
2537 2003-06-04 Paul Eggert <eggert@twinsun.com>
2539 Merge human.c etc. from gnulib.
2540 * human.m4: New file, from gnulib.
2541 * prereq.m4 (jm_PREREQ): Use gl_HUMAN, not jm_PREREQ_HUMAN.
2542 (jm_prereq_HUMAN): Remove.
2544 2003-06-02 Jim Meyering <jim@meyering.net>
2546 * jm-macros.m4 (jm_MACROS): Require AM_STDBOOL_H.
2548 2003-05-26 Jim Meyering <jim@meyering.net>
2550 * dirfd.m4 (UTILS_FUNC_DIRFD): Merge in change from gnulib,
2551 fixing an M4 quoting bug.
2553 * lib-ld.m4 (AC_LIB_PROG_LD_GNU): Use TAB-SP, not SP-TAB
2555 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
2557 2003-05-06 Jim Meyering <jim@meyering.net>
2559 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for the
2560 declaration of getcwd *before* checking for the getcwd kernel bug.
2561 Otherwise, configure-time `checking ...' messages would be intermixed.
2563 2003-05-02 Jim Meyering <jim@meyering.net>
2565 * readdir.m4 (GL_FUNC_READDIR): Revive dead file. Change name to
2566 have GL_ (not jm_) prefix. Adjust cache variables similarly.
2567 Create 500 rather than just 300 files, to exercise bug on
2569 * jm-macros.m4 (jm_MACROS): Require GL_FUNC_READDIR.
2571 2003-04-25 Jim Meyering <jim@meyering.net>
2573 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): If PATH_MAX
2574 is not defined, don't run the test, and don't use the wrapper.
2575 Otherwise, on the Hurd, it would take a long time to create
2576 and remove a hierarchy about 4000 levels deep.
2577 Based on a patch from Robert Millan.
2579 2003-04-22 Jim Meyering <jim@meyering.net>
2582 * gettext.m4: Change an occurrence of [ \t] to [\t ].
2584 2003-04-07 Jim Meyering <jim@meyering.net>
2586 * prereq.m4 (jm_PREREQ_STAT): Add prerequisites and #includes
2589 2003-04-02 Jim Meyering <jim@meyering.net>
2591 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
2593 2003-03-19 Jim Meyering <jim@meyering.net>
2595 * ftw.m4 (AC_FUNC_FTW): Require AC_HEADER_STAT.
2597 2003-03-17 Richard Dawe <rich@phekda.freeserve.co.uk>
2599 * jm-macros.m4 (jm_MACROS): Include $(EXEEXT) in DF_PROG's program
2600 name, since automake only adds $(EXEEXT) to programs in its *_PROGRAMS.
2601 Arrange to compile the corresponding stub function if fchdir is missing.
2603 2003-03-18 Jim Meyering <jim@meyering.net>
2605 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
2606 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
2607 systems would end up using the latter. MOUNTED_GETMNTENT1 support
2608 is inadequate on such systems: 1) detecting whether a file system
2609 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
2610 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
2611 merely /MOUNT_POINT. Reported by Mike Jetzer.
2613 2003-03-17 Jim Meyering <jim@meyering.net>
2615 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
2616 that is guaranteed to be `no'. Use `no_such_member' to indicate
2617 that condition, rather than `-1' which is slightly misleading.
2618 Change the name of the cache variable to have the gl_ prefix.
2619 Prompted by a patch from Richard Dawe for DJGPP.
2621 2003-03-14 Jim Meyering <jim@meyering.net>
2623 * prereq.m4 (jm_PREREQ): Also forbid the gl_[A-Z] prefix.
2624 Don't require jm_PREREQ_C_STACK.
2626 2003-03-13 Paul Eggert <eggert@twinsun.com>
2629 * onceonly.m4 (m4_quote): New macro.
2630 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
2631 Quote AC_FOREACH variable-expansions properly.
2633 2003-03-13 Jim Meyering <jim@meyering.net>
2635 * jm-macros.m4 (jm_MACROS): Arrange to compile the corresponding stub
2636 function if any of the following is missing: fchown, lstat, readlink.
2639 2003-03-07 Jim Meyering <jim@meyering.net>
2641 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
2642 using the latest version from cvs. This avoids problems with #line
2643 directives using a vendor (Sun) compiler.
2645 * jm-macros.m4: Don't require AC_SYS_MMAP_STACK.
2646 * mmap-stack.m4 (AC_SYS_MMAP_STACK): Remove file.
2648 2003-03-06 Jim Meyering <jim@meyering.net>
2650 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for
2651 declaration of getcwd.
2653 2003-03-04 Jim Meyering <jim@meyering.net>
2655 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): New macro.
2656 * jm-macros.m4: Require GL_FUNC_GETCWD_PATH_MAX.
2658 `df /some/mount-point' no longer hangs when an unrelated hard-mount
2660 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
2661 /proc/mounts until it finds one with matching device number. This is
2662 unnecessary when the FILE argument *is* a mount point. No stat call
2663 is necessary in that case. So, disable the statvfs-testing code on
2664 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
2665 as RedHat bug# 84846.
2667 2003-02-27 Jim Meyering <jim@meyering.net>
2669 * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for `table' function.
2670 Reported by Kaveh Ghazi.
2672 * prereq.m4 (gl_SYS__SYSTEM_CONFIGURATION): New function.
2673 (jm_PREREQ_PHYSMEM): Check for new headers and functions.
2674 Use gl_SYS__SYSTEM_CONFIGURATION.
2675 With suggestions from Kaveh Ghazi.
2677 2003-02-19 Jim Meyering <jim@meyering.net>
2679 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2680 to 1MB, so as not to render systems with no stack size limit (e.g.,
2681 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2683 2003-02-17 Jim Meyering <jim@meyering.net>
2685 * prereq.m4 (jm_PREREQ_PHYSMEM): Undo last change, since
2686 Kaveh Ghazi found a better way to get the required information.
2687 Add check for sys/sysmp.h.
2689 2003-02-15 Jim Meyering <jim@meyering.net>
2691 * mmap-stack.m4: New file.
2693 * jm-macros.m4: Require AC_SYS_MMAP_STACK.
2695 Add Irix6 support to physmem.c.
2696 * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for sys/sysget.h
2698 Also check for sysget.
2699 Reported by Kaveh Ghazi.
2701 2003-02-12 Jim Meyering <jim@meyering.net>
2703 * restrict.m4 (ACX_C_RESTRICT): Remove #ifndef -- so now this
2704 macro also checks for support when using a C++ compiler.
2705 Also, remove the test for SGI's __restrict.
2706 Suggested by Steven G. Johnson.
2708 * regex.m4 (jm_PREREQ_REGEX): Require ACX_C_RESTRICT.
2710 * restrict.m4 (ACX_C_RESTRICT): Minor syntactic changes:
2711 Split long lines, use AC_COMPILE_IFELSE, indent, use `case'
2712 instead of nested `if's, remove unnecessary quotes.
2714 * restrict.m4 (ACX_C_RESTRICT): New macro.
2715 Copied directly from the URL in the comments.
2716 By Steven G. Johnson.
2718 2003-02-09 Jim Meyering <jim@meyering.net>
2720 * check-decl.m4 (jm_CHECK_DECLS): Add euidaccess.
2722 2003-02-03 Jim Meyering <jim@meyering.net>
2724 * c-stack.m4: Include <unistd.h>. On some systems,
2725 it is required for the definition of _SC_PAGESIZE.
2727 2003-02-02 Jim Meyering <jim@meyering.net>
2729 * onceonly.m4: New file. From gnulib.
2731 * regex.m4 (jm_PREREQ_REGEX): New function, from gnulib.
2732 (jm_INCLUDED_REGEX): Use it.
2733 * prereq.m4 (jm_PREREQ_REGEX): Remove.
2735 2003-01-31 Jim Meyering <jim@meyering.net>
2737 * open-max.m4 (UTILS_SYS_OPEN_MAX): New file/macro.
2738 * jm-macros.m4 (jm_MACROS): Require UTILS_SYS_OPEN_MAX.
2740 2003-01-29 Jim Meyering <jim@meyering.net>
2742 * regex.m4: Detect broken re_search in e.g. glibc-2.2.93.
2744 2003-01-23 Jim Meyering <jim@meyering.net>
2746 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
2747 from working on systems without dirfd (at least Irix and OSF1/Tru64).
2749 Merge in change by Bruno Haible from gnulib.
2750 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
2752 2003-01-16 Jim Meyering <jim@meyering.net>
2754 * regex.m4: The `regex' struct is both input and output.
2755 Initialize it before each use. Patch by Tim Waugh.
2757 2003-01-15 Jim Meyering <jim@meyering.net>
2759 * jm-macros.m4: Require AC_FUNC_FTW.
2761 2003-01-12 Jim Meyering <jim@meyering.net>
2765 2003-01-11 Jim Meyering <jim@meyering.net>
2767 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): New file and macro.
2768 * jm-macros.m4: Require AC_FUNC_CANONICALIZE_FILE_NAME.
2769 (jm_MACROS): No longer check for resolvepath or canonicalize_file_name.
2771 2002-12-15 Jim Meyering <jim@meyering.net>
2773 * jm-glibc-io.m4n: Remove now-unused file.
2774 * Makefile.am.in (Makefile.am): Remove jm-glibc-io.m4
2775 and jm-glibc-io.m4n.
2777 2002-12-11 Jim Meyering <jim@meyering.net>
2779 * jm-glibc-io.m4: Maintain this file manually rather than generating it.
2780 Generating it caused too much trouble. From gnulib.
2782 2002-11-19 Jim Meyering <jim@meyering.net>
2784 * jm-macros.m4: Require Autoconf-2.56.
2786 2002-09-30 Akim Demaille <akim@epita.fr>
2788 * prereq.m4: Use AC_REQUIRE everywhere it is possible.
2789 (jm_PREREQ_CANON_HOST): Remove duplicates.
2791 2002-11-10 Jim Meyering <jim@meyering.net>
2793 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(raise).
2795 2002-10-30 Paul Eggert <eggert@twinsun.com>
2797 * getgroups.m4 (jm_FUNC_GETGROUPS):
2798 Fix typo: cv_func_getgroups_works -> ac_cv_func_getgroups_works.
2800 2002-10-07 Paul Eggert <eggert@twinsun.com>
2802 * prereq.m4 (jm_PREREQ_HUMAN): Check for locale.h, localeconv,
2803 AC_HEADER_STDBOOL. No need to check for limits.h since it's in
2804 freestanding C89. No need to check for stdlib.h or string.h since
2805 autoconf does this now.
2807 2002-10-12 Paul Eggert <eggert@twionsun.com>
2809 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Remove fenv.h.
2811 2002-09-29 Jim Meyering <jim@meyering.net>
2813 * gettext.m4 (AM_INTL_SUBDIR): Don't require gt_HEADER_INTTYPES_H.
2814 It's not necessary with autoconf-2.54.
2816 2002-09-28 Jim Meyering <jim@meyering.net>
2818 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
2819 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
2820 * jm-macros.m4 (jm_MACROS): Don't set GETGROUPS_LIB here; now it's
2821 done via getgroups.m4's wrapper function.
2823 * strerror_r.m4: Remove file -- now it's part of autoconf-2.54.
2824 Reported by Akim Demaille.
2826 2002-09-25 Jim Meyering <jim@meyering.net>
2828 * gettext.m4: Upgrade to gettext-0.11.5.
2830 2002-09-07 Bruno Haible <bruno@clisp.org>
2832 * host-os.m4 (UTILS_HOST_OS): Add a case for freebsd*-gnu*.
2834 2002-09-17 Jim Meyering <jim@meyering.net>
2836 * jm-macros.m4 (jm_MACROS): Require gt_INTTYPES_PRI.
2837 * inttypes-pri.m4 (gt_INTTYPES_PRI): New file, mostly from gettext.
2839 2002-09-16 Jim Meyering <jim@meyering.net>
2841 * prereq.m4: Forbid symbols matching ^jm_[A-Z].
2842 (jm_PREREQ_QUOTEARG): Add jm_FUNC_MEMCMP.
2845 * error.m4 (jm_PREREQ_ERROR): Check for libintl.h.
2846 Reported by Akim Demaille.
2848 2002-09-13 Jim Meyering <jim@meyering.net>
2850 * jm-macros.m4 (jm_MACROS): Require autoconf-2.54.
2852 2002-09-09 Jim Meyering <jim@meyering.net>
2854 * getloadavg.m4: Remove file -- now it's part of autoconf-2.53c.
2855 * jm-macros.m4: Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
2856 AC_FUNC_GETLOADAVG where to find getloadavg.c.
2858 2002-09-03 Jim Meyering <jim@meyering.net>
2860 * gnu-source.m4: Remove file -- now it's part of autoconf-2.53c.
2861 * mbstate_t.m4: Likewise.
2862 * fnmatch.m4: Likewise.
2864 2002-08-05 Jim Meyering <jim@meyering.net>
2866 * jm-winsz1.m4: Also change use of $am_cv_sys_posix_termios
2867 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
2869 2002-08-03 Jim Meyering <jim@meyering.net>
2871 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
2872 Reported by mkc@mathdogs.com.
2874 2002-08-01 Jim Meyering <jim@meyering.net>
2876 * prereq.m4 (jm_PREREQ_TEMPNAME): lib/tempname.c may use uintmax_t,
2877 so require jm_AC_TYPE_UINTMAX_T. Patch by Joe Orton.
2879 2002-07-28 Jim Meyering <jim@meyering.net>
2881 * jm-macros.m4: Don't require jm_FUNC_READDIR.
2882 * readdir.m4 (jm_FUNC_READDIR): Remove file/macro. No longer needed.
2884 2002-07-27 Jim Meyering <jim@meyering.net>
2886 * prereq.m4 (jm_PREREQ_READUTMP): Don't check just
2887 `struct utmpx.ut_exit' and `struct utmp.ut_exit'. Instead, check
2888 all combinations of utmp/utmpx and ut_termination/e_termination
2891 2002-07-23 Jim Meyering <jim@meyering.net>
2893 * c-bs-a.m4 (AC_C_BACKSLASH_A): Remove file, now that autoconf
2894 provides this macro.
2896 2002-07-20 Jim Meyering <jim@meyering.net>
2898 * intdiv0.m4: New file. From gettex-0.11.3.
2900 * jm-macros.m4: Require autoconf-2.53b.
2901 Use new macros AC_FUNC_MALLOC and AC_FUNC_REALLOC,
2902 in place of jm_-prefixed ones. Thanks, Akim!
2903 * malloc.m4: Remove file, now that autoconf provides this macro.
2904 * realloc.m4: Likewise.
2906 2002-07-18 gettextize <bug-gnu-gettext@gnu.org>
2908 * gettext.m4: Upgrade to gettext-0.11.3.
2909 * iconv.m4: Upgrade to gettext-0.11.3.
2910 * isc-posix.m4: Upgrade to gettext-0.11.3.
2911 * lcmessage.m4: Upgrade to gettext-0.11.3.
2912 * lib-link.m4: Upgrade to gettext-0.11.3.
2914 2002-07-17 Jim Meyering <jim@meyering.net>
2916 * boottime.m4: New file. Extracted from sh-utils' configure.ac
2917 and extended to work also with *BSD systems.
2919 2002-07-15 Jim Meyering <jim@meyering.net>
2921 FreeBSD support for uname and uptime.
2922 * jm-macros.m4 (jm_MACROS): Check for the sysctl function.
2923 (jm_CHECK_ALL_HEADERS): Check for sys/sysctl.h.
2924 Suggestion from Bruno Haible.
2926 2002-06-11 Paul Eggert <eggert@twinsun.com>
2928 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
2930 2002-06-22 Jim Meyering <jim@meyering.net>
2932 * c-stack.m4: New file, from diffutils-2.8.2.
2933 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
2935 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
2936 now that configure.ac uses AC_GNU_SOURCE.
2937 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
2938 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
2940 Update to latest tools. Suggestions from Paul Eggert.
2941 * stdbool.m4: New file, from diffutils-2.8.2.
2942 * gnu-source.m4: Update from diffutils-2.8.2.
2943 * fnmatch.m4: Likewise.
2944 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
2945 to AC_HEADER_STDBOOL
2947 2002-06-21 Jim Meyering <jim@meyering.net>
2949 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
2950 * mbrtowc.m4: Likewise.
2952 * mbstate_t.m4: Update from diffutils-2.8.2.
2953 * mbswidth.m4: Reflect name change:
2954 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
2955 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
2957 * lib-link.m4: Update from gettext-0.11.2.
2958 * gettext.m4: Likewise.
2960 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
2961 From Alfred M. Szmidt.
2963 2002-05-19 Paul Eggert <eggert@twinsun.com>
2965 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
2967 2002-06-07 Jim Meyering <jim@meyering.net>
2969 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
2970 They're needed at least for NetBSD 1.5.2.
2971 ($statxfs_includes): Include those same headers.
2972 ($statxfs_includes): Include sys/vfs.h if available.
2973 ($statxfs_includes): Likewise for sys/statvfs.h.
2974 Check for the following members in both structs statfs and statvfs:
2975 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
2977 2002-06-01 Jim Meyering <jim@meyering.net>
2979 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
2980 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
2982 2002-05-28 Jim Meyering <jim@meyering.net>
2984 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
2985 Reported by Volker Borchert.
2987 2002-05-27 Jim Meyering <jim@meyering.net>
2989 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
2992 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
2993 use the replacement function; it wouldn't resolve at link time.
2994 Reported by Volker Borchert.
2996 2002-04-30 Jim Meyering <jim@meyering.net>
2998 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
3000 2002-04-29 Paul Eggert <eggert@twinsun.com>
3002 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
3003 Do not check for alloca.h (no longer used) or stdbool.h (was never
3004 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
3006 2002-04-28 Paul Eggert <eggert@twinsun.com>
3008 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
3010 2002-04-29 Jim Meyering <jim@meyering.net>
3012 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
3013 * prereq.m4: Add jm_PREREQ_STRNLEN.
3014 Use AC_FUNC_STRNLEN here instead.
3016 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
3017 With autoconf-2.53a, it's part of AC_PROG_CC.
3019 2002-04-28 Paul Eggert <eggert@twinsun.com>
3021 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
3022 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
3024 2002-04-24 Jim Meyering <jim@meyering.net>
3026 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
3027 (jm_PREREQ): Use it.
3029 * getloadavg.m4: Check for these headers: locale.h unistd.h
3030 mach/mach.h fcntl.h.
3031 Check for this function: setlocale.
3033 2002-04-16 Jim Meyering <jim@meyering.net>
3035 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
3036 ut_pid, ut_id, ut_exit.
3038 2002-04-12 Jim Meyering <jim@meyering.net>
3040 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
3041 check for f_type in sys/mount.h. Instead, just test for the existence
3042 of the getmntinfo function. Needed for Darwin 5.3.
3044 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
3045 This is necessary at least on Darwin 5.3.
3047 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
3048 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
3049 in the library, and that makes some versions of ranlib object.
3051 2002-04-09 Jim Meyering <jim@meyering.net>
3053 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
3054 to be more precise. Rather than saying we're checking whether the
3055 function `works', say what we're testing.
3056 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
3057 Reported by Bruno Haible.
3059 2002-02-27 Paul Eggert <eggert@twinsun.com>
3061 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
3062 Check for clock_settime.
3064 2002-02-25 Paul Eggert <eggert@twinsun.com>
3067 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
3068 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
3070 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
3072 * codeset.m4: Upgrade to gettext-0.11.
3073 * gettext.m4: Upgrade to gettext-0.11.
3074 * glibc21.m4: Upgrade to gettext-0.11.
3075 * iconv.m4: Upgrade to gettext-0.11.
3076 * isc-posix.m4: Upgrade to gettext-0.11.
3077 * lcmessage.m4: Upgrade to gettext-0.11.
3078 * lib-ld.m4: New file, from gettext-0.11.
3079 * lib-link.m4: New file, from gettext-0.11.
3080 * lib-prefix.m4: New file, from gettext-0.11.
3081 * progtest.m4: Upgrade to gettext-0.11.
3083 2002-02-15 Paul Eggert <eggert@twinsun.com>
3085 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
3086 (jm_PREREQ): Use it.
3088 2002-01-26 Jim Meyering <jim@meyering.net>
3090 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
3091 * strnlen.m4: Remove file, now that it's part of autoconf.
3093 2002-01-22 Paul Eggert <eggert@twinsun.com>
3095 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
3097 2002-01-19 Jim Meyering <jim@meyering.net>
3099 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
3100 Remove useless quotes: DF_PROG="df".
3101 * strnlen.m4: New file.
3103 2001-12-14 Jim Meyering <jim@meyering.net>
3105 * jm-macros.m4 (jm_MACROS): Check for iswspace.
3106 Suggestion from Bruno Haible.
3108 2001-11-20 Jim Meyering <jim@meyering.net>
3110 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
3111 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
3113 2001-11-19 Jim Meyering <jim@meyering.net>
3115 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
3116 directory. Use "conftestXXXXXX" as the template.
3117 Suggestion from Paul Eggert.
3119 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
3120 so the test doesn't mistakenly hit the max-open-files limit.
3122 2001-11-18 Jim Meyering <jim@meyering.net>
3124 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
3126 2001-11-17 Jim Meyering <jim@meyering.net>
3128 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
3129 Prompted by a report from Bob Proulx.
3131 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
3132 Instead, require UTILS_FUNC_MKSTEMP.
3134 2001-11-11 Jim Meyering <jim@meyering.net>
3136 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
3137 Now, that's done as part of AC_FUNC_STRTOD.
3139 2001-10-22 Paul Eggert <eggert@twinsun.com>
3141 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
3142 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
3144 2001-11-10 Jim Meyering <jim@meyering.net>
3146 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
3147 (jm_PREREQ): Use it.
3149 2001-11-09 Jim Meyering <jim@meyering.net>
3151 * jm-macros.m4: Require autoconf-2.52f.
3152 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
3153 Use these AC_-prefixed names, not the AM_-prefixed ones.
3155 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
3157 2001-11-04 Jim Meyering <jim@meyering.net>
3159 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
3161 2001-11-03 Jim Meyering <jim@meyering.net>
3163 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
3166 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
3167 know the name of the variable in the macro definition.
3169 2001-11-01 Jim Meyering <jim@meyering.net>
3171 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
3172 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
3174 2001-10-20 Paul Eggert <eggert@twinsun.com>
3176 * error.m4 (jm_PREREQ_ERROR):
3177 Do not invoke AC_CHECK_FUNCS with strerror_r, as
3178 AC_FUNC_STRERROR_R does that.
3179 Check for strerror declaration.
3181 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
3182 are supposed to have them these days.
3183 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
3184 Merge changes from latest Autoconf CVS.
3185 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3186 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3187 POSIX decided to standardize on the int flavor of strerror_r.
3189 2001-09-30 Jim Meyering <jim@meyering.net>
3191 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
3192 `struct fsstat' has the `f_fstypename' member.
3193 Use that to define FS_TYPE, which is now used to make
3194 the getfsstat link test tighter.
3196 2001-09-29 Jim Meyering <jim@meyering.net>
3198 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3199 [one-argument getmntent function]): Include stdio.h before mntent.h.
3200 SunOS 4.1.x needs it for the declaration of `FILE'.
3201 Patch by Volker Borchert.
3203 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3204 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
3205 sys/fs_types.h, and make the link-test for getfsstat guard #include
3206 directives with appropriate #if HAVE_*_H tests so that we can
3207 detect getfsstat on Apple Darwin1.3.7 systems.
3208 Reported by Nelson Beebe.
3209 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
3211 2001-09-28 Paul Eggert <eggert@twinsun.com>
3213 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
3214 #defines strtoimax. Also treat the other strto* functions
3217 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3218 Check for strtoul and strtoumax,
3219 as those declarations are made even in the signed case.
3220 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
3221 Likewise, for strtol and strtoimax.
3223 2001-09-24 Jim Meyering <jim@meyering.net>
3225 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
3227 2001-09-23 Jim Meyering <jim@meyering.net>
3229 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
3230 instead of the mere test for existence of mntent.h. The latter
3231 would get a false-positive on AIX 3.4 systems.
3232 In the outer getmntent if-block, don't die if neither of the getmntent
3233 tests succeeds. Instead, just fall through and continue with the
3236 2001-09-22 Jim Meyering <jim@meyering.net>
3238 * gettext.m4: New file. From gettext.
3239 * lcmessage.m4: Sync with gettext -- this changes only comments.
3240 * progtest.m4: Likewise
3241 * isc-posix.m4: Decrement serial number to sync with gettext.
3242 * glibc21.m4: Likewise.
3244 * libintl.m4: Remove. No longer used.
3246 2001-09-20 Jim Meyering <jim@meyering.net>
3248 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
3250 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
3253 2001-09-17 Jim Meyering <jim@meyering.net>
3255 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
3256 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
3257 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
3258 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
3259 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
3260 whenever the right hand side need not be expanded by the shell.
3262 2001-09-16 Paul Eggert <eggert@twinsun.com>
3264 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
3265 library. It's not correct, as some older glibcs are buggy.
3266 fnmatch wasn't fixed until glibc 2.2.
3268 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
3269 special shell magic here.
3271 2001-09-16 Jim Meyering <jim@meyering.net>
3273 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
3274 * jm-macros.m4: Require it.
3276 2001-09-15 Jim Meyering <jim@meyering.net>
3278 * jm-macros.m4: Check for help2man.
3280 2001-09-11 Jim Meyering <jim@meyering.net>
3282 * host-os.m4 (UTILS_HOST_OS): New file/macro.
3283 The body, by Paul Eggert, was moved here from configure.in.
3284 * jm-macros.m4: Require UTILS_HOST_OS.
3286 2001-09-04 Paul Eggert <eggert@twinsun.com>
3288 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
3289 (jm_PREREQ): Use it.
3291 2001-09-03 Paul Eggert <eggert@twinsun.com>
3293 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
3294 sys/param.h, as pathmax.h includes them.
3296 2001-09-03 Paul Eggert <eggert@twinsun.com>
3298 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
3299 (jm_PREREQ_XGETCWD): New macro.
3301 * getcwd.m4: New file.
3303 2001-09-01 Jim Meyering <jim@meyering.net>
3305 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
3308 2001-08-30 Paul Eggert <eggert@twinsun.com>
3310 Simplify code, partly by assuming autoconf 2.52 semantics.
3312 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
3314 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
3315 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
3317 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
3318 Move AC_REQUIRE to next-to-top level, to avoid confusion.
3319 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
3320 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
3321 * jm-macros.m4 (jm_MACROS): Likewise.
3323 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
3325 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3326 Quote first arg of AC_DEFUN.
3327 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
3328 since they are needed to parse the include file even if we need
3329 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
3330 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
3331 but with opposite signedness.
3333 2001-08-30 Paul Eggert <eggert@twinsun.com>
3335 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
3336 (jm_PREREQ_EXCLUDE): New macro.
3338 2001-08-26 Jim Meyering <jim@meyering.net>
3340 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
3342 * xstrtoimax.m4: New file.
3343 * xstrtoumax.m4: Add comments explaining why we
3344 AC_REPLACE_FUNCS(strtol).
3346 2001-06-20 Paul Eggert <eggert@twinsun.com>
3348 * inttypes.m4: Add AC_PREREQ(2.13).
3349 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
3350 (jm_AC_TYPE_INTMAX_T): New macro.
3351 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
3353 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
3355 * longlong.m4: Renamed from ulonglong.m4.
3356 * inttypes.m4: Renamed from inttypes_h.m4.
3357 * uintmax_t.m4: Removed.
3359 2001-08-12 Jim Meyering <jim@meyering.net>
3361 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
3362 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
3363 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
3364 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
3365 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
3366 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
3367 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
3368 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
3369 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
3370 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
3371 utime.m4, utimes.m4, xstrtoumax.m4:
3372 Quote the first argument in each use of AC_DEFUN.
3374 2001-08-05 Jim Meyering <jim@meyering.net>
3376 * jm-macros.m4: Require autoconf-2.52.
3378 2001-08-03 Paul Eggert <eggert@twinsun.com>
3380 The following changes are from gettext 0.10.39 as maintained by
3381 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
3383 * codeset.m4: Upgrade to serial AM1.
3384 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
3385 all uses changed. Quote first arg of AC_DEFUN.
3386 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
3388 * iconv.m4: Upgrade to serial AM2.
3389 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
3390 Add --with-libconv-prefix.
3391 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
3392 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
3393 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
3394 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
3395 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
3397 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
3398 * getline.m4 (AM_FUNC_GETLINE): Likewise.
3399 * glibc21.m4 (jm_GLIBC21): Likewise.
3400 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
3401 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
3402 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
3403 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
3404 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
3405 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
3407 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
3410 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
3411 not the default value.
3413 2001-06-25 Bruno Haible <haible@clisp.cons.org>
3414 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
3415 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
3416 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
3417 Also check for iswcntrl, used for wcwidth fallback.
3418 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
3421 2001-08-03 Jim Meyering <jim@meyering.net>
3423 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
3424 as it was in the original. Reported by Paul Eggert.
3426 2001-07-16 Jim Meyering <jim@meyering.net>
3428 * gettimeofday.m4: New file.
3429 Prompted by a report from Bernhard Baehr.
3431 2001-07-15 Jim Meyering <jim@meyering.net>
3433 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
3434 Now it's in ../Makefile.cfg.
3436 2001-07-04 Jim Meyering <jim@meyering.net>
3438 * Makefile.am.in (glibc-io.struct): New target. Rework the code
3439 that generates jm-glibc-io.m4 so that it doesn't trigger any make
3442 2001-07-02 Jim Meyering <jim@meyering.net>
3444 The following changes were prompted by suggestions from Bruno Haible.
3446 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
3448 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
3449 definition of EXTRA_DIST.
3450 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
3451 ensure that the generated file is created/updated whenever the list
3452 of $(unlocked_functions) is changed.
3453 (jm-glibc-io.m4): New rule.
3454 (unlocked-io.h): New rule -- currently unused.
3456 2001-06-24 Jim Meyering <jim@meyering.net>
3458 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
3459 unmatched right bracket, rather than kludging it with an extra,
3460 falsely-matching quote in a comment. Patch by Akim Demaille.
3462 2001-05-27 Jim Meyering <jim@meyering.net>
3464 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
3465 Check for ut_type in struct utmp.
3467 2001-05-22 Jim Meyering <jim@meyering.net>
3469 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
3470 now that we use the package-supplied version unconditionally.
3471 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
3473 2001-05-21 Jim Meyering <jim@meyering.net>
3475 * regex.m4: Change a couple backticks to single quotes to avoid shell
3478 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
3480 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
3482 2001-05-11 Paul Eggert <eggert@twinsun.com>
3484 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
3485 Don't bother to check library strftime, since
3486 we'll be using our own my_strftime function anyway.
3487 Define my_strftime instead of strftime.
3489 2001-05-15 Jim Meyering <jim@meyering.net>
3491 * regex.m4: Use proper quoting so brackets appear in the test program.
3492 Reported by, and with help from, Bruno Haible.
3494 2001-05-13 Jim Meyering <jim@meyering.net>
3496 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
3498 2000-11-26 Paul Eggert <eggert@twinsun.com>
3500 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
3502 2001-04-21 Jim Meyering <jim@meyering.net>
3504 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
3507 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
3509 * ftruncate.m4: Check for chsize.
3510 Link with ftruncate.o unconditionally if ftruncate is missing.
3511 This was required when cross-compiling to i586-mingw32msvc.
3513 2001-03-24 Jim Meyering <jim@meyering.net>
3515 * jm-macros.m4: Require autoconf-2.49d.
3517 2001-03-20 Bruno Haible <haible@clisp.cons.org>
3519 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
3521 2001-03-17 Jim Meyering <jim@meyering.net>
3523 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
3524 now that the version in autoconf is equivalent.
3525 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
3527 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
3528 Suggestion from Akim Demaille.
3530 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
3531 (jm_PREREQ_TEMPNAME): New function.
3533 2001-02-25 Paul Eggert <eggert@twinsun.com>
3535 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
3536 lacks mkstemp. Compile our own tempname.c if we compile our own
3537 mkstemp.c, as mkstemp relies on tempname.
3539 2001-03-01 Jim Meyering <jim@meyering.net>
3541 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
3542 AH_VERBATIM really does output its argument verbatim.
3544 2001-02-18 Paul Eggert <eggert@twinsun.com>
3546 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
3548 2001-02-17 Jim Meyering <jim@meyering.net>
3550 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
3551 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
3552 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
3555 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
3556 rather than AC_CACHE_VAL.
3558 2001-02-17 Paul Eggert <eggert@twinsun.com>
3560 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
3561 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
3562 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
3563 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3565 2001-02-07 Jim Meyering <jim@meyering.net>
3567 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
3569 2001-02-05 Jim Meyering <jim@meyering.net>
3571 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
3572 it includes the patch required for `large file' support with at least
3573 HP-UX's 10.20 /bin/cc.
3575 2001-02-03 Jim Meyering <jim@meyering.net>
3577 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
3578 AS_IF, now that it works once again (mysteriously).
3579 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
3581 2001-01-30 Jim Meyering <jim@meyering.net>
3583 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
3584 * chown.m4: Rename conftestchown to conftest.chown.
3585 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
3586 * utimes.m4: s/conftestdata/conftest.data/
3587 Inspired by Pavel Roskin's change in autoconf.
3589 2001-01-27 Jim Meyering <jim@meyering.net>
3591 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
3593 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
3595 2001-01-26 Jim Meyering <jim@meyering.net>
3597 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
3598 quotearg.c includes it.
3600 2001-01-15 Bruno Haible <haible@clisp.cons.org>
3602 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
3605 2001-01-20 Jim Meyering <jim@meyering.net>
3607 Be sure that headers are checked before used in code compiled
3608 for the type checks.
3609 * jm-macros.m4 (jm_MACROS): Remove all header checks.
3610 In place of that, invoke jm_CHECK_ALL_TYPES.
3611 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
3612 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
3613 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
3614 The check for ssize_t was mistakenly run before the test for unistd.h.
3616 The configure-time check for stdbool.h was missing.
3617 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
3618 (jm_PREREQ_HASH): New function.
3620 2001-01-17 Jim Meyering <jim@meyering.net>
3622 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
3624 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
3626 2001-01-14 Jim Meyering <jim@meyering.net>
3628 * rename.m4: Use temporary directories named conftestdir{,2}, not
3629 foo and bar. Create conftestdir/ in the script, not in the C code.
3630 Remove directories in the script, not in the C code.
3631 Remove conftestdir{,2} before trying to create the directory.
3632 Make the entire configure script fail if the mkdir fails.
3634 2001-01-02 Volker Borchert <bt@teknon.de>
3636 * rename.m4: New file.
3637 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
3639 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
3641 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
3642 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
3643 so `make install' also works in VPATH builds.
3645 2001-01-01 Jim Meyering <jim@meyering.net>
3647 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
3648 on systems with utmpx.h. It's necessary for the declaration of utmp's
3649 ut_user member. Reported by Andreas Jaeger.
3651 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
3652 They are required for the declarations of getgrgid and getpwuid resp.
3653 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
3654 Reported by Andreas Jaeger.
3656 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3658 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
3659 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
3660 can be used in subdirectories.
3662 2000-12-26 Jim Meyering <jim@meyering.net>
3664 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
3667 2000-12-17 Jim Meyering <jim@meyering.net>
3669 * dos.m4 (jm_AC_DOS): New file and macro.
3670 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
3672 2000-12-06 Paul Eggert <eggert@twinsun.com>
3674 * off_t-format.m4: Remove this file.
3675 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
3677 2000-12-06 Jim Meyering <jim@meyering.net>
3679 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
3680 strtoull, we may well need the replacement strtoul, too.
3681 Check for declarations of strtoul and strtoull.
3682 Check for strtol. Mainly as a cue to cause automake to include
3683 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
3684 Check for limits.h -- strtol.c needs it.
3686 2000-12-02 Jim Meyering <jim@meyering.net>
3688 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
3689 * jm-macros.m4 (jm_MACROS): require it.
3691 2000-11-30 Jim Meyering <jim@meyering.net>
3693 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
3695 2000-11-30 Jim Meyering <jim@meyering.net>
3697 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
3699 2000-11-03 Bruno Haible <haible@clisp.cons.org>
3701 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
3703 2000-11-04 Jim Meyering <jim@meyering.net>
3705 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
3707 2000-10-29 Jim Meyering <jim@meyering.net>
3709 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
3710 * ls-mntd-fs.m4: Likewise
3712 2000-10-28 Jim Meyering <jim@meyering.net>
3714 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
3715 (jm_PREREQ_MEMCHR): New function.
3717 2000-10-21 Jim Meyering <jim@meyering.net>
3719 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
3720 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
3721 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
3723 2000-09-18 Jim Meyering <jim@meyering.net>
3725 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
3726 Otherwise, everyone ends up linking with -lelf for some configurations.
3727 Reported by Mike Stone.
3729 2000-08-26 Jim Meyering <jim@meyering.net>
3731 * jm-macros.m4: Use jm_FUNC_FPENDING.
3732 * fpending.m4: New file.
3734 2000-08-20 Jim Meyering <jim@meyering.net>
3736 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
3737 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
3738 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
3740 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
3742 Improve fileutils installation on systems where running
3743 programs (like install) can't be unlinked.
3744 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
3745 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
3747 2000-08-06 Paul Eggert <eggert@twinsun.com>
3749 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
3750 not char, for compatibility with glibc 2.1.3 strftime.c.
3752 2000-07-23 Paul Eggert <eggert@twinsun.com>
3754 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
3756 2000-07-23 Jim Meyering <jim@meyering.net>
3758 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
3759 getgrgid, getpwuid, getuid.
3761 2000-07-16 Bruno Haible <haible@clisp.cons.org>
3763 * mbswidth.m4: New file.
3764 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
3766 2000-07-14 Jim Meyering <jim@meyering.net>
3768 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
3770 2000-07-10 Paul Eggert <eggert@twinsun.com>
3772 From a suggestion by Bruno Haible.
3773 * mbstate_t.m4 (AC_MBSTATE_T):
3774 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
3775 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
3776 and mbstate_t, to a single-part test that simply defines mbstate_t.
3777 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
3779 2000-07-10 Jim Meyering <jim@meyering.net>
3781 * strerror_r.m4: Mirror the correction made in autoconf.
3783 * gnu-source.m4: Output to confdefs.h directly.
3784 Suggestion from Akim Demaille.
3786 2000-07-09 Jim Meyering <jim@meyering.net>
3788 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
3789 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
3791 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
3792 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
3794 2000-07-05 Bruno Haible <haible@clisp.cons.org>
3796 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
3798 Include <ctype.h> for use of isalpha.
3800 2000-07-05 Paul Eggert <eggert@twinsun.com>
3801 and Bruno Haible <haible@clisp.cons.org>
3803 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
3804 only if the test for an object-type mbstate_t fails. This
3805 prevents us from mistakenly reporting that mbstate_t is a
3806 system object type after we "#define mbstate_t int" to work
3809 2000-07-04 Jim Meyering <jim@meyering.net>
3811 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
3812 of the deprecated AC_CHECKING.
3814 2000-07-03 Jim Meyering <jim@meyering.net>
3816 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
3818 2000-07-03 Paul Eggert <eggert@twinsun.com>
3820 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
3821 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
3823 2000-07-02 Jim Meyering <jim@meyering.net>
3825 * mbstate_t.m4: Also define mbstate_t, if necessary.
3827 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
3828 AC_LIBOBJ(function_name).
3829 * chown.m4: Likewise.
3830 * fnmatch.m4: Likewise.
3831 * ftruncate.m4: Likewise.
3832 * getgroups.m4: Likewise.
3833 * getline.m4: Likewise.
3834 * group-member.m4: Likewise.
3835 * jm-macros.m4: Likewise.
3836 * lstat.m4: Likewise.
3837 * malloc.m4: Likewise.
3838 * memcmp.m4: Likewise.
3839 * nanosleep.m4: Likewise.
3840 * putenv.m4: Likewise.
3841 * realloc.m4: Likewise.
3842 * regex.m4: Likewise.
3843 * stat.m4: Likewise.
3844 * strftime.m4: Likewise.
3846 2000-07-01 Jim Meyering <jim@meyering.net>
3848 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
3851 2000-06-17 Bruno Haible <haible@clisp.cons.org>
3853 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
3854 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
3856 2000-07-01 Jim Meyering <jim@meyering.net>
3858 * uptime.m4: Put double quotes around use of $cross_compiling.
3860 2000-06-28 Jim Meyering <jim@meyering.net>
3862 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
3863 by quotearg.c, for which we perform this test. From Bruno Haible.
3865 2000-06-17 Bruno Haible <haible@clisp.cons.org>
3867 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
3868 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
3869 <utmpx.h> exists, put readutmp.o into LIBOBJS.
3871 2000-06-25 Jim Meyering <jim@meyering.net>
3873 * mbstate_t.m4: Include stdio.h before wchar.h to work around
3874 Linux header bug when _XOPEN_SOURCE is defined to 500.
3876 2000-06-24 Jim Meyering <jim@meyering.net>
3878 * strerror_r.m4: Revive this file -- to try out an experimental
3879 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
3880 for which strerror does return char*, but which lacks a conveniently
3881 accessible declaration of the function. If the compile-test says
3882 strerror_r doesn't work, then resort to a `run'-test that works on
3883 BeOS and segfaults on DEC Unix.
3885 2000-06-19 Paul Eggert <eggert@twinsun.com>
3887 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
3888 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
3890 2000-06-23 Jim Meyering <jim@meyering.net>
3892 * afs.m4: Add missing AC_MSG_RESULT.
3893 Reported by Bruno Haible.
3895 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
3896 Suggestion from Bruno Haible.
3898 2000-06-21 Jim Meyering <jim@meyering.net>
3900 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
3902 2000-06-18 Jim Meyering <jim@meyering.net>
3904 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
3906 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
3907 `checking whether...' message to be consistent with that of the
3910 2000-06-16 Bruno Haible <haible@clisp.cons.org>
3912 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
3914 2000-06-12 Jim Meyering <jim@meyering.net>
3916 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
3917 from autoconf, and tweak the latter to accept an optional argument.
3918 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
3919 the optional argument, `lib'.
3921 2000-06-08 Jim Meyering <jim@meyering.net>
3923 * largefile.m4: Remove file (now that it's part of autoconf).
3925 2000-06-04 Paul Eggert <eggert@twinsun.com>
3927 Rewrite largefile configuration so that we don't need to run
3928 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
3929 AC_CANONICAL_HOST in configure.in -- jmm]
3931 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
3932 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
3933 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
3934 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
3935 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
3937 Instead of inspecting the output of getconf, try to compile the
3938 test program without and with the macro definition.
3939 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
3940 for getconf. Instead, check for the needed flags by compiling
3943 2000-06-03 Jim Meyering <jim@meyering.net>
3945 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
3946 now that autoconf requires that.
3948 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
3949 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
3950 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
3952 2000-05-26 Bruno Haible <haible@clisp.cons.org>
3954 * glibc21.m4: New file.
3955 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
3957 2000-05-28 Jim Meyering <jim@meyering.net>
3959 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
3960 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
3961 * stat.m4: Likewise.
3962 * lstat.m4: Likewise.
3963 * lstat-slash.m4: Remove file (absorbed into autoconf).
3965 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
3966 * strerror_r.m4: Remove file (absorbed into autoconf).
3968 2000-05-26 Jim Meyering <jim@meyering.net>
3970 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
3972 2000-05-24 Jim Meyering <jim@meyering.net>
3974 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
3975 autoconf requires that.
3976 * lib-check.m4: Likewise.
3977 * jm-macros.m4: Likewise.
3978 * strftime.m4: Likewise.
3980 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
3981 now that autoconf requires that.
3983 2000-05-22 Jim Meyering <jim@meyering.net>
3985 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
3986 * lstat.m4: Likewise.
3988 2000-05-20 Jim Meyering <jim@meyering.net>
3990 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
3991 (jm_PREREQ): Use it.
3993 2000-05-09 Jim Meyering <jim@meyering.net>
3995 * gettext.m4: Rename this...
3996 * libintl.m4: ...to this.
3998 2000-05-06 Jim Meyering <jim@meyering.net>
4000 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
4001 (AC_REPLACE_FUNCS): Add strnlen.
4003 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
4004 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
4006 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
4007 AC_SEARCH_LIBS call for nanosleep.
4008 (LIB_NANOSLEEP): Set and AC_SUBST.
4010 2000-05-03 Paul Eggert <eggert@twinsun.com>
4012 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
4013 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
4014 2.1.3 bug. This avoids a clash when files like regex.c define
4017 2000-05-05 Jim Meyering <jim@meyering.net>
4019 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
4020 call for clock_gettime.
4021 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
4023 * search-libs.m4: Update from autoconf.
4025 su doesn't work on Solaris 2.6.
4026 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
4027 <shadow.h>. Reported by Dragos Harabor.
4029 2000-05-03 Jim Meyering <jim@meyering.net>
4031 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
4033 2000-05-02 Paul Eggert <eggert@twinsun.com>
4035 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
4036 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
4037 compile-time test, rather than inspecting host and OS, to
4038 decide whether to define _LARGEFILE_SOURCE.
4040 2000-05-01 Jim Meyering <jim@meyering.net>
4042 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
4044 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
4045 Based on a patch from Bruno Haible.
4047 2000-04-18 Jim Meyering <jim@meyering.net>
4049 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
4050 (jm_PREREQ): Use it.
4052 2000-04-17 Jim Meyering <jim@meyering.net>
4055 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
4056 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
4057 Suggestion from Akim Demaille.
4059 2000-04-14 Jim Meyering <jim@meyering.net>
4061 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
4062 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
4064 2000-04-13 Jim Meyering <jim@meyering.net>
4066 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
4067 to insert required #ifndef into config.h.in.
4068 Suggestion from Akim Demaille.
4070 2000-04-12 Jim Meyering <jim@meyering.net>
4072 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
4073 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
4074 Christian Krackowizer.
4076 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
4077 * jm-macros.m4 (_GNU_SOURCE): Define.
4078 (AC_SYS_LARGEFILE): Require.
4079 (AM_C_PROTOTYPES): Require.
4081 2000-04-05 Paul Eggert <eggert@twinsun.com>
4083 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
4084 IRIX if the installer said otherwise.
4086 2000-04-05 Jim Meyering <jim@meyering.net>
4088 Portability tweaks required for ultrix4.3.
4089 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
4090 (jm_CHECK_DECLS): Add getutent to the list of functions.
4091 (_jm_DECL_HEADERS): Add utmpx.h.
4092 From John David Anglin.
4094 * strftime.m4: Back out the 2000-04-02 change.
4095 Instead of that change, simply undefine putenv in the test program.
4097 2000-04-03 Jim Meyering <jim@meyering.net>
4099 * gettext.m4: Fix typo in comment.
4101 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
4102 textutils/configure.in). Suggestion from Paul Eggert.
4103 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
4105 2000-04-02 Paul Eggert <eggert@twinsun.com>
4107 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
4108 variable in the shell rather than using putenv, which isn't
4109 portable. This avoids the configure-time inter-test dependency
4110 on the potentially-renamed putenv function.
4112 2000-03-30 Paul Eggert <eggert@twinsun.com>
4114 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
4115 before checking struct stat.st_blksize, so that
4116 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
4118 2000-03-29 Paul Eggert <eggert@twinsun.com>
4120 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
4121 since strftime.c uses HAVE_STRFTIME to decide whether to use
4122 the underlying strftime.
4124 2000-03-10 Jim Meyering <jim@meyering.net>
4126 * lib-check.m4: Look for getspnam in -lgen, too.
4129 2000-02-02 Bruno Haible <haible@clisp.cons.org>
4131 * codeset.m4: New file.
4132 * iconv.m4: New file.
4133 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
4135 2000-03-04 Jim Meyering <jim@meyering.net>
4137 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
4138 for lib/localcharset.c.
4140 2000-03-03 Jim Meyering <jim@meyering.net>
4142 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
4144 2000-03-02 Jim Meyering <jim@meyering.net>
4146 * timespec.m4: Require AC_HEADER_TIME before the cache check so
4147 the messages come out on separate lines.
4149 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
4150 rather than jm_CHECK_DECLARATIONS.
4151 * decl.m4: Remove now-unused file.
4153 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
4155 2000-02-27 Jim Meyering <jim@meyering.net>
4157 * check-decl.m4: Add getenv to the list.
4159 2000-02-23 Jim Meyering <jim@meyering.net>
4161 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
4162 in place of my hack.
4164 2000-02-10 Jim Meyering <jim@meyering.net>
4166 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
4167 gnu_nanosleep to rpl_nanosleep.
4169 2000-02-09 Jim Meyering <jim@meyering.net>
4171 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
4172 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
4174 2000-02-08 Akim Demaille <akim@epita.fr>
4176 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
4177 `[' and `]' and remove uses of `changequote'.
4178 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
4179 (AC_SYS_LARGEFILE): Likewise.
4180 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
4181 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
4183 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
4184 * readdir.m4 (jm_FUNC_READDIR): Likewise
4185 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
4186 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
4188 2000-02-05 Jim Meyering <jim@meyering.net>
4190 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
4191 Remove explicit use of AC_HEADER_TIME. It is required by
4192 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
4193 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
4194 in autoconf whereby the expansion of the latter ended up preceding
4195 the expansion of its prerequisite, AC_HEADER_TIME.
4196 Reported by Volker Borchert.
4198 2000-02-03 Jim Meyering <jim@meyering.net>
4200 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
4202 2000-02-02 Jim Meyering <jim@meyering.net>
4204 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
4205 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
4206 Reported by Eli Zaretskii.
4208 2000-01-31 Jim Meyering <jim@meyering.net>
4210 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
4211 functions. Add the time.h and sys/time.h headers along with the
4212 AC_REQUIRE'ment of AC_HEADER_TIME.
4214 2000-01-30 Jim Meyering <jim@meyering.net>
4216 * lib-check.m4: Clean up some kludgy old shadow password tests.
4218 * prereq.m4 (utmp_includes): Define.
4219 Check for ut_user and ut_name members in both struct utmpx
4222 2000-01-29 Jim Meyering <jim@meyering.net>
4224 * lib-check.m4: New file containing library-related checks from
4225 fileutils and sh-utils (textutils had none).
4227 2000-01-28 Jim Meyering <jim@meyering.net>
4229 * perl.m4: Change format of warning message to look more like that
4230 from the missing script. Suggestion from François Pinard.
4232 2000-01-25 Jim Meyering <jim@meyering.net>
4234 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
4235 as time.h in the compile check.
4236 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
4237 Fix typo in cross-compiling case: s/yes/no/.
4239 2000-01-23 Jim Meyering <jim@meyering.net>
4241 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
4243 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
4244 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
4246 * fsusage.m4: New file. Extracted from fileutils/configure.in.
4247 s/space/ac_fsusage_space/.
4248 (jm_FILE_SYSTEM_USAGE): Take two parameters.
4250 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
4251 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
4252 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
4254 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
4255 AC_SUBST these here, rather than just in sh-util/configure.in, so
4256 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
4258 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
4259 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
4260 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
4261 (AC_SUBST(POW_LIBM)): Likewise.
4262 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
4264 2000-01-22 Jim Meyering <jim@meyering.net>
4266 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
4268 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
4270 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
4272 (AC_CHECK_HEADERS): Likewise for sh-utils.
4273 (AC_CHECK_HEADERS): Likewise for textutils.
4274 Merge the three lists of headers.
4276 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
4277 from fileutils' configure.in.
4279 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
4280 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
4282 * check-decl.m4: Use #if rather than #ifdef.
4283 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
4284 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
4285 (_jm_DECL_HEADERS): Define new function.
4286 (jm_CHECK_DECLARATIONS): Require it.
4288 2000-01-19 Jim Meyering <jim@meyering.net>
4290 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
4291 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
4292 defines `struct timespec' in <sys/time.h>
4294 * c-bs-a.m4: Remove uses of changequote altogether.
4295 Thanks to Akim for explaining.
4297 2000-01-16 Jim Meyering <jim@meyering.net>
4299 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
4300 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
4301 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
4302 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
4304 2000-01-16 Jim Meyering <jim@meyering.net>
4306 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
4307 because the latter didn't work.
4309 2000-01-15 Jim Meyering <jim@meyering.net>
4311 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
4312 (AC_REPLACE_FUNCS): Add memcpy and memset.
4313 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
4315 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
4317 2000-01-12 Jim Meyering <jim@meyering.net>
4319 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
4320 (jm_PREREQ): Use it.
4321 (jm_PREREQ_READUTMP): New macro.
4322 (jm_PREREQ): Use it.
4324 2000-01-11 Paul Eggert <eggert@twinsun.com>
4326 Quote multibyte characters correctly.
4327 * c-bs-a.m4: New file.
4328 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
4329 (jm_PREREQ): Use it.
4331 2000-01-11 Paul Eggert <eggert@twinsun.com>
4333 * uintmax_t.m4: Port to autoconf 2.13.
4335 2000-01-08 Jim Meyering <meyering@ascend.com>
4337 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
4338 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
4340 2000-01-04 Jim Meyering <meyering@ascend.com>
4342 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
4343 jm_STRUCT_DIRENT_D_TYPE.
4344 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
4345 jm_STRUCT_DIRENT_D_INO.
4346 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
4348 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
4349 * utime.m4: Likewise.
4351 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
4352 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
4354 2000-01-03 Paul Eggert <eggert@twinsun.com>
4356 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
4357 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
4359 2000-01-02 Jim Meyering <meyering@ascend.com>
4361 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
4362 remember if this is necessary.
4364 1999-12-26 Jim Meyering <meyering@ascend.com>
4366 * jm-macros.m4: Use it here.
4367 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
4369 1999-12-23 Jim Meyering <meyering@ascend.com>
4371 * jm-macros.m4: Check for clock_gettime (moved from
4372 fileutils/configure.in)
4373 Check for gettimeofday.
4375 1999-12-20 Jim Meyering <meyering@ascend.com>
4377 * strftime.m4: Remove kludge, now that I'm using the fixed
4378 autoconf-2.14a-1999-12-20.
4380 1999-12-19 Jim Meyering <meyering@ascend.com>
4382 * lstat-slash.m4: New file.
4383 * jm-macros.m4: Use the new macro:
4384 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4386 1999-12-07 Jim Meyering <meyering@ascend.com>
4388 * perl.m4: Require that File::Compare be available, too.
4389 Too many systems seem to lack it.
4391 * strftime.m4: Add checks for most of the cpp macros tested in
4392 GNU's strftime.c. Prompted by a patch from Paul Eggert.
4394 1999-11-18 Paul Eggert <eggert@twinsun.com>
4396 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
4397 problem with the QNX 4.25 shell, which doesn't propagate exit
4398 status of failed commands inside shell assignments.
4400 1999-11-17 Jim Meyering <meyering@ascend.com>
4402 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
4404 1999-11-07 Jim Meyering <meyering@ascend.com>
4406 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
4408 1999-11-06 Jim Meyering <meyering@ascend.com>
4410 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
4411 * jm-macros.m4 (jm_MACROS): Use it here.
4413 1999-11-05 Jim Meyering <meyering@ascend.com>
4415 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
4416 of textutils, fileutils, and sh-utils into this one (shared between
4417 those packages) file.
4418 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
4419 AC_STRUCT_ST_BLKSIZE.
4421 1999-11-03 Jim Meyering <meyering@ascend.com>
4423 * ssize_t.m4: Remove file. No longer needed since the new version of
4424 AC_CHECK_TYPE checks includes unistd.h.
4425 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
4426 Suggestion from Akim Demaille.
4428 1999-10-30 Jim Meyering <meyering@ascend.com>
4430 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
4432 * ls-mntd-fs.m4: Likewise.
4433 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
4434 * jm-winsz1.m4: Likewise.
4436 * const.m4: Remove file, since the fix made it into the experimental
4437 version of autoconf.
4438 * mktime.m4: Likewise.
4440 * check-type.m4: Remove file, now that the latest version of
4441 AC_CHECK_TYPE takes a third arg to specify additional #includes.
4443 * ssize_t.m4: New file, requires experimental version of autoconf.
4444 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
4447 1999-10-04 Jim Meyering <meyering@ascend.com>
4449 * jm-macros.m4: Don't require autoconf-2.14.1.
4451 1999-09-22 Paul Eggert <eggert@twinsun.com>
4453 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
4454 2.95.1 bug with HP-UX 10.20.
4456 1999-09-17 Jim Meyering <meyering@ascend.com>
4458 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
4459 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
4460 due to missing strdup (against sh-utils-2.0).
4462 1999-08-29 Jim Meyering <meyering@ascend.com>
4464 * jm-macros.m4: Require jm_BISON.
4465 * bison.m4: New file.
4467 1999-08-17 Paul Eggert <eggert@twinsun.com>
4469 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
4470 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
4472 1999-08-05 Jim Meyering <meyering@ascend.com>
4474 * getline.m4: Rename test file from conftestdata to conftest.data
4475 to avoid conflicts with `conftest' on 8+3 filesystems.
4476 Suggestion from Eli Zaretskii.
4478 1999-08-04 Jim Meyering <meyering@ascend.com>
4480 * jm-macros.m4: Move a 4-line block of code from the configure.in of
4481 fileutils and sh-utils (textutils's getline test was inadequate).
4482 (AM_FUNC_GETLINE): Run this test.
4483 (AC_CHECK_FUNCS): Check for getdelim.
4484 Reported by Bob Proulx.
4486 1999-08-02 Jim Meyering <meyering@ascend.com>
4488 * jm-macros.m4: Add a comment.
4490 1999-08-01 Jim Meyering <meyering@ascend.com>
4492 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
4494 1999-08-01 Paul Eggert <eggert@twinsun.com>
4496 * lfs.m4: Remove this file.
4497 * largefile.m4: New file. It contains the old contents of
4498 lfs.m4, except that all names with prefix AC_LFS have been
4499 changed to use the prefix AC_SYS_LARGEFILE instead, to be
4500 compatible with future autoconf versions. Also, some minor m4
4501 quoting problems have been fixed.
4503 1999-07-16 Paul Eggert <eggert@twinsun.com>
4505 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
4506 that we can shift, multiply and divide unsigned long long
4507 values; Ultrix cc can't do it.
4509 1999-07-14 Paul Eggert <eggert@twinsun.com>
4511 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
4512 <inttypes.h> defines strtoumax as a macro (and not as a
4515 1999-07-05 Paul Eggert <eggert@twinsun.com>
4517 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
4518 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
4519 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
4520 and simplify the shell code.
4522 1999-07-03 Paul Eggert <eggert@twinsun.com>
4524 * mktime.m4: New file, which is a preview of what should appear
4525 in the next public autoconf release.
4527 1999-07-20 Jim Meyering <meyering@ascend.com>
4529 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
4531 1999-07-15 Jim Meyering <meyering@ascend.com>
4533 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
4535 1999-05-22 Jim Meyering <meyering@ascend.com>
4537 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
4539 1999-05-20 Jim Meyering <meyering@ascend.com>
4541 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
4542 Add a colon after each `then' in case $4 is empty.
4544 1999-05-16 Jim Meyering <meyering@ascend.com>
4546 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
4548 1999-05-10 Jim Meyering <meyering@ascend.com>
4550 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
4552 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
4555 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4557 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
4559 1999-05-04 Paul Eggert <eggert@twinsun.com>
4561 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
4562 not CPPFLAGS, so that linking works correctly in IRIX.
4564 1999-04-30 Paul Eggert <eggert@twinsun.com>
4566 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
4568 1999-04-20 Jim Meyering <meyering@ascend.com>
4570 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
4571 AC_REPLACE xstroull if necessary. From Paul Eggert.
4572 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
4574 1999-04-20 Paul Eggert <eggert@twinsun.com>
4576 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
4577 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
4578 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
4579 jm_AC_TYPE_UNSIGNED_LONG_LONG.
4580 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
4582 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
4584 1999-04-18 Jim Meyering <meyering@ascend.com>
4586 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
4587 * jm-macros.m4: Use it.
4589 1999-04-06 Jim Meyering <meyering@ascend.com>
4591 * strftime.m4: Remove test for %f.
4593 1999-03-29 Jim Meyering <meyering@ascend.com>
4595 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
4596 superset of the AC_TYPE_* checks in the textutils, fileutils,
4597 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
4600 1999-03-28 Jim Meyering <meyering@ascend.com>
4602 * jm-macros.m4: Define GNU_PACKAGE here.
4603 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
4604 replaced e.g., in the *.sh files of the sh-utils.
4606 1999-03-20 Jim Meyering <meyering@ascend.com>
4608 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
4609 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
4610 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
4612 1999-03-19 Jim Meyering <meyering@ascend.com>
4614 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
4616 1999-03-12 Jim Meyering <meyering@ascend.com>
4618 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
4620 1999-03-07 Jim Meyering <meyering@ascend.com>
4622 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
4624 1999-02-17 Jim Meyering <meyering@ascend.com>
4626 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
4627 in macro definition. From Eli Zaretskii and Alain Magloire.
4629 1999-02-07 Jim Meyering <meyering@ascend.com>
4631 * group-member.m4: New file -- extracted from sh-utils' configure.in.
4633 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
4634 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
4636 1999-02-06 Jim Meyering <meyering@ascend.com>
4638 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
4639 * fnmatch.m4: Likewise.
4640 * getgroups.m4: Likewise.
4641 * lstat.m4: Likewise.
4642 * malloc.m4: Likewise.
4643 * putenv.m4: Likewise.
4644 * realloc.m4: Likewise.
4645 * regex.m4: Likewise.
4646 * stat.m4: Likewise.
4647 * strftime.m4: Likewise.
4648 Suggestion from Alain Magloire.
4650 * chown.m4: Use `.$ac_objext', not `.o'.
4651 * fnmatch.m4: Likewise.
4652 * getgroups.m4: Likewise.
4653 * getline.m4: Likewise.
4654 * lstat.m4: Likewise.
4655 * malloc.m4: Likewise.
4656 * memcmp.m4: Likewise.
4657 * putenv.m4: Likewise.
4658 * realloc.m4: Likewise.
4659 * regex.m4: Likewise.
4660 * stat.m4: Likewise.
4661 * strftime.m4: Likewise.
4662 Suggestion from Alain Magloire.
4664 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
4667 * regex.m4: Add a run-time Test for proper operation of
4670 1999-01-31 Jim Meyering <meyering@ascend.com>
4672 * getloadavg.m4: Check for locale.h and the function, setlocale.
4674 1999-01-30 Jim Meyering <meyering@ascend.com>
4676 * check-type.m4: Use 3-arg form of AC_DEFINE.
4678 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
4679 rather than my private copy, now that the official one is up to date.
4680 * mktime.m4: Remove file.
4682 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
4683 * uptime.m4: Likewise.
4684 * uintmax_t.m4: Likewise.
4686 1999-01-28 Jim Meyering <meyering@ascend.com>
4688 * jm-macros.m4: Use jm_AFS.
4689 * afs.m4: New file (from fileutils' configure.in).
4691 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
4692 * chown.m4: Likewise.
4693 * d-ino.m4: Likewise.
4694 * d-type.m4: Likewise.
4695 * fnmatch.m4: Likewise.
4696 * getgroups.m4: Likewise.
4697 * gettext.m4: Likewise.
4698 * jm-mktime.m4: Likewise.
4699 * jm-winsz2.m4: Likewise.
4700 * lcmessage.m4: Likewise.
4701 * ls-mntd-fs.m4: Likewise.
4702 * malloc.m4: Likewise.
4703 * memcmp.m4: Likewise.
4704 * putenv.m4: Likewise.
4705 * realloc.m4: Likewise.
4706 * st_mtim.m4: Likewise.
4707 * strftime.m4: Likewise.
4709 1999-01-16 Jim Meyering <meyering@ascend.com>
4711 * jm-macros.m4 (ARGMATCH_DIE): Define.
4712 (ARGMATCH_DIE_DECL): Define.
4714 1999-01-12 Jim Meyering <meyering@ascend.com>
4716 * Makefile.am.in: Rewrite to avoid using fmt.
4717 Reported by Lars Hecking.
4719 1999-01-10 Jim Meyering <meyering@ascend.com>
4721 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
4723 * inttypes_h.m4: Likewise.
4724 * lstat.m4: Likewise.
4725 * malloc.m4: Likewise.
4726 * readdir.m4: Likewise.
4727 * realloc.m4: Likewise.
4728 * st_dm_mode.m4: Likewise.
4729 * stat.m4: Likewise.
4730 * utimbuf.m4: Likewise.
4731 * utimes.m4: Likewise.
4733 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
4734 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
4735 comments in config.h.in are meaningful.
4737 * jm-macros.m4: Require autoconf-2.13 here.
4739 * regex.m4: By default, don't use the included regex.c on systems
4740 with glibc 2. Suggestion from Uli Drepper.
4742 1999-01-02 Jim Meyering <meyering@ascend.com>
4744 * jm-macros.m4: Replace strcasecmp and strncasecmp.
4746 1998-12-18 Jim Meyering <meyering@ascend.com>
4748 * Makefile.am.in (Makefile.am): Simplify rule.
4749 Based on a suggestion from Lars Hecking.
4751 1998-11-16 Jim Meyering <meyering@ascend.com>
4753 * lfs.m4: Double-quote the `uname...` expression.
4755 1998-11-16 Paul Eggert <eggert@twinsun.com>
4757 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
4759 1998-11-14 Jim Meyering <meyering@ascend.com>
4761 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
4762 * stat.m4: Likewise.
4764 1998-11-03 Jim Meyering <meyering@ascend.com>
4766 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
4767 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
4769 1998-10-18 Jim Meyering <meyering@ascend.com>
4771 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
4773 1998-10-17 Jim Meyering <meyering@ascend.com>
4775 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
4776 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
4777 calls for those previously hard-coded headers. Instead, take a new
4779 (jm_CHECK_DECLARATIONS): Reflect interface change.
4780 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
4781 (jm_CHECK_DECL_LOCALTIME_R): New macro.
4783 * mktime.m4: Test for spring-forward gap before long-running test.
4785 1998-10-14 Jim Meyering <meyering@ascend.com>
4787 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
4788 instead of "TZ=America/Vancouver". From Paul Eggert.
4790 1998-10-11 Jim Meyering <meyering@ascend.com>
4792 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
4793 This adds a test for a recently added compatibility fix for mktime.c.
4794 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
4796 1998-09-27 Jim Meyering <meyering@ascend.com>
4798 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
4800 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
4801 ../configure.in, including a change from Gordon Matzigkeit to allow
4802 cross-compiling for the Hurd.
4804 * glibc.m4: New file/macro to test for the GNU C Library
4805 versions 1 and 2. From Gordon Matzigkeit.
4808 1998-09-21 Jim Meyering <meyering@ascend.com>
4810 * chown.m4: Declare locals: before, after. From Andries Brouwer.
4812 1998-08-18 Paul Eggert <eggert@twinsun.com>
4814 Port nanosecond-resolution times to UnixWare 2.1.2 and
4815 pedantic Solaris 2.6.
4817 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
4819 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
4820 Generate name of ns member, instead of just 1 or undef.
4821 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
4823 1998-08-15 Jim Meyering <meyering@ascend.com>
4825 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
4826 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
4827 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
4828 instead of jm_TYPE_SSIZE_T.
4830 1998-08-12 Jim Meyering <meyering@ascend.com>
4832 * st_dm_mode.m4: New file. From Johan Danielsson.
4834 1998-08-02 Jim Meyering <meyering@ascend.com>
4836 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
4837 in acconfig.h manually.
4839 1998-07-31 Paul Eggert <eggert@twinsun.com>
4841 * st_mtim.m4: New file.
4843 1998-07-28 Jim Meyering <meyering@ascend.com>
4845 * utimes.m4: Undef stat.
4847 1998-07-25 Jim Meyering <meyering@ascend.com>
4849 * utime.m4 (jm_FUNC_UTIME): New file and macro.
4850 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
4852 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
4854 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
4855 uid and gid actually remain unchanged.
4857 1998-07-07 Jim Meyering <meyering@ascend.com>
4859 * jm-glibc-io.m4: Remove fclose_unlocked.
4861 1998-07-04 Jim Meyering <meyering@ascend.com>
4863 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
4864 to prove that this macro can be used in packages without regex.c.
4866 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4868 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
4871 1998-07-03 Jim Meyering <meyering@ascend.com>
4873 * gettext.m4: Add -lintl if it's found to be necessary.
4875 * gettext.m4: New file -- from gettext-0.10.35.
4876 * lcmessage.m4: Likewise.
4877 * progtest.m4: Likewise.
4879 * regex.m4 (jm_WITH_REGEX): New file and macro.
4880 * jm-macros.m4: Require the new macro.
4882 1998-06-29 Jim Meyering <meyering@ascend.com>
4884 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
4885 for the definition of NGROUPS (used in a system header included
4888 1998-06-28 Jim Meyering <meyering@ascend.com>
4890 * ls-mntd-fs.m4: New file.
4891 * fstypename.m4: New file.
4893 * jm-macros.m4: Require the new macro.
4894 * jm-glibc-io.m4: New file.
4896 1998-05-19 Jim Meyering <meyering@ascend.com>
4898 * jm-macros.m4: Add jm_FUNC_LCHOWN.
4899 * lchown.m4: New file.
4901 * Makefile.am.in: New file.
4902 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
4904 1998-05-14 Jim Meyering <meyering@ascend.com>
4906 * Makefile.am (EXTRA_DIST): Add them.
4907 * jm-macros.m4: New file.
4908 * utimbuf.m4: New file.
4910 1998-05-12 Jim Meyering <meyering@ascend.com>
4912 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
4914 1998-05-11 Jim Meyering <meyering@ascend.com>
4916 * isc-posix.m4: New file.
4918 1998-05-10 Jim Meyering <meyering@ascend.com>
4920 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
4922 1998-05-09 Jim Meyering <meyering@ascend.com>
4924 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
4925 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
4928 * ssize_t.m4: New file.
4929 * mktime.m4: Remove file -- the new automake has this now.
4931 1998-04-26 Jim Meyering <meyering@ascend.com>
4933 * assert.m4: New file.
4934 * Makefile.am (EXTRA_DIST): Add assert.m4.
4936 1998-04-05 Jim Meyering <meyering@ascend.com>
4938 * prereq.m4 (jm_PREREQ_REGEX): New macro.
4939 (jm_PREREQ): Use it here.
4941 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
4943 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
4946 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
4948 * prereq.m4: New file.
4949 * error.m4: New file.
4950 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
4952 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
4954 * getline.m4: Don't set am_cv_func_working_getline before the
4955 cache-check for the same variable -- that defeated the purpose of
4956 the test; the test program was never run. This was a problem only
4957 on systems with losing getline functions -- HP-UX 10.20 is one.
4958 Reported by Bjorn Helgaas.
4960 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
4962 * Makefile.am (EXTRA_DIST): Add perl.m4.
4964 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
4966 * Makefile.am (EXTRA_DIST): Add const.m4.
4968 * const.m4: New file. Use an initializer in this declaration
4969 typedef int charset[2]; const charset x;
4970 Reported by Bob Glickstein.
4972 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
4974 * chown.m4: Fix reversed types on -1 args to chown.
4977 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
4979 * check-decl.m4: s/DECLARATION_/DECL_/g.
4980 Add lseek and memchr.
4982 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
4983 T.E.Dickey <dickey@clark.net> said that some older preprocessors
4984 have a 20-character limit on names.
4986 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
4988 * inttypes_h.m4: New file.
4989 * uintmax_t.m4: New file.
4990 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
4995 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4996 2005, 2006 Free Software Foundation, Inc.
4998 Copying and distribution of this file, with or without
4999 modification, are permitted provided the copyright notice
5000 and this notice are preserved.