1 2003-09-09 Paul Eggert <eggert@twinsun.com>
3 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
4 * getopt.m4 (gl_GETOPT): Don't check for string.h.
5 * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
7 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
8 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
10 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
12 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
13 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
14 * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
16 * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
17 * mkpath.m4 (gl_MAKEPATH): Do not check for string.h or standard
19 * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
21 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
22 * memrchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
23 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
24 * memcoll.m4 (gl_MEMCOLL): Likewise.
25 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
26 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
28 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
29 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
30 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
31 C orders, or for string.h.
32 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
33 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
34 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
35 headers, memory.h, stdlib.h, string.h, strings.h.
36 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
37 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
38 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
40 * readtokens.m4 (gl_READTOKENS): Don't check for standard C
41 headers, memory.h, string.h.
42 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
43 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
45 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
46 * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
47 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
48 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
49 * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
50 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
52 2003-09-09 Derek Robert Price <derek@ximbiot.com>
54 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
57 2003-09-08 Paul Eggert <eggert@twinsun.com>
59 Assume C89 or better; remove K&R cruft.
60 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
61 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
62 string.h, getenv, malloc.
63 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
65 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
66 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
67 do not check for strerror.
68 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
69 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
70 * fatal.m4 (gl_FATAL): Do not require STDC headers, and
71 do not check for doprnt or vprintf.
72 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
73 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
75 2003-09-06 Paul Eggert <eggert@twinsun.com>
77 * time_r.m4: New file.
78 * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
79 * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
80 Check for timegm declaration.
81 (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
82 Do not check for gmtime_r.
83 Replace mktime if __mktime_internal does not exist and if mktime
84 hasn't been replaced already.
86 2003-08-31 Simon Josefsson <jas@extundo.com>
88 * timegm.m4: New file.
90 2003-08-26 Bruno Haible <bruno@clisp.org>
92 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
93 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
94 followed by '#define fnmatch fnmatch_posix' gives an error.
96 2003-08-27 Jim Meyering <jim@meyering.net>
98 * mkstemp.m4: Require that the system mkstemp be able to create
99 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
100 would fail after 32. Reported by Danny Levinson. Details here:
101 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
103 2003-08-20 Karl Berry <karl@gnu.org>
105 * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
107 2003-08-19 Jim Meyering <jim@meyering.net>
109 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
110 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
112 2003-08-19 Bruno Haible <bruno@clisp.org>
114 * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
116 2003-08-18 Jim Meyering <jim@meyering.net>
118 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
119 * lib-ld.m4: Likewise.
121 2003-08-17 Simon Josefsson <jas@extundo.com>
125 2003-08-17 Simon Josefsson <jas@extundo.com>
127 * xstrndup.m4: New file.
129 2003-08-16 Jim Meyering <jim@meyering.net>
131 * utimes.m4 (gl_FUNC_UTIMES): New file.
132 * utimes.m4: Removed.
133 * utimes-null.m4: Renamed from utimes.m4.
135 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
136 to 1MB, so as not to render systems with no stack size limit (e.g.,
137 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
138 Include <unistd.h>. On some systems,
139 it is required for the definition of _SC_PAGESIZE.
141 2003-08-16 Paul Eggert <eggert@twinsun.com>
143 Merges from coreutils, etc.
144 * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
145 error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28.
146 * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
148 * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
149 * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
151 2003-08-16 Jim Meyering <jim@meyering.net>
152 and Paul Eggert <eggert@cs.ucla.edu>
154 Merges from coreutils, etc.
156 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
157 using the latest version from cvs. This avoids problems with #line
158 directives using a vendor (Sun) compiler.
159 (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
160 Don't set GETGROUPS_LIB here; now it's
161 done via getgroups.m4's wrapper function.
162 AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
163 rather than just in sh-util/configure.in, so that the
164 now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
166 Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
167 AC_FUNC_GETLOADAVG where to find getloadavg.c.
168 Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
169 UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
170 gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
171 Remove code that is now done by the newly-required macros.
172 Append $(EXEEXT) to DF_PROG.
173 AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
174 Do not invoke or require the following here,
175 since prereq.m4 or some gnulib .m4 now does this for us:
176 gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
177 jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
178 jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
179 jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
180 jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
181 AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
182 vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
184 Do not replace the following functions, as this is now the job
185 of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
186 getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
187 strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
188 atexit getpass, strdup, getpagesize.
190 Do not check for the following functions, as this is now the job
191 of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
192 getcwd, getmntinfo, resolvepath. But check for sysctl, setreuid,
194 (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
195 Check for sys/sysctl.h.
196 (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
197 jm_CHECK_TYPE_STRUCT_TIMESPEC. Invoke gt_TYPE_SSIZE_T instead
198 of checking for ssize_t ourselves.
200 * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
201 Require every macro that gnulib/modules/* suggests for us.
202 (jm_PREREQ_ADDEXT): New macro.
203 (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
204 Require jm_AC_TYPE_LONG_LONG instead of invoking it.
206 * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
207 (gl_PHYSMEM): Use it.
208 Also check for `table' function.
209 Check for new headers and functions.
210 Add check for sys/sysmp.h.
211 With suggestions from Kaveh Ghazi.
212 Ignore headers that are present but cannot be compiled. This
213 avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
216 2003-08-16 Jim Meyering <jim@meyering.net>
218 Merges from coreutils.
219 * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
220 prefix. Adjust cache variables similarly. Create 500 rather than
221 just 300 files, to exercise bug on Darwin6.5, too.
222 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
223 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
224 Reported by mkc@mathdogs.com.
225 Also change use of $am_cv_sys_posix_termios
226 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
227 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
228 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
229 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
230 /proc/mounts until it finds one with matching device number. This is
231 unnecessary when the FILE argument *is* a mount point. No stat call
232 is necessary in that case. So, disable the statvfs-testing code on
233 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
234 as RedHat bug# 84846.
235 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
236 to 1MB, so as not to render systems with no stack size limit (e.g.,
237 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
238 Include <unistd.h>. On some systems,
239 it is required for the definition of _SC_PAGESIZE.
241 2003-08-15 Jim Meyering <jim@meyering.net>
242 and Paul Eggert <eggert@cs.ucla.edu>
244 Merges from coreutils, etc.
245 * strftime.m4 (_jm_STRFTIME_PREREQS):
246 Require gl_FUNC_TZSET_CLOBBER.
247 * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
248 ut_exit.ut_termination, and ut_exit.e_termination members.
250 2003-08-14 Paul Eggert <eggert@twinsun.com>
252 Help the merge from coreutils.
253 * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
254 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
255 * tzset.m4: Use it too.
257 2003-08-14 Jim Meyering <jim@meyering.net>
259 Merge from coreutils.
260 * tzset.m4: New file.
261 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
262 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
263 systems would end up using the latter. MOUNTED_GETMNTENT1 support
264 is inadequate on such systems: 1) detecting whether a file system
265 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
266 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
267 merely /MOUNT_POINT. Reported by Mike Jetzer.
269 2003-08-13 Paul Eggert <eggert@twinsun.com>
271 * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
274 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
275 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
276 Undo previous (whitespace-only) change.
278 2003-08-12 Paul Eggert <eggert@twinsun.com>
280 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
281 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
282 Normalize leading white space and remove trailing white space.
285 * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
287 * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
288 0.12.1. These files are now being upgraded automatically by
289 ../config/srclist-update.
291 2003-08-11 Bruno Haible <bruno@clisp.org>
293 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
295 2003-08-09 Paul Eggert <eggert@twinsun.com>
297 * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
298 apparently Emacs's Unicode mode got confused before my 2003-08-05
301 2003-08-08 Paul Eggert <eggert@twinsun.com>
303 * extensions.m4: New file.
304 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
305 Require gl_USE_SYSTEM_EXTENSIONS.
306 * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
307 Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
309 2003-08-07 Paul Eggert <eggert@twinsun.com>
311 * restrict.m4: New file.
312 * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
314 2003-08-07 Bruno Haible <bruno@clisp.org>
316 * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
317 the module 'getndelim2' compatible with the module 'getline'.
319 2003-08-05 Paul Eggert <eggert@twinsun.com>
321 * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
322 byte with "\201" to avoid glitches when editing that source file
323 with multi-gnome-terminal.
325 2003-07-31 Bruno Haible <bruno@clisp.org>
327 * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
329 2003-07-18 Bruno Haible <bruno@clisp.org>
331 * getndelim2.m4: New file.
332 * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
333 invoke gl_PREREQ_GETNDELIM2.
334 (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
335 gl_PREREQ_GETNDELIM2.
336 * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
339 2003-07-17 Bruno Haible <bruno@clisp.org>
341 * Makefile.am.in: Remove file.
342 * Makefile.am: Remove file.
343 * Makefile.in: Remove file.
345 2003-07-17 Bruno Haible <bruno@clisp.org>
347 * getnline.m4: New file.
349 2003-07-14 Simon Josefsson <jas@extundo.com>
351 * mempcpy.m4: New file.
353 2003-07-10 Jim Meyering <jim@meyering.net>
355 * clock_time.m4: Remove trailing blank.
356 * intmax_t.m4: Likewise.
358 2003-07-01 Paul Eggert <eggert@twinsun.com>
360 * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
361 xreadlink.c now includes it unconditionally.
363 2003-07-01 Bruno Haible <bruno@clisp.org>
365 * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
366 should be sufficient.
367 Reported by Paul Eggert.
369 2003-06-25 Bruno Haible <bruno@clisp.org>
371 * readlink.m4: New file.
373 2003-06-22 Bruno Haible <bruno@clisp.org>
375 Portability to mingw32.
376 * ssize_t.m4: New file, from GNU gettext.
377 * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
378 * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
380 2003-06-11 Bruno Haible <bruno@clisp.org>
382 * sysexits.m4: New file.
384 2003-06-10 Simon Josefsson <jas@extundo.com>
386 * strchrnul.m4: New file.
388 2003-06-07 Bruno Haible <bruno@clisp.org>
390 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
391 gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
392 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
394 * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
395 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
398 2003-06-04 Paul Eggert <eggert@twinsun.com>
400 * human.m4 (gl_HUMAN): Require AM_STDBOOL_H. Check for
401 locale.h, localeconv. This merges changes from coreutils.
403 * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
404 It can be removed after the next Autoconf is released.
405 * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
408 2003-05-30 Bruno Haible <bruno@clisp.org>
410 * gettext.m4: Upgrade to gettext-0.12.1.
411 * nls.m4: New file, from gettext-0.12.1.
412 * po.m4: New file, from gettext-0.12.1.
413 * progtest.m4: Upgrade to gettext-0.12.1.
415 2003-05-28 Paul Eggert <eggert@twinsun.com>
417 Assume the headers required for C89 freestanding compilers.
418 * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
419 * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
420 * human.m4 (gl_HUMAN): Likewise.
421 * pathmax.m4 (gl_PATHMAX): Likewise.
422 * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
423 * userspec.m4 (gl_USERSPEC): Likewise.
424 * xreadlink.m4 (gl_XREADLINK): Likewise.
425 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
426 * quote.m4 (gl_QUOTE): Don't check for stddef.h.
428 2003-05-26 Jim Meyering <jim@meyering.net>
430 Merge in a change from coreutils:
431 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
432 that is guaranteed to be `no'. Use `no_such_member' to indicate
433 that condition, rather than `-1' which is slightly misleading.
434 Change the name of the cache variable to have the gl_ prefix.
435 Prompted by a patch from Richard Dawe for DJGPP.
437 2003-05-17 Bruno Haible <bruno@clisp.org>
439 * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
440 expansion for AC_EGREP_CPP.
441 * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
442 * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
443 Suggested by Akim Demaille <akim@epita.fr> in
444 http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
446 2003-04-21 Paul Eggert <eggert@twinsun.com>
448 * error.m4 (gl_ERROR): Do not put under dynamic conditions some
449 code which expansion is under static control. Patch imported from
450 Akim Demaille's patch to Bison; see
451 <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
453 2003-04-14 Bruno Haible <bruno@clisp.org>
455 * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
457 2003-04-10 Bruno Haible <bruno@clisp.org>
459 * findprog.m4: New file.
460 * eaccess.m4: New file.
462 2003-04-04 Bruno Haible <bruno@clisp.org>
464 * linebreak.m4: New file.
466 2003-04-03 Bruno Haible <bruno@clisp.org>
468 * utf-ucs4.m4: New file.
469 * ucs4-utf.m4: New file.
471 2003-03-30 Bruno Haible <bruno@clisp.org>
473 * copy-file.m4 (gl_COPY_FILE): Add check for chown().
475 2003-03-28 Bruno Haible <bruno@clisp.org>
477 * copy-file.m4: New file.
479 2003-03-18 Bruno Haible <bruno@clisp.org>
481 * onceonly.m4: Use m4_defn instead of defn, for better error checking.
482 * onceonly_2_57.m4: Likewise.
484 2003-03-17 Bruno Haible <bruno@clisp.org>
486 * onceonly.m4: Require autoconf 2.54 or newer.
487 (m4_quote): Remove macro.
488 * onceonly_2_57.m4: Require autoconf 2.54 or newer.
490 2003-03-14 Bruno Haible <bruno@clisp.org>
492 * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
493 AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
495 2003-03-13 Paul Eggert <eggert@twinsun.com>
497 * onceonly.m4 (m4_quote): New macro.
498 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
499 Quote AC_FOREACH variable-expansions properly.
501 2003-02-19 Paolo Bonzini <bonzini@gnu.org>
505 2003-02-18 Paolo Bonzini <bonzini@gnu.org>
507 * mathl.m4: New file.
509 2003-02-17 Bruno Haible <bruno@clisp.org>
511 * mkdtemp.m4: New file, from GNU gettext with modifications.
513 2003-02-02 Jim Meyering <jim@meyering.net>
515 * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
518 2003-01-31 Bruno Haible <bruno@clisp.org>
520 * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
522 * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
524 * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
526 * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
529 2003-01-30 Bruno Haible <bruno@clisp.org>
531 * signed.m4: New file, from GNU gettext.
532 * longdouble.m4: New file, from GNU gettext.
533 * wchar_t.m4: New file, from GNU gettext.
534 * wint_t.m4: New file, from GNU gettext.
535 * vasnprintf.m4: New file.
536 * vasprintf.m4: New file.
538 2003-01-29 Bruno Haible <bruno@clisp.org>
540 * stpncpy.m4: New file.
542 2003-01-23 Jim Meyering <jim@meyering.net>
544 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
545 from working on systems without dirfd (at least Irix and OSF1/Tru64).
547 2003-01-16 Jim Meyering <jim@meyering.net>
549 * regex.m4: The `regex' struct is both input and output.
550 Initialize it before each use. Patch by Tim Waugh.
552 2003-01-11 Bruno Haible <bruno@clisp.org>
554 * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
555 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
558 2003-01-11 Bruno Haible <bruno@clisp.org>
560 * md5.m4 (gl_MD5): Require AC_C_INLINE.
562 2003-01-11 Bruno Haible <bruno@clisp.org>
564 * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
566 2003-01-12 Paul Eggert <eggert@twinsun.com>
568 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
569 to avoid collisions with libcurses and libreadline.
572 * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
574 2003-01-10 Bruno Haible <bruno@clisp.org>
576 * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
578 2003-01-09 Bruno Haible <bruno@clisp.org>
580 * stdbool.m4 (AM_STDBOOL_H): New macro.
582 2002-12-31 Paul Eggert <eggert@twinsun.com>
584 * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
586 2002-12-24 Bruno Haible <bruno@clisp.org>
588 General infrasructure.
590 * onceonly.m4: New file.
591 * onceonly_2_57.m4: New file.
594 * atexit.m4: New file.
597 * strtod.m4: New file.
600 * strtol.m4: New file.
603 * strtoul.m4: New file.
606 * memchr.m4: New file.
609 * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
610 (jm_FUNC_MEMCMP): Invoke it.
613 * memcpy.m4: New file.
616 * memmove.m4: New file.
619 * memset.m4: New file.
622 * strcspn.m4: New file.
625 * strpbrk.m4: New file.
628 * strstr.m4: New file.
631 * strerror.m4: New file.
634 * mktime.m4: Renamed from jm-mktime.m4.
635 (gl_PREREQ_MKTIME): New macro.
636 (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
639 * malloc.m4 (gl_PREREQ_MALLOC): New macro.
640 (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
641 Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
644 * realloc.m4 (gl_PREREQ_REALLOC): New macro.
645 (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
646 Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
649 * tm_gmtoff.m4: New file, extracted from strftime.m4.
650 * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
651 Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
653 (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
656 * xalloc.m4: New file.
659 * alloca.m4: New file.
662 * putenv.m4 (gl_PREREQ_PUTENV): New macro.
663 (jm_FUNC_PUTENV): Invoke it.
666 * setenv.m4 (gt_FUNC_SETENV): New macro.
667 (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
669 (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
673 * memrchr.m4: New file.
676 * stpcpy.m4: New file.
679 * strcase.m4: New file.
682 * strdup.m4: New file.
685 * strnlen.m4: New file.
688 * strndup.m4: New file.
691 * xstrtod.m4: New file.
694 * xstrtol.m4: New file.
697 * getdate.m4: New file.
700 * unlocked-io.m4: Renamed from jm-glibc-io.m4.
701 (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
702 * jm-glibc-io.m4n: Remove file.
705 * long-options.m4: New file.
714 * getstr.m4: New file.
717 * getline.m4 (gl_PREREQ_GETLINE): New macro.
718 (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
719 <sys/types.h>, for size_t. Use the function name gnu_getline, not
720 simply getline. Infoke gl_PREREQ_GETLINE.
723 * obstack.m4: New file.
729 * readtokens.m4: New file.
732 * strverscmp.m4: New file.
735 * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
738 * strtoll.m4: New file.
741 * strtoull.m4: New file.
744 * strtoimax.m4: New file.
747 * strtoumax.m4: New file.
750 * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
751 Moved the strtol prerequisites to strtol.m4.
752 Moved the strtoll prerequisites to strtoll.m4.
753 Moved the strtoimax prerequisites to strtoimax.m4.
756 * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
757 Moved the strtoul prerequisites to strtoul.m4.
758 Moved the strtoull prerequisites to strtoull.m4.
759 Moved the strtoumax prerequisites to strtoumax.m4.
762 * chown.m4 (gl_PREREQ_CHOWN): New macro.
763 (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
769 * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
770 (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
773 * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
774 (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
777 * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
778 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
779 gl_PREREQ_GETTIMEOFDAY.
782 * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
783 (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
786 * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
787 (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
788 jm_AC_TYPE_UINTMAX_T.
789 (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
792 * stat.m4 (gl_PREREQ_STAT): New macro.
793 (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
796 * lstat.m4 (gl_PREREQ_LSTAT): New macro.
797 (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
800 * timespec.m4 (gl_TIMESPEC): New macro.
801 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
802 * st_mtim.m4: Indentation.
805 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
806 (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
810 * regex.m4 (jm_PREREQ_REGEX): New macro.
811 (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
812 (gl_REGEX): New macro.
815 * rename.m4 (gl_PREREQ_RENAME): New macro.
816 (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
819 * rmdir.m4: New file.
822 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
823 * utime.m4 (gl_PREREQ_UTIME): New macro.
824 (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
827 * dirname.m4: New file.
830 * getopt.m4: New file.
833 * unistd-safer.m4: New file.
836 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
838 (gl_PREREQ_FNMATCH_EXTRA): New macro.
839 (gl_FUNC_FNMATCH_POSIX): New macro.
840 (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
841 gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
845 * exclude.m4: New file.
848 * human.m4: New file.
854 * backupfile.m4: New file.
855 * d-ino.m4: Indentation.
858 * fsusage.m4 (gl_FSUSAGE): New macro.
859 (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
860 (gl_PREREQ_FSUSAGE_EXTRA): New macro.
863 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
866 * euidaccess.m4: New file.
869 * file-type.m4: New file.
872 * fileblocks.m4: New file.
875 * filemode.m4: New file.
878 * isdir.m4: New file.
881 * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
882 (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
885 * makepath.m4: New file.
888 * modechange.m4: New file.
891 * mountlist.m4: New file.
892 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
896 * path-concat.m4: New file.
899 * pathmax.m4: New file.
905 * save-cwd.m4: New file.
908 * savedir.m4: New file.
911 * xgetcwd.m4: New file.
912 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
915 * xreadlink.m4: New file.
918 * safe-read.m4: New file.
921 * safe-write.m4: New file.
924 * closeout.m4: New file.
927 * stdio-safer.m4: New file.
930 * getpass.m4: New file.
933 * getugroups.m4: New file.
936 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
937 (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
940 * idcache.m4: New file.
943 * userspec.m4: New file.
946 * clock_time.m4: New file.
947 * gettime.m4: New file.
950 * settime.m4: New file.
953 * posixtm.m4: New file.
956 * gethostname.m4: New file.
959 * canon-host.m4: New file.
962 * codeset.m4: New file, from gettext-0.11.5.
963 * gettext.m4: New file, from gettext-0.11.5.
964 * glibc21.m4: New file, from gettext-0.11.5.
965 * iconv.m4: New file, from gettext-0.11.5.
966 * intdiv0.m4: New file, from gettext-0.11.5.
967 * inttypes-pri.m4: New file, from gettext-0.11.5.
968 * inttypes.m4: New file, from gettext-0.11.5.
969 * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
970 * isc-posix.m4: New file, from gettext-0.11.5.
971 * lcmessage.m4: New file, from gettext-0.11.5.
972 * lib-ld.m4: New file, from gettext-0.11.5.
973 * lib-link.m4: New file, from gettext-0.11.5.
974 * lib-prefix.m4: New file, from gettext-0.11.5.
975 * progtest.m4: New file, from gettext-0.11.5.
976 * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
977 * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
978 * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
981 * localcharset.m4: New file.
984 * hard-locale.m4: New file.
987 * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
989 * mbrtowc.m4: Add comment.
992 * memcasecmp.m4: New file.
995 * memcoll.m4: New file.
998 * unicodeio.m4: New file.
1001 * rpmatch.m4: New file.
1004 * yesno.m4: New file.
1007 * exitfail.m4: New file.
1010 * c-stack.m4 (gl_C_STACK): New macro.
1011 (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
1014 * error.m4 (gl_ERROR): New macro.
1015 (jm_PREREQ_ERROR): Use onceonly macros.
1018 * fatal.m4: New file.
1021 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
1022 (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
1025 * getpagesize.m4: New file.
1027 Module getusershell.
1028 * getusershell.m4: New file.
1031 * physmem.m4: New file.
1034 * posixver.m4: New file.
1037 * quotearg.m4: New file.
1040 * quote.m4: New file.
1043 * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
1046 * sig2str.m4: New file.
1049 * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
1051 * intmax_t.m4: New file.
1052 * d-type.m4: Indentation.
1053 * jm-macros.m4: Update.
1054 * prereq.m4 (jm_PREREQ): Update.
1055 (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
1056 (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
1057 (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
1058 (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
1059 (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
1060 (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
1061 (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
1062 (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
1063 (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
1064 (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
1065 (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
1066 (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
1067 (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
1068 (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
1069 (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
1070 (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
1071 (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
1072 (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
1073 * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
1075 2002-12-18 Bruno Haible <bruno@clisp.org>
1077 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
1078 * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
1080 2002-12-17 Bruno Haible <bruno@clisp.org>
1082 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
1085 2002-12-11 Bruno Haible <bruno@clisp.org>
1087 * setenv.m4: New file, from gettext-0.11.5.
1089 2002-12-06 Paul Eggert <eggert@twinsun.com>
1091 Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
1092 a pain in practice to deal with generated m4 files. This change
1093 goes together with the 2002-12-04 unlocked-io.h change in ../lib.
1095 * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
1096 and jm-glibc-io.m4, as they are no longer a special case.
1097 * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
1098 kludge and the auto-generation stuff. Check only whether the
1099 functions are declared, not whether they exist, since older hosts
1100 that don't declare the functions can't use the optimization anyway.
1102 2002-07-06 Jim Meyering <meyering@lucent.com>
1104 * README: Don't mention Makefile.am.in.
1105 Outline how I've tested changes to .m4 files. Yep, it's a pain.
1107 2002-06-11 Paul Eggert <eggert@twinsun.com>
1109 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
1111 2002-06-22 Jim Meyering <meyering@lucent.com>
1113 * c-stack.m4: New file, from diffutils-2.8.2.
1114 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
1116 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
1117 now that configure.ac uses AC_GNU_SOURCE.
1118 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
1119 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
1121 Update to latest tools. Suggestions from Paul Eggert.
1122 * stdbool.m4: New file, from diffutils-2.8.2.
1123 * gnu-source.m4: Update from diffutils-2.8.2.
1124 * fnmatch.m4: Likewise.
1125 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
1126 to AC_HEADER_STDBOOL
1128 2002-06-21 Jim Meyering <meyering@lucent.com>
1130 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
1131 * mbrtowc.m4: Likewise.
1133 * mbstate_t.m4: Update from diffutils-2.8.2.
1134 * mbswidth.m4: Reflect name change:
1135 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
1136 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
1138 * lib-link.m4: Update from gettext-0.11.2.
1139 * gettext.m4: Likewise.
1141 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
1142 From Alfred M. Szmidt.
1144 2002-05-19 Paul Eggert <eggert@twinsun.com>
1146 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
1148 2002-06-07 Jim Meyering <meyering@lucent.com>
1150 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
1151 They're needed at least for NetBSD 1.5.2.
1152 ($statxfs_includes): Include those same headers.
1153 ($statxfs_includes): Include sys/vfs.h if available.
1154 ($statxfs_includes): Likewise for sys/statvfs.h.
1155 Check for the following members in both structs statfs and statvfs:
1156 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
1158 2002-06-01 Jim Meyering <meyering@lucent.com>
1160 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
1161 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
1163 2002-05-28 Jim Meyering <meyering@lucent.com>
1165 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
1166 Reported by Volker Borchert.
1168 2002-05-27 Jim Meyering <meyering@lucent.com>
1170 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
1173 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
1174 use the replacement function; it wouldn't resolve at link time.
1175 Reported by Volker Borchert.
1177 2002-04-30 Jim Meyering <meyering@lucent.com>
1179 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
1181 2002-04-29 Paul Eggert <eggert@twinsun.com>
1183 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
1184 Do not check for alloca.h (no longer used) or stdbool.h (was never
1185 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
1187 2002-04-28 Paul Eggert <eggert@twinsun.com>
1189 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
1191 2002-04-29 Jim Meyering <meyering@lucent.com>
1193 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
1194 * prereq.m4: Add jm_PREREQ_STRNLEN.
1195 Use AC_FUNC_STRNLEN here instead.
1197 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
1198 With autoconf-2.53a, it's part of AC_PROG_CC.
1200 2002-04-28 Paul Eggert <eggert@twinsun.com>
1202 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
1203 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
1205 2002-04-24 Jim Meyering <meyering@lucent.com>
1207 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
1208 (jm_PREREQ): Use it.
1210 * getloadavg.m4: Check for these headers: locale.h unistd.h
1211 mach/mach.h fcntl.h.
1212 Check for this function: setlocale.
1214 2002-04-16 Jim Meyering <meyering@lucent.com>
1216 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
1217 ut_pid, ut_id, ut_exit.
1219 2002-04-12 Jim Meyering <meyering@lucent.com>
1221 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
1222 check for f_type in sys/mount.h. Instead, just test for the existence
1223 of the getmntinfo function. Needed for Darwin 5.3.
1225 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
1226 This is necessary at least on Darwin 5.3.
1228 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
1229 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
1230 in the library, and that makes some versions of ranlib object.
1232 2002-04-09 Jim Meyering <meyering@lucent.com>
1234 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
1235 to be more precise. Rather than saying we're checking whether the
1236 function `works', say what we're testing.
1237 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
1238 Reported by Bruno Haible.
1240 2002-02-27 Paul Eggert <eggert@twinsun.com>
1242 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
1243 Check for clock_settime.
1245 2002-02-25 Paul Eggert <eggert@twinsun.com>
1248 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
1249 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
1251 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
1253 * codeset.m4: Upgrade to gettext-0.11.
1254 * gettext.m4: Upgrade to gettext-0.11.
1255 * glibc21.m4: Upgrade to gettext-0.11.
1256 * iconv.m4: Upgrade to gettext-0.11.
1257 * isc-posix.m4: Upgrade to gettext-0.11.
1258 * lcmessage.m4: Upgrade to gettext-0.11.
1259 * lib-ld.m4: New file, from gettext-0.11.
1260 * lib-link.m4: New file, from gettext-0.11.
1261 * lib-prefix.m4: New file, from gettext-0.11.
1262 * progtest.m4: Upgrade to gettext-0.11.
1264 2002-02-15 Paul Eggert <eggert@twinsun.com>
1266 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
1267 (jm_PREREQ): Use it.
1269 2002-01-26 Jim Meyering <meyering@lucent.com>
1271 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
1272 * strnlen.m4: Remove file, now that it's part of autoconf.
1274 2002-01-22 Paul Eggert <eggert@twinsun.com>
1276 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
1278 2002-01-19 Jim Meyering <meyering@lucent.com>
1280 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
1281 Remove useless quotes: DF_PROG="df".
1282 * strnlen.m4: New file.
1284 2001-12-14 Jim Meyering <meyering@lucent.com>
1286 * jm-macros.m4 (jm_MACROS): Check for iswspace.
1287 Suggestion from Bruno Haible.
1289 2001-11-20 Jim Meyering <meyering@lucent.com>
1291 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
1292 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
1294 2001-11-19 Jim Meyering <meyering@lucent.com>
1296 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
1297 directory. Use "conftestXXXXXX" as the template.
1298 Suggestion from Paul Eggert.
1300 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
1301 so the test doesn't mistakenly hit the max-open-files limit.
1303 2001-11-18 Jim Meyering <meyering@lucent.com>
1305 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
1307 2001-11-17 Jim Meyering <meyering@lucent.com>
1309 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
1310 Prompted by a report from Bob Proulx.
1312 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
1313 Instead, require UTILS_FUNC_MKSTEMP.
1315 2001-11-11 Jim Meyering <meyering@lucent.com>
1317 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
1318 Now, that's done as part of AC_FUNC_STRTOD.
1320 2001-10-22 Paul Eggert <eggert@twinsun.com>
1322 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
1323 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
1325 2001-11-10 Jim Meyering <meyering@lucent.com>
1327 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
1328 (jm_PREREQ): Use it.
1330 2001-11-09 Jim Meyering <meyering@lucent.com>
1332 * jm-macros.m4: Require autoconf-2.52f.
1333 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
1334 Use these AC_-prefixed names, not the AM_-prefixed ones.
1336 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
1338 2001-11-04 Jim Meyering <meyering@lucent.com>
1340 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
1342 2001-11-03 Jim Meyering <meyering@lucent.com>
1344 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
1347 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
1348 know the name of the variable in the macro definition.
1350 2001-11-01 Jim Meyering <meyering@lucent.com>
1352 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
1353 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
1355 2001-10-20 Paul Eggert <eggert@twinsun.com>
1357 * error.m4 (jm_PREREQ_ERROR):
1358 Do not invoke AC_CHECK_FUNCS with strerror_r, as
1359 AC_FUNC_STRERROR_R does that.
1360 Check for strerror declaration.
1362 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
1363 are supposed to have them these days.
1364 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
1365 Merge changes from latest Autoconf CVS.
1366 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
1367 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
1368 POSIX decided to standardize on the int flavor of strerror_r.
1370 2001-09-30 Jim Meyering <meyering@lucent.com>
1372 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
1373 `struct fsstat' has the `f_fstypename' member.
1374 Use that to define FS_TYPE, which is now used to make
1375 the getfsstat link test tighter.
1377 2001-09-29 Jim Meyering <meyering@lucent.com>
1379 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1380 [one-argument getmntent function]): Include stdio.h before mntent.h.
1381 SunOS 4.1.x needs it for the declaration of `FILE'.
1382 Patch by Volker Borchert.
1384 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1385 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
1386 sys/fs_types.h, and make the link-test for getfsstat guard #include
1387 directives with appropriate #if HAVE_*_H tests so that we can
1388 detect getfsstat on Apple Darwin1.3.7 systems.
1389 Reported by Nelson Beebe.
1390 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
1392 2001-09-28 Paul Eggert <eggert@twinsun.com>
1394 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
1395 #defines strtoimax. Also treat the other strto* functions
1398 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1399 Check for strtoul and strtoumax,
1400 as those declarations are made even in the signed case.
1401 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
1402 Likewise, for strtol and strtoimax.
1404 2001-09-24 Jim Meyering <meyering@lucent.com>
1406 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
1408 2001-09-23 Jim Meyering <meyering@lucent.com>
1410 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
1411 instead of the mere test for existence of mntent.h. The latter
1412 would get a false-positive on AIX 3.4 systems.
1413 In the outer getmntent if-block, don't die if neither of the getmntent
1414 tests succeeds. Instead, just fall through and continue with the
1417 2001-09-22 Jim Meyering <meyering@lucent.com>
1419 * gettext.m4: New file. From gettext.
1420 * lcmessage.m4: Sync with gettext -- this changes only comments.
1421 * progtest.m4: Likewise
1422 * isc-posix.m4: Decrement serial number to sync with gettext.
1423 * glibc21.m4: Likewise.
1425 * libintl.m4: Remove. No longer used.
1427 2001-09-20 Jim Meyering <meyering@lucent.com>
1429 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
1431 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
1434 2001-09-17 Jim Meyering <meyering@lucent.com>
1436 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
1437 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
1438 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
1439 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
1440 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
1441 whenever the right hand side need not be expanded by the shell.
1443 2001-09-16 Paul Eggert <eggert@twinsun.com>
1445 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
1446 library. It's not correct, as some older glibcs are buggy.
1447 fnmatch wasn't fixed until glibc 2.2.
1449 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
1450 special shell magic here.
1452 2001-09-16 Jim Meyering <meyering@lucent.com>
1454 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
1455 * jm-macros.m4: Require it.
1457 2001-09-15 Jim Meyering <meyering@lucent.com>
1459 * jm-macros.m4: Check for help2man.
1461 2001-09-11 Jim Meyering <meyering@lucent.com>
1463 * host-os.m4 (UTILS_HOST_OS): New file/macro.
1464 The body, by Paul Eggert, was moved here from configure.in.
1465 * jm-macros.m4: Require UTILS_HOST_OS.
1467 2001-09-04 Paul Eggert <eggert@twinsun.com>
1469 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
1470 (jm_PREREQ): Use it.
1472 2001-09-03 Paul Eggert <eggert@twinsun.com>
1474 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
1475 sys/param.h, as pathmax.h includes them.
1477 2001-09-03 Paul Eggert <eggert@twinsun.com>
1479 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
1480 (jm_PREREQ_XGETCWD): New macro.
1482 * getcwd.m4: New file.
1484 2001-09-01 Jim Meyering <meyering@lucent.com>
1486 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
1489 2001-08-30 Paul Eggert <eggert@twinsun.com>
1491 Simplify code, partly by assuming autoconf 2.52 semantics.
1493 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
1495 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
1496 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
1498 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
1499 Move AC_REQUIRE to next-to-top level, to avoid confusion.
1500 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
1501 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
1502 * jm-macros.m4 (jm_MACROS): Likewise.
1504 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
1506 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1507 Quote first arg of AC_DEFUN.
1508 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
1509 since they are needed to parse the include file even if we need
1510 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
1511 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
1512 but with opposite signedness.
1514 2001-08-30 Paul Eggert <eggert@twinsun.com>
1516 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
1517 (jm_PREREQ_EXCLUDE): New macro.
1519 2001-08-26 Jim Meyering <meyering@lucent.com>
1521 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
1523 * xstrtoimax.m4: New file.
1524 * xstrtoumax.m4: Add comments explaining why we
1525 AC_REPLACE_FUNCS(strtol).
1527 2001-06-20 Paul Eggert <eggert@twinsun.com>
1529 * inttypes.m4: Add AC_PREREQ(2.13).
1530 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
1531 (jm_AC_TYPE_INTMAX_T): New macro.
1532 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
1534 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
1536 * longlong.m4: Renamed from ulonglong.m4.
1537 * inttypes.m4: Renamed from inttypes_h.m4.
1538 * uintmax_t.m4: Removed.
1540 2001-08-12 Jim Meyering <meyering@lucent.com>
1542 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
1543 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
1544 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
1545 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
1546 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
1547 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
1548 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
1549 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
1550 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
1551 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
1552 utime.m4, utimes.m4, xstrtoumax.m4:
1553 Quote the first argument in each use of AC_DEFUN.
1555 2001-08-05 Jim Meyering <meyering@lucent.com>
1557 * jm-macros.m4: Require autoconf-2.52.
1559 2001-08-03 Paul Eggert <eggert@twinsun.com>
1561 The following changes are from gettext 0.10.39 as maintained by
1562 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
1564 * codeset.m4: Upgrade to serial AM1.
1565 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
1566 all uses changed. Quote first arg of AC_DEFUN.
1567 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
1569 * iconv.m4: Upgrade to serial AM2.
1570 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
1571 Add --with-libconv-prefix.
1572 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
1573 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
1574 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
1575 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
1576 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
1578 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
1579 * getline.m4 (AM_FUNC_GETLINE): Likewise.
1580 * glibc21.m4 (jm_GLIBC21): Likewise.
1581 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
1582 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
1583 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
1584 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
1585 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
1586 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
1588 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
1591 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
1592 not the default value.
1594 2001-06-25 Bruno Haible <haible@clisp.cons.org>
1595 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
1596 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
1597 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
1598 Also check for iswcntrl, used for wcwidth fallback.
1599 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
1602 2001-08-03 Jim Meyering <meyering@lucent.com>
1604 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
1605 as it was in the original. Reported by Paul Eggert.
1607 2001-07-16 Jim Meyering <meyering@lucent.com>
1609 * gettimeofday.m4: New file.
1610 Prompted by a report from Bernhard Baehr.
1612 2001-07-15 Jim Meyering <meyering@lucent.com>
1614 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
1615 Now it's in ../Makefile.cfg.
1617 2001-07-04 Jim Meyering <meyering@lucent.com>
1619 * Makefile.am.in (glibc-io.struct): New target. Rework the code
1620 that generates jm-glibc-io.m4 so that it doesn't trigger any make
1623 2001-07-02 Jim Meyering <meyering@lucent.com>
1625 The following changes were prompted by suggestions from Bruno Haible.
1627 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
1629 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
1630 definition of EXTRA_DIST.
1631 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
1632 ensure that the generated file is created/updated whenever the list
1633 of $(unlocked_functions) is changed.
1634 (jm-glibc-io.m4): New rule.
1635 (unlocked-io.h): New rule -- currently unused.
1637 2001-06-24 Jim Meyering <meyering@lucent.com>
1639 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
1640 unmatched right bracket, rather than kludging it with an extra,
1641 falsely-matching quote in a comment. Patch by Akim Demaille.
1643 2001-05-27 Jim Meyering <meyering@lucent.com>
1645 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
1646 Check for ut_type in struct utmp.
1648 2001-05-22 Jim Meyering <meyering@lucent.com>
1650 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
1651 now that we use the package-supplied version unconditionally.
1652 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
1654 2001-05-21 Jim Meyering <meyering@lucent.com>
1656 * regex.m4: Change a couple backticks to single quotes to avoid shell
1659 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1661 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
1663 2001-05-11 Paul Eggert <eggert@twinsun.com>
1665 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
1666 Don't bother to check library strftime, since
1667 we'll be using our own my_strftime function anyway.
1668 Define my_strftime instead of strftime.
1670 2001-05-15 Jim Meyering <meyering@lucent.com>
1672 * regex.m4: Use proper quoting so brackets appear in the test program.
1673 Reported by, and with help from, Bruno Haible.
1675 2001-05-13 Jim Meyering <meyering@lucent.com>
1677 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
1679 2000-11-26 Paul Eggert <eggert@twinsun.com>
1681 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
1683 2001-04-21 Jim Meyering <meyering@lucent.com>
1685 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
1688 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1690 * ftruncate.m4: Check for chsize.
1691 Link with ftruncate.o unconditionally if ftruncate is missing.
1692 This was required when cross-compiling to i586-mingw32msvc.
1694 2001-03-24 Jim Meyering <meyering@lucent.com>
1696 * jm-macros.m4: Require autoconf-2.49d.
1698 2001-03-20 Bruno Haible <haible@clisp.cons.org>
1700 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
1702 2001-03-17 Jim Meyering <meyering@lucent.com>
1704 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
1705 now that the version in autoconf is equivalent.
1706 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
1708 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
1709 Suggestion from Akim Demaille.
1711 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
1712 (jm_PREREQ_TEMPNAME): New function.
1714 2001-02-25 Paul Eggert <eggert@twinsun.com>
1716 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
1717 lacks mkstemp. Compile our own tempname.c if we compile our own
1718 mkstemp.c, as mkstemp relies on tempname.
1720 2001-03-01 Jim Meyering <meyering@lucent.com>
1722 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
1723 AH_VERBATIM really does output its argument verbatim.
1725 2001-02-18 Paul Eggert <eggert@twinsun.com>
1727 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
1729 2001-02-17 Jim Meyering <meyering@lucent.com>
1731 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
1732 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
1733 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
1736 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
1737 rather than AC_CACHE_VAL.
1739 2001-02-17 Paul Eggert <eggert@twinsun.com>
1741 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
1742 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
1743 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
1744 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
1746 2001-02-07 Jim Meyering <meyering@lucent.com>
1748 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
1750 2001-02-05 Jim Meyering <meyering@lucent.com>
1752 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
1753 it includes the patch required for `large file' support with at least
1754 HP-UX's 10.20 /bin/cc.
1756 2001-02-03 Jim Meyering <meyering@lucent.com>
1758 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
1759 AS_IF, now that it works once again (mysteriously).
1760 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1762 2001-01-30 Jim Meyering <meyering@lucent.com>
1764 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
1765 * chown.m4: Rename conftestchown to conftest.chown.
1766 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
1767 * utimes.m4: s/conftestdata/conftest.data/
1768 Inspired by Pavel Roskin's change in autoconf.
1770 2001-01-27 Jim Meyering <meyering@lucent.com>
1772 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
1774 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1776 2001-01-26 Jim Meyering <meyering@lucent.com>
1778 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
1779 quotearg.c includes it.
1781 2001-01-15 Bruno Haible <haible@clisp.cons.org>
1783 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
1786 2001-01-20 Jim Meyering <meyering@lucent.com>
1788 Be sure that headers are checked before used in code compiled
1789 for the type checks.
1790 * jm-macros.m4 (jm_MACROS): Remove all header checks.
1791 In place of that, invoke jm_CHECK_ALL_TYPES.
1792 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
1793 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
1794 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
1795 The check for ssize_t was mistakenly run before the test for unistd.h.
1797 The configure-time check for stdbool.h was missing.
1798 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
1799 (jm_PREREQ_HASH): New function.
1801 2001-01-17 Jim Meyering <meyering@lucent.com>
1803 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
1805 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
1807 2001-01-14 Jim Meyering <meyering@lucent.com>
1809 * rename.m4: Use temporary directories named conftestdir{,2}, not
1810 foo and bar. Create conftestdir/ in the script, not in the C code.
1811 Remove directories in the script, not in the C code.
1812 Remove conftestdir{,2} before trying to create the directory.
1813 Make the entire configure script fail if the mkdir fails.
1815 2001-01-02 Volker Borchert <bt@teknon.de>
1817 * rename.m4: New file.
1818 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
1820 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1822 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
1823 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
1824 so `make install' also works in VPATH builds.
1826 2001-01-01 Jim Meyering <meyering@lucent.com>
1828 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
1829 on systems with utmpx.h. It's necessary for the declaration of utmp's
1830 ut_user member. Reported by Andreas Jaeger.
1832 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
1833 They are required for the declarations of getgrgid and getpwuid resp.
1834 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
1835 Reported by Andreas Jaeger.
1837 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1839 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
1840 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
1841 can be used in subdirectories.
1843 2000-12-26 Jim Meyering <meyering@lucent.com>
1845 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
1848 2000-12-17 Jim Meyering <meyering@lucent.com>
1850 * dos.m4 (jm_AC_DOS): New file and macro.
1851 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
1853 2000-12-06 Paul Eggert <eggert@twinsun.com>
1855 * off_t-format.m4: Remove this file.
1856 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
1858 2000-12-06 Jim Meyering <meyering@lucent.com>
1860 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
1861 strtoull, we may well need the replacement strtoul, too.
1862 Check for declarations of strtoul and strtoull.
1863 Check for strtol. Mainly as a cue to cause automake to include
1864 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
1865 Check for limits.h -- strtol.c needs it.
1867 2000-12-02 Jim Meyering <meyering@lucent.com>
1869 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
1870 * jm-macros.m4 (jm_MACROS): require it.
1872 2000-11-30 Jim Meyering <meyering@lucent.com>
1874 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
1876 2000-11-30 Jim Meyering <meyering@lucent.com>
1878 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
1880 2000-11-03 Bruno Haible <haible@clisp.cons.org>
1882 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
1884 2000-11-04 Jim Meyering <meyering@lucent.com>
1886 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
1888 2000-10-29 Jim Meyering <meyering@lucent.com>
1890 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
1891 * ls-mntd-fs.m4: Likewise
1893 2000-10-28 Jim Meyering <meyering@lucent.com>
1895 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
1896 (jm_PREREQ_MEMCHR): New function.
1898 2000-10-21 Jim Meyering <meyering@lucent.com>
1900 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
1901 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
1902 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
1904 2000-09-18 Jim Meyering <meyering@lucent.com>
1906 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
1907 Otherwise, everyone ends up linking with -lelf for some configurations.
1908 Reported by Mike Stone.
1910 2000-08-26 Jim Meyering <meyering@lucent.com>
1912 * jm-macros.m4: Use jm_FUNC_FPENDING.
1913 * fpending.m4: New file.
1915 2000-08-20 Jim Meyering <meyering@lucent.com>
1917 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
1918 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
1919 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
1921 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1923 Improve fileutils installation on systems where running
1924 programs (like install) can't be unlinked.
1925 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
1926 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
1928 2000-08-06 Paul Eggert <eggert@twinsun.com>
1930 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
1931 not char, for compatibility with glibc 2.1.3 strftime.c.
1933 2000-07-23 Paul Eggert <eggert@twinsun.com>
1935 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
1937 2000-07-23 Jim Meyering <meyering@lucent.com>
1939 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
1940 getgrgid, getpwuid, getuid.
1942 2000-07-16 Bruno Haible <haible@clisp.cons.org>
1944 * mbswidth.m4: New file.
1945 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
1947 2000-07-14 Jim Meyering <meyering@lucent.com>
1949 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
1951 2000-07-10 Paul Eggert <eggert@twinsun.com>
1953 From a suggestion by Bruno Haible.
1954 * mbstate_t.m4 (AC_MBSTATE_T):
1955 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
1956 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
1957 and mbstate_t, to a single-part test that simply defines mbstate_t.
1958 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
1960 2000-07-10 Jim Meyering <meyering@lucent.com>
1962 * strerror_r.m4: Mirror the correction made in autoconf.
1964 * gnu-source.m4: Output to confdefs.h directly.
1965 Suggestion from Akim Demaille.
1967 2000-07-09 Jim Meyering <meyering@lucent.com>
1969 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
1970 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
1972 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
1973 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
1975 2000-07-05 Bruno Haible <haible@clisp.cons.org>
1977 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
1979 Include <ctype.h> for use of isalpha.
1981 2000-07-05 Paul Eggert <eggert@twinsun.com>
1982 and Bruno Haible <haible@clisp.cons.org>
1984 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
1985 only if the test for an object-type mbstate_t fails. This
1986 prevents us from mistakenly reporting that mbstate_t is a
1987 system object type after we "#define mbstate_t int" to work
1990 2000-07-04 Jim Meyering <meyering@lucent.com>
1992 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
1993 of the deprecated AC_CHECKING.
1995 2000-07-03 Jim Meyering <meyering@lucent.com>
1997 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
1999 2000-07-03 Paul Eggert <eggert@twinsun.com>
2001 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
2002 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
2004 2000-07-02 Jim Meyering <meyering@lucent.com>
2006 * mbstate_t.m4: Also define mbstate_t, if necessary.
2008 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
2009 AC_LIBOBJ(function_name).
2010 * chown.m4: Likewise.
2011 * fnmatch.m4: Likewise.
2012 * ftruncate.m4: Likewise.
2013 * getgroups.m4: Likewise.
2014 * getline.m4: Likewise.
2015 * group-member.m4: Likewise.
2016 * jm-macros.m4: Likewise.
2017 * lstat.m4: Likewise.
2018 * malloc.m4: Likewise.
2019 * memcmp.m4: Likewise.
2020 * nanosleep.m4: Likewise.
2021 * putenv.m4: Likewise.
2022 * realloc.m4: Likewise.
2023 * regex.m4: Likewise.
2024 * stat.m4: Likewise.
2025 * strftime.m4: Likewise.
2027 2000-07-01 Jim Meyering <meyering@lucent.com>
2029 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
2032 2000-06-17 Bruno Haible <haible@clisp.cons.org>
2034 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
2035 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
2037 2000-07-01 Jim Meyering <meyering@lucent.com>
2039 * uptime.m4: Put double quotes around use of $cross_compiling.
2041 2000-06-28 Jim Meyering <meyering@lucent.com>
2043 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
2044 by quotearg.c, for which we perform this test. From Bruno Haible.
2046 2000-06-17 Bruno Haible <haible@clisp.cons.org>
2048 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
2049 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
2050 <utmpx.h> exists, put readutmp.o into LIBOBJS.
2052 2000-06-25 Jim Meyering <meyering@lucent.com>
2054 * mbstate_t.m4: Include stdio.h before wchar.h to work around
2055 Linux header bug when _XOPEN_SOURCE is defined to 500.
2057 2000-06-24 Jim Meyering <meyering@lucent.com>
2059 * strerror_r.m4: Revive this file -- to try out an experimental
2060 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
2061 for which strerror does return char*, but which lacks a conveniently
2062 accessible declaration of the function. If the compile-test says
2063 strerror_r doesn't work, then resort to a `run'-test that works on
2064 BeOS and segfaults on DEC Unix.
2066 2000-06-19 Paul Eggert <eggert@twinsun.com>
2068 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
2069 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
2071 2000-06-23 Jim Meyering <meyering@lucent.com>
2073 * afs.m4: Add missing AC_MSG_RESULT.
2074 Reported by Bruno Haible.
2076 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
2077 Suggestion from Bruno Haible.
2079 2000-06-21 Jim Meyering <meyering@lucent.com>
2081 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
2083 2000-06-18 Jim Meyering <meyering@lucent.com>
2085 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
2087 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
2088 `checking whether...' message to be consistent with that of the
2091 2000-06-16 Bruno Haible <haible@clisp.cons.org>
2093 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
2095 2000-06-12 Jim Meyering <meyering@lucent.com>
2097 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
2098 from autoconf, and tweak the latter to accept an optional argument.
2099 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
2100 the optional argument, `lib'.
2102 2000-06-08 Jim Meyering <meyering@lucent.com>
2104 * largefile.m4: Remove file (now that it's part of autoconf).
2106 2000-06-04 Paul Eggert <eggert@twinsun.com>
2108 Rewrite largefile configuration so that we don't need to run
2109 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
2110 AC_CANONICAL_HOST in configure.in -- jmm]
2112 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
2113 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
2114 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
2115 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
2116 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
2118 Instead of inspecting the output of getconf, try to compile the
2119 test program without and with the macro definition.
2120 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
2121 for getconf. Instead, check for the needed flags by compiling
2124 2000-06-03 Jim Meyering <meyering@lucent.com>
2126 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
2127 now that autoconf requires that.
2129 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
2130 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
2131 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
2133 2000-05-26 Bruno Haible <haible@clisp.cons.org>
2135 * glibc21.m4: New file.
2136 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
2138 2000-05-28 Jim Meyering <meyering@lucent.com>
2140 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
2141 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2142 * stat.m4: Likewise.
2143 * lstat.m4: Likewise.
2144 * lstat-slash.m4: Remove file (absorbed into autoconf).
2146 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
2147 * strerror_r.m4: Remove file (absorbed into autoconf).
2149 2000-05-26 Jim Meyering <meyering@lucent.com>
2151 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
2153 2000-05-24 Jim Meyering <meyering@lucent.com>
2155 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
2156 autoconf requires that.
2157 * lib-check.m4: Likewise.
2158 * jm-macros.m4: Likewise.
2159 * strftime.m4: Likewise.
2161 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
2162 now that autoconf requires that.
2164 2000-05-22 Jim Meyering <meyering@lucent.com>
2166 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2167 * lstat.m4: Likewise.
2169 2000-05-20 Jim Meyering <meyering@lucent.com>
2171 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
2172 (jm_PREREQ): Use it.
2174 2000-05-09 Jim Meyering <meyering@lucent.com>
2176 * gettext.m4: Rename this...
2177 * libintl.m4: ...to this.
2179 2000-05-06 Jim Meyering <meyering@lucent.com>
2181 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
2182 (AC_REPLACE_FUNCS): Add strnlen.
2184 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
2185 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
2187 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
2188 AC_SEARCH_LIBS call for nanosleep.
2189 (LIB_NANOSLEEP): Set and AC_SUBST.
2191 2000-05-03 Paul Eggert <eggert@twinsun.com>
2193 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
2194 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
2195 2.1.3 bug. This avoids a clash when files like regex.c define
2198 2000-05-05 Jim Meyering <meyering@lucent.com>
2200 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
2201 call for clock_gettime.
2202 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
2204 * search-libs.m4: Update from autoconf.
2206 su doesn't work on Solaris 2.6.
2207 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
2208 <shadow.h>. Reported by Dragos Harabor.
2210 2000-05-03 Jim Meyering <meyering@lucent.com>
2212 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
2214 2000-05-02 Paul Eggert <eggert@twinsun.com>
2216 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
2217 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
2218 compile-time test, rather than inspecting host and OS, to
2219 decide whether to define _LARGEFILE_SOURCE.
2221 2000-05-01 Jim Meyering <meyering@lucent.com>
2223 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
2225 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
2226 Based on a patch from Bruno Haible.
2228 2000-04-18 Jim Meyering <meyering@lucent.com>
2230 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
2231 (jm_PREREQ): Use it.
2233 2000-04-17 Jim Meyering <meyering@lucent.com>
2236 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
2237 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
2238 Suggestion from Akim Demaille.
2240 2000-04-14 Jim Meyering <meyering@lucent.com>
2242 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
2243 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
2245 2000-04-13 Jim Meyering <meyering@lucent.com>
2247 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
2248 to insert required #ifndef into config.h.in.
2249 Suggestion from Akim Demaille.
2251 2000-04-12 Jim Meyering <meyering@lucent.com>
2253 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
2254 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
2255 Christian Krackowizer.
2257 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
2258 * jm-macros.m4 (_GNU_SOURCE): Define.
2259 (AC_SYS_LARGEFILE): Require.
2260 (AM_C_PROTOTYPES): Require.
2262 2000-04-05 Paul Eggert <eggert@twinsun.com>
2264 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
2265 IRIX if the installer said otherwise.
2267 2000-04-05 Jim Meyering <meyering@lucent.com>
2269 Portability tweaks required for ultrix4.3.
2270 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
2271 (jm_CHECK_DECLS): Add getutent to the list of functions.
2272 (_jm_DECL_HEADERS): Add utmpx.h.
2273 From John David Anglin.
2275 * strftime.m4: Back out the 2000-04-02 change.
2276 Instead of that change, simply undefine putenv in the test program.
2278 2000-04-03 Jim Meyering <meyering@lucent.com>
2280 * gettext.m4: Fix typo in comment.
2282 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
2283 textutils/configure.in). Suggestion from Paul Eggert.
2284 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
2286 2000-04-02 Paul Eggert <eggert@twinsun.com>
2288 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
2289 variable in the shell rather than using putenv, which isn't
2290 portable. This avoids the configure-time inter-test dependency
2291 on the potentially-renamed putenv function.
2293 2000-03-30 Paul Eggert <eggert@twinsun.com>
2295 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
2296 before checking struct stat.st_blksize, so that
2297 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
2299 2000-03-29 Paul Eggert <eggert@twinsun.com>
2301 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
2302 since strftime.c uses HAVE_STRFTIME to decide whether to use
2303 the underlying strftime.
2305 2000-03-10 Jim Meyering <meyering@lucent.com>
2307 * lib-check.m4: Look for getspnam in -lgen, too.
2310 2000-02-02 Bruno Haible <haible@clisp.cons.org>
2312 * codeset.m4: New file.
2313 * iconv.m4: New file.
2314 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
2316 2000-03-04 Jim Meyering <meyering@lucent.com>
2318 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
2319 for lib/localcharset.c.
2321 2000-03-03 Jim Meyering <meyering@lucent.com>
2323 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
2325 2000-03-02 Jim Meyering <meyering@lucent.com>
2327 * timespec.m4: Require AC_HEADER_TIME before the cache check so
2328 the messages come out on separate lines.
2330 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
2331 rather than jm_CHECK_DECLARATIONS.
2332 * decl.m4: Remove now-unused file.
2334 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
2336 2000-02-27 Jim Meyering <meyering@lucent.com>
2338 * check-decl.m4: Add getenv to the list.
2340 2000-02-23 Jim Meyering <meyering@lucent.com>
2342 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
2343 in place of my hack.
2345 2000-02-10 Jim Meyering <meyering@lucent.com>
2347 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
2348 gnu_nanosleep to rpl_nanosleep.
2350 2000-02-09 Jim Meyering <meyering@lucent.com>
2352 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
2353 struct spwd, rather than in struct passwd. Reported by Ga� Qu�i.
2355 2000-02-08 Akim Demaille <akim@epita.fr>
2357 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
2358 `[' and `]' and remove uses of `changequote'.
2359 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
2360 (AC_SYS_LARGEFILE): Likewise.
2361 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
2362 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
2364 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
2365 * readdir.m4 (jm_FUNC_READDIR): Likewise
2366 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
2367 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
2369 2000-02-05 Jim Meyering <meyering@lucent.com>
2371 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
2372 Remove explicit use of AC_HEADER_TIME. It is required by
2373 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
2374 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
2375 in autoconf whereby the expansion of the latter ended up preceding
2376 the expansion of its prerequisite, AC_HEADER_TIME.
2377 Reported by Volker Borchert.
2379 2000-02-03 Jim Meyering <meyering@lucent.com>
2381 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
2383 2000-02-02 Jim Meyering <meyering@lucent.com>
2385 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
2386 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
2387 Reported by Eli Zaretskii.
2389 2000-01-31 Jim Meyering <meyering@lucent.com>
2391 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
2392 functions. Add the time.h and sys/time.h headers along with the
2393 AC_REQUIRE'ment of AC_HEADER_TIME.
2395 2000-01-30 Jim Meyering <meyering@lucent.com>
2397 * lib-check.m4: Clean up some kludgy old shadow password tests.
2399 * prereq.m4 (utmp_includes): Define.
2400 Check for ut_user and ut_name members in both struct utmpx
2403 2000-01-29 Jim Meyering <meyering@lucent.com>
2405 * lib-check.m4: New file containing library-related checks from
2406 fileutils and sh-utils (textutils had none).
2408 2000-01-28 Jim Meyering <meyering@lucent.com>
2410 * perl.m4: Change format of warning message to look more like that
2411 from the missing script. Suggestion from Fran�is Pinard.
2413 2000-01-25 Jim Meyering <meyering@lucent.com>
2415 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
2416 as time.h in the compile check.
2417 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
2418 Fix typo in cross-compiling case: s/yes/no/.
2420 2000-01-23 Jim Meyering <meyering@lucent.com>
2422 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
2424 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
2425 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
2427 * fsusage.m4: New file. Extracted from fileutils/configure.in.
2428 s/space/ac_fsusage_space/.
2429 (jm_FILE_SYSTEM_USAGE): Take two parameters.
2431 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
2432 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
2433 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
2435 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
2436 AC_SUBST these here, rather than just in sh-util/configure.in, so
2437 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
2439 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
2440 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
2441 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
2442 (AC_SUBST(POW_LIBM)): Likewise.
2443 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
2445 2000-01-22 Jim Meyering <meyering@lucent.com>
2447 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
2449 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
2451 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
2453 (AC_CHECK_HEADERS): Likewise for sh-utils.
2454 (AC_CHECK_HEADERS): Likewise for textutils.
2455 Merge the three lists of headers.
2457 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
2458 from fileutils' configure.in.
2460 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
2461 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
2463 * check-decl.m4: Use #if rather than #ifdef.
2464 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
2465 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
2466 (_jm_DECL_HEADERS): Define new function.
2467 (jm_CHECK_DECLARATIONS): Require it.
2469 2000-01-19 Jim Meyering <meyering@lucent.com>
2471 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
2472 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
2473 defines `struct timespec' in <sys/time.h>
2475 * c-bs-a.m4: Remove uses of changequote altogether.
2476 Thanks to Akim for explaining.
2478 2000-01-16 Jim Meyering <meyering@lucent.com>
2480 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
2481 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
2482 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
2483 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
2485 2000-01-16 Jim Meyering <meyering@lucent.com>
2487 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
2488 because the latter didn't work.
2490 2000-01-15 Jim Meyering <meyering@lucent.com>
2492 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
2493 (AC_REPLACE_FUNCS): Add memcpy and memset.
2494 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
2496 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
2498 2000-01-12 Jim Meyering <meyering@lucent.com>
2500 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
2501 (jm_PREREQ): Use it.
2502 (jm_PREREQ_READUTMP): New macro.
2503 (jm_PREREQ): Use it.
2505 2000-01-11 Paul Eggert <eggert@twinsun.com>
2507 Quote multibyte characters correctly.
2508 * c-bs-a.m4: New file.
2509 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
2510 (jm_PREREQ): Use it.
2512 2000-01-11 Paul Eggert <eggert@twinsun.com>
2514 * uintmax_t.m4: Port to autoconf 2.13.
2516 2000-01-08 Jim Meyering <meyering@ascend.com>
2518 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
2519 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
2521 2000-01-04 Jim Meyering <meyering@ascend.com>
2523 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
2524 jm_STRUCT_DIRENT_D_TYPE.
2525 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
2526 jm_STRUCT_DIRENT_D_INO.
2527 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
2529 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
2530 * utime.m4: Likewise.
2532 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
2533 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
2535 2000-01-03 Paul Eggert <eggert@twinsun.com>
2537 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
2538 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
2540 2000-01-02 Jim Meyering <meyering@ascend.com>
2542 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
2543 remember if this is necessary.
2545 1999-12-26 Jim Meyering <meyering@ascend.com>
2547 * jm-macros.m4: Use it here.
2548 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
2550 1999-12-23 Jim Meyering <meyering@ascend.com>
2552 * jm-macros.m4: Check for clock_gettime (moved from
2553 fileutils/configure.in)
2554 Check for gettimeofday.
2556 1999-12-20 Jim Meyering <meyering@ascend.com>
2558 * strftime.m4: Remove kludge, now that I'm using the fixed
2559 autoconf-2.14a-1999-12-20.
2561 1999-12-19 Jim Meyering <meyering@ascend.com>
2563 * lstat-slash.m4: New file.
2564 * jm-macros.m4: Use the new macro:
2565 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2567 1999-12-07 Jim Meyering <meyering@ascend.com>
2569 * perl.m4: Require that File::Compare be available, too.
2570 Too many systems seem to lack it.
2572 * strftime.m4: Add checks for most of the cpp macros tested in
2573 GNU's strftime.c. Prompted by a patch from Paul Eggert.
2575 1999-11-18 Paul Eggert <eggert@twinsun.com>
2577 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
2578 problem with the QNX 4.25 shell, which doesn't propagate exit
2579 status of failed commands inside shell assignments.
2581 1999-11-17 Jim Meyering <meyering@ascend.com>
2583 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
2585 1999-11-07 Jim Meyering <meyering@ascend.com>
2587 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
2589 1999-11-06 Jim Meyering <meyering@ascend.com>
2591 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
2592 * jm-macros.m4 (jm_MACROS): Use it here.
2594 1999-11-05 Jim Meyering <meyering@ascend.com>
2596 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
2597 of textutils, fileutils, and sh-utils into this one (shared between
2598 those packages) file.
2599 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
2600 AC_STRUCT_ST_BLKSIZE.
2602 1999-11-03 Jim Meyering <meyering@ascend.com>
2604 * ssize_t.m4: Remove file. No longer needed since the new version of
2605 AC_CHECK_TYPE checks includes unistd.h.
2606 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
2607 Suggestion from Akim Demaille.
2609 1999-10-30 Jim Meyering <meyering@ascend.com>
2611 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
2613 * ls-mntd-fs.m4: Likewise.
2614 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
2615 * jm-winsz1.m4: Likewise.
2617 * const.m4: Remove file, since the fix made it into the experimental
2618 version of autoconf.
2619 * mktime.m4: Likewise.
2621 * check-type.m4: Remove file, now that the latest version of
2622 AC_CHECK_TYPE takes a third arg to specify additional #includes.
2624 * ssize_t.m4: New file, requires experimental version of autoconf.
2625 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
2628 1999-10-04 Jim Meyering <meyering@ascend.com>
2630 * jm-macros.m4: Don't require autoconf-2.14.1.
2632 1999-09-22 Paul Eggert <eggert@twinsun.com>
2634 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
2635 2.95.1 bug with HP-UX 10.20.
2637 1999-09-17 Jim Meyering <meyering@ascend.com>
2639 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
2640 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
2641 due to missing strdup (against sh-utils-2.0).
2643 1999-08-29 Jim Meyering <meyering@ascend.com>
2645 * jm-macros.m4: Require jm_BISON.
2646 * bison.m4: New file.
2648 1999-08-17 Paul Eggert <eggert@twinsun.com>
2650 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
2651 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
2653 1999-08-05 Jim Meyering <meyering@ascend.com>
2655 * getline.m4: Rename test file from conftestdata to conftest.data
2656 to avoid conflicts with `conftest' on 8+3 filesystems.
2657 Suggestion from Eli Zaretskii.
2659 1999-08-04 Jim Meyering <meyering@ascend.com>
2661 * jm-macros.m4: Move a 4-line block of code from the configure.in of
2662 fileutils and sh-utils (textutils's getline test was inadequate).
2663 (AM_FUNC_GETLINE): Run this test.
2664 (AC_CHECK_FUNCS): Check for getdelim.
2665 Reported by Bob Proulx.
2667 1999-08-02 Jim Meyering <meyering@ascend.com>
2669 * jm-macros.m4: Add a comment.
2671 1999-08-01 Jim Meyering <meyering@ascend.com>
2673 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
2675 1999-08-01 Paul Eggert <eggert@twinsun.com>
2677 * lfs.m4: Remove this file.
2678 * largefile.m4: New file. It contains the old contents of
2679 lfs.m4, except that all names with prefix AC_LFS have been
2680 changed to use the prefix AC_SYS_LARGEFILE instead, to be
2681 compatible with future autoconf versions. Also, some minor m4
2682 quoting problems have been fixed.
2684 1999-07-16 Paul Eggert <eggert@twinsun.com>
2686 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
2687 that we can shift, multiply and divide unsigned long long
2688 values; Ultrix cc can't do it.
2690 1999-07-14 Paul Eggert <eggert@twinsun.com>
2692 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
2693 <inttypes.h> defines strtoumax as a macro (and not as a
2696 1999-07-05 Paul Eggert <eggert@twinsun.com>
2698 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
2699 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
2700 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
2701 and simplify the shell code.
2703 1999-07-03 Paul Eggert <eggert@twinsun.com>
2705 * mktime.m4: New file, which is a preview of what should appear
2706 in the next public autoconf release.
2708 1999-07-20 Jim Meyering <meyering@ascend.com>
2710 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
2712 1999-07-15 Jim Meyering <meyering@ascend.com>
2714 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
2716 1999-05-22 Jim Meyering <meyering@ascend.com>
2718 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
2720 1999-05-20 Jim Meyering <meyering@ascend.com>
2722 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
2723 Add a colon after each `then' in case $4 is empty.
2725 1999-05-16 Jim Meyering <meyering@ascend.com>
2727 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
2729 1999-05-10 Jim Meyering <meyering@ascend.com>
2731 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
2733 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
2736 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2738 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
2740 1999-05-04 Paul Eggert <eggert@twinsun.com>
2742 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
2743 not CPPFLAGS, so that linking works correctly in IRIX.
2745 1999-04-30 Paul Eggert <eggert@twinsun.com>
2747 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
2749 1999-04-20 Jim Meyering <meyering@ascend.com>
2751 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
2752 AC_REPLACE xstroull if necessary. From Paul Eggert.
2753 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
2755 1999-04-20 Paul Eggert <eggert@twinsun.com>
2757 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
2758 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
2759 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
2760 jm_AC_TYPE_UNSIGNED_LONG_LONG.
2761 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
2763 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
2765 1999-04-18 Jim Meyering <meyering@ascend.com>
2767 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
2768 * jm-macros.m4: Use it.
2770 1999-04-06 Jim Meyering <meyering@ascend.com>
2772 * strftime.m4: Remove test for %f.
2774 1999-03-29 Jim Meyering <meyering@ascend.com>
2776 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
2777 superset of the AC_TYPE_* checks in the textutils, fileutils,
2778 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
2781 1999-03-28 Jim Meyering <meyering@ascend.com>
2783 * jm-macros.m4: Define GNU_PACKAGE here.
2784 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
2785 replaced e.g., in the *.sh files of the sh-utils.
2787 1999-03-20 Jim Meyering <meyering@ascend.com>
2789 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
2790 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
2791 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
2793 1999-03-19 Jim Meyering <meyering@ascend.com>
2795 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
2797 1999-03-12 Jim Meyering <meyering@ascend.com>
2799 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
2801 1999-03-07 Jim Meyering <meyering@ascend.com>
2803 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
2805 1999-02-17 Jim Meyering <meyering@ascend.com>
2807 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
2808 in macro definition. From Eli Zaretskii and Alain Magloire.
2810 1999-02-07 Jim Meyering <meyering@ascend.com>
2812 * group-member.m4: New file -- extracted from sh-utils' configure.in.
2814 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
2815 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
2817 1999-02-06 Jim Meyering <meyering@ascend.com>
2819 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
2820 * fnmatch.m4: Likewise.
2821 * getgroups.m4: Likewise.
2822 * lstat.m4: Likewise.
2823 * malloc.m4: Likewise.
2824 * putenv.m4: Likewise.
2825 * realloc.m4: Likewise.
2826 * regex.m4: Likewise.
2827 * stat.m4: Likewise.
2828 * strftime.m4: Likewise.
2829 Suggestion from Alain Magloire.
2831 * chown.m4: Use `.$ac_objext', not `.o'.
2832 * fnmatch.m4: Likewise.
2833 * getgroups.m4: Likewise.
2834 * getline.m4: Likewise.
2835 * lstat.m4: Likewise.
2836 * malloc.m4: Likewise.
2837 * memcmp.m4: Likewise.
2838 * putenv.m4: Likewise.
2839 * realloc.m4: Likewise.
2840 * regex.m4: Likewise.
2841 * stat.m4: Likewise.
2842 * strftime.m4: Likewise.
2843 Suggestion from Alain Magloire.
2845 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
2848 * regex.m4: Add a run-time Test for proper operation of
2851 1999-01-31 Jim Meyering <meyering@ascend.com>
2853 * getloadavg.m4: Check for locale.h and the function, setlocale.
2855 1999-01-30 Jim Meyering <meyering@ascend.com>
2857 * check-type.m4: Use 3-arg form of AC_DEFINE.
2859 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
2860 rather than my private copy, now that the official one is up to date.
2861 * mktime.m4: Remove file.
2863 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
2864 * uptime.m4: Likewise.
2865 * uintmax_t.m4: Likewise.
2867 1999-01-28 Jim Meyering <meyering@ascend.com>
2869 * jm-macros.m4: Use jm_AFS.
2870 * afs.m4: New file (from fileutils' configure.in).
2872 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
2873 * chown.m4: Likewise.
2874 * d-ino.m4: Likewise.
2875 * d-type.m4: Likewise.
2876 * fnmatch.m4: Likewise.
2877 * getgroups.m4: Likewise.
2878 * gettext.m4: Likewise.
2879 * jm-mktime.m4: Likewise.
2880 * jm-winsz2.m4: Likewise.
2881 * lcmessage.m4: Likewise.
2882 * ls-mntd-fs.m4: Likewise.
2883 * malloc.m4: Likewise.
2884 * memcmp.m4: Likewise.
2885 * putenv.m4: Likewise.
2886 * realloc.m4: Likewise.
2887 * st_mtim.m4: Likewise.
2888 * strftime.m4: Likewise.
2890 1999-01-16 Jim Meyering <meyering@ascend.com>
2892 * jm-macros.m4 (ARGMATCH_DIE): Define.
2893 (ARGMATCH_DIE_DECL): Define.
2895 1999-01-12 Jim Meyering <meyering@ascend.com>
2897 * Makefile.am.in: Rewrite to avoid using fmt.
2898 Reported by Lars Hecking.
2900 1999-01-10 Jim Meyering <meyering@ascend.com>
2902 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
2904 * inttypes_h.m4: Likewise.
2905 * lstat.m4: Likewise.
2906 * malloc.m4: Likewise.
2907 * readdir.m4: Likewise.
2908 * realloc.m4: Likewise.
2909 * st_dm_mode.m4: Likewise.
2910 * stat.m4: Likewise.
2911 * utimbuf.m4: Likewise.
2912 * utimes.m4: Likewise.
2914 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
2915 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
2916 comments in config.h.in are meaningful.
2918 * jm-macros.m4: Require autoconf-2.13 here.
2920 * regex.m4: By default, don't use the included regex.c on systems
2921 with glibc 2. Suggestion from Uli Drepper.
2923 1999-01-02 Jim Meyering <meyering@ascend.com>
2925 * jm-macros.m4: Replace strcasecmp and strncasecmp.
2927 1998-12-18 Jim Meyering <meyering@ascend.com>
2929 * Makefile.am.in (Makefile.am): Simplify rule.
2930 Based on a suggestion from Lars Hecking.
2932 1998-11-16 Jim Meyering <meyering@ascend.com>
2934 * lfs.m4: Double-quote the `uname...` expression.
2936 1998-11-16 Paul Eggert <eggert@twinsun.com>
2938 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
2940 1998-11-14 Jim Meyering <meyering@ascend.com>
2942 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
2943 * stat.m4: Likewise.
2945 1998-11-03 Jim Meyering <meyering@ascend.com>
2947 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
2948 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
2950 1998-10-18 Jim Meyering <meyering@ascend.com>
2952 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
2954 1998-10-17 Jim Meyering <meyering@ascend.com>
2956 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
2957 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
2958 calls for those previously hard-coded headers. Instead, take a new
2960 (jm_CHECK_DECLARATIONS): Reflect interface change.
2961 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
2962 (jm_CHECK_DECL_LOCALTIME_R): New macro.
2964 * mktime.m4: Test for spring-forward gap before long-running test.
2966 1998-10-14 Jim Meyering <meyering@ascend.com>
2968 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
2969 instead of "TZ=America/Vancouver". From Paul Eggert.
2971 1998-10-11 Jim Meyering <meyering@ascend.com>
2973 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
2974 This adds a test for a recently added compatibility fix for mktime.c.
2975 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
2977 1998-09-27 Jim Meyering <meyering@ascend.com>
2979 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
2981 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
2982 ../configure.in, including a change from Gordon Matzigkeit to allow
2983 cross-compiling for the Hurd.
2985 * glibc.m4: New file/macro to test for the GNU C Library
2986 versions 1 and 2. From Gordon Matzigkeit.
2989 1998-09-21 Jim Meyering <meyering@ascend.com>
2991 * chown.m4: Declare locals: before, after. From Andries Brouwer.
2993 1998-08-18 Paul Eggert <eggert@twinsun.com>
2995 Port nanosecond-resolution times to UnixWare 2.1.2 and
2996 pedantic Solaris 2.6.
2998 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
3000 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
3001 Generate name of ns member, instead of just 1 or undef.
3002 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
3004 1998-08-15 Jim Meyering <meyering@ascend.com>
3006 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
3007 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
3008 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
3009 instead of jm_TYPE_SSIZE_T.
3011 1998-08-12 Jim Meyering <meyering@ascend.com>
3013 * st_dm_mode.m4: New file. From Johan Danielsson.
3015 1998-08-02 Jim Meyering <meyering@ascend.com>
3017 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
3018 in acconfig.h manually.
3020 1998-07-31 Paul Eggert <eggert@twinsun.com>
3022 * st_mtim.m4: New file.
3024 1998-07-28 Jim Meyering <meyering@ascend.com>
3026 * utimes.m4: Undef stat.
3028 1998-07-25 Jim Meyering <meyering@ascend.com>
3030 * utime.m4 (jm_FUNC_UTIME): New file and macro.
3031 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
3033 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
3035 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
3036 uid and gid actually remain unchanged.
3038 1998-07-07 Jim Meyering <meyering@ascend.com>
3040 * jm-glibc-io.m4: Remove fclose_unlocked.
3042 1998-07-04 Jim Meyering <meyering@ascend.com>
3044 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
3045 to prove that this macro can be used in packages without regex.c.
3047 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3049 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
3052 1998-07-03 Jim Meyering <meyering@ascend.com>
3054 * gettext.m4: Add -lintl if it's found to be necessary.
3056 * gettext.m4: New file -- from gettext-0.10.35.
3057 * lcmessage.m4: Likewise.
3058 * progtest.m4: Likewise.
3060 * regex.m4 (jm_WITH_REGEX): New file and macro.
3061 * jm-macros.m4: Require the new macro.
3063 1998-06-29 Jim Meyering <meyering@ascend.com>
3065 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
3066 for the definition of NGROUPS (used in a system header included
3069 1998-06-28 Jim Meyering <meyering@ascend.com>
3071 * ls-mntd-fs.m4: New file.
3072 * fstypename.m4: New file.
3074 * jm-macros.m4: Require the new macro.
3075 * jm-glibc-io.m4: New file.
3077 1998-05-19 Jim Meyering <meyering@ascend.com>
3079 * jm-macros.m4: Add jm_FUNC_LCHOWN.
3080 * lchown.m4: New file.
3082 * Makefile.am.in: New file.
3083 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
3085 1998-05-14 Jim Meyering <meyering@ascend.com>
3087 * Makefile.am (EXTRA_DIST): Add them.
3088 * jm-macros.m4: New file.
3089 * utimbuf.m4: New file.
3091 1998-05-12 Jim Meyering <meyering@ascend.com>
3093 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
3095 1998-05-11 Jim Meyering <meyering@ascend.com>
3097 * isc-posix.m4: New file.
3099 1998-05-10 Jim Meyering <meyering@ascend.com>
3101 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
3103 1998-05-09 Jim Meyering <meyering@ascend.com>
3105 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
3106 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
3109 * ssize_t.m4: New file.
3110 * mktime.m4: Remove file -- the new automake has this now.
3112 1998-04-26 Jim Meyering <meyering@ascend.com>
3114 * assert.m4: New file.
3115 * Makefile.am (EXTRA_DIST): Add assert.m4.
3117 1998-04-05 Jim Meyering <meyering@ascend.com>
3119 * prereq.m4 (jm_PREREQ_REGEX): New macro.
3120 (jm_PREREQ): Use it here.
3122 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
3124 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
3127 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
3129 * prereq.m4: New file.
3130 * error.m4: New file.
3131 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
3133 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
3135 * getline.m4: Don't set am_cv_func_working_getline before the
3136 cache-check for the same variable -- that defeated the purpose of
3137 the test; the test program was never run. This was a problem only
3138 on systems with losing getline functions -- HP-UX 10.20 is one.
3139 Reported by Bjorn Helgaas.
3141 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
3143 * Makefile.am (EXTRA_DIST): Add perl.m4.
3145 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
3147 * Makefile.am (EXTRA_DIST): Add const.m4.
3149 * const.m4: New file. Use an initializer in this declaration
3150 typedef int charset[2]; const charset x;
3151 Reported by Bob Glickstein.
3153 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
3155 * chown.m4: Fix reversed types on -1 args to chown.
3158 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
3160 * check-decl.m4: s/DECLARATION_/DECL_/g.
3161 Add lseek and memchr.
3163 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
3164 T.E.Dickey <dickey@clark.net> said that some older preprocessors
3165 have a 20-character limit on names.
3167 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
3169 * inttypes_h.m4: New file.
3170 * uintmax_t.m4: New file.
3171 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.