1 2007-04-25 Jim Meyering <jim@meyering.net>
3 * autobuild.m4: Remove file. Now, provided by gnulib.
5 2007-01-19 Jim Meyering <jim@meyering.net>
7 * .cvsignore, .gitignore: Add more bootstrap-inserted file names.
9 2006-12-12 Jim Meyering <jim@meyering.net>
11 * jm-macros.m4: Remove AC_FUNC_SETVBUF_REVERSED, now that it's a no-op.
13 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
15 * sha512.m4 (gl_SHA512): Add u64.h to AC_LIBSOURCES.
17 2006-10-12 Jim Meyering <jim@meyering.net>
19 * jm-macros.m4 (coreutils_MACROS): Rename from gl_MACROS, now that
20 most of the gnulib macros have migrated into gnulib.
21 Don't call gl_INIT here (now it's called from configure.ac, directly).
23 2006-10-07 Jim Meyering <jim@meyering.net>
25 * jm-macros.m4 (gl_MACROS): Remove use of AC_CONFIG_LIBOBJ_DIR(lib).
26 It is no longer needed, and was causing dependencies to appear
27 in lib/lib/.deps, which provoked a "make distcheck" failure.
29 2006-09-29 Jim Meyering <jim@meyering.net>
31 * readdir.m4: Remove file once again.
32 * jm-macros.m4: Remove reference to gl_FUNC_READDIR.
34 2006-09-28 Jim Meyering <jim@meyering.net>
36 * jm-macros.m4: Require the new macro.
37 * readdir.m4 (gl_FUNC_READDIR): Rename from GL_FUNC_READDIR.
38 Increment serial number.
39 * readdir.m4: Revivify this file.
40 We need it to work around a bug on Darwin 0.7.x.
42 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
44 * .cvsignore: Add fcntl_h.m4, getloadavg.m4, inttypes-h.m4,
45 inttypes-prio.m4, inttypes.m,4 isapipe.m4.
47 * jm-macros.m4 (gl_MACROS): Call cu_PREREQ_STAT_PROG rather
48 than AC_REQUIREing, so that sys/mount.h isn't tested for after
49 the test result. I'm not sure why this fix is needed, but it
51 * stat-prog.m4 (cu_PREREQ_STAT_PROG): Revamp to reflect better
52 what stat.c actually needs.
54 2006-08-29 Paul Eggert <eggert@cs.ucla.edu>
56 * stat-prog.m4 (cu_PREREQ_STAT_PROG): Check for __val versus val
57 components of fsid. Omit some checks that stat.c doesn't care
60 2006-08-26 Paul Eggert <eggert@cs.ucla.edu>
62 * .cvsignore: Add config-h.m4.
64 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
66 * .cvsignore: Remove Makefile, dev-ino.m4, glibc2.m4, intdiv0.m4,
67 inttypes-h.m4, inttypes-pri.m4, jm-glibc-io.m4, lcmessage.m4,
68 lock.m4, printf-posix.m4, same-inode.m4, size_max.m4,
69 uintmax_t.m4, ulonglong.m4, visibility.m4, xsize.m4. Many of
70 these are put in automatically by ../bootstrap, but that's a
71 bootstrap bug that I plan to fix shortly.
73 2006-08-22 Bruno Haible <bruno@clisp.org>
76 * boottime.m4 (GNULIB_BOOT_TIME): Test also for utmp.h, utmpx.h,
77 OS.h. Don't require to have utmp.h or utmpx.h. Enable boottime
78 support if <OS.h> is found.
80 2006-08-22 Jim Meyering <jim@meyering.net>
82 * .cvsignore: Add files that are now generated by ../bootstrap.
84 2006-08-21 Paul Eggert <eggert@cs.ucla.edu>
87 Remove from CVS, since ../bootstrap generates it automatically.
89 2006-08-20 Paul Eggert <eggert@cs.ucla.edu>
91 Add a bootstrap procedure, so that the CVS version contains fewer
92 files and we bootstrap the rest from gnulib, gettext, etc.
93 * check-decl.m4 (gl_CHECK_DECLS):
94 Don't include stdio.h, string.h, stdlib.h, unistd.h, sys/time.h,
95 time.h. Use AC_CHECK_DECLS_ONCE for free, getenv, geteuid, getlogin,
96 getuid, lseek, malloc, memchr, realloc. Don't check for getutent,
97 memrchr, nanosleep, stpcpy, strndup, strnlen, strstr, strtoul,
99 (_gl_DECL_HEADERS): Remove; all uses removed.
100 * jm-macros.m4 (gl_MACROS): Move AC_PREREQ into configure.ac
101 for the benefit of gnulib-tool. Call gl_INIT.
102 Do not call or require the following, since gnulib now does this:
103 gl_HOST_OS, gl_ASSERT, gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE,
104 gl_CHECK_TYPE_STRUCT_DIRENT_D_INO, gl_FUNC_DIRFD, AC_FUNC_ACL,
105 gl_FUNC_LCHMOD, gl_FUNC_LCHOWN, gl_FUNC_RMDIR_NOTEMPTY,
106 gl_FUNC_CHOWN, AC_FUNC_LSTAT, AC_FUNC_STRERROR_R,
107 gl_FUNC_GROUP_MEMBER, gl_AC_FUNC_LINK_FOLLOWS_SYMLINK,
108 gl_FUNC_FPENDING, gt_INTTYPES_PRI, gl_ULLONG_MAX,
109 gl_FUNC_GETGROUPS, AC_FUNC_ALLOCA, AC_FUNC_GETLOADAVG,
110 gl_SYS_PROC_UPTIME, gl_FUNC_FTRUNCATE, AC_REPLACE_FUNCS(raise),
111 AC_CHECK_FUNCS_ONCE(gettimeofday), AC_FUNC_GETTIMEOFDAY_CLOBBER,
112 AC_FUNC_CLOSEDIR_VOID, AC_FUNC_STRTOD, gl_GLIBC21, AM_ICONV,
113 gl_FUNC_UNLINK_BUSY_TEXT, gl_FSUSAGE, gl_MOUNTLIST, gl_AC_DOS,
114 AC_FUNC_CANONICALIZE_FILE_NAME, gl_FUNC_FREE, gl_FUNC_CHDIR_LONG,
115 gl_FUNC_XFTS, gl_ROOT_DEV_INO, gl_VERSION_ETC, gl_DIACRIT,
116 gl_TYPE_SOCKLEN_T, gl_FPRINTFTIME, gl_CHDIR_SAFER.
117 Don't check for fchmod, hasmntopt, isascii, lchown, listmntent,
118 mempcpy, realpath, wcrtomb, tzset.
119 (gl_CHECK_ALL_HEADERS): Don't check for sys/statvfs.h, sys/vfs.h,
121 (gl_CHECK_ALL_TYPES): Require AC_TYPE_UNSIGNED_LONG_LONG_INT.
122 Don't check for struct stat.st_blksize.
123 Don't require AC_STRUCT_ST_DM_MODE, gt_TYPE_SSIZE_T,
124 gl_AC_TYPE_UINT32_T, gl_AC_TYPE_UINTMAX_T, gl_AC_TYPE_UINTPTR_T,
125 gl_AC_TYPE_UNSIGNED_LONG_LONG.
126 * prereq.m4 (gl_PREREQ): Require gl_FUNC_XFTS, gl_ROOT_DEV_INO.
127 Don't require AM_STDBOOL_H, gl_ALLOCSA, gl_BACKUPFILE,
128 gl_BASENAME, gl_C_STRTOD, gl_C_STRTOLD, gl_CANON_HOST, gl_CLOEXEC,
129 gl_CLOSE_STREAM, gl_CLOSEOUT, gl_DIRNAME, gl_ERROR, gl_EXCLUDE,
130 gl_EXITFAIL, gl_FCNTL_SAFER, gl_FILEBLOCKS, gl_FILEMODE,
131 gl_FILE_NAME_CONCAT, gl_FILE_TYPE, gl_FSUSAGE, gl_FOPEN_SAFER,
132 gl_FUNC_ALLOCA, gl_FUNC_ATEXIT, gl_FUNC_DUP2, gl_FUNC_FNMATCH_GNU,
133 gl_FUNC_GETHOSTNAME, gl_FUNC_GETLINE, AC_FUNC_GETLOADAVG,
134 gl_FUNC_GETPASS_GNU, gl_FUNC_GETUSERSHELL, gl_FUNC_LSTAT,
135 gl_FUNC_MEMCHR, gl_FUNC_MEMCPY, gl_FUNC_MEMMOVE, gl_FUNC_MEMPCPY,
136 gl_FUNC_MEMRCHR, gl_FUNC_MEMSET, gl_FUNC_MKDIR_TRAILING_SLASH,
137 gl_FUNC_MKTIME, gl_FUNC_MKSTEMP,
138 gl_FUNC_READLINK, gl_FUNC_RMDIR, gl_FUNC_RPMATCH, gt_FUNC_SETENV,
139 gl_FUNC_SIG2STR, gl_FUNC_SNPRINTF, gl_FUNC_STPCPY,
140 gl_FUNC_STRCSPN, gl_FUNC_STRDUP, gl_FUNC_STRNDUP, gl_FUNC_STRNLEN,
141 gl_FUNC_STRPBRK, gl_FUNC_STRSTR, gl_FUNC_STRTOD,
142 gl_FUNC_STRTOIMAX, gl_FUNC_STRTOLL, gl_FUNC_STRTOL,
143 gl_FUNC_STRTOULL, gl_FUNC_STRTOUL, gl_FUNC_STRTOUMAX,
144 gl_FUNC_STRVERSCMP, gl_FUNC_TZSET_CLOBBER, gl_FUNC_VASNPRINTF,
145 gl_FUNC_VASPRINTF, gl_FUNC_WCWIDTH, gl_GETADDRINFO, gl_GETDATE,
146 gl_GETHRXTIME, gl_GETNDELIM2, gl_GETOPT, gl_GETPAGESIZE,
147 gl_GETTIME, gl_GETUGROUPS, gl_HARD_LOCALE, gl_HASH, gl_HASH_PJW,
148 gl_HEADER_ARPA_INET, gl_HEADER_NETINET_IN, gl_HEADER_SYS_SOCKET,
149 gl_HUMAN, gl_IDCACHE, gl_INET_NTOP, gl_INTTOSTR, gl_LINEBUFFER,
150 gl_LOCALCHARSET, gl_LONG_OPTIONS, gl_MBCHAR, gl_MBITER,
151 gl_MBSWIDTH, gl_MD5, gl_MEMCOLL, gl_MKANCESDIRS, gl_MKDIR_PARENTS,
152 gl_MODECHANGE, gl_MOUNTLIST, gl_OBSTACK, gl_PATHMAX, gl_PHYSMEM,
153 gl_POSIXTM, gl_POSIXVER, gl_QUOTEARG, gl_QUOTE, gl_READTOKENS,
154 gl_READUTMP, gl_REGEX, gl_SAFE_READ, gl_SAFE_WRITE, gl_SAME,
155 gl_SAVEDIR, gl_SAVE_CWD, gl_SETTIME, gl_SHA1, gl_STAT_MACROS,
156 gl_STAT_TIME, gl_STDARG_H, gl_STDINT_H, gl_STDLIB_SAFER,
157 gl_STRCASE, gl_STRIPSLASH, gl_TIMESPEC, gl_TIME_R,
158 gl_TYPE_SOCKLEN_T, gl_UNICODEIO, gl_UNISTD_SAFER, gl_UNLINKDIR,
159 gl_USERSPEC, gl_UTIMECMP, gl_UTIMENS, gl_XALLOC, gl_XGETCWD,
160 gl_XNANOSLEEP, gl_XREADLINK, gl_XSTRTOD, gl_XSTRTOL, gl_XSTRTOLD,
161 gl_YESNO, AC_FUNC_CALLOC, gl_FUNC_GLIBC_UNLOCKED_IO,
162 gl_FUNC_GNU_STRFTIME, AC_FUNC_MALLOC, gl_FUNC_MEMCMP,
163 gl_FUNC_NANOSLEEP, gl_FUNC_PUTENV, AC_FUNC_REALLOC, gl_FUNC_UTIME,
164 gl_XSTRTOIMAX, gl_XSTRTOUMAX, vb_FUNC_RENAME, gl_FUNC_FTS,
165 gl_MEMCASECMP, gl_STRIPSLASH, gl_LINEBUFFER, gl_ARGMATCH,
166 gl_CYCLE_CHECK, gl_EUIDACCESS_STAT, since gnulib handles this.
167 * stat-prog.m4 (cu_PREREQ_STAT_PROG): Don't check for
168 sys/sysmacros.h. Don't check for statvfs. Use AC_CHECK_HEADERS_ONCE
169 for netinet/in.h, nfs/nfs_clnt.h, nfs/vfs.h.
170 Don't require gl_AC_TYPE_LONG_LONG, gt_HEADER_INTTYPES_H.
172 * absolute-header.m4, acl.m4, alloca.m4, allocsa.m4, arpa_inet_h.m4:
173 * assert.m4, atexit.m4, backupfile.m4, basename.m4, bison.m4:
174 * c-strtod.m4, c.m4, calloc.m4, canon-host.m4, canonicalize.m4:
175 * chdir-long.m4, chdir-safer.m4, chown.m4, clock_time.m4:
176 * cloexec.m4, close-stream.m4, closeout.m4, codeset.m4:
177 * cycle-check.m4, d-ino.m4, d-type.m4, dev-ino.m4, diacrit.m4:
178 * dirfd.m4, dirname.m4, dos.m4, double-slash-root.m4, dup2.m4:
179 * eealloc.m4, eoverflow.m4, error.m4, euidaccess.m4, exclude.m4:
180 * exitfail.m4, extensions.m4, fcntl-safer.m4, file-type.m4:
181 * fileblocks.m4, filemode.m4, filenamecat.m4, fnmatch.m4:
182 * fpending.m4, fprintftime.m4, free.m4, fstypename.m4, fsusage.m4:
183 * ftruncate.m4, fts.m4, getaddrinfo.m4, getcwd-abort-bug.m4:
184 * getcwd-path-max.m4, getcwd.m4, getdate.m4, getdelim.m4:
185 * getgroups.m4, gethostname.m4, gethrxtime.m4, getline.m4:
186 * getndelim2.m4, getopt.m4, getpagesize.m4, getpass.m4, gettext.m4:
187 * gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4:
188 * glibc21.m4, group-member.m4, hard-locale.m4, hash-pjw.m4, hash.m4:
189 * host-os.m4, human.m4, iconv.m4, idcache.m4, inet_ntop.m4:
190 * intmax_t.m4, inttostr.m4, inttypes-h.m4, inttypes-pri.m4:
191 * inttypes.m4, inttypes_h.m4, isc-posix.m4, jm-winsz1.m4:
192 * jm-winsz2.m4, lchmod.m4, lchown.m4, lib-ignore.m4, lib-ld.m4:
193 * lib-link.m4, lib-prefix.m4, linebuffer.m4, link-follow.m4:
194 * localcharset.m4, long-options.m4, longdouble.m4, longlong.m4:
195 * ls-mntd-fs.m4, lstat.m4, mbchar.m4, mbiter.m4, mbrtowc.m4:
196 * mbstate_t.m4, mbswidth.m4, md5.m4, memcasecmp.m4, memchr.m4:
197 * memcmp.m4, memcoll.m4, memcpy.m4, memmove.m4, mempcpy.m4:
198 * memrchr.m4, memset.m4, mkancesdirs.m4, mkdir-p.m4, mkdir-slash.m4:
199 * mkstemp.m4, mktime.m4, modechange.m4, mountlist.m4, nanosleep.m4:
200 * netinet_in_h.m4, nls.m4, obstack.m4, openat.m4, pathmax.m4:
201 * perl.m4, physmem.m4, po.m4, posixtm.m4, posixver.m4, progtest.m4:
202 * putenv.m4, quote.m4, quotearg.m4, readlink.m4, readtokens.m4:
203 * readutmp.m4, regex.m4, rename.m4, rmdir-errno.m4, rmdir.m4:
204 * rpmatch.m4, safe-read.m4, safe-write.m4, same-inode.m4, same.m4:
205 * save-cwd.m4, savedir.m4, setenv.m4, settime.m4, sha1.m4:
206 * sig2str.m4, signed.m4, snprintf.m4, socklen.m4, sockpfaf.m4:
207 * ssize_t.m4, st_dm_mode.m4, stat-macros.m4, stat-time.m4:
208 * stdarg.m4, stdbool.m4, stdint.m4, stdint_h.m4, stdio-safer.m4:
209 * stdlib-safer.m4, stpcpy.m4, strcase.m4, strcspn.m4, strdup.m4:
210 * strftime.m4, stripslash.m4, strndup.m4, strnlen.m4, strpbrk.m4:
211 * strstr.m4, strtod.m4, strtoimax.m4, strtol.m4, strtoll.m4:
212 * strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4:
213 * sys_socket_h.m4, time_r.m4, timespec.m4, tm_gmtoff.m4, tzset.m4:
214 * uint32_t.m4, uintmax_t.m4, uintptr_t.m4, ullong_max.m4:
215 * ulonglong.m4, unicodeio.m4, unistd-safer.m4, unlink-busy.m4:
216 * unlinkdir.m4, unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4:
217 * utime.m4, utimecmp.m4, utimens.m4, utimes-null.m4, utimes.m4:
218 * vasnprintf.m4, vasprintf.m4, version-etc.m4, wchar_t.m4:
219 * wcwidth.m4, wint_t.m4, xalloc.m4, xgetcwd.m4, xnanosleep.m4:
220 * xreadlink.m4, xstrtod.m4, xstrtoimax.m4, xstrtol.m4:
221 * xstrtoumax.m4, yesno.m4:
222 Remove from CVS, since ../bootstrap generates them automatically.
224 2006-08-18 Bruno Haible <bruno@clisp.org>
226 * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Also check for
227 sys/statvfs.h. When getmntinfo was found, check its declaration and
228 set either MOUNTED_GETMNTINFO or MOUNTED_GETMNTINFO2 depending on it.
229 * stat-prog.m4 (cu_PREREQ_STAT_PROG): Test also for f_fstypename
232 2006-08-18 Jim Meyering <jim@meyering.net>
234 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Also check for CLOCK_REALTIME,
235 since gethrxtime may revert to using clock_gettime via gettime.c.
236 Gabor Z. Papp reported that gethrxtime-using programs failed to
237 link due to unresolved clock_gettime on a linux-2.4.x system.
239 2006-08-17 Paul Eggert <eggert@cs.ucla.edu>
241 * ChangeLog: Add copyright notice.
242 * check-decl.m4: Likewise.
244 2006-08-15 Jim Meyering <jim@meyering.net>
246 * openat.m4 (gl_FUNC_OPENAT): Add at-func.c via AC_LIBSOURCES.
248 2006-08-10 Jim Meyering <jim@meyering.net>
251 * cycle-check.m4 (gl_CYCLE_CHECK): Don't mention same-inode.h.
252 Require gl_STRUCT_DEV_INO and gl_SAME_INODE.
253 * dev-ino.m4, same-inode.m4: New files.
255 2006-08-10 Paul Eggert <eggert@cs.ucla.edu>
257 Accommodate new getaddrinfo implementation in gnulib.
258 * arpa_inet_h.m4, inet_ntop.m4, netinet_in_h.m4, snprintf.m4:
259 New files, from gnulib.
260 * prereq.m4 (gl_PREREQ): Require gl_FUNC_SNPRINTF, gl_GETADDRINFO,
261 gl_HEADER_ARPA_INET, gl_HEADER_NETINET_IN, gl_HEADER_SYS_SOCKET,
262 gl_INET_NTOP, gl_TYPE_SOCKEN_T.
264 2006-08-09 Paul Eggert <eggert@cs.ucla.edu>
266 * inttypes-h.m4, stdarg.m4: New files, from gnulib.
267 * prereq.m4 (gl_PREREQ): Require gl_STDARG_H.
268 Require gl_FOPEN_SAFER rather than gl_STDIO_SAFER (due to renaming).
269 * getline.m4, gettext.m4, inttypes-pri.m4, lib-link.m4, localcharset.m4:
270 * mbchar.m4, nls.m4, po.m4, stdint.m4, stdio-safer.m4, unistd-safer.m4:
274 2006-08-08 Paul Eggert <eggert@cs.ucla.edu>
276 * memxfrm.m4, randint.m4, randperm.m4, randread.m4: New files.
278 * prereq.m4 (gl_PREREQ): Require gl_MEMXFRM, gl_RANDINT, gl_RANDPERM,
281 * restrict.m4: Remove, now that we assume Autoconf 2.58 or later.
282 All uses of gl_C_RESTRICT changed to AC_C_RESTRICT.
284 2006-07-22 Paul Eggert <eggert@cs.ucla.edu>
286 * close-stream.m4: New file.
287 * prereq.m4 (gl_PREREQ): Require gl_CLOSE_STREAM.
289 2006-07-16 Paul Eggert <eggert@cs.ucla.edu>
291 * mkancesdirs.m4: New file.
292 * afs.m4: Remove; no longer needed.
293 * jm-macros.m4 (gl_MACROS): Remove gl_AFS.
294 * mkdir-p.m4 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h.
295 Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed.
296 Require gl_FUNC_LCHOWN, since dirchownmod.c needs it.
297 * prereq.m4 (gl_PREREQ): Require gl_MKANCESDIRS.
299 2006-07-11 Eric Blake <ebb9@byu.net>
301 * absolute-header.m4: Fix comments to match recent change.
303 2006-07-10 Derek R. Price <derek@ximbiot.com>
304 and Paul Eggert <eggert@cs.ucla.edu>
306 * backupfile.m4, d-ino.m4, d-type.m4, dirfd.m4, fts.m4, getcwd.m4:
308 Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN
309 macros into the GNU _D_EXACT_NAMLEN.
311 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
313 * stdint.m4 (gl_STDINT_H): Like yesterday's change to
314 absolute-header.m4. Also, set ABSOLUTE_STDINT_H to a string
315 "no/such/file/stdint.h" when there is no such file, so that
316 the resulting C code can be parsed by dodgy compilers.
317 Problems reported by Bob Proulx.
319 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
321 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
322 around the absolute name, to work around a problem with the HP-UX
323 11.23 native C compiler, reported by Bob Proulx.
325 Update from gnulib, as follows:
327 2006-07-06 Derek R. Price <derek@ximbiot.com>
328 and Paul Eggert <eggert@cs.ucla.edu>
330 * backupfile.m4 (gl_BACKUPFILE): Check for dirent.h, instead
331 of invoking obsolescent AC_HEADER_DIRENT macro.
332 * d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
333 * d-type.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Likewise.
334 * dirfd.m4 (gl_FUNC_DIRFD): Likewise.
335 * fts.m4 (gl_FUNC_FTS_CORE): Likewise.
336 * getcwd.m4 (gl_PREREQ_GETCWD): Likewise.
337 * savedir.m4 (gl_SAVEDIR): Likewise.
339 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
341 * fileblocks.m4 (gl_PREREQ_FILEBLOCKS): AC_CHECK_DECLS_ONCE may
342 expand to nothing, so add a shell command to avoid syntax error.
343 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
345 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
347 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't check for getenv decl;
348 no longer needed. Check for isblank decl.
349 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Don't check for getenv decl.
350 * regex.m4 (gl_PREREQ_REGEX): Dheck for isblank decl instead
353 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
355 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Use AC_CHECK_DECLS_ONCE
356 rather than AC_CHECK_DECLS for strtoimax and strtoumax.
357 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed.
359 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
360 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
361 * exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer needed.
362 * getdate.m4 (gl_GETDATE): Likewise.
363 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
364 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
365 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
366 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
367 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
368 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
369 * exclude.m4 (gl_EXCLUDE): Don't require AC_C_INLINE; no longer
372 2006-07-05 Derek R. Price <derek@ximbiot.com>
374 * calloc.m4 (_AC_FUNC_CALLOC_IF): Don't require AC_HEADER_STDC;
376 * exclude.m4 (gl_EXCLUDE): Likewise.
377 * getdate.m4 (gl_GETDATE): Likewise.
378 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
379 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
380 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
381 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
382 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
384 2006-07-05 Eric Blake <ebb9@byu.net>
386 * sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
387 to avoid 'header present but could not be compiled' on cygwin.
389 2006-07-03 Bruno Haible <bruno@clisp.org>
391 * strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, check whether
392 the function exists, before testing against AIX.
393 Reported by Martin Lambers <marlam@marlam.de>.
395 2006-07-04 Paul Eggert <eggert@cs.ucla.edu>
397 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
398 to the absolute name, not just one, to bypass Sun C 5.8's
399 "warning: #include of /usr/include/... may be non-portable".
401 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
403 * absolute-header.m4: Renamed from full-header-path.m4.
404 This is to keep the terminology clean; POSIX talks about
405 "absolute pathnames", not "full pathnames", but the GNU
406 Coding Standards say to use "path" for something else;
407 so use "absolute" to keep both sides happy.
408 (gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
409 Set gl_absolute_header, not gl_full_header_path.
410 Set gl_cv_absolute_<header>, not gl_full_path_<header>.
411 Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
414 2006-07-08 Jim Meyering <jim@meyering.net>
416 * link-follow.m4: Remove one of two adjacent "whether"s in a comment.
417 * getopt.m4: Remove one of two adjacent "your"s in a comment.
418 * autobuild.m4: Remove one of two adjacent "can"s in a comment.
419 * regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment.
421 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
423 * prereq.m4 (gl_PREREQ): Require gl_FUNC_WCWIDTH, to accommodate
424 changes mentioned below.
425 * setenv.m4 (gt_FUNC_SETENV): Undo private change that added an
426 AC_LIBSOURCES line here, since Bruno didn't buy it back. Instead,
427 update ../lib/Makefile.am to mention the files explicitly.
431 2006-06-28 Simon Josefsson <jas@extundo.com>
433 * getaddrinfo.m4: Look for getnameinfo prototypes too.
435 2006-06-28 Eric Blake <ebb9@byu.net>
437 * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
438 * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
440 2006-06-22 Simon Josefsson <jas@extundo.com>
442 * sockpfaf.m4: Include winsock2.h too, to make it work under
445 2006-06-21 Simon Josefsson <jas@extundo.com>
447 * getaddrinfo.m4: Don't define WINVER. Look for gethostbyname in
448 -lws2_32 too. Fixes getaddrinfo on Windows 2000, with the price
449 of using the (limited) gnulib implementation on Windows XP.
451 2006-06-17 Bruno Haible <bruno@clisp.org>
453 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
454 whether errno is declared. Assume <errno.h> declares errno.
456 2006-06-16 Eric Blake <ebb9@byu.net>
458 * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
461 2006-06-15 Eric Blake <ebb9@byu.net>
463 * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
465 2006-04-20 Bruno Haible <bruno@clisp.org>
467 * getpass.m4 (gl_PREREQ_GETPASS):
468 Don't call AC_CHECK_DECLS_ONCE with more than
469 one argument, so that the code will be portable to Autoconf 2.60.
470 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
472 2006-03-15 Eric Blake <ebb9@byu.net>
474 * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
476 2006-07-03 Jim Meyering <jim@meyering.net>
478 * ftruncate.m4 (gl_FUNC_FTRUNCATE): Adjust diagnostic to recommend
479 ./configure SKIP_FTRUNCATE_CHECK=yes, rather than env ... ./configure.
480 Suggestion from Ralf Wildenhues.
482 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
484 * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
485 test cases, so that config.log is a bit easier to follow.
487 2006-07-02 Jim Meyering <jim@meyering.net>
489 * full-header-path.m4: New file, from gnulib. Required by stdint.m4.
491 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
493 * longlong.m4: Sync from gnulib.
494 * stdint.m4: Likewise.
495 * ulonglong.m4: Likewise.
497 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
499 * c-strtod.m4 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
500 Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
501 want to require the building of c-strtod.o.
502 * lib-check.m4 (cu_LIB_CHECK): Remove SEQ_LIBM, since seq no longer
504 * prereq.m4 (gl_PREREQ): Require gl_C_STRTOD and gl_XSTRTOLD.
505 * xstrtod.m4 (gl_XSTRTOLD): New macro.
507 2006-06-29 Derek R. Price <derek@ximbiot.com>
509 * strftime.m4: Don't call AC_FUNC_STRFTIME.
511 2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
513 * jm-macros.m4 (jl_MACROS): Require 2.60, not 2.59d.
514 * jm-macros.m4 (gl_CHECK_ALL_TYPES): Don't require AC_C_CONST, since
517 2006-06-28 Derek R. Price <derek@ximbiot.com>
519 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
521 * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
522 * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
524 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
526 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
527 --as-needed option if available. Problem reported by Albert Chin in
528 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
529 However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
530 cc merely issues a bunch of annoying warnings for --as-needed
531 (this problem was reported by Bob Proulx). Also, try linking with
532 -lm to detect a bug in binutils 2.16 (this problem was reported
535 2006-06-18 Jim Meyering <jim@meyering.net>
537 Test for a bug that causes glibc's getcwd to suffer a failed assertion.
538 * getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
539 * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
540 also check for glibc-2.4's abort-inducing bug.
542 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
543 Low-probability clean-up should be to use rmdir to get rid of
544 the just-created directory, not unlink.
546 * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
547 configure fail, and request a bug report to inform us about it.
548 Add a comment that, barring reports to the contrary, in 2007 we'll
549 assume ftruncate is universally available.
551 2006-06-10 Jim Meyering <jim@meyering.net>
553 Apply this change from gnulib:
555 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
556 Bruno Haible <bruno@clisp.org>
558 * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
559 check for the declaration of strnlen and a run test that exposes the
560 AIX 5.1 strnlen bug. In the failure case, #define strndup to
563 2006-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
565 * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
566 compile test, for Tru64 4.0D.
568 2006-05-24 Jim Meyering <jim@meyering.net>
570 * jm-macros.m4: Require autoconf-2.59d, for its fixed version
571 of AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
573 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
575 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
576 gl_ rather than jm_. Link, don't run, so that cross-compiles are
577 allowed. Check that resulting type is arithmetic. Move AC_REQUIRE
578 and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
579 not really conditional on the cache.
580 (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
582 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
584 * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
585 test for C99 conformance; (bool) 0.5 is an integer constant
586 expression, but (bool) -0.5 is not. Problem reported by Fedor
587 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
589 2006-02-17 Eric Blake <ebb9@byu.net>
592 * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
594 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
596 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
597 to define main with arguments, for C++. Reported by Eric Blake.
598 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
599 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
600 for 'main', for C99 and C++.
602 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
604 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
605 Don't assume that exit status -1 is valid.
606 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
607 * putenv.m4 (gl_FUNC_PUTENV): Likewise.
608 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
609 * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
610 * rename.m4 (vb_FUNC_RENAME): Likewise.
611 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
612 not AC_TRY_RUN. Use return, not exit. Don't assume that
613 functions can be used without declaring them, or that you can
615 * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
617 2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
619 * filemode.m4 (gl_FILEMODE): Check for strmode declaration.
621 2006-04-12 Paul Eggert <eggert@cs.ucla.edu>
623 * jm-macros.m4 (gl_MACROS): Check for setgroups and sync, since they
626 2006-04-11 Paul Eggert <eggert@cs.ucla.edu>
628 * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
630 2006-04-09 Paul Eggert <eggert@cs.ucla.edu>
632 * regex.m4 (gl_REGEX): Check for new glibc interface to
635 2006-03-11 Eric Blake <ebb9@byu.net>
637 * double-slash-root.m4: New file, provides gl_DOUBLE_SLASH_ROOT.
638 * dirname.m4 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
639 * dos.m4 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
640 (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
642 2006-03-25 Paul Eggert <eggert@cs.ucla.edu>
644 * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
645 REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
646 glibc names. Even if glibc is changed to conform to POSIX, the
647 traditional names will be available anyway, since regex depends on
648 the extensions module. Also, fix a longstanding typo in the
649 implementation of Spencer ERE test #75 from grep 2.3. Problems
650 reported by Emanuele Giaquinta. Also, change sense of cached
651 variable, so that the message makes sense.
653 2006-03-17 Jim Meyering <jim@meyering.net>
655 * regex.m4 (gl_REGEX): Fix typo in last change:
656 s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
658 2006-03-16 Paul Eggert <eggert@cs.ucla.edu>
660 * regex.m4 (gl_REGEX): Don't check for off_t, since the code
661 no longer needs it. Instead, check that regoff_t is as least
662 as wide as ptrdiff_t.
664 Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
665 so that our regex.h stays compatible with the installed regex.
666 This is helpful for installers who configure --without-included-regex.
667 Problem reported by Emanuele Giaquinta.
669 2006-03-12 Jim Meyering <jim@meyering.net>
671 * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.
672 * cycle-check.m4 (gl_CYCLE_CHECK): Likewise.
673 * same.m4 (gl_SAME): Likewise.
674 * root-dev-ino.m4 (gl_ROOT_DEV_INO): Likewise.
676 2006-03-12 Paul Eggert <eggert@cs.ucla.edu>
678 * prereq.m4 (gl_PREREQ): Require gl_TIME_R.
679 * time_r.m4: New file, from gnulib.
681 2006-03-01 Paul Eggert <eggert@cs.ucla.edu>
683 * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
684 not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
686 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
687 * timespec.m4 (gl_TIMESPEC): Likewise.
689 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
690 not "==". Reported by Ralf Wildenhues.
692 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
694 * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
697 2006-02-16 Eric Blake <ebb9@byu.net>
700 * sys_socket_h.m4: New file. Solves 'present but cannot compile'
701 warnings on cygwin, which cannot use ws2tcpip.h.
702 * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET.
703 Don't use ws2tcpip.h if sys/socket.h works.
704 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use
705 gl_HEADER_SYS_SOCKET.
706 (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is
709 2006-02-14 Simon Josefsson <jas@extundo.com>
712 * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
713 -lws2_32. Protect sys/socket.h and netdb.h #include's. Include
714 ws2tcpip.h with WINVER=0x0501. All for mingw32.
715 * socklen.m4: Look in ws2tcpip.h too, for mingw32.
717 2006-02-05 Paul Eggert <eggert@cs.ucla.edu>
719 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
720 __EXTENSIONS__ if this causes compilation to fail. Problem
721 reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
722 c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
724 2006-01-26 Paul Eggert <eggert@cs.ucla.edu>
726 * stdbool.m4 (AC_HEADER_STDBOOL): Sync from gnulib.
727 Use 'defined __GNUC__' rather than __GNUC__.
729 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
731 * stdbool.m4: Merge from gnulib; we still don't quite match
732 exactly, but we're getting closer.
733 (AC_HEADER_STDBOOL): Add some comments.
735 2006-01-24 Jim Meyering <jim@meyering.net>
737 * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
738 Reported by Mark D. Baushke.
740 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
742 * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
744 2006-01-20 Paul Eggert <eggert@cs.ucla.edu>
746 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
747 rather than -Xlinker -z -Xlinker ignore, as it's more portable.
748 Suggested by Bruno Haible.
750 2006-01-17 Jim Meyering <jim@meyering.net>
752 * fts.m4 (gl_FUNC_FTS_CORE): Depend on gl_FUNC_OPENAT.
754 2006-01-16 Paul Eggert <eggert@cs.ucla.edu>
756 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
757 it's not portable and it doesn't work with cross-compiles.
758 Problem reported by Bruno Haible. Fix missing-$ typo in
759 'test "gl_cv_ignore_unused_libraries" ...' that prevented
760 -zignore from being used with Sun's C compiler.
762 2006-01-13 Jim Meyering <jim@meyering.net>
764 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
765 unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
766 gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
767 variable, to accommodate the rare case in which getmntent is
768 available in none of the libraries checked. This happens at
769 least on FreeBSD 5.0.
771 2006-01-11 Paul Eggert <eggert@cs.ucla.edu>
773 * prereq.m4 (gl_PREREQ): Require gl_STDINT_H.
774 * stdint.m4: New file, from gnulib.
776 2006-01-11 Jim Meyering <jim@meyering.net>
778 * openat.m4 (gl_FUNC_OPENAT): Require and compile fchmodat.c.
779 Check for the lchmod function.
781 2006-01-10 Paul Eggert <eggert@cs.ucla.edu>
783 * argmatch.m4 (gl_ARGMATCH): Don't require gl_FUNC_MEMCMP, for the
784 sake of packages that don't want to worry about ancient systems.
786 * getaddrinfo.m4, localcharset.m4, md5.m4, memcoll.m4:
789 2006-01-10 Jim Meyering <jim@meyering.net>
791 * fpending.m4: Also include <stdio.h>, for Dragonfly.
792 Patch by Joerg Sonnenberger.
794 2006-01-06 Paul Eggert <eggert@cs.ucla.edu>
796 * lib-ignore.m4: New file.
798 2006-01-01 Paul Eggert <eggert@cs.ucla.edu>
800 * chmod-safer.m4: Remove.
801 * lchmod.m4: New file.
802 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_LCHMOD.
803 Don't require gl_CHDIR_SAFER.
805 2005-12-21 Jim Meyering <jim@meyering.net>
807 * chdir-safer.m4: New file.
808 * jm-macros.m4: Require gl_CHDIR_SAFER.
810 2005-12-05 Andreas Gruenbacher <agruen@suse.de>
812 * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
814 2005-12-14 Jim Meyering <jim@meyering.net>
816 * fprintftime.m4: New file.
817 * jm-macros.m4: Require gl_FPRINTFTIME.
819 2005-12-13 Paul Eggert <eggert@cs.ucla.edu>
821 * stdbool.m4 (AM_STDBOOL_H): Substitute HAVE__BOOL again, reverting
823 (AC_HEADER_STDBOOL): Check for buggy compiler that
824 has _Bool but mishandles _Bool |= _Bool.
826 2005-12-07 Paul Eggert <eggert@cs.ucla.edu>
828 * stat-time.m4 (gl_STAT_TIME): Add check for
829 TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
830 porting problem reported by Georg Schwarz in
831 <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
833 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
835 * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
836 Use implementation from Albert Chin, with some
837 comments/corrections by Stepan Kasal and myself.
838 * jm-macros.m4 (gl_MACROS): Adjust to renaming.
840 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
842 * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
843 statement, to work around an HP-UX 10.20 compiler bug reported by
846 2005-12-01 Bruno Haible <bruno@clisp.org>
849 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
850 mbchar.c if they are not both present.
851 * mbiter.m4 (gl_MBITER): Likewise.
852 * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
853 * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
855 2005-11-30 Jim Meyering <jim@meyering.net>
857 * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
858 Require openat-priv.h.
860 2005-11-25 Paul Eggert <eggert@cs.ucla.edu>
862 * stdbool.m4 (AM_STDBOOL_H): Don't bother substituting HAVE__BOOL;
864 (gl_STDBOOL_H): New macro, from gnulib.
865 (AC_HEADER_STDBOOL): Sync with gnulib.
867 2005-11-20 Jim Meyering <jim@meyering.net>
869 * c.m4: Remove spurious space-before-TAB.
871 * euidaccess-stat.m4 (gl_EUIDACCESS_STAT): New file/macro.
872 * prereq.m4: Require gl_EUIDACCESS_STAT.
874 2005-11-18 Paul Eggert <eggert@cs.ucla.edu>
876 * c.m4: New file, to work around bugs in AIX cc.
877 Problem reported by James Lemley. This file can go away
878 after Autoconf 2.60 comes out.
880 2005-11-10 Paul Eggert <eggert@cs.ucla.edu>
882 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
883 or gettimeofday; no longer needed.
885 2005-10-30 Paul Eggert <eggert@cs.ucla.edu>
887 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
888 variables to suggest the intended function of the PATH_MAX check.
890 2005-10-30 Kean Johnston <jkj@sco.com>
892 Trivial changes to support SCO systems.
893 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
895 * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
896 where __ptr is null when no I/O is pending.
898 2005-08-27 David Madore <david.madore@ens.fr>
900 * sha256.m4, sha512.m4: New files.
901 * prereq.m4: Add gl_SHA256 and gl_SHA512.
903 2005-10-07 Paul Eggert <eggert@cs.ucla.edu>
905 * stdbool.m4 (AC_HEADER_STDBOOL): Add an "#ifdef __xlc__" test,
906 since yesterday's attempt didn't work.
908 2005-10-06 Paul Eggert <eggert@cs.ucla.edu>
910 * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
911 promotes to int, not unsigned int, to catch the AIX 5.3
914 2005-10-02 Alfred M. Szmidt <ams@gnu.org>
916 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
917 against `yes', rather than just testing for nonempty.
919 2005-10-01 Simon Josefsson <jas@extundo.com>
921 * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
924 2005-10-01 Simon Josefsson <jas@extundo.com>
926 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use AC_GNU_SOURCE,
927 GNU declares only getaddrinfo as an (POSIX) extension.
928 Check for sys/types.h, sys/socket.h, and netdb.h too,
929 needed by getaddrinfo.h.
930 Check if getaddrinfo, freeaddrinfo and gai_strerror are
931 declared by the POSIX headers.
932 Check if struct addrinfo is declared.
934 2005-10-01 Jim Meyering <jim@meyering.net>
936 * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
937 libraries [inet nsl socket xnet]. Nelson Beebe reported that with
938 native cc on Solaris 7, getaddrinfo.c requires -lsocket.
940 2005-09-29 Paul Eggert <eggert@cs.ucla.edu>
942 * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
944 2005-09-28 Paul Eggert <eggert@cs.ucla.edu>
946 * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
947 defines ULONG_MAX_LT_ULLONG_MAX. Thomas M.Ott reports that
948 ULLONG_MAX doesn't work with 2.7.2.1.
950 2005-09-26 Jim Meyering <jim@meyering.net>
952 * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
953 from glibc-2.2.5 that fails for read-only files.
955 2005-09-24 Paul Eggert <eggert@cs.ucla.edu>
957 * jm-macros.m4 (gl_MACROS): Check for fchmod and fchown.
959 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h, and
960 don't compile mbchar.c unless both headers exist. See
961 <http://lists.gnu.org/archive/html/bug-gnulib/2005-09/msg00242.html>.
963 2005-09-24 Jim Meyering <jim@meyering.net>
965 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
966 in the inet and nsl libraries. Required on Solaris 5.7.
968 2005-09-23 Paul Eggert <eggert@cs.ucla.edu>
970 * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
971 and similarly for the other external symbols. Problem reported
974 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
975 bug reported by Jim Meyering.
977 * jm-macros.m4 (gl_MACROS): Don't require gl_CHECK_TYPE_STRUCT_UTIMBUF.
978 (gl_CHECK_ALL_HEADERS): Don't check for utime.h.
979 * utimens.m4 (gl_UTIMENS): Check for futimesat (Solaris 10).
980 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
981 not needed, since socklen is a prerequisite module.
983 2005-09-23 Jim Meyering <jim@meyering.net>
985 * jm-macros.m4 (gl_MACROS): AC_REQUIRE([gl_SOCKLEN_T]) here,
986 now that it's no longer required by getaddrinfo.m4.
988 Correct build failure (socklen_t not defined) on at least
989 mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
990 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
991 * socklen.m4: New file, from gnulib.
993 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
995 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
997 2005-09-21 Paul Eggert <eggert@cs.ucla.edu>
999 * check-decl.m4 (_gl_DECL_HEADERS): Don't bother checking for
1000 standard C headers, or for headers we no longer use.
1001 * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_XANSTRFTIME;
1003 (gl_CHECK_ALL_HEADERS): Don't check for memory.h, mntent.h, mnttab.h,
1004 netdb.h, stdlib.h, stdint.h, string.h, sys/filsys.h, sys/fs/s5param.h,
1005 sys/fs_types.h, sys/fstyp.h, sys/mntent.h, sys/socket.h, sys/stafs.h,
1006 sys/timeb.h, unistd.h. No longer needed.
1007 * prereq.m4 (gl_PREREQ): Require gl_FUNC_GETLINE rather than
1008 AM_FUNC_GETLINE. Require gl_FUNC_GETPASS_GNU rather than
1009 gl_FUNC_GETPASS. Require gl_MBCHAR and gl_MBITER.
1011 * xanstrftime.m4: Remove; no longer used.
1013 * getaddrinfo.m4, getdelim.m4, mbchar.m4, mbiter.m4, sockpfaf.m4:
1014 New files, from gnulib.
1016 * backupfile.m4, bison.m4, calloc.m4:
1017 * canonicalize.m4, chown.m4, cloexec.m4, dup2.m4:
1018 * fileblocks.m4, free.m4, ftruncate.m4, fts.m4:
1019 * getcwd.m4, getopt.m4, getpagesize.m4, getpass.m4:
1020 * getugroups.m4, group-member.m4, idcache.m4:
1021 * lib-link.m4, lib-prefix.m4, link-follow.m4:
1022 * mkdir-p.m4, mkstemp.m4, mktime.m4, mountlist.m4:
1023 * nanosleep.m4, onceonly_2_57.m4, pathmax.m4:
1024 * physmem.m4, posixver.m4, putenv.m4, safe-read.m4:
1025 * same.m4, save-cwd.m4, stdio-safer.m4, strndup.m4:
1026 * strnlen.m4, unistd-safer.m4, unlinkdir.m4:
1027 * userspec.m4, xreadlink.m4, xstrtod.m4:
1030 * canon-host.m4, getline.m4, mbrtowc.m4, strcase.m4, strstr.m4:
1031 Nontrivial sync from gnulib.
1033 2005-09-16 Paul Eggert <eggert@cs.ucla.edu>
1035 * jm-macros.m4 (gl_CHECK_ALL_TYPES): Do not require
1036 AC_STRUCT_ST_MTIM_NSEC; it's obsolete.
1037 * prereq.m4 (gl_PREREQ): Require gl_STAT_TIME.
1040 * st_mtim.m4: Remove. Superseded by...
1041 * stat-time.m4: New file.
1042 * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
1043 Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
1045 2005-09-13 Jim Meyering <jim@meyering.net>
1047 * autobuild.m4: New file, from autobuild.
1049 2005-09-09 Paul Eggert <eggert@cs.ucla.edu>
1051 * regex.m4: Import from gnulib, to fix some 64-bit bugs.
1053 2005-09-01 Jim Meyering <jim@meyering.net>
1055 * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
1056 CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
1057 Require gl_STAT_MACROS, too.
1059 2005-08-27 Jim Meyering <jim@meyering.net>
1061 * fcntl-safer.m4, stdio-safer.m4, unistd-safer.m4: Sync from gnulib.
1063 2005-08-01 Jim Meyering <jim@meyering.net>
1065 * xanstrftime.m4 (gl_FUNC_XANSTRFTIME): New file/macro.
1066 * jm-macros.m4: Require gl_FUNC_XANSTRFTIME.
1068 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1070 * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_ELSE instead of the
1071 obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
1073 2005-07-21 Paul Eggert <eggert@cs.ucla.edu>
1075 * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
1076 (gl_GETDATE): Use it.
1078 2005-07-13 Paul Eggert <eggert@cs.ucla.edu>
1080 * lib-check.m4 (cu_LIB_CHECK): Remove no-longer-necessary check
1083 2005-07-08 Paul Eggert <eggert@cs.ucla.edu>
1085 * jm-macros.m4 (gl_CHECK_ALL_HEADERS): Check for stropts.h.
1087 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1089 * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1090 * same.m4 (gl_SAME): Likewise.
1091 Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1093 Switch to Isamu Hasegawa's implementation of regex, which is
1095 * regex.m4: Import from gnulib.
1097 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
1099 * prereq.m4 (gl_PREREQ): Don't require gl_TYPEOF; no longer needed.
1100 * typeof.m4: Remove; no longer needed.
1102 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1104 Remove the dependency of the strftime module on the tzset module.
1105 * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1106 * prereq.m4 (gl_PREREQ): Add gl_FUNC_TZSET_CLOBBER.
1108 2005-07-03 Jim Meyering <jim@meyering.net>
1110 * lstat.m4 (gl_FUNC_LSTAT): New file, from gnulib.
1111 Use AC_LIBSOURCES to require lstat.c and lstat.h.
1112 Remove obsolete comment.
1114 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1116 * fts.m4 (gl_FUNC_FTS_CORE): Don't require
1117 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
1119 * jm-macros.m4 (gl_MACROS): Likewise.
1120 * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
1122 2005-07-03 Jim Meyering <jim@meyering.net>
1124 * fcntl-safer.m4 (gl_FCNTL_SAFER): Add fcntl--.h to the list.
1125 * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h to the list.
1126 * stdlib-safer.m4 (gl_STDLIB_SAFER): Add stdlib--.h to the list.
1127 * unistd-safer.m4 (gl_UNISTD_SAFER): Add unistd--.h to the list.
1129 2005-07-02 Paul Eggert <eggert@cs.ucla.edu>
1131 Cleanup to isolate "safer" functions to a small part of the code.
1132 * fcntl-safer.m4, fd-reopen.m4, stdlib-safer.m4: New files.
1133 * prereq.m4 (gl_PREREQ): Require gl_FCNTL_SAFER,
1134 gl_FD_REOPEN, gl_STDLIB_SAFER.
1136 2005-07-02 Jim Meyering <jim@meyering.net>
1138 * check-decl.m4, chown.m4, free.m4, getcwd.m4, link-follow.m4:
1139 * mktime.m4: Assume HAVE_UNISTD_H, i.e., that <unistd.h> works.
1141 2005-07-01 Jim Meyering <jim@meyering.net>
1143 * chown.m4, cloexec.m4, dup2.m4, fsusage.m4, getcwd.m4, jm-macros.m4:
1144 * mkstemp.m4, mountlist.m4, save-cwd.m4, unistd-safer.m4:
1145 Don't check for fcntl.h anymore. Now we assume it exists and is usable.
1147 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1148 Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,
1149 and don't check for fcntl.h).
1151 2005-06-30 Jim Meyering <jim@meyering.net>
1153 * stdopen.m4 (gl_STDOPEN): New file/macro.
1154 * jm-macros.m4: Require it.
1156 2005-06-26 Jim Meyering <jim@meyering.net>
1158 * diacrit.m4 (gl_DIACRIT): New file/macro.
1159 * jm-macros.m4: Require it.
1161 2005-06-25 Jim Meyering <jim@meyering.net>
1163 * version-etc.m4 (gl_VERSION_ETC): New file/macro.
1164 * jm-macros.m4: Require it.
1166 * root-dev-ino.m4 (gl_ROOT_DEV_INO): New file/macro.
1167 * jm-macros.m4: Require it.
1169 2005-06-23 Jim Meyering <jim@meyering.net>
1171 * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
1172 * xstrtod.m4: Likewise.
1174 2005-06-19 Jim Meyering <jim@meyering.net>
1176 * xgetcwd.m4 (gl_XGETCWD): Add `AC_LIBOBJ([xgetcwd])'.
1177 Register xgetcwd.c and xgetcwd.h via AC_LIBSOURCES.
1179 * xfts.m4 (gl_FUNC_XFTS): New file/macro.
1180 * jm-macros.m4: Require it.
1182 2005-06-13 Jim Meyering <jim@meyering.net>
1184 * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
1186 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1188 * extensions.m4: Sync from gnulib; this defines
1189 _POSIX_PTHREAD_SEMANTICS for the benefit of Solaris.
1191 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
1193 * mkdir-p.m4: Renamed from makepath.m4.
1194 (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed.
1195 Rename files from makepath.c to mkdir-p.c, and from
1196 makepath.h to mkdir-p.h.
1197 * filenamecat.m4: Renamed from path-concat.m4.
1198 (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed.
1199 Rename files from path-concat.c to filenamecat.c,
1200 and from path-concat.h to filenamecat.h.
1201 * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1202 "file name" in local variables or comments.
1203 * rename.m4: Likewise.
1205 2005-05-30 Paul Eggert <eggert@cs.ucla.edu>
1207 * jm-macros.m4 (gl_CHECK_ALL_HEADERS): Check for priv.h.
1209 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1211 * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1212 and don't require gt_INTTYPES_PRI.
1214 * prereq.m4 (gl_PREREQ): Require gl_STRINTCMP, gl_STRNUMCMP.
1215 * strnumcmp.m4: New file.
1217 2005-05-20 Paul Eggert <eggert@cs.ucla.edu>
1219 * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1220 (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1222 2005-05-20 Eric Blake <ebb9@byu.net> (tiny change)
1224 * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1227 2005-05-18 Paul Eggert <eggert@cs.ucla.edu>
1229 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1230 Don't check for stddef.h.
1231 * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1232 don't use its results.
1233 Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1234 since we include them unconditionally. Don't require
1235 AM_STDBOOL_H, since stdbool is a prerequisite.
1236 Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1237 since we assume C89 or better.
1238 Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1239 as we don't use their results.
1240 Don't check for fchdir, memmove, memset, strrchr, as we use
1241 them unconditionally.
1242 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1243 GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1244 * jm-macros.m4 (gl_MACROS): Require AC_FUNC_LSTAT.
1245 Don't check for memcpy, strchr, strerror, strrchr, float.h.
1246 Use AC_REQUIRE on AM_LANGINFO_CODESET and gl_GLIBC21 rather
1247 than invoking them directly.
1248 (gl_CHECK_ALL_HEADERS): Don't check for errno.h, float.h,
1249 limits.h, stddef.h, since we assume C89 now.
1250 * lib-check.m4: Add copyright notice.
1251 (cu_LIB_CHECK): Renamed from gl_LIB_CHECK.
1252 Don't check for sqrt; factor no longer needs it.
1253 Revamp tests for floor, modf, rint, to define SEQ_LIBM.
1254 Redo tests for fesetround to act like the other wons.
1255 Use "cu_saved_libs" for local var name, not "ac_su_saved_lib".
1256 * prereq.m4: Add copyright notice.
1257 (gl_PREREQ): Add gl_LOCALCHARSET.
1258 * localcharset.m4: New file, from gnulib.
1260 2005-05-16 Jim Meyering <jim@meyering.net>
1262 * fts.m4 (gl_FUNC_FTS): Don't require AC_FUNC_MALLOC or
1263 AC_FUNC_REALLOC. They are not needed.
1265 2005-05-14 Jim Meyering <jim@meyering.net>
1267 * unlinkdir.m4: Register unlinkdir.c and unlinkdir.h via AC_LIBSOURCES.
1268 Add `AC_LIBOBJ([unlinkdir])'.
1270 2005-05-14 Paul Eggert <eggert@cs.ucla.edu>
1272 * prereqs.m4 (gl_PREREQ): Require gl_UNLINKDIR.
1273 * unlinkdir.m4: New file.
1275 2005-05-13 Jim Meyering <jim@meyering.net>
1277 * prereq.m4: Don't require gl_FUNC_STAT or gl_FUNC_LSTAT.
1278 * stat.m4: Remove unnecessary file.
1279 * lstat.m4: Remove unnecessary file.
1281 * readdir.m4 (GL_FUNC_READDIR): Remove, now that remove.c no
1283 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_READDIR.
1285 2005-05-10 Derek Price <derek@ximbiot.com>
1287 * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1290 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1292 * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1295 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1297 * getpass.m4, gettext.m4: Sync from gnulib.
1299 2005-04-28 Paul Eggert <eggert@cs.ucla.edu>
1301 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1302 * jm-macros.m4 (gl_CHECK_ALL_TYPES): Likewise.
1303 * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1304 (gl_PREREQ_CHOWN): Remove.
1305 * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1306 it. Don't require AC_HEADER_STAT.
1307 (gl_PREREQ_LSTAT): Remove.
1308 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1309 Don't require AC_HEADER_STAT.
1310 * prereq.m4 (gl_PREREQ): Require gl_STAT_MACROS.
1311 * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1312 (gl_PREREQ_RMDIR): Remove.
1314 2005-04-27 Paul Eggert <eggert@cs.ucla.edu>
1316 * stat-macros.m4: New file, from gnulib, except that gl_STAT_MACROS
1317 also requires AC_HEADER_STAT.
1318 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1319 mention stat-macros.h or AC_HEADER_STAT, since we'll make
1320 the stat-macros module a prerequisite.
1321 * file-type.m4 (gl_FILE_TYPE): Likewise.
1322 * filemode.m4 (gl_FILEMODE): Likewise.
1323 * makepath.m4 (gl_MAKEPATH): Likewise.
1324 * modechange.m4 (gl_MODECHANGE): Likewise.
1326 2005-04-18 Paul Eggert <eggert@cs.ucla.edu>
1328 * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1330 * jm-macros.m4 (gl_MACROS): Use gl_ or coreutils_ rather than fetish_
1332 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1333 fetish_FUNC_RMDIR_NOTEMPTY. All uses changed. Use gl_ for
1336 2005-04-11 Paul Eggert <eggert@cs.ucla.edu>
1338 Add bulletproofing for cases where stdin, stdout, or stderr are closed.
1339 * fcntl-safer.m4: Remove.
1340 * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1341 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1342 Invoke gl_PREREQ_FD_SAFER.
1343 (gl_PREREQ_FD_SAFER): New macro.
1344 * prereq.m4 (gl_PREREQ): Don't require gl_FCNTL_SAFER.
1346 2005-04-08 Paul Eggert <eggert@cs.ucla.edu>
1348 * jm-macros.m4 (gl_MACROS): Check for siginterrupt.
1349 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Likewise.
1350 * jm-macros.m4 (gl_CHECK_ALL_TYPES): Do not require AC_TYPE_SIGNAL.
1352 2005-03-30 Paul Eggert <eggert@cs.ucla.edu>
1354 * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1355 Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1356 Remove duplicate call to AC_LIBOBJ(readutmp).
1357 (gl_PREREQ_READUTMP): Remove. All uses inlined.
1359 2005-03-28 Eric Blake <ebb9@byu.net> (tiny change)
1361 * getcwd-path-max.m4: Return success on systems such as Cygwin
1362 where no absolute path name can be longer than PATH_MAX.
1364 2005-03-21 Paul Eggert <eggert@cs.ucla.edu>
1366 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Add stat-macros.h
1368 * file-type.m4 (gl_FILE_TYPE): Likewise.
1369 * filemode.m4 (gl_FILEMODE): Likewise.
1370 * makepath.m4 (gl_MAKEPATH): Likewise.
1371 * xstrtol.m4 (gl_XSTRTOL): Add xstrtoul.c to AC_LIBSOURCES.
1372 Add xstrtoul to AC_LIBOBJ.
1374 * onceonly.m4: Remove.
1375 * onceonly_2_57.m4: Add.
1376 This change shrinks "configure" by over 300 kB.
1378 Another change imported from gnulib.
1379 * memcasecmp.m4 (gl_MEMCASECMP): Renamed from gl_FUNC_MEMCASECMP.
1380 All uses changed. Require AC_HEADER_STDC instead of invoking it.
1381 Remove check for stddef.h, size_t, const, since we now assume
1384 2005-03-20 Paul Eggert <eggert@cs.ucla.edu>
1386 * gettext.m4, inttypes.m4, isc-posix.m4, lib-link.m4, nls.m4,
1387 onceonly.m4, po.m4: Sync from gnulib.
1389 2005-03-17 Jim Meyering <jim@meyering.net>
1391 * typeof.m4 (gl_TYPEOF): New file/macro.
1392 * prereq.m4 (gl_PREREQ): Require gl_TYPEOF.
1394 2005-03-10 Jim Meyering <jim@meyering.net>
1396 * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1398 * human.m4 (gl_HUMAN): Add intprops.h.
1399 * inttostr.m4 (gl_INTTOSTR): Likewise
1400 * sig2str.m4 (gl_FUNC_SIG2STR): Likewise.
1401 * userspec.m4 (gl_USERSPEC): Likewise.
1402 * utimecmp.m4 (gl_UTIMECMP): Likewise.
1403 * xnanosleep.m4 (gl_XNANOSLEEP): Likewise.
1405 * xstrtol.m4 (gl_XSTRTOL): Use AC_LIBSOURCES and AC_LIBOBJ
1406 to list the required files.
1408 2005-03-09 Jim Meyering <jim@meyering.net>
1410 * argmatch.m4, cycle-check.m4: New files.
1411 * prereq.m4: Require their macros.
1413 2005-03-01 Paul Eggert <eggert@cs.ucla.edu>
1415 * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1416 to detect nanosleep bug.
1418 2005-02-25 Paul Eggert <eggert@cs.ucla.edu>
1420 * gettext.m4, inttypes-pri.m4, lib-link.m4, lib-prefix.m4, nls.m4,
1421 po.m4, progtest.m4: Sync from gnulib.
1423 2005-02-23 Jim Meyering <jim@meyering.net>
1425 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
1426 Thanks to Bruno Haible for catching it.
1428 2005-02-22 Jim Meyering <jim@meyering.net>
1430 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
1432 2005-02-21 Paul Eggert <eggert@cs.ucla.edu>
1434 * xnanosleep.m4: New file.
1435 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Require gl_CLOCK_TIME,
1436 gl_USE_SYSTEM_EXTENSIONS. Check whether CLOCK_MONOTONIC is
1437 defined, and set LIB_GETHRXTIME accordingly. This is needed
1438 for newer GNU/Linux systems that have clock_gettime, so that they
1439 link in the appropriate library for it when needed.
1440 * prereq.m4 (gl_PREREQ): Require gl_XNANOSLEEP.
1442 2005-02-20 Paul Eggert <eggert@cs.ucla.edu>
1444 * gethrxtime.m4: New file.
1445 * gettime.m4 (gl_GETTIME): Check for nanotime.
1446 * jm-macros.m4 (gl_MACROS): Don't check for gethrtime.
1447 * prereq.m4 (gl_PREREQ): Require gl_GETHRXTIME.
1449 2005-02-20 Jim Meyering <jim@meyering.net>
1451 * stripslash.m4: New file.
1452 * linebuffer.m4: New file.
1453 * prereq.m4 (gl_PREREQ): Require gl_STRIPSLASH and gl_LINEBUFFER.
1455 2005-02-11 Jim Meyering <jim@meyering.net>
1457 * inttostr.m4 (gl_INTTOSTR): Use AC_LIBSOURCES to list the
1458 required source files.
1460 2005-02-09 Jim Meyering <jim@meyering.net>
1462 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Use AC_LIBSOURCES to list the
1463 required source files.
1465 2005-02-08 Jim Meyering <jim@meyering.net>
1467 * memcasecmp.m4 (gl_FUNC_MEMCASECMP): New file and macro.
1468 * prereq.m4: Require gl_FUNC_MEMCASECMP.
1470 2005-02-07 Jim Meyering <jim@meyering.net>
1472 * fts.m4 (gl_FUNC_FTS): New file and macro.
1473 * prereq.m4: Require gl_FUNC_FTS.
1475 2005-02-06 Jim Meyering <jim@meyering.net>
1477 * memrchr.m4 (gl_FUNC_MEMRCHR): Check for declaration of memrchr.
1479 * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Depend on gl_FUNC_MEMRCHR.
1481 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1483 * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
1485 2005-01-29 Jim Meyering <jim@meyering.net>
1487 Use AC_LIBSOURCES to list corresponding source (.c, .h, .y) files
1488 so that automake automatically knows to distribute those files.
1489 Use AC_LIBOBJ to ensure that automake automatically knows the
1490 names of always-compiled source files. Automake already knows
1491 the names of conditionally compiled ones, e.g., due to preexisting
1492 uses of AC_LIBOBJ and AC_REPLACE_FUNCS.
1493 [This is a start. Many still remain to be fixed...]
1495 * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4:
1496 * canonicalize.m4, cloexec.m4, closeout.m4, dirfd.m4, dirname.m4:
1497 * exclude.m4, exitfail.m4, file-type.m4, filemode.m4, fpending.m4:
1498 * fsusage.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4:
1499 * gettime.m4, getugroups.m4, group-member.m4, hard-locale.m4:
1500 * hash.m4, human.m4, idcache.m4, long-options.m4, makepath.m4:
1501 * md5.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4:
1502 * path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4:
1503 * quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4:
1504 * safe-write.m4, same.m4, savedir.m4, setenv.m4, settime.m4:
1505 * sha1.m4, sig2str.m4, strdup.m4, strftime.m4, strndup.m4:
1506 * strverscmp.m4, timespec.m4, unlocked-io.m4, userspec.m4:
1507 * utimecmp.m4, utimens.m4, xalloc.m4, yesno.m4:
1509 2005-01-27 Jim Meyering <jim@meyering.net>
1511 * hash-pjw.m4 (gl_HASH_PJW): New file/macro.
1512 * basename.m4 (gl_BASENAME): New file/macro.
1513 * prereq.m4: Require gl_HASH_PJW and gl_BASENAME.
1515 2005-01-23 Paul Eggert <eggert@cs.ucla.edu>
1518 * acl.m4, afs.m4, alloca.m4, assert.m4, atexit.m4,
1519 backupfile.m4, bison.m4, c-strtod.m4, calloc.m4,
1520 canon-host.m4, canonicalize.m4, clock_time.m4, cloexec.m4,
1521 closeout.m4, d-ino.m4, d-type.m4, dirfd.m4, dirname.m4,
1522 dos.m4, dup2.m4, error.m4, euidaccess.m4, exclude.m4,
1523 exitfail.m4, extensions.m4, fcntl-safer.m4, file-type.m4,
1524 fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4, free.m4,
1525 fstypename.m4, fsusage.m4, ftruncate.m4, getcwd-path-max.m4,
1526 getcwd.m4, getdate.m4, getgroups.m4, gethostname.m4,
1527 getline.m4, getndelim2.m4, getopt.m4, getpagesize.m4,
1528 getpass.m4, gettime.m4, gettimeofday.m4, getugroups.m4,
1529 getusershell.m4, group-member.m4, hard-locale.m4, hash.m4,
1530 host-os.m4, human.m4, idcache.m4, inttostr.m4, jm-winsz1.m4,
1531 jm-winsz2.m4, link-follow.m4, long-options.m4, ls-mntd-fs.m4,
1532 lstat.m4, makepath.m4, md5.m4, memchr.m4, memcmp.m4,
1533 memcoll.m4, memcpy.m4, memmove.m4, memrchr.m4, memset.m4,
1534 mkdir-slash.m4, mkstemp.m4, mktime.m4, modechange.m4,
1535 mountlist.m4, nanosleep.m4, obstack.m4, path-concat.m4,
1536 pathmax.m4, perl.m4, physmem.m4, posixtm.m4, posixver.m4,
1537 putenv.m4, quote.m4, quotearg.m4, readdir.m4, readtokens.m4,
1538 readutmp.m4, regex.m4, rename.m4, restrict.m4, rmdir-errno.m4,
1539 rmdir.m4, rpmatch.m4, same.m4, savedir.m4, settime.m4,
1540 sha1.m4, sig2str.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
1541 stdio-safer.m4, strdup.m4, strftime.m4, strndup.m4,
1542 strnlen.m4, strtod.m4, strtoimax.m4, strtol.m4, strtoll.m4,
1543 strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4,
1544 timespec.m4, tm_gmtoff.m4, tzset.m4, uint32_t.m4,
1545 uintptr_t.m4, unistd-safer.m4, unlink-busy.m4, unlocked-io.m4,
1546 uptime.m4, userspec.m4, utimbuf.m4, utime.m4, utimecmp.m4,
1547 utimens.m4, utimes-null.m4, xalloc.m4, xgetcwd.m4,
1548 xreadlink.m4, xstrtod.m4, xstrtoimax.m4, xstrtol.m4,
1549 xstrtoumax.m4, yesno.m4:
1550 Use an all-permissive copyright notice, recommended by RMS.
1552 2005-01-21 Bruno Haible <bruno@clisp.org>
1555 * allocsa.m4, chdir-long.m4, chown.m4, codeset.m4, eealloc.m4,
1556 eoverflow.m4, glibc21.m4, iconv.m4, intmax_t.m4, inttypes_h.m4,
1557 lchown.m4, lib-ld.m4, lib-link.m4, lib-prefix.m4, longdouble.m4,
1558 longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mempcpy.m4,
1559 openat.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4,
1560 signed.m4, ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4,
1561 strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, uintmax_t.m4,
1562 ullong_max.m4, ulonglong.m4, unicodeio.m4, utimes.m4,
1563 vasnprintf.m4, vasprintf.m4, wchar_t.m4, wint_t.m4:
1564 Use an all-permissive copyright notice, recommended by RMS.
1566 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
1568 * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
1570 2005-01-14 Jim Meyering <jim@meyering.net>
1572 * utimes.m4: Work around tests/touch/empty-file failure on a system
1573 (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
1574 NULL-means-set-to-current-time semantics.
1575 Remove temporary file immediately, rather than waiting
1576 for configure's at-exit trap code to do it.
1578 2005-01-04 Jim Meyering <jim@meyering.net>
1580 * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
1581 is sane and DOES follow symlinks. Besides, testing 20 different
1582 systems found no broken chown implementations.
1583 Prompted by a change in rsync's copy of this macro.
1585 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
1587 * ullong_max.m4: New file.
1588 * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
1590 2005-01-03 Jim Meyering <jim@meyering.net>
1592 * mkstemp.m4 (gl_FUNC_MKSTEMP): Don't `cd' into the temporary
1593 subdirectory. That would make the subsequent AC_TRY_RUN macro fail,
1594 for lack of the ./confdefs.h file. Instead, use the temporary
1595 directory name as a prefix on the template string.
1596 Include <unistd.h> for the declaration of close.
1597 Remove `.tmp' suffix; mkstemp requires that XXXXXX be a suffix.
1599 2004-12-23 Paul Eggert <eggert@cs.ucla.edu>
1601 * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
1603 2004-12-21 Jim Meyering <jim@meyering.net>
1605 * mkstemp.m4 (gl_FUNC_MKSTEMP): Remove temporary directory right
1606 away, rather than waiting for configure's at-exit trap code to do it.
1607 Suggestion from Stepan Kasal.
1609 2004-12-20 Jim Meyering <jim@meyering.net>
1611 * mkstemp.m4: Do the `cd' in a subshell.
1613 * mkstemp.m4: Rather than using "conftestXXXXXX" as the mkstemp
1614 template, use a temporary directory and an 8.3-friendly template
1615 to avoid trouble on systems like DJGPP.
1616 Reported by Juan M. Guerrero via Stepan Kasal.
1618 2004-12-19 Paul Eggert <eggert@cs.ucla.edu>
1620 * c-strtod.m4 (gl_C99_STRTOLD): New macro.
1621 (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
1623 2004-12-10 Jim Meyering <jim@meyering.net>
1625 * chdir-long.m4 (gl_FUNC_CHDIR_LONG: Arrange to compile chdir-long.c
1626 only on systems that define PATH_MAX.
1628 2004-12-07 Paul Eggert <eggert@cs.ucla.edu>
1630 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
1631 spurious "-l"s. Problem reported by Stepan Kasal.
1633 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1635 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
1636 in Autoconf 2.59. Problem reported by Mark D. Baushke.
1638 2004-12-06 Jim Meyering <jim@meyering.net>
1640 * save-cwd.m4 (gl_SAVE_CWD): Use AC_LIBSOURCES.
1641 Use AC_LIBOBJ(save-cwd).
1642 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Use AC_LIBSOURCES.
1643 Use AC_LIBOBJ(chdir-long).
1644 * mempcpy.m4 (gl_FUNC_MEMPCPY): Use AC_LIBSOURCES.
1645 * lchown.m4 (gl_FUNC_LCHOWN): Likewise.
1646 * openat.m4 (gl_FUNC_OPENAT): Likewise.
1647 (gl_PREREQ_GETCWD): Use AC_REQUIRE.
1649 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
1651 * openat.m4: Add copyright notice.
1652 (gl_FUNC_OPENAT): Require gl_USE_SYSTEM_EXTENSIONS, since Solaris
1653 requires __EXTENSIONS__ to be defined when compiling pedantically,
1654 if you want AT_FDCWD.
1656 2004-12-01 Paul Eggert <eggert@cs.ucla.edu>
1658 * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
1660 * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
1661 * jm-macros.m4 (gl_MACROS): Assume localeconv exists.
1663 2004-11-30 Paul Eggert <eggert@cs.ucla.edu>
1665 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1666 Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
1668 * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
1670 2004-11-30 Jim Meyering <jim@meyering.net>
1672 * chdir-long.m4: Rename from chdir.m4.
1673 * jm-macros.m4 (gl_MACROS): Reflect renaming.
1675 2004-11-28 Jim Meyering <jim@meyering.net>
1677 * chdir.m4: New file.
1678 * openat.m4: New file.
1679 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR.
1681 2004-11-25 Paul Eggert <eggert@cs.ucla.edu>
1683 * mempcpy.m4: New file, taken from gnulib.
1684 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
1685 GL_FUNC_GETCWD_PATH_MAX for consistency. All uses changed.
1686 Use the _ONCE methods, for efficiency.
1687 Check for fcntl.h. In test program, include <errno.h>
1688 and <fcntl.h> if available. Remove old K&R cruft from
1689 test program. Check for common errors in GNU/Linux,
1690 OpenBSD, and Solaris. Just set gl_cv_func_getcwd_path_max;
1691 don't do AC_LIBOBJ, as that's getcwd.m4's job.
1692 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
1693 AC_FUNC_GETCWD_NULL. All used changed. Change cache variable
1695 (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros. Revamp to
1696 accommodate new getcwd.c.
1697 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
1698 * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
1699 * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
1700 that's all we need now.
1702 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1704 * utimens.m4 (gl_UTIMENS): Check for futimes function.
1706 2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1708 * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
1709 order not to spoil the result of an eventual previous invocation
1710 of gl_GETOPT_SUBSTITUTE.
1712 2004-11-17 Paul Eggert <eggert@cs.ucla.edu>
1714 * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
1715 that mishandle size_t overflow.
1717 2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
1719 * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
1721 2004-11-13 Jim Meyering <jim@meyering.net>
1723 * jm-macros.m4: Do require gl_FUNC_FPENDING.
1724 * fpending.m4: Restore file.
1726 2004-11-11 Paul Eggert <eggert@cs.ucla.edu>
1728 * getopt.m4: Sync from gnulib.
1730 2004-11-06 Jim Meyering <jim@meyering.net>
1732 * jm-macros.m4: Don't require gl_FUNC_FPENDING.
1733 * fpending.m4: Remove file.
1735 2004-11-03 Paul Eggert <eggert@cs.ucla.edu>
1737 * setenv.m4: New file, from gnulib.
1738 * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
1739 * uint32_t.m4: Sync from gnulib.
1741 2004-11-02 Paul Eggert <eggert@cs.ucla.edu>
1743 * getpass.m4: Sync from gnulib.
1745 2004-10-29 Paul Eggert <eggert@cs.ucla.edu>
1747 * getpagesize.m4: Sync from gnulib.
1749 2004-10-17 Paul Eggert <eggert@cs.ucla.edu>
1751 * jm-macros.m4 (gl_MACROS): Check for mbrlen, for pathchk.
1752 (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
1755 * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
1756 implementation of getopt_long.
1758 2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
1762 * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove. All uses removed.
1764 * unlocked-io.m4: Add copyright notice.
1765 (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
1767 2004-10-03 Paul Eggert <eggert@cs.ucla.edu>
1770 * mbswidth.m4: Add copyright notice.
1771 * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
1772 * eoverflow.m4: New file.
1774 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
1776 * getopt.m4: Sync from gnulib.
1778 2004-08-11 Paul Eggert <eggert@cs.ucla.edu>
1780 * obstack.m4 (gl_PREREQ_OBSTACK): Require
1781 gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
1783 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
1785 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
1787 * sha1.m4: Renamed from sha.m4.
1788 (gl_SHA1): Renamed from gl_SHA. All uses changed.
1790 2004-08-08 Simon Josefsson <jas@extundo.com>
1792 * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
1793 Check getpass declaration.
1795 2004-08-07 Paul Eggert <eggert@cs.ucla.edu>
1797 * canonicalize.m4, getcwd-path-max.m4, strdup.m4: Merge from gnulib.
1799 2004-08-05 Paul Eggert <eggert@cs.ucla.edu>
1803 * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
1804 for backward compatibility with older code. We need our own
1805 alloca.h if _AIX is defined. Define HAVE_ALLOCA if we discover
1806 it under some other name, and our alloca.h will define it.
1807 * backupfile.m4, calloc.m4, strtoimax.m4, strtoumax.m4:
1808 Bump serial number only.
1809 * dirfd.m4, intmax_t.m4, inttypes_h.m4, mbrtowc.m4, stdint_h.m4,
1810 uintmax_t.m4: Finish renaming jm_ to gl_.
1811 * dos.m4 (gl_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
1812 * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
1813 * prereq.m4 (gl_PREREQ): Add gl_GETTIME, AC_FUNC_CALLOC.
1814 * gettime.m4: New file.
1815 * settime.m4: Require gl_TIMESPEC; check for settimeofday, stime.
1816 * unlocked-io.m4: Remove -*- autoconf -*-.
1817 * xalloc.m4: No longer require AC_FUNC_CALLOC, AC_FUNC_MALLOC,
1820 2004-08-04 Paul Eggert <eggert@cs.ucla.edu>
1822 OpenBSD porting fixes.
1823 * boottime.m4: Add copyright notice.
1824 (GNULIB_BOOT_TIME): Include sys/param.h before testing
1826 * fsusage.m4: Add copyright notice.
1827 (gl_FSUSAGE): Include sys/param.h before checking for sys/mount.h.
1828 * jm-macros.m4: Include copyright notice.
1829 (gl_MACROS): Use the _ONCE variants when appropriate.
1830 Include sys/param.h before testing for sys/sysctl.h and sys/mount.h.
1831 * ls-mntd-fs.m4: Include copyright notice.
1832 (gl_LIST_MOUNTED_FILE_SYSTEMS): Include sys/param.h before
1833 testing for sys/mount.h.
1834 * stat-prog.m4: Include copyright notice.
1835 (cu_PREREQ_STAT_PROG): Use the _ONCE variants when appropriate.
1836 Include sys/param.h before testing for sys/mount.h.
1838 2004-08-01 Paul Eggert <eggert@cs.ucla.edu>
1840 * jm-macros.m4 (gl_CHECK_ALL_TYPES):
1841 Require gl_AC_TYPE_UINTPTR_T instead of using AC_CHECK_TYPE
1842 on uintptr_t. Require gl_AC_TYPE_UINT32_T.
1843 * md5.m4 (gl_MD5): Require gl_AC_TYPE_UINT32_T.
1844 * uint32_t.m4, uintptr_t.m4: New files.
1846 2004-07-28 Paul Eggert <eggert@cs.ucla.edu>
1848 * md5.m4 (gl_MD5): Do not require AC_C_INLINE, since it doesn't
1849 use inline any more. Require AC_C_BIGENDIAN, though.
1850 * sha.m4 (gl_SHA): Require AC_C_BIGENDIAN.
1852 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
1854 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't bother checking for
1855 unistd.h, as autoconf does this for us. Check for libgen.h.
1856 Also look for eaccess within -lgen, which is where it is in
1857 Solaris. Set LIB_EACCESS accordingly.
1859 * backupfile.m4 (gl_BACKUPFILE): AC_REQUIRE
1860 gl_CHECK_TYPE_STRUCT_DIRENT_D_INO instead of invoking it directly.
1861 Do not require AC_FUNC_CLOSEDIR_VOID.
1863 2004-07-25 Paul Eggert <eggert@cs.ucla.edu>
1865 * jm-macros.m4 (gl_MACROS): Remove test for setreuid and setregid,
1866 as test.c no longer uses them directly.
1868 * euidaccess.m4 (gl_FUNC_NONREENTRANT_EUIDACCESS): New macro.
1869 (gl_FUNC_EUIDACCESS): Use AC_CHECK_DECLS_ONCE, not AC_CHECK_DECLS.
1870 (gl_PREREQ_EUIDACCESS): Check for eaccess and setregid decls.
1871 Require AC_HEADER_STAT.
1873 * prereq.m4 (gl_PREREQ): Invoke gl_FUNC_NONREENTRANT_EUIDACCESS,
1874 not gl_FUNC_EUIDACCESS.
1876 2004-07-23 Paul Eggert <eggert@cs.ucla.edu>
1878 * prereq.m4 (gl_PREREQ): Add gl_FCNTL_SAFER.
1879 * fcntl-safer.m4: New file.
1881 2004-07-12 Paul Eggert <eggert@cs.ucla.edu>
1883 * c-strtod.m4 (gl_C_STRTOD): Add gl_USE_SYSTEM_EXTENSIONS.
1885 2004-07-11 Paul Eggert <eggert@cs.ucla.edu>
1887 * c-strtod.m4: New file.
1888 * prereq.m4 (gl_PREREQ): Add gl_C_STRTOLD.
1890 2004-04-03 Dmitry V. Levin <ldv@altlinux.org>
1892 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME):
1893 Do not add canonicalize.c here.
1895 2004-07-02 Paul Eggert <eggert@cs.ucla.edu>
1897 * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
1898 prerequisite modules now handle the DOS stuff.
1899 Don't check for unistd.h.
1901 2004-06-30 Paul Eggert <eggert@cs.ucla.edu>
1903 * dos.m4 (gl_AC_DOS): Define FILE_SYSTEM_PREFIX_LEN, not
1904 FILESYSTEM_PREFIX_LEN. Generate
1905 FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX, not
1906 FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX. Generate
1907 FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR, not
1908 FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
1909 * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Renamed from
1910 gl_LIST_MOUNTED_FILESYSTEMS. All uses changed.
1912 2004-06-25 Jim Meyering <jim@meyering.net>
1914 * afs.m4 (gl_AFS): Use AC_ARG_WITH instead of ancient, hard-coded
1915 AC_MSG_CHECKING/AC_MSG_RESULT etc. From Tim Waugh.
1917 2004-06-15 Paul Eggert <eggert@cs.ucla.edu>
1919 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Fix typo: getcwd
1920 was being replaced when it shouldn't have been, and vice versa.
1922 2004-06-09 Jim Meyering <jim@meyering.net>
1924 * calloc.m4 (AC_FUNC_CALLOC): Remove use of AN_FUNCTION.
1926 2004-06-07 Jim Meyering <jim@meyering.net>
1928 * jm-macros.m4 (gl_MACROS): Check for the directio function.
1930 2004-06-01 Jim Meyering <jim@meyering.net>
1932 * stdbool.m4: Update from gnulib.
1934 2004-05-29 Jim Meyering <jim@meyering.net>
1936 * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_FUNC_CALLOC.
1937 * calloc.m4 (AC_FUNC_CALLOC, _AC_FUNC_CALLOC_IF): New file/macros.
1939 2004-05-21 Jim Meyering <jim@meyering.net>
1941 * free.m4: Update from gnulib (fix reversed test).
1943 2004-05-03 Jim Meyering <jim@meyering.net>
1945 Temporary work-around for the problem reported here:
1946 http://sources.redhat.com/ml/bug-automake/2004/msg00339.html
1948 * gettext.m4 (AM_GNU_GETTEXT): Don't require AM_INTL_SUBDIR.
1949 (AM_INTL_SUBDIR): Comment out definition.
1951 2004-05-01 Jim Meyering <jim@meyering.net>
1953 * jm-mktime.m4: Remove file. This is now part of mktime.m4.
1954 * glibc.m4, c-stack.m4, xsize.m4, size_max.m4: Remove unused files.
1955 * printf-posix.m4, lcmessage.m4: Likewise.
1956 * gettextext.m4, intdiv0.m4, intmax.m4: Likewise.
1958 * jm-macros.m4 (gl_MACROS): Move fchown-checking code to chown.m4.
1959 * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
1960 See if we need an fchown replacement.
1961 (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
1962 (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
1963 and use the replacement function if we detect either defect.
1965 2004-04-22 Paul Eggert <eggert@twinsun.com>
1967 * jm-macros.m4 (gl_MACROS): Check for tcgetpgrp.
1969 2004-04-23 Jim Meyering <jim@meyering.net>
1971 * jm-macros.m4: Don't check for values.h; it's no longer used.
1973 2004-04-20 Jim Meyering <jim@meyering.net>
1975 Change UTILS_ to gl_ in AC_DEFINE'd names.
1976 Change utils_- and jm_-prefixed variables, too.
1977 * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
1978 UTILS_FUNC_MKDIR_TRAILING_SLASH.
1979 * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
1980 * host-os.m4 (gl_HOST_OS): Renamed from UTILS_HOST_OS.
1982 * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
1983 Don't emit trailing blanks.
1984 Also rename jm_-prefixed variables to have gl_ prefix.
1986 * jm-macros.m4: Reflect the renamings.
1987 * prereq.m4: Likewise.
1989 2004-04-19 Jim Meyering <jim@meyering.net>
1991 * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
1992 now that readutmp.c may call `free (0)'.
1994 2004-04-14 Jim Meyering <jim@meyering.net>
1996 * Makefile.am: Remove file. With automake-1.8.3, it's no longer needed.
1997 * Makefile.am.in: Likewise.
1998 * Makefile.in: Likewise.
2000 * stat-prog.m4 (cu_PREREQ_STAT_PROG): Don't use AC_CHECK_HEADERS to
2001 check for inttypes.h. Instead, require gt_HEADER_INTTYPES_H.
2003 * jm-macros.m4: Require cu_PREREQ_STAT_PROG.
2005 * prereq.m4: Move prerequisite function for src/stat.c to ...
2006 * stat-prog.m4 (cu_PREREQ_STAT_PROG): New file. Contents from prereq.m4.
2008 2004-04-13 Jim Meyering <jim@meyering.net>
2010 Change `jm_' in AC_DEFINE'd names to `gl_'. Update all uses.
2012 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
2013 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4:
2014 * dos.m4, error.m4, fpending.m4, fstypename.m4, fsusage.m4:
2015 * ftruncate.m4, getdate.m4, getgroups.m4, gettext.m4, glibc21.m4:
2016 * group-member.m4, human.m4, intmax.m4, intmax_t.m4, inttostr.m4:
2017 * inttypes_h.m4, jm-macros.m4, jm-mktime.m4, jm-winsz1.m4:
2018 * jm-winsz2.m4, lchown.m4, lib-check.m4, link-follow.m4, longlong.m4:
2019 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
2020 * memchr.m4, memcmp.m4, mkstemp.m4, mountlist.m4, nanosleep.m4:
2021 * path-concat.m4, perl.m4, prereq.m4, putenv.m4, quotearg.m4:
2022 * regex.m4, stat.m4, stdint_h.m4, strftime.m4, strtoimax.m4:
2023 * strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4, uintmax_t.m4:
2024 * ulonglong.m4, unlink-busy.m4, unlocked-io.m4, uptime.m4, utimbuf.m4:
2025 * utime.m4, utimens.m4, utimes-null.m4, vasnprintf.m4, xstrtoimax.m4:
2026 * xstrtol.m4, xstrtoumax.m4: Change jm_ to gl_ in AC_DEFINE'd names.
2028 2004-03-27 Paul Eggert <eggert@twinsun.com>
2030 * utimecmp.m4: New file.
2031 * prereq.m4 (jm_PREREQ): Require gl_UTIMECMP.
2033 2004-04-07 Paul Eggert <eggert@twinsun.com>
2035 * jm-macros.m4 (jm_MACROS): Check for fdatasync within
2036 -lrt and -lposix4, so that it can be used in Solaris 2.5.1 and later.
2038 2004-03-30 Paul Eggert <eggert@twinsun.com>
2040 * c-stack.m4, getline.m4, getndelim2.m4, mbswidth.m4, po.m4,
2041 strdup.m4, xsize.m4: Sync from gnulib.
2043 * allocsa.m4, cloexec.m4, eealloc.m4, inttostr.m4, mbstate_t.m4:
2044 New files, from gnulib.
2046 * prereq.m4 (jm_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR.
2048 2004-03-31 Jim Meyering <jim@meyering.net>
2050 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
2051 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2052 * xalloc.m4: Likewise.
2054 * realloc.m4: Remove file, since now it does no more than
2055 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
2056 the `configure.ac' section of module/realloc.
2057 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
2059 2004-02-29 Paul Eggert <eggert@twinsun.com>
2061 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
2062 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
2063 Require AM_STDBOOL_H and gl_TIMESPEC instead.
2064 Require gl_CLOCK_TIME.
2066 2004-03-07 Paul Eggert <eggert@twinsun.com>
2068 * Makefile.am.in (Makefile.am):
2069 Don't use $<, as it doesn't work with Solaris make.
2071 2004-01-29 Jim Meyering <jim@meyering.net>
2073 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
2074 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
2075 on some systems one must include <grp.h> before it.
2076 Reported by Christian Krackowizer.
2078 2004-01-16 Jim Meyering <jim@meyering.net>
2080 * onceonly.m4: Sync with version from gettext-0.13.1.
2082 2003-10-08 Paul Eggert <eggert@twinsun.com>
2086 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2088 2003-08-26 Bruno Haible <bruno@clisp.org>
2092 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2093 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2094 followed by '#define fnmatch fnmatch_posix' gives an error.
2096 2004-01-14 Paul Eggert <eggert@twinsun.com>
2098 * posixv.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
2100 2004-01-13 Jim Meyering <jim@meyering.net>
2102 * gettext.m4, lib-ld.m4, lib-prefix.m4, nls.m4, po.m4:
2103 Update from gettext-0.13.1.
2104 * intmax.m4, isc-posix.m4, printf-posix.m4, size_max.m4, xsize.m4:
2105 New files. From gettext-0.13.1.
2107 2004-01-11 Paul Eggert <eggert@twinsun.com>
2109 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): Move
2110 the documentation from 'configure' into 'config.hin',
2111 so that 'configure --help' isn't burdened by it and
2112 we don't have to worry about its formatting there.
2113 Reword the documentation so that it's more succinct
2114 and can be run together into a single paragraph.
2116 2004-01-12 Jim Meyering <jim@meyering.net>
2118 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2120 2003-12-20 Jim Meyering <jim@meyering.net>
2122 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2124 * open-max.m4 (UTILS_SYS_OPEN_MAX): Remove file. No longer used.
2126 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2127 value, $ac_cv_search_crypt, if it's "none required".
2129 2003-12-19 Jim Meyering <jim@meyering.net>
2131 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2132 if no library is required.
2134 2003-12-18 Jim Meyering <jim@meyering.net>
2136 * search-libs.m4 (AC_SEARCH_LIBS): Remove file/macro, now that
2137 this replacement is no longer needed. Besides, this macro has
2138 no effect with autoconf-2.58, since `undefine' in package-supplied
2139 .m4 files is no longer honored. Reported by Andreas Schwab.
2141 Remove now-unnecessary (and unused) files. They also used `undefine'.
2142 * isc-posix.m4 (AC_ISC_POSIX): Remove file.
2143 * getloadavg.m4 (gl_FUNC_GETLOADAVG): Remove file.
2144 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2145 not gl_FUNC_GETLOADAVG.
2147 2003-11-08 Jim Meyering <jim@meyering.net>
2149 * inttypes.m4: Sync from gnulib (this file was previously empty,
2150 to work around some sort of problem).
2152 2003-11-08 Alexandre Duret-Lutz <adl@gnu.org>
2154 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2155 value, $ac_cv_search_nanosleep, if it's "none required".
2157 2003-11-05 Paul Eggert <eggert@twinsun.com>
2159 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
2161 2003-11-05 Jim Meyering <jim@meyering.net>
2163 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2164 * free.m4: New file, from gnulib.
2166 * exitfail.m4, host-os.m4, strndup.m4: Update from gnulib.
2168 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2169 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2171 2003-10-13 Paul Eggert <eggert@twinsun.com>
2173 * xalloc.m4: Import latest version from gnulib.
2175 2003-10-06 Jim Meyering <jim@meyering.net>
2177 * ftw.m4: Remove now-unused file.
2179 2003-10-05 Jim Meyering <jim@meyering.net>
2181 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2183 2003-09-17 Paul Eggert <eggert@twinsun.com>
2186 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2187 to avoid spurious warnings like "AC_RUN_IFELSE was called before
2188 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2190 2003-09-12 Paul Eggert <eggert@twinsun.com>
2192 More patches to assume C89 or better.
2194 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2195 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2196 * userspec.m4 (gl_USERSPEC): Likewise.
2197 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2198 * xstrtod.m4 (gl_XSTRTOD): Likewise.
2199 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2200 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2202 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2203 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2204 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2205 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2206 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2207 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2210 2003-09-12 Paul Eggert <eggert@twinsun.com>
2212 * error.m4 (gl_ERROR): Don't check for vprintf.
2213 Require AC_FUNC_STRERROR_R rather than invoking it.
2215 2003-09-12 Paul Eggert <eggert@twinsun.com>
2217 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2219 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2220 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2221 Include <string.h>, <stdlib.h> unconditionally.
2222 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2223 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2224 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2226 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlb.h
2228 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2229 and AC_MINIX, too, so that their extensions are available.
2231 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
2232 This macro has been superseded by gl_BACKUPFILE.
2234 2003-09-12 Jim Meyering <jim@meyering.net>
2236 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2237 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2238 * readtokens.m4: New file, from gnulib
2240 * makepath.m4: Likewise.
2241 * long-options.m4: Likewise.
2242 * idcache.m4: Likewise.
2243 * getugroups.m4: Likewise.
2245 2003-09-11 Paul Eggert <eggert@twinsun.com>
2247 More patches to assume C89 or better.
2248 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2249 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2250 string.h, memchr, STDC_HEADERS.
2252 2003-09-10 Bruno Haible <bruno@clisp.org>
2254 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2255 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2256 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2257 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2258 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2259 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2261 2003-09-09 Paul Eggert <eggert@twinsun.com>
2263 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2264 * getopt.m4 (gl_GETOPT): Don't check for string.h.
2265 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2266 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2268 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2270 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2271 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2272 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2273 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2274 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2275 * memcoll.m4 (gl_MEMCOLL): Likewise.
2276 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2277 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2279 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2280 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2281 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2282 C headers, or for string.h.
2283 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2284 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2285 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2286 headers, memory.h, stdlib.h, string.h, strings.h.
2287 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2288 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2289 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2291 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2292 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2294 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2295 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2296 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2297 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2299 2003-09-09 Derek Robert Price <derek@ximbiot.com>
2301 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2304 2003-09-08 Paul Eggert <eggert@twinsun.com>
2306 Assume C89 or better; remove K&R cruft.
2307 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2308 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2309 string.h, getenv, malloc.
2310 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2312 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2313 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2314 do not check for strerror.
2315 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2316 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2317 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
2318 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2320 2003-08-27 Jim Meyering <jim@meyering.net>
2322 * mkstemp.m4: Require that the system mkstemp be able to create
2323 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
2324 would fail after 32. Reported by Danny Levinson. Details here:
2325 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2327 2003-08-19 Jim Meyering <jim@meyering.net>
2329 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2330 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2332 2003-08-18 Paul Eggert <eggert@twinsun.com>
2334 * same.m4 (gl_SAME): Do not check for stdlib.h or string.h or free.
2337 2003-08-18 Jim Meyering <jim@meyering.net>
2339 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2340 * lib-ld.m4: Likewise.
2343 2003-08-18 Paul Eggert <eggert@twinsun.com>
2344 and Jim Meyering <jim@meyering.net>
2346 It turns out that we need AM_NLS and AM_PO_SUBDIRS after all;
2347 otherwise po/POTFILES and po/Makefile aren't built by 'configure'.
2348 I'm not sure why I didn't catch this earlier; most likely some
2349 leftover build files. Sorry about that.
2350 * gettextext.m4 (AM_NLS, AM_PO_SUBDIRS): Remove definitions.
2351 * nls.m4, po.m4: New files, taken from gnulib / gettext.
2353 2003-08-16 Paul Eggert <eggert@twinsun.com>
2357 * gettextext.m4: New file.
2359 * atexit.m4, backupfile.m4, canon-host.m4, clock_time.m4,
2360 closeout.m4, dirname.m4, dup2.m4, euidaccess.m4, exclude.m4,
2361 exitfail.m4, file-type.m4, fileblocks.m4, filemode.m4, getdate.m4,
2362 gethostname.m4, getloadavg.m4, getopt.m4, getpagesize.m4,
2363 getpass.m4, getusershell.m4, hard-locale.m4, hash.m4, malloc.m4,
2364 memchr.m4, memcpy.m4, memmove.m4, memrchr.m4, memset.m4,
2365 modechange.m4, mountlist.m4, obstack.m4, path-concat.m4,
2366 pathmax.m4, physmem.m4, posixtm.m4, posixver.m4, quote.m4,
2367 quotearg.m4, readlink.m4, readutmp.m4, realloc.m4, rmdir.m4,
2368 rpmatch.m4, safe-read.m4, safe-write.m4, same.m4, save-cwd.m4,
2369 savedir.m4, settime.m4, sha.m4, sig2str.m4, stdio-safer.m4,
2370 stpcpy.m4, strcase.m4, strcspn.m4, strdup.m4, strndup.m4,
2371 strnlen.m4, strpbrk.m4, strstr.m4, strtod.m4, strtoimax.m4,
2372 strtol.m4, strtoll.m4, strtoul.m4, strtoull.m4, strtoumax.m4,
2373 strverscmp.m4, ulonglong.m4, unicodeio.m4, unistd-safer.m4,
2374 userspec.m4, xalloc.m4, xgetcwd.m4, xreadlink.m4, xstrtod.m4,
2375 xstrtol.m4, yesno.m4: New files, from gnulib.
2377 * acl.m4, check-decl.m4, chown.m4, c-stack.m4, d-ino.m4,
2378 d-type.m4, fileblocks.m4, fsusage.m4, ftruncate.m4, getcwd.m4,
2379 getgroups.m4, getline.m4, getndelim2.m4, gettext.m4,
2380 gettimeofday.m4, group-member.m4, host-os.m4, iconv.m4,
2381 intmax_t.m4, inttypes-pri.m4, jm-macros.m4, lchown.m4, lib-ld.m4,
2382 lib-link.m4, lib-prefix.m4, longdouble.m4, longlong.m4,
2383 ls-mntd-fs.m4, lstat.m4, mbrtowc.m4, mbswidth.m4, memcmp.m4,
2384 mkdir-slash.m4, mkstemp.m4, nanosleep.m4, onceonly.m4, prereq.m4,
2385 progtest.m4, putenv.m4, readdir.m4, rename.m4, stat.m4, tzset.m4,
2386 utimbuf.m4, utime.m4, vasnprintf.m4, xstrtoimax.m4, xstrtoumax.m4:
2389 2003-08-15 Jim Meyering <jim@meyering.net>
2391 * utimes.m4 (gl_FUNC_UTIMES): Use `conftest.utimes' as the test
2392 file name, not `x'. The former will be removed automatically.
2394 2003-08-13 Jim Meyering <jim@meyering.net>
2396 * README: Remove file.
2397 * Makefile.am.in: Simplify.
2398 (Makefile.am): Remove README.
2400 2003-08-10 Jim Meyering <jim@meyering.net>
2402 * utimes.m4 (gl_FUNC_UTIMES): New file.
2403 * utimens.m4: Require gl_FUNC_UTIMES.
2404 Don't check for utime or utimes.
2406 * utimes.m4: Removed.
2407 * utimes-null.m4: Renamed from utimes.m4.
2409 2003-08-06 Paul Eggert <eggert@twinsun.com>
2411 * prereq.m4 (jm_PREREQ): Require gl_UTIMENS.
2412 * utimens.m4: New file.
2414 2003-08-08 Paul Eggert <eggert@twinsun.com>
2416 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF):
2417 Solaris 2.5.1 needs -lw to get the wcslen function.
2419 2003-08-08 Paul Eggert <eggert@twinsun.com>
2421 Use new gnulib 'extensions' module.
2422 * extensions.m4, unlocked-io.m4: New files, from gnulib.
2423 * gnu-source.m4, jm-glibc-io.m4: Remove.
2424 * timespec.m4: Merge from gnulib.
2426 2003-08-08 Paul Eggert <eggert@twinsun.com>
2428 * jm-macros.m4 (jm_MACROS): Replace jm_INCLUDED_REGEX([lib/regex.c])
2430 Replace jm_FUNC_MKTIME with gl_FUNC_MKTIME.
2431 Remove redundant AC_FUNC_FNMATCH_GNU, jm_FUNC_MKTIME.
2432 Remove AC_FUNC_VPRINTF.
2435 2003-08-05 Paul Eggert <eggert@twinsun.com>
2437 * jm-macros.m4 (jm_MACROS): Use gl_GETNDELIM2 rather than
2438 checking for getdelim.
2439 (jm_CHECK_ALL_TYPES): Use gt_TYPE_SSIZE_T for ssize_t rather
2440 than rolling our own.
2441 Merge getline from gnulib.
2442 * getline.m4: Merge from gnulib.
2443 * getndelim2.m4, ssize_t.m4: New files, from gnulib.
2445 2003-08-04 Paul Eggert <eggert@twinsun.com>
2447 * regex.m4: Merge with gnulib.
2448 (gl_REGEX): New macro.
2449 (jm_INCLUDED_REGEX): Don't assume Latin-1 encoding of source code.
2450 * restrict.m4: Merge with gnulib.
2451 (gl_C_RESTRICT): Renamed from ACX_C_RESTRICT. All uses changed.
2452 Rename cache vars to gl_cv_*. Incorporate latest Autoconf CVS tricks.
2454 2003-08-05 Paul Eggert <eggert@twinsun.com>
2456 * gnu-source.m4: New file, taken from gnulib, with support
2457 added for __EXTENSIONS__ a la Solaris.
2458 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Call gl_TIMESPEC rather
2459 than jm_CHECK_TYPE_STRUCT_TIMESPEC.
2460 * st_mtim.m4: Sync with gnulib (white space change only).
2461 * timespec.m4: Sync with gnulib, except also require
2464 2003-08-05 Paul Eggert <eggert@twinsun.com>
2466 * prereq.m4 (jm_PREREQ_PHYSMEM, jm_PREREQ_STAT): Ignore headers
2467 that are present but cannot be compiled. This avoids spurious warnings
2468 on Solaris 9 sparc with Forte Developer 7 C 5.4.
2470 2003-08-04 Paul Eggert <eggert@twinsun.com>
2472 Merge fnmatch module from gnulib.
2473 * fnmatch.m4: New file, from gnulib.
2474 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FNMATCH_GNU
2475 instead of AC_FUNC_ERROR_AT_LINE.
2477 2003-08-04 Paul Eggert <eggert@twinsun.com>
2479 * error.m4: Sync from gnulib.
2481 2003-07-23 Jim Meyering <jim@meyering.net>
2483 * lstat.m4, mkstemp.m4, regex.m4, stat.m4: Normalize naming of Sun
2484 operating systems in comments, e.g., SunOS4 -> SunOS 4,
2485 Solaris5.9 -> Solaris 9. From Paul Eggert.
2487 2003-07-18 Paul Eggert <eggert@twinsun.com>
2489 * jm-macros.m4 (jm_MACROS): Invoke gl_MEMCOLL.
2490 * memcoll.m4: New file, from gnulib.
2491 Based on a patch from Andreas Schwab.
2493 2003-07-14 Jim Meyering <jim@meyering.net>
2495 * Makefile.am.in: Correct comment on first line.
2497 2003-07-12 Jim Meyering <jim@meyering.net>
2499 * jm-macros.m4 (OPTIONAL_BIN_ZCRIPTS): Remove unused variable.
2501 2003-07-10 Jim Meyering <jim@meyering.net>
2503 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_VASPRINTF and
2506 * longdouble.m4, signed.m4, vasnprintf.m4, vasprintf.m4, wchar_t.m4:
2507 * wint_t.m4: New files, in support of new asprintf use. From gnulib.
2509 * stdint_h.m4: New file.
2510 * inttypes_h.m4: New file.
2511 * uintmax_t.m4: New file.
2512 * intmax_t.m4: New file.
2513 * inttypes.m4: Remove file. Use intmax_t.m4 and uintmax_t.m4
2514 from gnulib, instead.
2516 2003-06-09 Jim Meyering <jim@meyering.net>
2518 * tzset.m4 (gl_FUNC_TZSET_CLOBBER): Also define gmtime.
2519 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Likewise.
2520 Suggestion from Paul Eggert.
2522 2003-06-08 Jim Meyering <jim@meyering.net>
2524 * tzset.m4 (gl_FUNC_TZSET_CLOBBER): New file/macro.
2525 Used by strftime.m4.
2526 * strftime.m4 (_jm_STRFTIME_PREREQS): Require gl_FUNC_TZSET_CLOBBER.
2528 2003-06-07 Jim Meyering <jim@meyering.net>
2530 * strftime.m4: Update from gnulib.
2531 * tm_gmtoff.m4: New file, used by strftime.m4.
2532 * mktime.m4: New file. From gnulib.
2534 2003-06-06 Jim Meyering <jim@meyering.net>
2536 * jm-macros.m4: Require gl_FUNC_ALLOCA.
2537 * alloca.m4: New file, from gnulib.
2539 * stdbool.m4: Update from gnulib.
2541 2003-06-04 Paul Eggert <eggert@twinsun.com>
2543 Merge human.c etc. from gnulib.
2544 * human.m4: New file, from gnulib.
2545 * prereq.m4 (jm_PREREQ): Use gl_HUMAN, not jm_PREREQ_HUMAN.
2546 (jm_prereq_HUMAN): Remove.
2548 2003-06-02 Jim Meyering <jim@meyering.net>
2550 * jm-macros.m4 (jm_MACROS): Require AM_STDBOOL_H.
2552 2003-05-26 Jim Meyering <jim@meyering.net>
2554 * dirfd.m4 (UTILS_FUNC_DIRFD): Merge in change from gnulib,
2555 fixing an M4 quoting bug.
2557 * lib-ld.m4 (AC_LIB_PROG_LD_GNU): Use TAB-SP, not SP-TAB
2559 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
2561 2003-05-06 Jim Meyering <jim@meyering.net>
2563 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for the
2564 declaration of getcwd *before* checking for the getcwd kernel bug.
2565 Otherwise, configure-time `checking ...' messages would be intermixed.
2567 2003-05-02 Jim Meyering <jim@meyering.net>
2569 * readdir.m4 (GL_FUNC_READDIR): Revive dead file. Change name to
2570 have GL_ (not jm_) prefix. Adjust cache variables similarly.
2571 Create 500 rather than just 300 files, to exercise bug on
2573 * jm-macros.m4 (jm_MACROS): Require GL_FUNC_READDIR.
2575 2003-04-25 Jim Meyering <jim@meyering.net>
2577 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): If PATH_MAX
2578 is not defined, don't run the test, and don't use the wrapper.
2579 Otherwise, on the Hurd, it would take a long time to create
2580 and remove a hierarchy about 4000 levels deep.
2581 Based on a patch from Robert Millan.
2583 2003-04-22 Jim Meyering <jim@meyering.net>
2586 * gettext.m4: Change an occurrence of [ \t] to [\t ].
2588 2003-04-07 Jim Meyering <jim@meyering.net>
2590 * prereq.m4 (jm_PREREQ_STAT): Add prerequisites and #includes
2593 2003-04-02 Jim Meyering <jim@meyering.net>
2595 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
2597 2003-03-19 Jim Meyering <jim@meyering.net>
2599 * ftw.m4 (AC_FUNC_FTW): Require AC_HEADER_STAT.
2601 2003-03-17 Richard Dawe <rich@phekda.freeserve.co.uk>
2603 * jm-macros.m4 (jm_MACROS): Include $(EXEEXT) in DF_PROG's program
2604 name, since automake only adds $(EXEEXT) to programs in its *_PROGRAMS.
2605 Arrange to compile the corresponding stub function if fchdir is missing.
2607 2003-03-18 Jim Meyering <jim@meyering.net>
2609 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
2610 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
2611 systems would end up using the latter. MOUNTED_GETMNTENT1 support
2612 is inadequate on such systems: 1) detecting whether a file system
2613 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
2614 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
2615 merely /MOUNT_POINT. Reported by Mike Jetzer.
2617 2003-03-17 Jim Meyering <jim@meyering.net>
2619 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
2620 that is guaranteed to be `no'. Use `no_such_member' to indicate
2621 that condition, rather than `-1' which is slightly misleading.
2622 Change the name of the cache variable to have the gl_ prefix.
2623 Prompted by a patch from Richard Dawe for DJGPP.
2625 2003-03-14 Jim Meyering <jim@meyering.net>
2627 * prereq.m4 (jm_PREREQ): Also forbid the gl_[A-Z] prefix.
2628 Don't require jm_PREREQ_C_STACK.
2630 2003-03-13 Paul Eggert <eggert@twinsun.com>
2633 * onceonly.m4 (m4_quote): New macro.
2634 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
2635 Quote AC_FOREACH variable-expansions properly.
2637 2003-03-13 Jim Meyering <jim@meyering.net>
2639 * jm-macros.m4 (jm_MACROS): Arrange to compile the corresponding stub
2640 function if any of the following is missing: fchown, lstat, readlink.
2643 2003-03-07 Jim Meyering <jim@meyering.net>
2645 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
2646 using the latest version from cvs. This avoids problems with #line
2647 directives using a vendor (Sun) compiler.
2649 * jm-macros.m4: Don't require AC_SYS_MMAP_STACK.
2650 * mmap-stack.m4 (AC_SYS_MMAP_STACK): Remove file.
2652 2003-03-06 Jim Meyering <jim@meyering.net>
2654 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): Check for
2655 declaration of getcwd.
2657 2003-03-04 Jim Meyering <jim@meyering.net>
2659 * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): New macro.
2660 * jm-macros.m4: Require GL_FUNC_GETCWD_PATH_MAX.
2662 `df /some/mount-point' no longer hangs when an unrelated hard-mount
2664 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
2665 /proc/mounts until it finds one with matching device number. This is
2666 unnecessary when the FILE argument *is* a mount point. No stat call
2667 is necessary in that case. So, disable the statvfs-testing code on
2668 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
2669 as RedHat bug# 84846.
2671 2003-02-27 Jim Meyering <jim@meyering.net>
2673 * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for `table' function.
2674 Reported by Kaveh Ghazi.
2676 * prereq.m4 (gl_SYS__SYSTEM_CONFIGURATION): New function.
2677 (jm_PREREQ_PHYSMEM): Check for new headers and functions.
2678 Use gl_SYS__SYSTEM_CONFIGURATION.
2679 With suggestions from Kaveh Ghazi.
2681 2003-02-19 Jim Meyering <jim@meyering.net>
2683 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2684 to 1MB, so as not to render systems with no stack size limit (e.g.,
2685 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2687 2003-02-17 Jim Meyering <jim@meyering.net>
2689 * prereq.m4 (jm_PREREQ_PHYSMEM): Undo last change, since
2690 Kaveh Ghazi found a better way to get the required information.
2691 Add check for sys/sysmp.h.
2693 2003-02-15 Jim Meyering <jim@meyering.net>
2695 * mmap-stack.m4: New file.
2697 * jm-macros.m4: Require AC_SYS_MMAP_STACK.
2699 Add Irix6 support to physmem.c.
2700 * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for sys/sysget.h
2702 Also check for sysget.
2703 Reported by Kaveh Ghazi.
2705 2003-02-12 Jim Meyering <jim@meyering.net>
2707 * restrict.m4 (ACX_C_RESTRICT): Remove #ifndef -- so now this
2708 macro also checks for support when using a C++ compiler.
2709 Also, remove the test for SGI's __restrict.
2710 Suggested by Steven G. Johnson.
2712 * regex.m4 (jm_PREREQ_REGEX): Require ACX_C_RESTRICT.
2714 * restrict.m4 (ACX_C_RESTRICT): Minor syntactic changes:
2715 Split long lines, use AC_COMPILE_IFELSE, indent, use `case'
2716 instead of nested `if's, remove unnecessary quotes.
2718 * restrict.m4 (ACX_C_RESTRICT): New macro.
2719 Copied directly from the URL in the comments.
2720 By Steven G. Johnson.
2722 2003-02-09 Jim Meyering <jim@meyering.net>
2724 * check-decl.m4 (jm_CHECK_DECLS): Add euidaccess.
2726 2003-02-03 Jim Meyering <jim@meyering.net>
2728 * c-stack.m4: Include <unistd.h>. On some systems,
2729 it is required for the definition of _SC_PAGESIZE.
2731 2003-02-02 Jim Meyering <jim@meyering.net>
2733 * onceonly.m4: New file. From gnulib.
2735 * regex.m4 (jm_PREREQ_REGEX): New function, from gnulib.
2736 (jm_INCLUDED_REGEX): Use it.
2737 * prereq.m4 (jm_PREREQ_REGEX): Remove.
2739 2003-01-31 Jim Meyering <jim@meyering.net>
2741 * open-max.m4 (UTILS_SYS_OPEN_MAX): New file/macro.
2742 * jm-macros.m4 (jm_MACROS): Require UTILS_SYS_OPEN_MAX.
2744 2003-01-29 Jim Meyering <jim@meyering.net>
2746 * regex.m4: Detect broken re_search in e.g. glibc-2.2.93.
2748 2003-01-23 Jim Meyering <jim@meyering.net>
2750 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
2751 from working on systems without dirfd (at least Irix and OSF1/Tru64).
2753 Merge in change by Bruno Haible from gnulib.
2754 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
2756 2003-01-16 Jim Meyering <jim@meyering.net>
2758 * regex.m4: The `regex' struct is both input and output.
2759 Initialize it before each use. Patch by Tim Waugh.
2761 2003-01-15 Jim Meyering <jim@meyering.net>
2763 * jm-macros.m4: Require AC_FUNC_FTW.
2765 2003-01-12 Jim Meyering <jim@meyering.net>
2769 2003-01-11 Jim Meyering <jim@meyering.net>
2771 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): New file and macro.
2772 * jm-macros.m4: Require AC_FUNC_CANONICALIZE_FILE_NAME.
2773 (jm_MACROS): No longer check for resolvepath or canonicalize_file_name.
2775 2002-12-15 Jim Meyering <jim@meyering.net>
2777 * jm-glibc-io.m4n: Remove now-unused file.
2778 * Makefile.am.in (Makefile.am): Remove jm-glibc-io.m4
2779 and jm-glibc-io.m4n.
2781 2002-12-11 Jim Meyering <jim@meyering.net>
2783 * jm-glibc-io.m4: Maintain this file manually rather than generating it.
2784 Generating it caused too much trouble. From gnulib.
2786 2002-11-19 Jim Meyering <jim@meyering.net>
2788 * jm-macros.m4: Require Autoconf-2.56.
2790 2002-09-30 Akim Demaille <akim@epita.fr>
2792 * prereq.m4: Use AC_REQUIRE everywhere it is possible.
2793 (jm_PREREQ_CANON_HOST): Remove duplicates.
2795 2002-11-10 Jim Meyering <jim@meyering.net>
2797 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(raise).
2799 2002-10-30 Paul Eggert <eggert@twinsun.com>
2801 * getgroups.m4 (jm_FUNC_GETGROUPS):
2802 Fix typo: cv_func_getgroups_works -> ac_cv_func_getgroups_works.
2804 2002-10-07 Paul Eggert <eggert@twinsun.com>
2806 * prereq.m4 (jm_PREREQ_HUMAN): Check for locale.h, localeconv,
2807 AC_HEADER_STDBOOL. No need to check for limits.h since it's in
2808 freestanding C89. No need to check for stdlib.h or string.h since
2809 autoconf does this now.
2811 2002-10-12 Paul Eggert <eggert@twionsun.com>
2813 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Remove fenv.h.
2815 2002-09-29 Jim Meyering <jim@meyering.net>
2817 * gettext.m4 (AM_INTL_SUBDIR): Don't require gt_HEADER_INTTYPES_H.
2818 It's not necessary with autoconf-2.54.
2820 2002-09-28 Jim Meyering <jim@meyering.net>
2822 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
2823 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
2824 * jm-macros.m4 (jm_MACROS): Don't set GETGROUPS_LIB here; now it's
2825 done via getgroups.m4's wrapper function.
2827 * strerror_r.m4: Remove file -- now it's part of autoconf-2.54.
2828 Reported by Akim Demaille.
2830 2002-09-25 Jim Meyering <jim@meyering.net>
2832 * gettext.m4: Upgrade to gettext-0.11.5.
2834 2002-09-07 Bruno Haible <bruno@clisp.org>
2836 * host-os.m4 (UTILS_HOST_OS): Add a case for freebsd*-gnu*.
2838 2002-09-17 Jim Meyering <jim@meyering.net>
2840 * jm-macros.m4 (jm_MACROS): Require gt_INTTYPES_PRI.
2841 * inttypes-pri.m4 (gt_INTTYPES_PRI): New file, mostly from gettext.
2843 2002-09-16 Jim Meyering <jim@meyering.net>
2845 * prereq.m4: Forbid symbols matching ^jm_[A-Z].
2846 (jm_PREREQ_QUOTEARG): Add jm_FUNC_MEMCMP.
2849 * error.m4 (jm_PREREQ_ERROR): Check for libintl.h.
2850 Reported by Akim Demaille.
2852 2002-09-13 Jim Meyering <jim@meyering.net>
2854 * jm-macros.m4 (jm_MACROS): Require autoconf-2.54.
2856 2002-09-09 Jim Meyering <jim@meyering.net>
2858 * getloadavg.m4: Remove file -- now it's part of autoconf-2.53c.
2859 * jm-macros.m4: Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
2860 AC_FUNC_GETLOADAVG where to find getloadavg.c.
2862 2002-09-03 Jim Meyering <jim@meyering.net>
2864 * gnu-source.m4: Remove file -- now it's part of autoconf-2.53c.
2865 * mbstate_t.m4: Likewise.
2866 * fnmatch.m4: Likewise.
2868 2002-08-05 Jim Meyering <jim@meyering.net>
2870 * jm-winsz1.m4: Also change use of $am_cv_sys_posix_termios
2871 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
2873 2002-08-03 Jim Meyering <jim@meyering.net>
2875 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
2876 Reported by mkc@mathdogs.com.
2878 2002-08-01 Jim Meyering <jim@meyering.net>
2880 * prereq.m4 (jm_PREREQ_TEMPNAME): lib/tempname.c may use uintmax_t,
2881 so require jm_AC_TYPE_UINTMAX_T. Patch by Joe Orton.
2883 2002-07-28 Jim Meyering <jim@meyering.net>
2885 * jm-macros.m4: Don't require jm_FUNC_READDIR.
2886 * readdir.m4 (jm_FUNC_READDIR): Remove file/macro. No longer needed.
2888 2002-07-27 Jim Meyering <jim@meyering.net>
2890 * prereq.m4 (jm_PREREQ_READUTMP): Don't check just
2891 `struct utmpx.ut_exit' and `struct utmp.ut_exit'. Instead, check
2892 all combinations of utmp/utmpx and ut_termination/e_termination
2895 2002-07-23 Jim Meyering <jim@meyering.net>
2897 * c-bs-a.m4 (AC_C_BACKSLASH_A): Remove file, now that autoconf
2898 provides this macro.
2900 2002-07-20 Jim Meyering <jim@meyering.net>
2902 * intdiv0.m4: New file. From gettex-0.11.3.
2904 * jm-macros.m4: Require autoconf-2.53b.
2905 Use new macros AC_FUNC_MALLOC and AC_FUNC_REALLOC,
2906 in place of jm_-prefixed ones. Thanks, Akim!
2907 * malloc.m4: Remove file, now that autoconf provides this macro.
2908 * realloc.m4: Likewise.
2910 2002-07-18 gettextize <bug-gnu-gettext@gnu.org>
2912 * gettext.m4: Upgrade to gettext-0.11.3.
2913 * iconv.m4: Upgrade to gettext-0.11.3.
2914 * isc-posix.m4: Upgrade to gettext-0.11.3.
2915 * lcmessage.m4: Upgrade to gettext-0.11.3.
2916 * lib-link.m4: Upgrade to gettext-0.11.3.
2918 2002-07-17 Jim Meyering <jim@meyering.net>
2920 * boottime.m4: New file. Extracted from sh-utils' configure.ac
2921 and extended to work also with *BSD systems.
2923 2002-07-15 Jim Meyering <jim@meyering.net>
2925 FreeBSD support for uname and uptime.
2926 * jm-macros.m4 (jm_MACROS): Check for the sysctl function.
2927 (jm_CHECK_ALL_HEADERS): Check for sys/sysctl.h.
2928 Suggestion from Bruno Haible.
2930 2002-06-11 Paul Eggert <eggert@twinsun.com>
2932 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
2934 2002-06-22 Jim Meyering <jim@meyering.net>
2936 * c-stack.m4: New file, from diffutils-2.8.2.
2937 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
2939 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
2940 now that configure.ac uses AC_GNU_SOURCE.
2941 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
2942 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
2944 Update to latest tools. Suggestions from Paul Eggert.
2945 * stdbool.m4: New file, from diffutils-2.8.2.
2946 * gnu-source.m4: Update from diffutils-2.8.2.
2947 * fnmatch.m4: Likewise.
2948 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
2949 to AC_HEADER_STDBOOL
2951 2002-06-21 Jim Meyering <jim@meyering.net>
2953 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
2954 * mbrtowc.m4: Likewise.
2956 * mbstate_t.m4: Update from diffutils-2.8.2.
2957 * mbswidth.m4: Reflect name change:
2958 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
2959 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
2961 * lib-link.m4: Update from gettext-0.11.2.
2962 * gettext.m4: Likewise.
2964 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
2965 From Alfred M. Szmidt.
2967 2002-05-19 Paul Eggert <eggert@twinsun.com>
2969 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
2971 2002-06-07 Jim Meyering <jim@meyering.net>
2973 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
2974 They're needed at least for NetBSD 1.5.2.
2975 ($statxfs_includes): Include those same headers.
2976 ($statxfs_includes): Include sys/vfs.h if available.
2977 ($statxfs_includes): Likewise for sys/statvfs.h.
2978 Check for the following members in both structs statfs and statvfs:
2979 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
2981 2002-06-01 Jim Meyering <jim@meyering.net>
2983 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
2984 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
2986 2002-05-28 Jim Meyering <jim@meyering.net>
2988 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
2989 Reported by Volker Borchert.
2991 2002-05-27 Jim Meyering <jim@meyering.net>
2993 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
2996 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
2997 use the replacement function; it wouldn't resolve at link time.
2998 Reported by Volker Borchert.
3000 2002-04-30 Jim Meyering <jim@meyering.net>
3002 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
3004 2002-04-29 Paul Eggert <eggert@twinsun.com>
3006 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
3007 Do not check for alloca.h (no longer used) or stdbool.h (was never
3008 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
3010 2002-04-28 Paul Eggert <eggert@twinsun.com>
3012 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
3014 2002-04-29 Jim Meyering <jim@meyering.net>
3016 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
3017 * prereq.m4: Add jm_PREREQ_STRNLEN.
3018 Use AC_FUNC_STRNLEN here instead.
3020 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
3021 With autoconf-2.53a, it's part of AC_PROG_CC.
3023 2002-04-28 Paul Eggert <eggert@twinsun.com>
3025 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
3026 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
3028 2002-04-24 Jim Meyering <jim@meyering.net>
3030 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
3031 (jm_PREREQ): Use it.
3033 * getloadavg.m4: Check for these headers: locale.h unistd.h
3034 mach/mach.h fcntl.h.
3035 Check for this function: setlocale.
3037 2002-04-16 Jim Meyering <jim@meyering.net>
3039 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
3040 ut_pid, ut_id, ut_exit.
3042 2002-04-12 Jim Meyering <jim@meyering.net>
3044 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
3045 check for f_type in sys/mount.h. Instead, just test for the existence
3046 of the getmntinfo function. Needed for Darwin 5.3.
3048 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
3049 This is necessary at least on Darwin 5.3.
3051 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
3052 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
3053 in the library, and that makes some versions of ranlib object.
3055 2002-04-09 Jim Meyering <jim@meyering.net>
3057 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
3058 to be more precise. Rather than saying we're checking whether the
3059 function `works', say what we're testing.
3060 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
3061 Reported by Bruno Haible.
3063 2002-02-27 Paul Eggert <eggert@twinsun.com>
3065 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
3066 Check for clock_settime.
3068 2002-02-25 Paul Eggert <eggert@twinsun.com>
3071 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
3072 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
3074 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
3076 * codeset.m4: Upgrade to gettext-0.11.
3077 * gettext.m4: Upgrade to gettext-0.11.
3078 * glibc21.m4: Upgrade to gettext-0.11.
3079 * iconv.m4: Upgrade to gettext-0.11.
3080 * isc-posix.m4: Upgrade to gettext-0.11.
3081 * lcmessage.m4: Upgrade to gettext-0.11.
3082 * lib-ld.m4: New file, from gettext-0.11.
3083 * lib-link.m4: New file, from gettext-0.11.
3084 * lib-prefix.m4: New file, from gettext-0.11.
3085 * progtest.m4: Upgrade to gettext-0.11.
3087 2002-02-15 Paul Eggert <eggert@twinsun.com>
3089 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
3090 (jm_PREREQ): Use it.
3092 2002-01-26 Jim Meyering <jim@meyering.net>
3094 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
3095 * strnlen.m4: Remove file, now that it's part of autoconf.
3097 2002-01-22 Paul Eggert <eggert@twinsun.com>
3099 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
3101 2002-01-19 Jim Meyering <jim@meyering.net>
3103 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
3104 Remove useless quotes: DF_PROG="df".
3105 * strnlen.m4: New file.
3107 2001-12-14 Jim Meyering <jim@meyering.net>
3109 * jm-macros.m4 (jm_MACROS): Check for iswspace.
3110 Suggestion from Bruno Haible.
3112 2001-11-20 Jim Meyering <jim@meyering.net>
3114 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
3115 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
3117 2001-11-19 Jim Meyering <jim@meyering.net>
3119 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
3120 directory. Use "conftestXXXXXX" as the template.
3121 Suggestion from Paul Eggert.
3123 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
3124 so the test doesn't mistakenly hit the max-open-files limit.
3126 2001-11-18 Jim Meyering <jim@meyering.net>
3128 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
3130 2001-11-17 Jim Meyering <jim@meyering.net>
3132 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
3133 Prompted by a report from Bob Proulx.
3135 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
3136 Instead, require UTILS_FUNC_MKSTEMP.
3138 2001-11-11 Jim Meyering <jim@meyering.net>
3140 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
3141 Now, that's done as part of AC_FUNC_STRTOD.
3143 2001-10-22 Paul Eggert <eggert@twinsun.com>
3145 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
3146 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
3148 2001-11-10 Jim Meyering <jim@meyering.net>
3150 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
3151 (jm_PREREQ): Use it.
3153 2001-11-09 Jim Meyering <jim@meyering.net>
3155 * jm-macros.m4: Require autoconf-2.52f.
3156 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
3157 Use these AC_-prefixed names, not the AM_-prefixed ones.
3159 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
3161 2001-11-04 Jim Meyering <jim@meyering.net>
3163 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
3165 2001-11-03 Jim Meyering <jim@meyering.net>
3167 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
3170 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
3171 know the name of the variable in the macro definition.
3173 2001-11-01 Jim Meyering <jim@meyering.net>
3175 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
3176 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
3178 2001-10-20 Paul Eggert <eggert@twinsun.com>
3180 * error.m4 (jm_PREREQ_ERROR):
3181 Do not invoke AC_CHECK_FUNCS with strerror_r, as
3182 AC_FUNC_STRERROR_R does that.
3183 Check for strerror declaration.
3185 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
3186 are supposed to have them these days.
3187 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
3188 Merge changes from latest Autoconf CVS.
3189 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3190 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3191 POSIX decided to standardize on the int flavor of strerror_r.
3193 2001-09-30 Jim Meyering <jim@meyering.net>
3195 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
3196 `struct fsstat' has the `f_fstypename' member.
3197 Use that to define FS_TYPE, which is now used to make
3198 the getfsstat link test tighter.
3200 2001-09-29 Jim Meyering <jim@meyering.net>
3202 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3203 [one-argument getmntent function]): Include stdio.h before mntent.h.
3204 SunOS 4.1.x needs it for the declaration of `FILE'.
3205 Patch by Volker Borchert.
3207 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3208 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
3209 sys/fs_types.h, and make the link-test for getfsstat guard #include
3210 directives with appropriate #if HAVE_*_H tests so that we can
3211 detect getfsstat on Apple Darwin1.3.7 systems.
3212 Reported by Nelson Beebe.
3213 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
3215 2001-09-28 Paul Eggert <eggert@twinsun.com>
3217 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
3218 #defines strtoimax. Also treat the other strto* functions
3221 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3222 Check for strtoul and strtoumax,
3223 as those declarations are made even in the signed case.
3224 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
3225 Likewise, for strtol and strtoimax.
3227 2001-09-24 Jim Meyering <jim@meyering.net>
3229 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
3231 2001-09-23 Jim Meyering <jim@meyering.net>
3233 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
3234 instead of the mere test for existence of mntent.h. The latter
3235 would get a false-positive on AIX 3.4 systems.
3236 In the outer getmntent if-block, don't die if neither of the getmntent
3237 tests succeeds. Instead, just fall through and continue with the
3240 2001-09-22 Jim Meyering <jim@meyering.net>
3242 * gettext.m4: New file. From gettext.
3243 * lcmessage.m4: Sync with gettext -- this changes only comments.
3244 * progtest.m4: Likewise
3245 * isc-posix.m4: Decrement serial number to sync with gettext.
3246 * glibc21.m4: Likewise.
3248 * libintl.m4: Remove. No longer used.
3250 2001-09-20 Jim Meyering <jim@meyering.net>
3252 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
3254 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
3257 2001-09-17 Jim Meyering <jim@meyering.net>
3259 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
3260 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
3261 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
3262 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
3263 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
3264 whenever the right hand side need not be expanded by the shell.
3266 2001-09-16 Paul Eggert <eggert@twinsun.com>
3268 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
3269 library. It's not correct, as some older glibcs are buggy.
3270 fnmatch wasn't fixed until glibc 2.2.
3272 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
3273 special shell magic here.
3275 2001-09-16 Jim Meyering <jim@meyering.net>
3277 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
3278 * jm-macros.m4: Require it.
3280 2001-09-15 Jim Meyering <jim@meyering.net>
3282 * jm-macros.m4: Check for help2man.
3284 2001-09-11 Jim Meyering <jim@meyering.net>
3286 * host-os.m4 (UTILS_HOST_OS): New file/macro.
3287 The body, by Paul Eggert, was moved here from configure.in.
3288 * jm-macros.m4: Require UTILS_HOST_OS.
3290 2001-09-04 Paul Eggert <eggert@twinsun.com>
3292 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
3293 (jm_PREREQ): Use it.
3295 2001-09-03 Paul Eggert <eggert@twinsun.com>
3297 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
3298 sys/param.h, as pathmax.h includes them.
3300 2001-09-03 Paul Eggert <eggert@twinsun.com>
3302 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
3303 (jm_PREREQ_XGETCWD): New macro.
3305 * getcwd.m4: New file.
3307 2001-09-01 Jim Meyering <jim@meyering.net>
3309 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
3312 2001-08-30 Paul Eggert <eggert@twinsun.com>
3314 Simplify code, partly by assuming autoconf 2.52 semantics.
3316 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
3318 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
3319 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
3321 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
3322 Move AC_REQUIRE to next-to-top level, to avoid confusion.
3323 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
3324 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
3325 * jm-macros.m4 (jm_MACROS): Likewise.
3327 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
3329 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3330 Quote first arg of AC_DEFUN.
3331 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
3332 since they are needed to parse the include file even if we need
3333 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
3334 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
3335 but with opposite signedness.
3337 2001-08-30 Paul Eggert <eggert@twinsun.com>
3339 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
3340 (jm_PREREQ_EXCLUDE): New macro.
3342 2001-08-26 Jim Meyering <jim@meyering.net>
3344 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
3346 * xstrtoimax.m4: New file.
3347 * xstrtoumax.m4: Add comments explaining why we
3348 AC_REPLACE_FUNCS(strtol).
3350 2001-06-20 Paul Eggert <eggert@twinsun.com>
3352 * inttypes.m4: Add AC_PREREQ(2.13).
3353 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
3354 (jm_AC_TYPE_INTMAX_T): New macro.
3355 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
3357 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
3359 * longlong.m4: Renamed from ulonglong.m4.
3360 * inttypes.m4: Renamed from inttypes_h.m4.
3361 * uintmax_t.m4: Removed.
3363 2001-08-12 Jim Meyering <jim@meyering.net>
3365 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
3366 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
3367 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
3368 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
3369 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
3370 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
3371 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
3372 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
3373 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
3374 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
3375 utime.m4, utimes.m4, xstrtoumax.m4:
3376 Quote the first argument in each use of AC_DEFUN.
3378 2001-08-05 Jim Meyering <jim@meyering.net>
3380 * jm-macros.m4: Require autoconf-2.52.
3382 2001-08-03 Paul Eggert <eggert@twinsun.com>
3384 The following changes are from gettext 0.10.39 as maintained by
3385 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
3387 * codeset.m4: Upgrade to serial AM1.
3388 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
3389 all uses changed. Quote first arg of AC_DEFUN.
3390 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
3392 * iconv.m4: Upgrade to serial AM2.
3393 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
3394 Add --with-libconv-prefix.
3395 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
3396 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
3397 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
3398 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
3399 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
3401 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
3402 * getline.m4 (AM_FUNC_GETLINE): Likewise.
3403 * glibc21.m4 (jm_GLIBC21): Likewise.
3404 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
3405 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
3406 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
3407 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
3408 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
3409 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
3411 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
3414 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
3415 not the default value.
3417 2001-06-25 Bruno Haible <haible@clisp.cons.org>
3418 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
3419 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
3420 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
3421 Also check for iswcntrl, used for wcwidth fallback.
3422 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
3425 2001-08-03 Jim Meyering <jim@meyering.net>
3427 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
3428 as it was in the original. Reported by Paul Eggert.
3430 2001-07-16 Jim Meyering <jim@meyering.net>
3432 * gettimeofday.m4: New file.
3433 Prompted by a report from Bernhard Baehr.
3435 2001-07-15 Jim Meyering <jim@meyering.net>
3437 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
3438 Now it's in ../Makefile.cfg.
3440 2001-07-04 Jim Meyering <jim@meyering.net>
3442 * Makefile.am.in (glibc-io.struct): New target. Rework the code
3443 that generates jm-glibc-io.m4 so that it doesn't trigger any make
3446 2001-07-02 Jim Meyering <jim@meyering.net>
3448 The following changes were prompted by suggestions from Bruno Haible.
3450 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
3452 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
3453 definition of EXTRA_DIST.
3454 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
3455 ensure that the generated file is created/updated whenever the list
3456 of $(unlocked_functions) is changed.
3457 (jm-glibc-io.m4): New rule.
3458 (unlocked-io.h): New rule -- currently unused.
3460 2001-06-24 Jim Meyering <jim@meyering.net>
3462 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
3463 unmatched right bracket, rather than kludging it with an extra,
3464 falsely-matching quote in a comment. Patch by Akim Demaille.
3466 2001-05-27 Jim Meyering <jim@meyering.net>
3468 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
3469 Check for ut_type in struct utmp.
3471 2001-05-22 Jim Meyering <jim@meyering.net>
3473 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
3474 now that we use the package-supplied version unconditionally.
3475 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
3477 2001-05-21 Jim Meyering <jim@meyering.net>
3479 * regex.m4: Change a couple backticks to single quotes to avoid shell
3482 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
3484 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
3486 2001-05-11 Paul Eggert <eggert@twinsun.com>
3488 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
3489 Don't bother to check library strftime, since
3490 we'll be using our own my_strftime function anyway.
3491 Define my_strftime instead of strftime.
3493 2001-05-15 Jim Meyering <jim@meyering.net>
3495 * regex.m4: Use proper quoting so brackets appear in the test program.
3496 Reported by, and with help from, Bruno Haible.
3498 2001-05-13 Jim Meyering <jim@meyering.net>
3500 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
3502 2000-11-26 Paul Eggert <eggert@twinsun.com>
3504 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
3506 2001-04-21 Jim Meyering <jim@meyering.net>
3508 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
3511 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
3513 * ftruncate.m4: Check for chsize.
3514 Link with ftruncate.o unconditionally if ftruncate is missing.
3515 This was required when cross-compiling to i586-mingw32msvc.
3517 2001-03-24 Jim Meyering <jim@meyering.net>
3519 * jm-macros.m4: Require autoconf-2.49d.
3521 2001-03-20 Bruno Haible <haible@clisp.cons.org>
3523 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
3525 2001-03-17 Jim Meyering <jim@meyering.net>
3527 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
3528 now that the version in autoconf is equivalent.
3529 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
3531 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
3532 Suggestion from Akim Demaille.
3534 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
3535 (jm_PREREQ_TEMPNAME): New function.
3537 2001-02-25 Paul Eggert <eggert@twinsun.com>
3539 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
3540 lacks mkstemp. Compile our own tempname.c if we compile our own
3541 mkstemp.c, as mkstemp relies on tempname.
3543 2001-03-01 Jim Meyering <jim@meyering.net>
3545 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
3546 AH_VERBATIM really does output its argument verbatim.
3548 2001-02-18 Paul Eggert <eggert@twinsun.com>
3550 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
3552 2001-02-17 Jim Meyering <jim@meyering.net>
3554 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
3555 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
3556 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
3559 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
3560 rather than AC_CACHE_VAL.
3562 2001-02-17 Paul Eggert <eggert@twinsun.com>
3564 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
3565 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
3566 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
3567 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3569 2001-02-07 Jim Meyering <jim@meyering.net>
3571 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
3573 2001-02-05 Jim Meyering <jim@meyering.net>
3575 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
3576 it includes the patch required for `large file' support with at least
3577 HP-UX's 10.20 /bin/cc.
3579 2001-02-03 Jim Meyering <jim@meyering.net>
3581 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
3582 AS_IF, now that it works once again (mysteriously).
3583 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
3585 2001-01-30 Jim Meyering <jim@meyering.net>
3587 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
3588 * chown.m4: Rename conftestchown to conftest.chown.
3589 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
3590 * utimes.m4: s/conftestdata/conftest.data/
3591 Inspired by Pavel Roskin's change in autoconf.
3593 2001-01-27 Jim Meyering <jim@meyering.net>
3595 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
3597 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
3599 2001-01-26 Jim Meyering <jim@meyering.net>
3601 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
3602 quotearg.c includes it.
3604 2001-01-15 Bruno Haible <haible@clisp.cons.org>
3606 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
3609 2001-01-20 Jim Meyering <jim@meyering.net>
3611 Be sure that headers are checked before used in code compiled
3612 for the type checks.
3613 * jm-macros.m4 (jm_MACROS): Remove all header checks.
3614 In place of that, invoke jm_CHECK_ALL_TYPES.
3615 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
3616 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
3617 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
3618 The check for ssize_t was mistakenly run before the test for unistd.h.
3620 The configure-time check for stdbool.h was missing.
3621 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
3622 (jm_PREREQ_HASH): New function.
3624 2001-01-17 Jim Meyering <jim@meyering.net>
3626 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
3628 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
3630 2001-01-14 Jim Meyering <jim@meyering.net>
3632 * rename.m4: Use temporary directories named conftestdir{,2}, not
3633 foo and bar. Create conftestdir/ in the script, not in the C code.
3634 Remove directories in the script, not in the C code.
3635 Remove conftestdir{,2} before trying to create the directory.
3636 Make the entire configure script fail if the mkdir fails.
3638 2001-01-02 Volker Borchert <bt@teknon.de>
3640 * rename.m4: New file.
3641 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
3643 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
3645 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
3646 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
3647 so `make install' also works in VPATH builds.
3649 2001-01-01 Jim Meyering <jim@meyering.net>
3651 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
3652 on systems with utmpx.h. It's necessary for the declaration of utmp's
3653 ut_user member. Reported by Andreas Jaeger.
3655 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
3656 They are required for the declarations of getgrgid and getpwuid resp.
3657 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
3658 Reported by Andreas Jaeger.
3660 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3662 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
3663 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
3664 can be used in subdirectories.
3666 2000-12-26 Jim Meyering <jim@meyering.net>
3668 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
3671 2000-12-17 Jim Meyering <jim@meyering.net>
3673 * dos.m4 (jm_AC_DOS): New file and macro.
3674 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
3676 2000-12-06 Paul Eggert <eggert@twinsun.com>
3678 * off_t-format.m4: Remove this file.
3679 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
3681 2000-12-06 Jim Meyering <jim@meyering.net>
3683 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
3684 strtoull, we may well need the replacement strtoul, too.
3685 Check for declarations of strtoul and strtoull.
3686 Check for strtol. Mainly as a cue to cause automake to include
3687 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
3688 Check for limits.h -- strtol.c needs it.
3690 2000-12-02 Jim Meyering <jim@meyering.net>
3692 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
3693 * jm-macros.m4 (jm_MACROS): require it.
3695 2000-11-30 Jim Meyering <jim@meyering.net>
3697 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
3699 2000-11-30 Jim Meyering <jim@meyering.net>
3701 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
3703 2000-11-03 Bruno Haible <haible@clisp.cons.org>
3705 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
3707 2000-11-04 Jim Meyering <jim@meyering.net>
3709 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
3711 2000-10-29 Jim Meyering <jim@meyering.net>
3713 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
3714 * ls-mntd-fs.m4: Likewise
3716 2000-10-28 Jim Meyering <jim@meyering.net>
3718 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
3719 (jm_PREREQ_MEMCHR): New function.
3721 2000-10-21 Jim Meyering <jim@meyering.net>
3723 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
3724 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
3725 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
3727 2000-09-18 Jim Meyering <jim@meyering.net>
3729 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
3730 Otherwise, everyone ends up linking with -lelf for some configurations.
3731 Reported by Mike Stone.
3733 2000-08-26 Jim Meyering <jim@meyering.net>
3735 * jm-macros.m4: Use jm_FUNC_FPENDING.
3736 * fpending.m4: New file.
3738 2000-08-20 Jim Meyering <jim@meyering.net>
3740 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
3741 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
3742 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
3744 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
3746 Improve fileutils installation on systems where running
3747 programs (like install) can't be unlinked.
3748 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
3749 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
3751 2000-08-06 Paul Eggert <eggert@twinsun.com>
3753 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
3754 not char, for compatibility with glibc 2.1.3 strftime.c.
3756 2000-07-23 Paul Eggert <eggert@twinsun.com>
3758 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
3760 2000-07-23 Jim Meyering <jim@meyering.net>
3762 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
3763 getgrgid, getpwuid, getuid.
3765 2000-07-16 Bruno Haible <haible@clisp.cons.org>
3767 * mbswidth.m4: New file.
3768 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
3770 2000-07-14 Jim Meyering <jim@meyering.net>
3772 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
3774 2000-07-10 Paul Eggert <eggert@twinsun.com>
3776 From a suggestion by Bruno Haible.
3777 * mbstate_t.m4 (AC_MBSTATE_T):
3778 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
3779 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
3780 and mbstate_t, to a single-part test that simply defines mbstate_t.
3781 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
3783 2000-07-10 Jim Meyering <jim@meyering.net>
3785 * strerror_r.m4: Mirror the correction made in autoconf.
3787 * gnu-source.m4: Output to confdefs.h directly.
3788 Suggestion from Akim Demaille.
3790 2000-07-09 Jim Meyering <jim@meyering.net>
3792 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
3793 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
3795 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
3796 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
3798 2000-07-05 Bruno Haible <haible@clisp.cons.org>
3800 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
3802 Include <ctype.h> for use of isalpha.
3804 2000-07-05 Paul Eggert <eggert@twinsun.com>
3805 and Bruno Haible <haible@clisp.cons.org>
3807 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
3808 only if the test for an object-type mbstate_t fails. This
3809 prevents us from mistakenly reporting that mbstate_t is a
3810 system object type after we "#define mbstate_t int" to work
3813 2000-07-04 Jim Meyering <jim@meyering.net>
3815 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
3816 of the deprecated AC_CHECKING.
3818 2000-07-03 Jim Meyering <jim@meyering.net>
3820 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
3822 2000-07-03 Paul Eggert <eggert@twinsun.com>
3824 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
3825 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
3827 2000-07-02 Jim Meyering <jim@meyering.net>
3829 * mbstate_t.m4: Also define mbstate_t, if necessary.
3831 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
3832 AC_LIBOBJ(function_name).
3833 * chown.m4: Likewise.
3834 * fnmatch.m4: Likewise.
3835 * ftruncate.m4: Likewise.
3836 * getgroups.m4: Likewise.
3837 * getline.m4: Likewise.
3838 * group-member.m4: Likewise.
3839 * jm-macros.m4: Likewise.
3840 * lstat.m4: Likewise.
3841 * malloc.m4: Likewise.
3842 * memcmp.m4: Likewise.
3843 * nanosleep.m4: Likewise.
3844 * putenv.m4: Likewise.
3845 * realloc.m4: Likewise.
3846 * regex.m4: Likewise.
3847 * stat.m4: Likewise.
3848 * strftime.m4: Likewise.
3850 2000-07-01 Jim Meyering <jim@meyering.net>
3852 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
3855 2000-06-17 Bruno Haible <haible@clisp.cons.org>
3857 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
3858 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
3860 2000-07-01 Jim Meyering <jim@meyering.net>
3862 * uptime.m4: Put double quotes around use of $cross_compiling.
3864 2000-06-28 Jim Meyering <jim@meyering.net>
3866 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
3867 by quotearg.c, for which we perform this test. From Bruno Haible.
3869 2000-06-17 Bruno Haible <haible@clisp.cons.org>
3871 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
3872 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
3873 <utmpx.h> exists, put readutmp.o into LIBOBJS.
3875 2000-06-25 Jim Meyering <jim@meyering.net>
3877 * mbstate_t.m4: Include stdio.h before wchar.h to work around
3878 Linux header bug when _XOPEN_SOURCE is defined to 500.
3880 2000-06-24 Jim Meyering <jim@meyering.net>
3882 * strerror_r.m4: Revive this file -- to try out an experimental
3883 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
3884 for which strerror does return char*, but which lacks a conveniently
3885 accessible declaration of the function. If the compile-test says
3886 strerror_r doesn't work, then resort to a `run'-test that works on
3887 BeOS and segfaults on DEC Unix.
3889 2000-06-19 Paul Eggert <eggert@twinsun.com>
3891 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
3892 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
3894 2000-06-23 Jim Meyering <jim@meyering.net>
3896 * afs.m4: Add missing AC_MSG_RESULT.
3897 Reported by Bruno Haible.
3899 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
3900 Suggestion from Bruno Haible.
3902 2000-06-21 Jim Meyering <jim@meyering.net>
3904 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
3906 2000-06-18 Jim Meyering <jim@meyering.net>
3908 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
3910 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
3911 `checking whether...' message to be consistent with that of the
3914 2000-06-16 Bruno Haible <haible@clisp.cons.org>
3916 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
3918 2000-06-12 Jim Meyering <jim@meyering.net>
3920 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
3921 from autoconf, and tweak the latter to accept an optional argument.
3922 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
3923 the optional argument, `lib'.
3925 2000-06-08 Jim Meyering <jim@meyering.net>
3927 * largefile.m4: Remove file (now that it's part of autoconf).
3929 2000-06-04 Paul Eggert <eggert@twinsun.com>
3931 Rewrite largefile configuration so that we don't need to run
3932 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
3933 AC_CANONICAL_HOST in configure.in -- jmm]
3935 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
3936 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
3937 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
3938 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
3939 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
3941 Instead of inspecting the output of getconf, try to compile the
3942 test program without and with the macro definition.
3943 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
3944 for getconf. Instead, check for the needed flags by compiling
3947 2000-06-03 Jim Meyering <jim@meyering.net>
3949 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
3950 now that autoconf requires that.
3952 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
3953 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
3954 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
3956 2000-05-26 Bruno Haible <haible@clisp.cons.org>
3958 * glibc21.m4: New file.
3959 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
3961 2000-05-28 Jim Meyering <jim@meyering.net>
3963 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
3964 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
3965 * stat.m4: Likewise.
3966 * lstat.m4: Likewise.
3967 * lstat-slash.m4: Remove file (absorbed into autoconf).
3969 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
3970 * strerror_r.m4: Remove file (absorbed into autoconf).
3972 2000-05-26 Jim Meyering <jim@meyering.net>
3974 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
3976 2000-05-24 Jim Meyering <jim@meyering.net>
3978 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
3979 autoconf requires that.
3980 * lib-check.m4: Likewise.
3981 * jm-macros.m4: Likewise.
3982 * strftime.m4: Likewise.
3984 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
3985 now that autoconf requires that.
3987 2000-05-22 Jim Meyering <jim@meyering.net>
3989 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
3990 * lstat.m4: Likewise.
3992 2000-05-20 Jim Meyering <jim@meyering.net>
3994 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
3995 (jm_PREREQ): Use it.
3997 2000-05-09 Jim Meyering <jim@meyering.net>
3999 * gettext.m4: Rename this...
4000 * libintl.m4: ...to this.
4002 2000-05-06 Jim Meyering <jim@meyering.net>
4004 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
4005 (AC_REPLACE_FUNCS): Add strnlen.
4007 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
4008 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
4010 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
4011 AC_SEARCH_LIBS call for nanosleep.
4012 (LIB_NANOSLEEP): Set and AC_SUBST.
4014 2000-05-03 Paul Eggert <eggert@twinsun.com>
4016 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
4017 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
4018 2.1.3 bug. This avoids a clash when files like regex.c define
4021 2000-05-05 Jim Meyering <jim@meyering.net>
4023 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
4024 call for clock_gettime.
4025 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
4027 * search-libs.m4: Update from autoconf.
4029 su doesn't work on Solaris 2.6.
4030 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
4031 <shadow.h>. Reported by Dragos Harabor.
4033 2000-05-03 Jim Meyering <jim@meyering.net>
4035 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
4037 2000-05-02 Paul Eggert <eggert@twinsun.com>
4039 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
4040 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
4041 compile-time test, rather than inspecting host and OS, to
4042 decide whether to define _LARGEFILE_SOURCE.
4044 2000-05-01 Jim Meyering <jim@meyering.net>
4046 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
4048 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
4049 Based on a patch from Bruno Haible.
4051 2000-04-18 Jim Meyering <jim@meyering.net>
4053 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
4054 (jm_PREREQ): Use it.
4056 2000-04-17 Jim Meyering <jim@meyering.net>
4059 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
4060 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
4061 Suggestion from Akim Demaille.
4063 2000-04-14 Jim Meyering <jim@meyering.net>
4065 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
4066 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
4068 2000-04-13 Jim Meyering <jim@meyering.net>
4070 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
4071 to insert required #ifndef into config.h.in.
4072 Suggestion from Akim Demaille.
4074 2000-04-12 Jim Meyering <jim@meyering.net>
4076 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
4077 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
4078 Christian Krackowizer.
4080 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
4081 * jm-macros.m4 (_GNU_SOURCE): Define.
4082 (AC_SYS_LARGEFILE): Require.
4083 (AM_C_PROTOTYPES): Require.
4085 2000-04-05 Paul Eggert <eggert@twinsun.com>
4087 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
4088 IRIX if the installer said otherwise.
4090 2000-04-05 Jim Meyering <jim@meyering.net>
4092 Portability tweaks required for ultrix4.3.
4093 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
4094 (jm_CHECK_DECLS): Add getutent to the list of functions.
4095 (_jm_DECL_HEADERS): Add utmpx.h.
4096 From John David Anglin.
4098 * strftime.m4: Back out the 2000-04-02 change.
4099 Instead of that change, simply undefine putenv in the test program.
4101 2000-04-03 Jim Meyering <jim@meyering.net>
4103 * gettext.m4: Fix typo in comment.
4105 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
4106 textutils/configure.in). Suggestion from Paul Eggert.
4107 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
4109 2000-04-02 Paul Eggert <eggert@twinsun.com>
4111 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
4112 variable in the shell rather than using putenv, which isn't
4113 portable. This avoids the configure-time inter-test dependency
4114 on the potentially-renamed putenv function.
4116 2000-03-30 Paul Eggert <eggert@twinsun.com>
4118 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
4119 before checking struct stat.st_blksize, so that
4120 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
4122 2000-03-29 Paul Eggert <eggert@twinsun.com>
4124 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
4125 since strftime.c uses HAVE_STRFTIME to decide whether to use
4126 the underlying strftime.
4128 2000-03-10 Jim Meyering <jim@meyering.net>
4130 * lib-check.m4: Look for getspnam in -lgen, too.
4133 2000-02-02 Bruno Haible <haible@clisp.cons.org>
4135 * codeset.m4: New file.
4136 * iconv.m4: New file.
4137 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
4139 2000-03-04 Jim Meyering <jim@meyering.net>
4141 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
4142 for lib/localcharset.c.
4144 2000-03-03 Jim Meyering <jim@meyering.net>
4146 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
4148 2000-03-02 Jim Meyering <jim@meyering.net>
4150 * timespec.m4: Require AC_HEADER_TIME before the cache check so
4151 the messages come out on separate lines.
4153 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
4154 rather than jm_CHECK_DECLARATIONS.
4155 * decl.m4: Remove now-unused file.
4157 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
4159 2000-02-27 Jim Meyering <jim@meyering.net>
4161 * check-decl.m4: Add getenv to the list.
4163 2000-02-23 Jim Meyering <jim@meyering.net>
4165 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
4166 in place of my hack.
4168 2000-02-10 Jim Meyering <jim@meyering.net>
4170 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
4171 gnu_nanosleep to rpl_nanosleep.
4173 2000-02-09 Jim Meyering <jim@meyering.net>
4175 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
4176 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
4178 2000-02-08 Akim Demaille <akim@epita.fr>
4180 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
4181 `[' and `]' and remove uses of `changequote'.
4182 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
4183 (AC_SYS_LARGEFILE): Likewise.
4184 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
4185 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
4187 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
4188 * readdir.m4 (jm_FUNC_READDIR): Likewise
4189 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
4190 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
4192 2000-02-05 Jim Meyering <jim@meyering.net>
4194 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
4195 Remove explicit use of AC_HEADER_TIME. It is required by
4196 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
4197 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
4198 in autoconf whereby the expansion of the latter ended up preceding
4199 the expansion of its prerequisite, AC_HEADER_TIME.
4200 Reported by Volker Borchert.
4202 2000-02-03 Jim Meyering <jim@meyering.net>
4204 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
4206 2000-02-02 Jim Meyering <jim@meyering.net>
4208 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
4209 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
4210 Reported by Eli Zaretskii.
4212 2000-01-31 Jim Meyering <jim@meyering.net>
4214 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
4215 functions. Add the time.h and sys/time.h headers along with the
4216 AC_REQUIRE'ment of AC_HEADER_TIME.
4218 2000-01-30 Jim Meyering <jim@meyering.net>
4220 * lib-check.m4: Clean up some kludgy old shadow password tests.
4222 * prereq.m4 (utmp_includes): Define.
4223 Check for ut_user and ut_name members in both struct utmpx
4226 2000-01-29 Jim Meyering <jim@meyering.net>
4228 * lib-check.m4: New file containing library-related checks from
4229 fileutils and sh-utils (textutils had none).
4231 2000-01-28 Jim Meyering <jim@meyering.net>
4233 * perl.m4: Change format of warning message to look more like that
4234 from the missing script. Suggestion from François Pinard.
4236 2000-01-25 Jim Meyering <jim@meyering.net>
4238 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
4239 as time.h in the compile check.
4240 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
4241 Fix typo in cross-compiling case: s/yes/no/.
4243 2000-01-23 Jim Meyering <jim@meyering.net>
4245 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
4247 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
4248 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
4250 * fsusage.m4: New file. Extracted from fileutils/configure.in.
4251 s/space/ac_fsusage_space/.
4252 (jm_FILE_SYSTEM_USAGE): Take two parameters.
4254 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
4255 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
4256 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
4258 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
4259 AC_SUBST these here, rather than just in sh-util/configure.in, so
4260 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
4262 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
4263 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
4264 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
4265 (AC_SUBST(POW_LIBM)): Likewise.
4266 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
4268 2000-01-22 Jim Meyering <jim@meyering.net>
4270 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
4272 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
4274 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
4276 (AC_CHECK_HEADERS): Likewise for sh-utils.
4277 (AC_CHECK_HEADERS): Likewise for textutils.
4278 Merge the three lists of headers.
4280 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
4281 from fileutils' configure.in.
4283 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
4284 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
4286 * check-decl.m4: Use #if rather than #ifdef.
4287 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
4288 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
4289 (_jm_DECL_HEADERS): Define new function.
4290 (jm_CHECK_DECLARATIONS): Require it.
4292 2000-01-19 Jim Meyering <jim@meyering.net>
4294 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
4295 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
4296 defines `struct timespec' in <sys/time.h>
4298 * c-bs-a.m4: Remove uses of changequote altogether.
4299 Thanks to Akim for explaining.
4301 2000-01-16 Jim Meyering <jim@meyering.net>
4303 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
4304 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
4305 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
4306 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
4308 2000-01-16 Jim Meyering <jim@meyering.net>
4310 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
4311 because the latter didn't work.
4313 2000-01-15 Jim Meyering <jim@meyering.net>
4315 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
4316 (AC_REPLACE_FUNCS): Add memcpy and memset.
4317 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
4319 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
4321 2000-01-12 Jim Meyering <jim@meyering.net>
4323 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
4324 (jm_PREREQ): Use it.
4325 (jm_PREREQ_READUTMP): New macro.
4326 (jm_PREREQ): Use it.
4328 2000-01-11 Paul Eggert <eggert@twinsun.com>
4330 Quote multibyte characters correctly.
4331 * c-bs-a.m4: New file.
4332 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
4333 (jm_PREREQ): Use it.
4335 2000-01-11 Paul Eggert <eggert@twinsun.com>
4337 * uintmax_t.m4: Port to autoconf 2.13.
4339 2000-01-08 Jim Meyering <meyering@ascend.com>
4341 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
4342 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
4344 2000-01-04 Jim Meyering <meyering@ascend.com>
4346 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
4347 jm_STRUCT_DIRENT_D_TYPE.
4348 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
4349 jm_STRUCT_DIRENT_D_INO.
4350 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
4352 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
4353 * utime.m4: Likewise.
4355 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
4356 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
4358 2000-01-03 Paul Eggert <eggert@twinsun.com>
4360 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
4361 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
4363 2000-01-02 Jim Meyering <meyering@ascend.com>
4365 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
4366 remember if this is necessary.
4368 1999-12-26 Jim Meyering <meyering@ascend.com>
4370 * jm-macros.m4: Use it here.
4371 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
4373 1999-12-23 Jim Meyering <meyering@ascend.com>
4375 * jm-macros.m4: Check for clock_gettime (moved from
4376 fileutils/configure.in)
4377 Check for gettimeofday.
4379 1999-12-20 Jim Meyering <meyering@ascend.com>
4381 * strftime.m4: Remove kludge, now that I'm using the fixed
4382 autoconf-2.14a-1999-12-20.
4384 1999-12-19 Jim Meyering <meyering@ascend.com>
4386 * lstat-slash.m4: New file.
4387 * jm-macros.m4: Use the new macro:
4388 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4390 1999-12-07 Jim Meyering <meyering@ascend.com>
4392 * perl.m4: Require that File::Compare be available, too.
4393 Too many systems seem to lack it.
4395 * strftime.m4: Add checks for most of the cpp macros tested in
4396 GNU's strftime.c. Prompted by a patch from Paul Eggert.
4398 1999-11-18 Paul Eggert <eggert@twinsun.com>
4400 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
4401 problem with the QNX 4.25 shell, which doesn't propagate exit
4402 status of failed commands inside shell assignments.
4404 1999-11-17 Jim Meyering <meyering@ascend.com>
4406 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
4408 1999-11-07 Jim Meyering <meyering@ascend.com>
4410 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
4412 1999-11-06 Jim Meyering <meyering@ascend.com>
4414 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
4415 * jm-macros.m4 (jm_MACROS): Use it here.
4417 1999-11-05 Jim Meyering <meyering@ascend.com>
4419 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
4420 of textutils, fileutils, and sh-utils into this one (shared between
4421 those packages) file.
4422 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
4423 AC_STRUCT_ST_BLKSIZE.
4425 1999-11-03 Jim Meyering <meyering@ascend.com>
4427 * ssize_t.m4: Remove file. No longer needed since the new version of
4428 AC_CHECK_TYPE checks includes unistd.h.
4429 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
4430 Suggestion from Akim Demaille.
4432 1999-10-30 Jim Meyering <meyering@ascend.com>
4434 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
4436 * ls-mntd-fs.m4: Likewise.
4437 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
4438 * jm-winsz1.m4: Likewise.
4440 * const.m4: Remove file, since the fix made it into the experimental
4441 version of autoconf.
4442 * mktime.m4: Likewise.
4444 * check-type.m4: Remove file, now that the latest version of
4445 AC_CHECK_TYPE takes a third arg to specify additional #includes.
4447 * ssize_t.m4: New file, requires experimental version of autoconf.
4448 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
4451 1999-10-04 Jim Meyering <meyering@ascend.com>
4453 * jm-macros.m4: Don't require autoconf-2.14.1.
4455 1999-09-22 Paul Eggert <eggert@twinsun.com>
4457 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
4458 2.95.1 bug with HP-UX 10.20.
4460 1999-09-17 Jim Meyering <meyering@ascend.com>
4462 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
4463 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
4464 due to missing strdup (against sh-utils-2.0).
4466 1999-08-29 Jim Meyering <meyering@ascend.com>
4468 * jm-macros.m4: Require jm_BISON.
4469 * bison.m4: New file.
4471 1999-08-17 Paul Eggert <eggert@twinsun.com>
4473 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
4474 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
4476 1999-08-05 Jim Meyering <meyering@ascend.com>
4478 * getline.m4: Rename test file from conftestdata to conftest.data
4479 to avoid conflicts with `conftest' on 8+3 filesystems.
4480 Suggestion from Eli Zaretskii.
4482 1999-08-04 Jim Meyering <meyering@ascend.com>
4484 * jm-macros.m4: Move a 4-line block of code from the configure.in of
4485 fileutils and sh-utils (textutils's getline test was inadequate).
4486 (AM_FUNC_GETLINE): Run this test.
4487 (AC_CHECK_FUNCS): Check for getdelim.
4488 Reported by Bob Proulx.
4490 1999-08-02 Jim Meyering <meyering@ascend.com>
4492 * jm-macros.m4: Add a comment.
4494 1999-08-01 Jim Meyering <meyering@ascend.com>
4496 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
4498 1999-08-01 Paul Eggert <eggert@twinsun.com>
4500 * lfs.m4: Remove this file.
4501 * largefile.m4: New file. It contains the old contents of
4502 lfs.m4, except that all names with prefix AC_LFS have been
4503 changed to use the prefix AC_SYS_LARGEFILE instead, to be
4504 compatible with future autoconf versions. Also, some minor m4
4505 quoting problems have been fixed.
4507 1999-07-16 Paul Eggert <eggert@twinsun.com>
4509 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
4510 that we can shift, multiply and divide unsigned long long
4511 values; Ultrix cc can't do it.
4513 1999-07-14 Paul Eggert <eggert@twinsun.com>
4515 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
4516 <inttypes.h> defines strtoumax as a macro (and not as a
4519 1999-07-05 Paul Eggert <eggert@twinsun.com>
4521 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
4522 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
4523 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
4524 and simplify the shell code.
4526 1999-07-03 Paul Eggert <eggert@twinsun.com>
4528 * mktime.m4: New file, which is a preview of what should appear
4529 in the next public autoconf release.
4531 1999-07-20 Jim Meyering <meyering@ascend.com>
4533 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
4535 1999-07-15 Jim Meyering <meyering@ascend.com>
4537 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
4539 1999-05-22 Jim Meyering <meyering@ascend.com>
4541 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
4543 1999-05-20 Jim Meyering <meyering@ascend.com>
4545 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
4546 Add a colon after each `then' in case $4 is empty.
4548 1999-05-16 Jim Meyering <meyering@ascend.com>
4550 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
4552 1999-05-10 Jim Meyering <meyering@ascend.com>
4554 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
4556 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
4559 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4561 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
4563 1999-05-04 Paul Eggert <eggert@twinsun.com>
4565 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
4566 not CPPFLAGS, so that linking works correctly in IRIX.
4568 1999-04-30 Paul Eggert <eggert@twinsun.com>
4570 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
4572 1999-04-20 Jim Meyering <meyering@ascend.com>
4574 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
4575 AC_REPLACE xstroull if necessary. From Paul Eggert.
4576 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
4578 1999-04-20 Paul Eggert <eggert@twinsun.com>
4580 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
4581 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
4582 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
4583 jm_AC_TYPE_UNSIGNED_LONG_LONG.
4584 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
4586 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
4588 1999-04-18 Jim Meyering <meyering@ascend.com>
4590 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
4591 * jm-macros.m4: Use it.
4593 1999-04-06 Jim Meyering <meyering@ascend.com>
4595 * strftime.m4: Remove test for %f.
4597 1999-03-29 Jim Meyering <meyering@ascend.com>
4599 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
4600 superset of the AC_TYPE_* checks in the textutils, fileutils,
4601 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
4604 1999-03-28 Jim Meyering <meyering@ascend.com>
4606 * jm-macros.m4: Define GNU_PACKAGE here.
4607 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
4608 replaced e.g., in the *.sh files of the sh-utils.
4610 1999-03-20 Jim Meyering <meyering@ascend.com>
4612 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
4613 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
4614 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
4616 1999-03-19 Jim Meyering <meyering@ascend.com>
4618 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
4620 1999-03-12 Jim Meyering <meyering@ascend.com>
4622 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
4624 1999-03-07 Jim Meyering <meyering@ascend.com>
4626 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
4628 1999-02-17 Jim Meyering <meyering@ascend.com>
4630 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
4631 in macro definition. From Eli Zaretskii and Alain Magloire.
4633 1999-02-07 Jim Meyering <meyering@ascend.com>
4635 * group-member.m4: New file -- extracted from sh-utils' configure.in.
4637 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
4638 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
4640 1999-02-06 Jim Meyering <meyering@ascend.com>
4642 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
4643 * fnmatch.m4: Likewise.
4644 * getgroups.m4: Likewise.
4645 * lstat.m4: Likewise.
4646 * malloc.m4: Likewise.
4647 * putenv.m4: Likewise.
4648 * realloc.m4: Likewise.
4649 * regex.m4: Likewise.
4650 * stat.m4: Likewise.
4651 * strftime.m4: Likewise.
4652 Suggestion from Alain Magloire.
4654 * chown.m4: Use `.$ac_objext', not `.o'.
4655 * fnmatch.m4: Likewise.
4656 * getgroups.m4: Likewise.
4657 * getline.m4: Likewise.
4658 * lstat.m4: Likewise.
4659 * malloc.m4: Likewise.
4660 * memcmp.m4: Likewise.
4661 * putenv.m4: Likewise.
4662 * realloc.m4: Likewise.
4663 * regex.m4: Likewise.
4664 * stat.m4: Likewise.
4665 * strftime.m4: Likewise.
4666 Suggestion from Alain Magloire.
4668 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
4671 * regex.m4: Add a run-time Test for proper operation of
4674 1999-01-31 Jim Meyering <meyering@ascend.com>
4676 * getloadavg.m4: Check for locale.h and the function, setlocale.
4678 1999-01-30 Jim Meyering <meyering@ascend.com>
4680 * check-type.m4: Use 3-arg form of AC_DEFINE.
4682 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
4683 rather than my private copy, now that the official one is up to date.
4684 * mktime.m4: Remove file.
4686 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
4687 * uptime.m4: Likewise.
4688 * uintmax_t.m4: Likewise.
4690 1999-01-28 Jim Meyering <meyering@ascend.com>
4692 * jm-macros.m4: Use jm_AFS.
4693 * afs.m4: New file (from fileutils' configure.in).
4695 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
4696 * chown.m4: Likewise.
4697 * d-ino.m4: Likewise.
4698 * d-type.m4: Likewise.
4699 * fnmatch.m4: Likewise.
4700 * getgroups.m4: Likewise.
4701 * gettext.m4: Likewise.
4702 * jm-mktime.m4: Likewise.
4703 * jm-winsz2.m4: Likewise.
4704 * lcmessage.m4: Likewise.
4705 * ls-mntd-fs.m4: Likewise.
4706 * malloc.m4: Likewise.
4707 * memcmp.m4: Likewise.
4708 * putenv.m4: Likewise.
4709 * realloc.m4: Likewise.
4710 * st_mtim.m4: Likewise.
4711 * strftime.m4: Likewise.
4713 1999-01-16 Jim Meyering <meyering@ascend.com>
4715 * jm-macros.m4 (ARGMATCH_DIE): Define.
4716 (ARGMATCH_DIE_DECL): Define.
4718 1999-01-12 Jim Meyering <meyering@ascend.com>
4720 * Makefile.am.in: Rewrite to avoid using fmt.
4721 Reported by Lars Hecking.
4723 1999-01-10 Jim Meyering <meyering@ascend.com>
4725 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
4727 * inttypes_h.m4: Likewise.
4728 * lstat.m4: Likewise.
4729 * malloc.m4: Likewise.
4730 * readdir.m4: Likewise.
4731 * realloc.m4: Likewise.
4732 * st_dm_mode.m4: Likewise.
4733 * stat.m4: Likewise.
4734 * utimbuf.m4: Likewise.
4735 * utimes.m4: Likewise.
4737 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
4738 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
4739 comments in config.h.in are meaningful.
4741 * jm-macros.m4: Require autoconf-2.13 here.
4743 * regex.m4: By default, don't use the included regex.c on systems
4744 with glibc 2. Suggestion from Uli Drepper.
4746 1999-01-02 Jim Meyering <meyering@ascend.com>
4748 * jm-macros.m4: Replace strcasecmp and strncasecmp.
4750 1998-12-18 Jim Meyering <meyering@ascend.com>
4752 * Makefile.am.in (Makefile.am): Simplify rule.
4753 Based on a suggestion from Lars Hecking.
4755 1998-11-16 Jim Meyering <meyering@ascend.com>
4757 * lfs.m4: Double-quote the `uname...` expression.
4759 1998-11-16 Paul Eggert <eggert@twinsun.com>
4761 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
4763 1998-11-14 Jim Meyering <meyering@ascend.com>
4765 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
4766 * stat.m4: Likewise.
4768 1998-11-03 Jim Meyering <meyering@ascend.com>
4770 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
4771 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
4773 1998-10-18 Jim Meyering <meyering@ascend.com>
4775 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
4777 1998-10-17 Jim Meyering <meyering@ascend.com>
4779 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
4780 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
4781 calls for those previously hard-coded headers. Instead, take a new
4783 (jm_CHECK_DECLARATIONS): Reflect interface change.
4784 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
4785 (jm_CHECK_DECL_LOCALTIME_R): New macro.
4787 * mktime.m4: Test for spring-forward gap before long-running test.
4789 1998-10-14 Jim Meyering <meyering@ascend.com>
4791 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
4792 instead of "TZ=America/Vancouver". From Paul Eggert.
4794 1998-10-11 Jim Meyering <meyering@ascend.com>
4796 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
4797 This adds a test for a recently added compatibility fix for mktime.c.
4798 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
4800 1998-09-27 Jim Meyering <meyering@ascend.com>
4802 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
4804 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
4805 ../configure.in, including a change from Gordon Matzigkeit to allow
4806 cross-compiling for the Hurd.
4808 * glibc.m4: New file/macro to test for the GNU C Library
4809 versions 1 and 2. From Gordon Matzigkeit.
4812 1998-09-21 Jim Meyering <meyering@ascend.com>
4814 * chown.m4: Declare locals: before, after. From Andries Brouwer.
4816 1998-08-18 Paul Eggert <eggert@twinsun.com>
4818 Port nanosecond-resolution times to UnixWare 2.1.2 and
4819 pedantic Solaris 2.6.
4821 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
4823 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
4824 Generate name of ns member, instead of just 1 or undef.
4825 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
4827 1998-08-15 Jim Meyering <meyering@ascend.com>
4829 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
4830 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
4831 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
4832 instead of jm_TYPE_SSIZE_T.
4834 1998-08-12 Jim Meyering <meyering@ascend.com>
4836 * st_dm_mode.m4: New file. From Johan Danielsson.
4838 1998-08-02 Jim Meyering <meyering@ascend.com>
4840 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
4841 in acconfig.h manually.
4843 1998-07-31 Paul Eggert <eggert@twinsun.com>
4845 * st_mtim.m4: New file.
4847 1998-07-28 Jim Meyering <meyering@ascend.com>
4849 * utimes.m4: Undef stat.
4851 1998-07-25 Jim Meyering <meyering@ascend.com>
4853 * utime.m4 (jm_FUNC_UTIME): New file and macro.
4854 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
4856 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
4858 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
4859 uid and gid actually remain unchanged.
4861 1998-07-07 Jim Meyering <meyering@ascend.com>
4863 * jm-glibc-io.m4: Remove fclose_unlocked.
4865 1998-07-04 Jim Meyering <meyering@ascend.com>
4867 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
4868 to prove that this macro can be used in packages without regex.c.
4870 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4872 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
4875 1998-07-03 Jim Meyering <meyering@ascend.com>
4877 * gettext.m4: Add -lintl if it's found to be necessary.
4879 * gettext.m4: New file -- from gettext-0.10.35.
4880 * lcmessage.m4: Likewise.
4881 * progtest.m4: Likewise.
4883 * regex.m4 (jm_WITH_REGEX): New file and macro.
4884 * jm-macros.m4: Require the new macro.
4886 1998-06-29 Jim Meyering <meyering@ascend.com>
4888 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
4889 for the definition of NGROUPS (used in a system header included
4892 1998-06-28 Jim Meyering <meyering@ascend.com>
4894 * ls-mntd-fs.m4: New file.
4895 * fstypename.m4: New file.
4897 * jm-macros.m4: Require the new macro.
4898 * jm-glibc-io.m4: New file.
4900 1998-05-19 Jim Meyering <meyering@ascend.com>
4902 * jm-macros.m4: Add jm_FUNC_LCHOWN.
4903 * lchown.m4: New file.
4905 * Makefile.am.in: New file.
4906 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
4908 1998-05-14 Jim Meyering <meyering@ascend.com>
4910 * Makefile.am (EXTRA_DIST): Add them.
4911 * jm-macros.m4: New file.
4912 * utimbuf.m4: New file.
4914 1998-05-12 Jim Meyering <meyering@ascend.com>
4916 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
4918 1998-05-11 Jim Meyering <meyering@ascend.com>
4920 * isc-posix.m4: New file.
4922 1998-05-10 Jim Meyering <meyering@ascend.com>
4924 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
4926 1998-05-09 Jim Meyering <meyering@ascend.com>
4928 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
4929 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
4932 * ssize_t.m4: New file.
4933 * mktime.m4: Remove file -- the new automake has this now.
4935 1998-04-26 Jim Meyering <meyering@ascend.com>
4937 * assert.m4: New file.
4938 * Makefile.am (EXTRA_DIST): Add assert.m4.
4940 1998-04-05 Jim Meyering <meyering@ascend.com>
4942 * prereq.m4 (jm_PREREQ_REGEX): New macro.
4943 (jm_PREREQ): Use it here.
4945 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
4947 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
4950 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
4952 * prereq.m4: New file.
4953 * error.m4: New file.
4954 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
4956 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
4958 * getline.m4: Don't set am_cv_func_working_getline before the
4959 cache-check for the same variable -- that defeated the purpose of
4960 the test; the test program was never run. This was a problem only
4961 on systems with losing getline functions -- HP-UX 10.20 is one.
4962 Reported by Bjorn Helgaas.
4964 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
4966 * Makefile.am (EXTRA_DIST): Add perl.m4.
4968 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
4970 * Makefile.am (EXTRA_DIST): Add const.m4.
4972 * const.m4: New file. Use an initializer in this declaration
4973 typedef int charset[2]; const charset x;
4974 Reported by Bob Glickstein.
4976 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
4978 * chown.m4: Fix reversed types on -1 args to chown.
4981 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
4983 * check-decl.m4: s/DECLARATION_/DECL_/g.
4984 Add lseek and memchr.
4986 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
4987 T.E.Dickey <dickey@clark.net> said that some older preprocessors
4988 have a 20-character limit on names.
4990 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
4992 * inttypes_h.m4: New file.
4993 * uintmax_t.m4: New file.
4994 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
4999 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
5000 2005, 2006 Free Software Foundation, Inc.
5002 Copying and distribution of this file, with or without
5003 modification, are permitted provided the copyright notice
5004 and this notice are preserved.