1 2003-08-16 Jim Meyering <jim@meyering.net>
3 * utimes.m4 (gl_FUNC_UTIMES): New file.
5 * utimes-null.m4: Renamed from utimes.m4.
7 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
8 to 1MB, so as not to render systems with no stack size limit (e.g.,
9 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
10 Include <unistd.h>. On some systems,
11 it is required for the definition of _SC_PAGESIZE.
13 2003-08-16 Paul Eggert <eggert@twinsun.com>
15 Merges from coreutils, etc.
16 * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
17 error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28.
18 * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
20 * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
21 * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
23 2003-08-16 Jim Meyering <jim@meyering.net>
24 and Paul Eggert <eggert@cs.ucla.edu>
26 Merges from coreutils, etc.
28 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
29 using the latest version from cvs. This avoids problems with #line
30 directives using a vendor (Sun) compiler.
31 (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
32 Don't set GETGROUPS_LIB here; now it's
33 done via getgroups.m4's wrapper function.
34 AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
35 rather than just in sh-util/configure.in, so that the
36 now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
38 Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
39 AC_FUNC_GETLOADAVG where to find getloadavg.c.
40 Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
41 UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
42 gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
43 Remove code that is now done by the newly-required macros.
44 Append $(EXEEXT) to DF_PROG.
45 AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
46 Do not invoke or require the following here,
47 since prereq.m4 or some gnulib .m4 now does this for us:
48 gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
49 jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
50 jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
51 jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
52 jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
53 AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
54 vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
56 Do not replace the following functions, as this is now the job
57 of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
58 getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
59 strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
60 atexit getpass, strdup, getpagesize.
62 Do not check for the following functions, as this is now the job
63 of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
64 getcwd, getmntinfo, resolvepath. But check for sysctl, setreuid,
66 (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
67 Check for sys/sysctl.h.
68 (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
69 jm_CHECK_TYPE_STRUCT_TIMESPEC. Invoke gt_TYPE_SSIZE_T instead
70 of checking for ssize_t ourselves.
72 * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
73 Require every macro that gnulib/modules/* suggests for us.
74 (jm_PREREQ_ADDEXT): New macro.
75 (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
76 Require jm_AC_TYPE_LONG_LONG instead of invoking it.
78 * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
80 Also check for `table' function.
81 Check for new headers and functions.
82 Add check for sys/sysmp.h.
83 With suggestions from Kaveh Ghazi.
84 Ignore headers that are present but cannot be compiled. This
85 avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
88 2003-08-16 Jim Meyering <jim@meyering.net>
90 Merges from coreutils.
91 * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
92 prefix. Adjust cache variables similarly. Create 500 rather than
93 just 300 files, to exercise bug on Darwin6.5, too.
94 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
95 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
96 Reported by mkc@mathdogs.com.
97 Also change use of $am_cv_sys_posix_termios
98 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
99 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
100 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
101 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
102 /proc/mounts until it finds one with matching device number. This is
103 unnecessary when the FILE argument *is* a mount point. No stat call
104 is necessary in that case. So, disable the statvfs-testing code on
105 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
106 as RedHat bug# 84846.
107 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
108 to 1MB, so as not to render systems with no stack size limit (e.g.,
109 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
110 Include <unistd.h>. On some systems,
111 it is required for the definition of _SC_PAGESIZE.
113 2003-08-15 Jim Meyering <jim@meyering.net>
114 and Paul Eggert <eggert@cs.ucla.edu>
116 Merges from coreutils, etc.
117 * strftime.m4 (_jm_STRFTIME_PREREQS):
118 Require gl_FUNC_TZSET_CLOBBER.
119 * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
120 ut_exit.ut_termination, and ut_exit.e_termination members.
122 2003-08-14 Paul Eggert <eggert@twinsun.com>
124 Help the merge from coreutils.
125 * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
126 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
127 * tzset.m4: Use it too.
129 2003-08-14 Jim Meyering <jim@meyering.net>
131 Merge from coreutils.
132 * tzset.m4: New file.
133 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
134 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
135 systems would end up using the latter. MOUNTED_GETMNTENT1 support
136 is inadequate on such systems: 1) detecting whether a file system
137 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
138 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
139 merely /MOUNT_POINT. Reported by Mike Jetzer.
141 2003-08-13 Paul Eggert <eggert@twinsun.com>
143 * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
146 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
147 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
148 Undo previous (whitespace-only) change.
150 2003-08-12 Paul Eggert <eggert@twinsun.com>
152 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
153 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
154 Normalize leading white space and remove trailing white space.
157 * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
159 * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
160 0.12.1. These files are now being upgraded automatically by
161 ../config/srclist-update.
163 2003-08-11 Bruno Haible <bruno@clisp.org>
165 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
167 2003-08-09 Paul Eggert <eggert@twinsun.com>
169 * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
170 apparently Emacs's Unicode mode got confused before my 2003-08-05
173 2003-08-08 Paul Eggert <eggert@twinsun.com>
175 * extensions.m4: New file.
176 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
177 Require gl_USE_SYSTEM_EXTENSIONS.
178 * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
179 Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
181 2003-08-07 Paul Eggert <eggert@twinsun.com>
183 * restrict.m4: New file.
184 * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
186 2003-08-07 Bruno Haible <bruno@clisp.org>
188 * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
189 the module 'getndelim2' compatible with the module 'getline'.
191 2003-08-05 Paul Eggert <eggert@twinsun.com>
193 * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
194 byte with "\201" to avoid glitches when editing that source file
195 with multi-gnome-terminal.
197 2003-07-31 Bruno Haible <bruno@clisp.org>
199 * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
201 2003-07-18 Bruno Haible <bruno@clisp.org>
203 * getndelim2.m4: New file.
204 * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
205 invoke gl_PREREQ_GETNDELIM2.
206 (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
207 gl_PREREQ_GETNDELIM2.
208 * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
211 2003-07-17 Bruno Haible <bruno@clisp.org>
213 * Makefile.am.in: Remove file.
214 * Makefile.am: Remove file.
215 * Makefile.in: Remove file.
217 2003-07-17 Bruno Haible <bruno@clisp.org>
219 * getnline.m4: New file.
221 2003-07-14 Simon Josefsson <jas@extundo.com>
223 * mempcpy.m4: New file.
225 2003-07-10 Jim Meyering <jim@meyering.net>
227 * clock_time.m4: Remove trailing blank.
228 * intmax_t.m4: Likewise.
230 2003-07-01 Paul Eggert <eggert@twinsun.com>
232 * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
233 xreadlink.c now includes it unconditionally.
235 2003-07-01 Bruno Haible <bruno@clisp.org>
237 * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
238 should be sufficient.
239 Reported by Paul Eggert.
241 2003-06-25 Bruno Haible <bruno@clisp.org>
243 * readlink.m4: New file.
245 2003-06-22 Bruno Haible <bruno@clisp.org>
247 Portability to mingw32.
248 * ssize_t.m4: New file, from GNU gettext.
249 * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
250 * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
252 2003-06-11 Bruno Haible <bruno@clisp.org>
254 * sysexits.m4: New file.
256 2003-06-10 Simon Josefsson <jas@extundo.com>
258 * strchrnul.m4: New file.
260 2003-06-07 Bruno Haible <bruno@clisp.org>
262 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
263 gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
264 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
266 * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
267 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
270 2003-06-04 Paul Eggert <eggert@twinsun.com>
272 * human.m4 (gl_HUMAN): Require AM_STDBOOL_H. Check for
273 locale.h, localeconv. This merges changes from coreutils.
275 * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
276 It can be removed after the next Autoconf is released.
277 * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
280 2003-05-30 Bruno Haible <bruno@clisp.org>
282 * gettext.m4: Upgrade to gettext-0.12.1.
283 * nls.m4: New file, from gettext-0.12.1.
284 * po.m4: New file, from gettext-0.12.1.
285 * progtest.m4: Upgrade to gettext-0.12.1.
287 2003-05-28 Paul Eggert <eggert@twinsun.com>
289 Assume the headers required for C89 freestanding compilers.
290 * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
291 * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
292 * human.m4 (gl_HUMAN): Likewise.
293 * pathmax.m4 (gl_PATHMAX): Likewise.
294 * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
295 * userspec.m4 (gl_USERSPEC): Likewise.
296 * xreadlink.m4 (gl_XREADLINK): Likewise.
297 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
298 * quote.m4 (gl_QUOTE): Don't check for stddef.h.
300 2003-05-26 Jim Meyering <jim@meyering.net>
302 Merge in a change from coreutils:
303 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
304 that is guaranteed to be `no'. Use `no_such_member' to indicate
305 that condition, rather than `-1' which is slightly misleading.
306 Change the name of the cache variable to have the gl_ prefix.
307 Prompted by a patch from Richard Dawe for DJGPP.
309 2003-05-17 Bruno Haible <bruno@clisp.org>
311 * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
312 expansion for AC_EGREP_CPP.
313 * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
314 * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
315 Suggested by Akim Demaille <akim@epita.fr> in
316 http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
318 2003-04-21 Paul Eggert <eggert@twinsun.com>
320 * error.m4 (gl_ERROR): Do not put under dynamic conditions some
321 code which expansion is under static control. Patch imported from
322 Akim Demaille's patch to Bison; see
323 <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
325 2003-04-14 Bruno Haible <bruno@clisp.org>
327 * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
329 2003-04-10 Bruno Haible <bruno@clisp.org>
331 * findprog.m4: New file.
332 * eaccess.m4: New file.
334 2003-04-04 Bruno Haible <bruno@clisp.org>
336 * linebreak.m4: New file.
338 2003-04-03 Bruno Haible <bruno@clisp.org>
340 * utf-ucs4.m4: New file.
341 * ucs4-utf.m4: New file.
343 2003-03-30 Bruno Haible <bruno@clisp.org>
345 * copy-file.m4 (gl_COPY_FILE): Add check for chown().
347 2003-03-28 Bruno Haible <bruno@clisp.org>
349 * copy-file.m4: New file.
351 2003-03-18 Bruno Haible <bruno@clisp.org>
353 * onceonly.m4: Use m4_defn instead of defn, for better error checking.
354 * onceonly_2_57.m4: Likewise.
356 2003-03-17 Bruno Haible <bruno@clisp.org>
358 * onceonly.m4: Require autoconf 2.54 or newer.
359 (m4_quote): Remove macro.
360 * onceonly_2_57.m4: Require autoconf 2.54 or newer.
362 2003-03-14 Bruno Haible <bruno@clisp.org>
364 * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
365 AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
367 2003-03-13 Paul Eggert <eggert@twinsun.com>
369 * onceonly.m4 (m4_quote): New macro.
370 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
371 Quote AC_FOREACH variable-expansions properly.
373 2003-02-19 Paolo Bonzini <bonzini@gnu.org>
377 2003-02-18 Paolo Bonzini <bonzini@gnu.org>
379 * mathl.m4: New file.
381 2003-02-17 Bruno Haible <bruno@clisp.org>
383 * mkdtemp.m4: New file, from GNU gettext with modifications.
385 2003-02-02 Jim Meyering <jim@meyering.net>
387 * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
390 2003-01-31 Bruno Haible <bruno@clisp.org>
392 * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
394 * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
396 * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
398 * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
401 2003-01-30 Bruno Haible <bruno@clisp.org>
403 * signed.m4: New file, from GNU gettext.
404 * longdouble.m4: New file, from GNU gettext.
405 * wchar_t.m4: New file, from GNU gettext.
406 * wint_t.m4: New file, from GNU gettext.
407 * vasnprintf.m4: New file.
408 * vasprintf.m4: New file.
410 2003-01-29 Bruno Haible <bruno@clisp.org>
412 * stpncpy.m4: New file.
414 2003-01-23 Jim Meyering <jim@meyering.net>
416 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
417 from working on systems without dirfd (at least Irix and OSF1/Tru64).
419 2003-01-16 Jim Meyering <jim@meyering.net>
421 * regex.m4: The `regex' struct is both input and output.
422 Initialize it before each use. Patch by Tim Waugh.
424 2003-01-11 Bruno Haible <bruno@clisp.org>
426 * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
427 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
430 2003-01-11 Bruno Haible <bruno@clisp.org>
432 * md5.m4 (gl_MD5): Require AC_C_INLINE.
434 2003-01-11 Bruno Haible <bruno@clisp.org>
436 * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
438 2003-01-12 Paul Eggert <eggert@twinsun.com>
440 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
441 to avoid collisions with libcurses and libreadline.
444 * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
446 2003-01-10 Bruno Haible <bruno@clisp.org>
448 * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
450 2003-01-09 Bruno Haible <bruno@clisp.org>
452 * stdbool.m4 (AM_STDBOOL_H): New macro.
454 2002-12-31 Paul Eggert <eggert@twinsun.com>
456 * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
458 2002-12-24 Bruno Haible <bruno@clisp.org>
460 General infrasructure.
462 * onceonly.m4: New file.
463 * onceonly_2_57.m4: New file.
466 * atexit.m4: New file.
469 * strtod.m4: New file.
472 * strtol.m4: New file.
475 * strtoul.m4: New file.
478 * memchr.m4: New file.
481 * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
482 (jm_FUNC_MEMCMP): Invoke it.
485 * memcpy.m4: New file.
488 * memmove.m4: New file.
491 * memset.m4: New file.
494 * strcspn.m4: New file.
497 * strpbrk.m4: New file.
500 * strstr.m4: New file.
503 * strerror.m4: New file.
506 * mktime.m4: Renamed from jm-mktime.m4.
507 (gl_PREREQ_MKTIME): New macro.
508 (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
511 * malloc.m4 (gl_PREREQ_MALLOC): New macro.
512 (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
513 Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
516 * realloc.m4 (gl_PREREQ_REALLOC): New macro.
517 (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
518 Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
521 * tm_gmtoff.m4: New file, extracted from strftime.m4.
522 * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
523 Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
525 (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
528 * xalloc.m4: New file.
531 * alloca.m4: New file.
534 * putenv.m4 (gl_PREREQ_PUTENV): New macro.
535 (jm_FUNC_PUTENV): Invoke it.
538 * setenv.m4 (gt_FUNC_SETENV): New macro.
539 (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
541 (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
545 * memrchr.m4: New file.
548 * stpcpy.m4: New file.
551 * strcase.m4: New file.
554 * strdup.m4: New file.
557 * strnlen.m4: New file.
560 * strndup.m4: New file.
563 * xstrtod.m4: New file.
566 * xstrtol.m4: New file.
569 * getdate.m4: New file.
572 * unlocked-io.m4: Renamed from jm-glibc-io.m4.
573 (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
574 * jm-glibc-io.m4n: Remove file.
577 * long-options.m4: New file.
586 * getstr.m4: New file.
589 * getline.m4 (gl_PREREQ_GETLINE): New macro.
590 (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
591 <sys/types.h>, for size_t. Use the function name gnu_getline, not
592 simply getline. Infoke gl_PREREQ_GETLINE.
595 * obstack.m4: New file.
601 * readtokens.m4: New file.
604 * strverscmp.m4: New file.
607 * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
610 * strtoll.m4: New file.
613 * strtoull.m4: New file.
616 * strtoimax.m4: New file.
619 * strtoumax.m4: New file.
622 * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
623 Moved the strtol prerequisites to strtol.m4.
624 Moved the strtoll prerequisites to strtoll.m4.
625 Moved the strtoimax prerequisites to strtoimax.m4.
628 * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
629 Moved the strtoul prerequisites to strtoul.m4.
630 Moved the strtoull prerequisites to strtoull.m4.
631 Moved the strtoumax prerequisites to strtoumax.m4.
634 * chown.m4 (gl_PREREQ_CHOWN): New macro.
635 (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
641 * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
642 (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
645 * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
646 (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
649 * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
650 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
651 gl_PREREQ_GETTIMEOFDAY.
654 * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
655 (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
658 * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
659 (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
660 jm_AC_TYPE_UINTMAX_T.
661 (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
664 * stat.m4 (gl_PREREQ_STAT): New macro.
665 (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
668 * lstat.m4 (gl_PREREQ_LSTAT): New macro.
669 (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
672 * timespec.m4 (gl_TIMESPEC): New macro.
673 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
674 * st_mtim.m4: Indentation.
677 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
678 (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
682 * regex.m4 (jm_PREREQ_REGEX): New macro.
683 (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
684 (gl_REGEX): New macro.
687 * rename.m4 (gl_PREREQ_RENAME): New macro.
688 (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
691 * rmdir.m4: New file.
694 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
695 * utime.m4 (gl_PREREQ_UTIME): New macro.
696 (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
699 * dirname.m4: New file.
702 * getopt.m4: New file.
705 * unistd-safer.m4: New file.
708 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
710 (gl_PREREQ_FNMATCH_EXTRA): New macro.
711 (gl_FUNC_FNMATCH_POSIX): New macro.
712 (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
713 gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
717 * exclude.m4: New file.
720 * human.m4: New file.
726 * backupfile.m4: New file.
727 * d-ino.m4: Indentation.
730 * fsusage.m4 (gl_FSUSAGE): New macro.
731 (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
732 (gl_PREREQ_FSUSAGE_EXTRA): New macro.
735 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
738 * euidaccess.m4: New file.
741 * file-type.m4: New file.
744 * fileblocks.m4: New file.
747 * filemode.m4: New file.
750 * isdir.m4: New file.
753 * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
754 (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
757 * makepath.m4: New file.
760 * modechange.m4: New file.
763 * mountlist.m4: New file.
764 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
768 * path-concat.m4: New file.
771 * pathmax.m4: New file.
777 * save-cwd.m4: New file.
780 * savedir.m4: New file.
783 * xgetcwd.m4: New file.
784 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
787 * xreadlink.m4: New file.
790 * safe-read.m4: New file.
793 * safe-write.m4: New file.
796 * closeout.m4: New file.
799 * stdio-safer.m4: New file.
802 * getpass.m4: New file.
805 * getugroups.m4: New file.
808 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
809 (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
812 * idcache.m4: New file.
815 * userspec.m4: New file.
818 * clock_time.m4: New file.
819 * gettime.m4: New file.
822 * settime.m4: New file.
825 * posixtm.m4: New file.
828 * gethostname.m4: New file.
831 * canon-host.m4: New file.
834 * codeset.m4: New file, from gettext-0.11.5.
835 * gettext.m4: New file, from gettext-0.11.5.
836 * glibc21.m4: New file, from gettext-0.11.5.
837 * iconv.m4: New file, from gettext-0.11.5.
838 * intdiv0.m4: New file, from gettext-0.11.5.
839 * inttypes-pri.m4: New file, from gettext-0.11.5.
840 * inttypes.m4: New file, from gettext-0.11.5.
841 * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
842 * isc-posix.m4: New file, from gettext-0.11.5.
843 * lcmessage.m4: New file, from gettext-0.11.5.
844 * lib-ld.m4: New file, from gettext-0.11.5.
845 * lib-link.m4: New file, from gettext-0.11.5.
846 * lib-prefix.m4: New file, from gettext-0.11.5.
847 * progtest.m4: New file, from gettext-0.11.5.
848 * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
849 * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
850 * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
853 * localcharset.m4: New file.
856 * hard-locale.m4: New file.
859 * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
861 * mbrtowc.m4: Add comment.
864 * memcasecmp.m4: New file.
867 * memcoll.m4: New file.
870 * unicodeio.m4: New file.
873 * rpmatch.m4: New file.
876 * yesno.m4: New file.
879 * exitfail.m4: New file.
882 * c-stack.m4 (gl_C_STACK): New macro.
883 (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
886 * error.m4 (gl_ERROR): New macro.
887 (jm_PREREQ_ERROR): Use onceonly macros.
890 * fatal.m4: New file.
893 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
894 (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
897 * getpagesize.m4: New file.
900 * getusershell.m4: New file.
903 * physmem.m4: New file.
906 * posixver.m4: New file.
909 * quotearg.m4: New file.
912 * quote.m4: New file.
915 * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
918 * sig2str.m4: New file.
921 * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
923 * intmax_t.m4: New file.
924 * d-type.m4: Indentation.
925 * jm-macros.m4: Update.
926 * prereq.m4 (jm_PREREQ): Update.
927 (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
928 (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
929 (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
930 (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
931 (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
932 (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
933 (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
934 (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
935 (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
936 (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
937 (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
938 (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
939 (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
940 (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
941 (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
942 (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
943 (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
944 (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
945 * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
947 2002-12-18 Bruno Haible <bruno@clisp.org>
949 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
950 * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
952 2002-12-17 Bruno Haible <bruno@clisp.org>
954 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
957 2002-12-11 Bruno Haible <bruno@clisp.org>
959 * setenv.m4: New file, from gettext-0.11.5.
961 2002-12-06 Paul Eggert <eggert@twinsun.com>
963 Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
964 a pain in practice to deal with generated m4 files. This change
965 goes together with the 2002-12-04 unlocked-io.h change in ../lib.
967 * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
968 and jm-glibc-io.m4, as they are no longer a special case.
969 * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
970 kludge and the auto-generation stuff. Check only whether the
971 functions are declared, not whether they exist, since older hosts
972 that don't declare the functions can't use the optimization anyway.
974 2002-07-06 Jim Meyering <meyering@lucent.com>
976 * README: Don't mention Makefile.am.in.
977 Outline how I've tested changes to .m4 files. Yep, it's a pain.
979 2002-06-11 Paul Eggert <eggert@twinsun.com>
981 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
983 2002-06-22 Jim Meyering <meyering@lucent.com>
985 * c-stack.m4: New file, from diffutils-2.8.2.
986 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
988 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
989 now that configure.ac uses AC_GNU_SOURCE.
990 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
991 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
993 Update to latest tools. Suggestions from Paul Eggert.
994 * stdbool.m4: New file, from diffutils-2.8.2.
995 * gnu-source.m4: Update from diffutils-2.8.2.
996 * fnmatch.m4: Likewise.
997 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
1000 2002-06-21 Jim Meyering <meyering@lucent.com>
1002 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
1003 * mbrtowc.m4: Likewise.
1005 * mbstate_t.m4: Update from diffutils-2.8.2.
1006 * mbswidth.m4: Reflect name change:
1007 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
1008 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
1010 * lib-link.m4: Update from gettext-0.11.2.
1011 * gettext.m4: Likewise.
1013 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
1014 From Alfred M. Szmidt.
1016 2002-05-19 Paul Eggert <eggert@twinsun.com>
1018 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
1020 2002-06-07 Jim Meyering <meyering@lucent.com>
1022 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
1023 They're needed at least for NetBSD 1.5.2.
1024 ($statxfs_includes): Include those same headers.
1025 ($statxfs_includes): Include sys/vfs.h if available.
1026 ($statxfs_includes): Likewise for sys/statvfs.h.
1027 Check for the following members in both structs statfs and statvfs:
1028 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
1030 2002-06-01 Jim Meyering <meyering@lucent.com>
1032 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
1033 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
1035 2002-05-28 Jim Meyering <meyering@lucent.com>
1037 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
1038 Reported by Volker Borchert.
1040 2002-05-27 Jim Meyering <meyering@lucent.com>
1042 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
1045 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
1046 use the replacement function; it wouldn't resolve at link time.
1047 Reported by Volker Borchert.
1049 2002-04-30 Jim Meyering <meyering@lucent.com>
1051 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
1053 2002-04-29 Paul Eggert <eggert@twinsun.com>
1055 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
1056 Do not check for alloca.h (no longer used) or stdbool.h (was never
1057 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
1059 2002-04-28 Paul Eggert <eggert@twinsun.com>
1061 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
1063 2002-04-29 Jim Meyering <meyering@lucent.com>
1065 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
1066 * prereq.m4: Add jm_PREREQ_STRNLEN.
1067 Use AC_FUNC_STRNLEN here instead.
1069 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
1070 With autoconf-2.53a, it's part of AC_PROG_CC.
1072 2002-04-28 Paul Eggert <eggert@twinsun.com>
1074 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
1075 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
1077 2002-04-24 Jim Meyering <meyering@lucent.com>
1079 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
1080 (jm_PREREQ): Use it.
1082 * getloadavg.m4: Check for these headers: locale.h unistd.h
1083 mach/mach.h fcntl.h.
1084 Check for this function: setlocale.
1086 2002-04-16 Jim Meyering <meyering@lucent.com>
1088 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
1089 ut_pid, ut_id, ut_exit.
1091 2002-04-12 Jim Meyering <meyering@lucent.com>
1093 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
1094 check for f_type in sys/mount.h. Instead, just test for the existence
1095 of the getmntinfo function. Needed for Darwin 5.3.
1097 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
1098 This is necessary at least on Darwin 5.3.
1100 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
1101 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
1102 in the library, and that makes some versions of ranlib object.
1104 2002-04-09 Jim Meyering <meyering@lucent.com>
1106 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
1107 to be more precise. Rather than saying we're checking whether the
1108 function `works', say what we're testing.
1109 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
1110 Reported by Bruno Haible.
1112 2002-02-27 Paul Eggert <eggert@twinsun.com>
1114 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
1115 Check for clock_settime.
1117 2002-02-25 Paul Eggert <eggert@twinsun.com>
1120 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
1121 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
1123 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
1125 * codeset.m4: Upgrade to gettext-0.11.
1126 * gettext.m4: Upgrade to gettext-0.11.
1127 * glibc21.m4: Upgrade to gettext-0.11.
1128 * iconv.m4: Upgrade to gettext-0.11.
1129 * isc-posix.m4: Upgrade to gettext-0.11.
1130 * lcmessage.m4: Upgrade to gettext-0.11.
1131 * lib-ld.m4: New file, from gettext-0.11.
1132 * lib-link.m4: New file, from gettext-0.11.
1133 * lib-prefix.m4: New file, from gettext-0.11.
1134 * progtest.m4: Upgrade to gettext-0.11.
1136 2002-02-15 Paul Eggert <eggert@twinsun.com>
1138 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
1139 (jm_PREREQ): Use it.
1141 2002-01-26 Jim Meyering <meyering@lucent.com>
1143 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
1144 * strnlen.m4: Remove file, now that it's part of autoconf.
1146 2002-01-22 Paul Eggert <eggert@twinsun.com>
1148 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
1150 2002-01-19 Jim Meyering <meyering@lucent.com>
1152 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
1153 Remove useless quotes: DF_PROG="df".
1154 * strnlen.m4: New file.
1156 2001-12-14 Jim Meyering <meyering@lucent.com>
1158 * jm-macros.m4 (jm_MACROS): Check for iswspace.
1159 Suggestion from Bruno Haible.
1161 2001-11-20 Jim Meyering <meyering@lucent.com>
1163 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
1164 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
1166 2001-11-19 Jim Meyering <meyering@lucent.com>
1168 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
1169 directory. Use "conftestXXXXXX" as the template.
1170 Suggestion from Paul Eggert.
1172 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
1173 so the test doesn't mistakenly hit the max-open-files limit.
1175 2001-11-18 Jim Meyering <meyering@lucent.com>
1177 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
1179 2001-11-17 Jim Meyering <meyering@lucent.com>
1181 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
1182 Prompted by a report from Bob Proulx.
1184 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
1185 Instead, require UTILS_FUNC_MKSTEMP.
1187 2001-11-11 Jim Meyering <meyering@lucent.com>
1189 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
1190 Now, that's done as part of AC_FUNC_STRTOD.
1192 2001-10-22 Paul Eggert <eggert@twinsun.com>
1194 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
1195 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
1197 2001-11-10 Jim Meyering <meyering@lucent.com>
1199 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
1200 (jm_PREREQ): Use it.
1202 2001-11-09 Jim Meyering <meyering@lucent.com>
1204 * jm-macros.m4: Require autoconf-2.52f.
1205 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
1206 Use these AC_-prefixed names, not the AM_-prefixed ones.
1208 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
1210 2001-11-04 Jim Meyering <meyering@lucent.com>
1212 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
1214 2001-11-03 Jim Meyering <meyering@lucent.com>
1216 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
1219 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
1220 know the name of the variable in the macro definition.
1222 2001-11-01 Jim Meyering <meyering@lucent.com>
1224 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
1225 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
1227 2001-10-20 Paul Eggert <eggert@twinsun.com>
1229 * error.m4 (jm_PREREQ_ERROR):
1230 Do not invoke AC_CHECK_FUNCS with strerror_r, as
1231 AC_FUNC_STRERROR_R does that.
1232 Check for strerror declaration.
1234 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
1235 are supposed to have them these days.
1236 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
1237 Merge changes from latest Autoconf CVS.
1238 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
1239 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
1240 POSIX decided to standardize on the int flavor of strerror_r.
1242 2001-09-30 Jim Meyering <meyering@lucent.com>
1244 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
1245 `struct fsstat' has the `f_fstypename' member.
1246 Use that to define FS_TYPE, which is now used to make
1247 the getfsstat link test tighter.
1249 2001-09-29 Jim Meyering <meyering@lucent.com>
1251 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1252 [one-argument getmntent function]): Include stdio.h before mntent.h.
1253 SunOS 4.1.x needs it for the declaration of `FILE'.
1254 Patch by Volker Borchert.
1256 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1257 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
1258 sys/fs_types.h, and make the link-test for getfsstat guard #include
1259 directives with appropriate #if HAVE_*_H tests so that we can
1260 detect getfsstat on Apple Darwin1.3.7 systems.
1261 Reported by Nelson Beebe.
1262 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
1264 2001-09-28 Paul Eggert <eggert@twinsun.com>
1266 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
1267 #defines strtoimax. Also treat the other strto* functions
1270 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1271 Check for strtoul and strtoumax,
1272 as those declarations are made even in the signed case.
1273 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
1274 Likewise, for strtol and strtoimax.
1276 2001-09-24 Jim Meyering <meyering@lucent.com>
1278 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
1280 2001-09-23 Jim Meyering <meyering@lucent.com>
1282 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
1283 instead of the mere test for existence of mntent.h. The latter
1284 would get a false-positive on AIX 3.4 systems.
1285 In the outer getmntent if-block, don't die if neither of the getmntent
1286 tests succeeds. Instead, just fall through and continue with the
1289 2001-09-22 Jim Meyering <meyering@lucent.com>
1291 * gettext.m4: New file. From gettext.
1292 * lcmessage.m4: Sync with gettext -- this changes only comments.
1293 * progtest.m4: Likewise
1294 * isc-posix.m4: Decrement serial number to sync with gettext.
1295 * glibc21.m4: Likewise.
1297 * libintl.m4: Remove. No longer used.
1299 2001-09-20 Jim Meyering <meyering@lucent.com>
1301 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
1303 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
1306 2001-09-17 Jim Meyering <meyering@lucent.com>
1308 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
1309 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
1310 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
1311 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
1312 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
1313 whenever the right hand side need not be expanded by the shell.
1315 2001-09-16 Paul Eggert <eggert@twinsun.com>
1317 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
1318 library. It's not correct, as some older glibcs are buggy.
1319 fnmatch wasn't fixed until glibc 2.2.
1321 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
1322 special shell magic here.
1324 2001-09-16 Jim Meyering <meyering@lucent.com>
1326 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
1327 * jm-macros.m4: Require it.
1329 2001-09-15 Jim Meyering <meyering@lucent.com>
1331 * jm-macros.m4: Check for help2man.
1333 2001-09-11 Jim Meyering <meyering@lucent.com>
1335 * host-os.m4 (UTILS_HOST_OS): New file/macro.
1336 The body, by Paul Eggert, was moved here from configure.in.
1337 * jm-macros.m4: Require UTILS_HOST_OS.
1339 2001-09-04 Paul Eggert <eggert@twinsun.com>
1341 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
1342 (jm_PREREQ): Use it.
1344 2001-09-03 Paul Eggert <eggert@twinsun.com>
1346 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
1347 sys/param.h, as pathmax.h includes them.
1349 2001-09-03 Paul Eggert <eggert@twinsun.com>
1351 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
1352 (jm_PREREQ_XGETCWD): New macro.
1354 * getcwd.m4: New file.
1356 2001-09-01 Jim Meyering <meyering@lucent.com>
1358 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
1361 2001-08-30 Paul Eggert <eggert@twinsun.com>
1363 Simplify code, partly by assuming autoconf 2.52 semantics.
1365 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
1367 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
1368 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
1370 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
1371 Move AC_REQUIRE to next-to-top level, to avoid confusion.
1372 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
1373 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
1374 * jm-macros.m4 (jm_MACROS): Likewise.
1376 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
1378 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1379 Quote first arg of AC_DEFUN.
1380 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
1381 since they are needed to parse the include file even if we need
1382 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
1383 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
1384 but with opposite signedness.
1386 2001-08-30 Paul Eggert <eggert@twinsun.com>
1388 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
1389 (jm_PREREQ_EXCLUDE): New macro.
1391 2001-08-26 Jim Meyering <meyering@lucent.com>
1393 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
1395 * xstrtoimax.m4: New file.
1396 * xstrtoumax.m4: Add comments explaining why we
1397 AC_REPLACE_FUNCS(strtol).
1399 2001-06-20 Paul Eggert <eggert@twinsun.com>
1401 * inttypes.m4: Add AC_PREREQ(2.13).
1402 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
1403 (jm_AC_TYPE_INTMAX_T): New macro.
1404 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
1406 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
1408 * longlong.m4: Renamed from ulonglong.m4.
1409 * inttypes.m4: Renamed from inttypes_h.m4.
1410 * uintmax_t.m4: Removed.
1412 2001-08-12 Jim Meyering <meyering@lucent.com>
1414 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
1415 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
1416 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
1417 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
1418 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
1419 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
1420 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
1421 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
1422 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
1423 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
1424 utime.m4, utimes.m4, xstrtoumax.m4:
1425 Quote the first argument in each use of AC_DEFUN.
1427 2001-08-05 Jim Meyering <meyering@lucent.com>
1429 * jm-macros.m4: Require autoconf-2.52.
1431 2001-08-03 Paul Eggert <eggert@twinsun.com>
1433 The following changes are from gettext 0.10.39 as maintained by
1434 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
1436 * codeset.m4: Upgrade to serial AM1.
1437 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
1438 all uses changed. Quote first arg of AC_DEFUN.
1439 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
1441 * iconv.m4: Upgrade to serial AM2.
1442 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
1443 Add --with-libconv-prefix.
1444 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
1445 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
1446 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
1447 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
1448 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
1450 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
1451 * getline.m4 (AM_FUNC_GETLINE): Likewise.
1452 * glibc21.m4 (jm_GLIBC21): Likewise.
1453 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
1454 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
1455 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
1456 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
1457 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
1458 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
1460 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
1463 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
1464 not the default value.
1466 2001-06-25 Bruno Haible <haible@clisp.cons.org>
1467 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
1468 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
1469 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
1470 Also check for iswcntrl, used for wcwidth fallback.
1471 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
1474 2001-08-03 Jim Meyering <meyering@lucent.com>
1476 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
1477 as it was in the original. Reported by Paul Eggert.
1479 2001-07-16 Jim Meyering <meyering@lucent.com>
1481 * gettimeofday.m4: New file.
1482 Prompted by a report from Bernhard Baehr.
1484 2001-07-15 Jim Meyering <meyering@lucent.com>
1486 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
1487 Now it's in ../Makefile.cfg.
1489 2001-07-04 Jim Meyering <meyering@lucent.com>
1491 * Makefile.am.in (glibc-io.struct): New target. Rework the code
1492 that generates jm-glibc-io.m4 so that it doesn't trigger any make
1495 2001-07-02 Jim Meyering <meyering@lucent.com>
1497 The following changes were prompted by suggestions from Bruno Haible.
1499 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
1501 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
1502 definition of EXTRA_DIST.
1503 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
1504 ensure that the generated file is created/updated whenever the list
1505 of $(unlocked_functions) is changed.
1506 (jm-glibc-io.m4): New rule.
1507 (unlocked-io.h): New rule -- currently unused.
1509 2001-06-24 Jim Meyering <meyering@lucent.com>
1511 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
1512 unmatched right bracket, rather than kludging it with an extra,
1513 falsely-matching quote in a comment. Patch by Akim Demaille.
1515 2001-05-27 Jim Meyering <meyering@lucent.com>
1517 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
1518 Check for ut_type in struct utmp.
1520 2001-05-22 Jim Meyering <meyering@lucent.com>
1522 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
1523 now that we use the package-supplied version unconditionally.
1524 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
1526 2001-05-21 Jim Meyering <meyering@lucent.com>
1528 * regex.m4: Change a couple backticks to single quotes to avoid shell
1531 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1533 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
1535 2001-05-11 Paul Eggert <eggert@twinsun.com>
1537 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
1538 Don't bother to check library strftime, since
1539 we'll be using our own my_strftime function anyway.
1540 Define my_strftime instead of strftime.
1542 2001-05-15 Jim Meyering <meyering@lucent.com>
1544 * regex.m4: Use proper quoting so brackets appear in the test program.
1545 Reported by, and with help from, Bruno Haible.
1547 2001-05-13 Jim Meyering <meyering@lucent.com>
1549 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
1551 2000-11-26 Paul Eggert <eggert@twinsun.com>
1553 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
1555 2001-04-21 Jim Meyering <meyering@lucent.com>
1557 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
1560 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1562 * ftruncate.m4: Check for chsize.
1563 Link with ftruncate.o unconditionally if ftruncate is missing.
1564 This was required when cross-compiling to i586-mingw32msvc.
1566 2001-03-24 Jim Meyering <meyering@lucent.com>
1568 * jm-macros.m4: Require autoconf-2.49d.
1570 2001-03-20 Bruno Haible <haible@clisp.cons.org>
1572 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
1574 2001-03-17 Jim Meyering <meyering@lucent.com>
1576 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
1577 now that the version in autoconf is equivalent.
1578 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
1580 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
1581 Suggestion from Akim Demaille.
1583 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
1584 (jm_PREREQ_TEMPNAME): New function.
1586 2001-02-25 Paul Eggert <eggert@twinsun.com>
1588 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
1589 lacks mkstemp. Compile our own tempname.c if we compile our own
1590 mkstemp.c, as mkstemp relies on tempname.
1592 2001-03-01 Jim Meyering <meyering@lucent.com>
1594 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
1595 AH_VERBATIM really does output its argument verbatim.
1597 2001-02-18 Paul Eggert <eggert@twinsun.com>
1599 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
1601 2001-02-17 Jim Meyering <meyering@lucent.com>
1603 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
1604 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
1605 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
1608 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
1609 rather than AC_CACHE_VAL.
1611 2001-02-17 Paul Eggert <eggert@twinsun.com>
1613 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
1614 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
1615 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
1616 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
1618 2001-02-07 Jim Meyering <meyering@lucent.com>
1620 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
1622 2001-02-05 Jim Meyering <meyering@lucent.com>
1624 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
1625 it includes the patch required for `large file' support with at least
1626 HP-UX's 10.20 /bin/cc.
1628 2001-02-03 Jim Meyering <meyering@lucent.com>
1630 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
1631 AS_IF, now that it works once again (mysteriously).
1632 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1634 2001-01-30 Jim Meyering <meyering@lucent.com>
1636 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
1637 * chown.m4: Rename conftestchown to conftest.chown.
1638 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
1639 * utimes.m4: s/conftestdata/conftest.data/
1640 Inspired by Pavel Roskin's change in autoconf.
1642 2001-01-27 Jim Meyering <meyering@lucent.com>
1644 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
1646 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1648 2001-01-26 Jim Meyering <meyering@lucent.com>
1650 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
1651 quotearg.c includes it.
1653 2001-01-15 Bruno Haible <haible@clisp.cons.org>
1655 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
1658 2001-01-20 Jim Meyering <meyering@lucent.com>
1660 Be sure that headers are checked before used in code compiled
1661 for the type checks.
1662 * jm-macros.m4 (jm_MACROS): Remove all header checks.
1663 In place of that, invoke jm_CHECK_ALL_TYPES.
1664 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
1665 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
1666 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
1667 The check for ssize_t was mistakenly run before the test for unistd.h.
1669 The configure-time check for stdbool.h was missing.
1670 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
1671 (jm_PREREQ_HASH): New function.
1673 2001-01-17 Jim Meyering <meyering@lucent.com>
1675 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
1677 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
1679 2001-01-14 Jim Meyering <meyering@lucent.com>
1681 * rename.m4: Use temporary directories named conftestdir{,2}, not
1682 foo and bar. Create conftestdir/ in the script, not in the C code.
1683 Remove directories in the script, not in the C code.
1684 Remove conftestdir{,2} before trying to create the directory.
1685 Make the entire configure script fail if the mkdir fails.
1687 2001-01-02 Volker Borchert <bt@teknon.de>
1689 * rename.m4: New file.
1690 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
1692 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1694 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
1695 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
1696 so `make install' also works in VPATH builds.
1698 2001-01-01 Jim Meyering <meyering@lucent.com>
1700 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
1701 on systems with utmpx.h. It's necessary for the declaration of utmp's
1702 ut_user member. Reported by Andreas Jaeger.
1704 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
1705 They are required for the declarations of getgrgid and getpwuid resp.
1706 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
1707 Reported by Andreas Jaeger.
1709 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1711 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
1712 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
1713 can be used in subdirectories.
1715 2000-12-26 Jim Meyering <meyering@lucent.com>
1717 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
1720 2000-12-17 Jim Meyering <meyering@lucent.com>
1722 * dos.m4 (jm_AC_DOS): New file and macro.
1723 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
1725 2000-12-06 Paul Eggert <eggert@twinsun.com>
1727 * off_t-format.m4: Remove this file.
1728 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
1730 2000-12-06 Jim Meyering <meyering@lucent.com>
1732 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
1733 strtoull, we may well need the replacement strtoul, too.
1734 Check for declarations of strtoul and strtoull.
1735 Check for strtol. Mainly as a cue to cause automake to include
1736 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
1737 Check for limits.h -- strtol.c needs it.
1739 2000-12-02 Jim Meyering <meyering@lucent.com>
1741 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
1742 * jm-macros.m4 (jm_MACROS): require it.
1744 2000-11-30 Jim Meyering <meyering@lucent.com>
1746 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
1748 2000-11-30 Jim Meyering <meyering@lucent.com>
1750 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
1752 2000-11-03 Bruno Haible <haible@clisp.cons.org>
1754 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
1756 2000-11-04 Jim Meyering <meyering@lucent.com>
1758 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
1760 2000-10-29 Jim Meyering <meyering@lucent.com>
1762 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
1763 * ls-mntd-fs.m4: Likewise
1765 2000-10-28 Jim Meyering <meyering@lucent.com>
1767 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
1768 (jm_PREREQ_MEMCHR): New function.
1770 2000-10-21 Jim Meyering <meyering@lucent.com>
1772 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
1773 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
1774 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
1776 2000-09-18 Jim Meyering <meyering@lucent.com>
1778 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
1779 Otherwise, everyone ends up linking with -lelf for some configurations.
1780 Reported by Mike Stone.
1782 2000-08-26 Jim Meyering <meyering@lucent.com>
1784 * jm-macros.m4: Use jm_FUNC_FPENDING.
1785 * fpending.m4: New file.
1787 2000-08-20 Jim Meyering <meyering@lucent.com>
1789 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
1790 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
1791 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
1793 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1795 Improve fileutils installation on systems where running
1796 programs (like install) can't be unlinked.
1797 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
1798 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
1800 2000-08-06 Paul Eggert <eggert@twinsun.com>
1802 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
1803 not char, for compatibility with glibc 2.1.3 strftime.c.
1805 2000-07-23 Paul Eggert <eggert@twinsun.com>
1807 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
1809 2000-07-23 Jim Meyering <meyering@lucent.com>
1811 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
1812 getgrgid, getpwuid, getuid.
1814 2000-07-16 Bruno Haible <haible@clisp.cons.org>
1816 * mbswidth.m4: New file.
1817 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
1819 2000-07-14 Jim Meyering <meyering@lucent.com>
1821 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
1823 2000-07-10 Paul Eggert <eggert@twinsun.com>
1825 From a suggestion by Bruno Haible.
1826 * mbstate_t.m4 (AC_MBSTATE_T):
1827 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
1828 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
1829 and mbstate_t, to a single-part test that simply defines mbstate_t.
1830 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
1832 2000-07-10 Jim Meyering <meyering@lucent.com>
1834 * strerror_r.m4: Mirror the correction made in autoconf.
1836 * gnu-source.m4: Output to confdefs.h directly.
1837 Suggestion from Akim Demaille.
1839 2000-07-09 Jim Meyering <meyering@lucent.com>
1841 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
1842 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
1844 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
1845 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
1847 2000-07-05 Bruno Haible <haible@clisp.cons.org>
1849 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
1851 Include <ctype.h> for use of isalpha.
1853 2000-07-05 Paul Eggert <eggert@twinsun.com>
1854 and Bruno Haible <haible@clisp.cons.org>
1856 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
1857 only if the test for an object-type mbstate_t fails. This
1858 prevents us from mistakenly reporting that mbstate_t is a
1859 system object type after we "#define mbstate_t int" to work
1862 2000-07-04 Jim Meyering <meyering@lucent.com>
1864 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
1865 of the deprecated AC_CHECKING.
1867 2000-07-03 Jim Meyering <meyering@lucent.com>
1869 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
1871 2000-07-03 Paul Eggert <eggert@twinsun.com>
1873 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
1874 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
1876 2000-07-02 Jim Meyering <meyering@lucent.com>
1878 * mbstate_t.m4: Also define mbstate_t, if necessary.
1880 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
1881 AC_LIBOBJ(function_name).
1882 * chown.m4: Likewise.
1883 * fnmatch.m4: Likewise.
1884 * ftruncate.m4: Likewise.
1885 * getgroups.m4: Likewise.
1886 * getline.m4: Likewise.
1887 * group-member.m4: Likewise.
1888 * jm-macros.m4: Likewise.
1889 * lstat.m4: Likewise.
1890 * malloc.m4: Likewise.
1891 * memcmp.m4: Likewise.
1892 * nanosleep.m4: Likewise.
1893 * putenv.m4: Likewise.
1894 * realloc.m4: Likewise.
1895 * regex.m4: Likewise.
1896 * stat.m4: Likewise.
1897 * strftime.m4: Likewise.
1899 2000-07-01 Jim Meyering <meyering@lucent.com>
1901 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
1904 2000-06-17 Bruno Haible <haible@clisp.cons.org>
1906 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
1907 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
1909 2000-07-01 Jim Meyering <meyering@lucent.com>
1911 * uptime.m4: Put double quotes around use of $cross_compiling.
1913 2000-06-28 Jim Meyering <meyering@lucent.com>
1915 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
1916 by quotearg.c, for which we perform this test. From Bruno Haible.
1918 2000-06-17 Bruno Haible <haible@clisp.cons.org>
1920 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
1921 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
1922 <utmpx.h> exists, put readutmp.o into LIBOBJS.
1924 2000-06-25 Jim Meyering <meyering@lucent.com>
1926 * mbstate_t.m4: Include stdio.h before wchar.h to work around
1927 Linux header bug when _XOPEN_SOURCE is defined to 500.
1929 2000-06-24 Jim Meyering <meyering@lucent.com>
1931 * strerror_r.m4: Revive this file -- to try out an experimental
1932 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
1933 for which strerror does return char*, but which lacks a conveniently
1934 accessible declaration of the function. If the compile-test says
1935 strerror_r doesn't work, then resort to a `run'-test that works on
1936 BeOS and segfaults on DEC Unix.
1938 2000-06-19 Paul Eggert <eggert@twinsun.com>
1940 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
1941 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
1943 2000-06-23 Jim Meyering <meyering@lucent.com>
1945 * afs.m4: Add missing AC_MSG_RESULT.
1946 Reported by Bruno Haible.
1948 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
1949 Suggestion from Bruno Haible.
1951 2000-06-21 Jim Meyering <meyering@lucent.com>
1953 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
1955 2000-06-18 Jim Meyering <meyering@lucent.com>
1957 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
1959 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
1960 `checking whether...' message to be consistent with that of the
1963 2000-06-16 Bruno Haible <haible@clisp.cons.org>
1965 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
1967 2000-06-12 Jim Meyering <meyering@lucent.com>
1969 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
1970 from autoconf, and tweak the latter to accept an optional argument.
1971 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
1972 the optional argument, `lib'.
1974 2000-06-08 Jim Meyering <meyering@lucent.com>
1976 * largefile.m4: Remove file (now that it's part of autoconf).
1978 2000-06-04 Paul Eggert <eggert@twinsun.com>
1980 Rewrite largefile configuration so that we don't need to run
1981 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
1982 AC_CANONICAL_HOST in configure.in -- jmm]
1984 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
1985 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
1986 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
1987 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
1988 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
1990 Instead of inspecting the output of getconf, try to compile the
1991 test program without and with the macro definition.
1992 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
1993 for getconf. Instead, check for the needed flags by compiling
1996 2000-06-03 Jim Meyering <meyering@lucent.com>
1998 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
1999 now that autoconf requires that.
2001 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
2002 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
2003 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
2005 2000-05-26 Bruno Haible <haible@clisp.cons.org>
2007 * glibc21.m4: New file.
2008 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
2010 2000-05-28 Jim Meyering <meyering@lucent.com>
2012 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
2013 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2014 * stat.m4: Likewise.
2015 * lstat.m4: Likewise.
2016 * lstat-slash.m4: Remove file (absorbed into autoconf).
2018 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
2019 * strerror_r.m4: Remove file (absorbed into autoconf).
2021 2000-05-26 Jim Meyering <meyering@lucent.com>
2023 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
2025 2000-05-24 Jim Meyering <meyering@lucent.com>
2027 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
2028 autoconf requires that.
2029 * lib-check.m4: Likewise.
2030 * jm-macros.m4: Likewise.
2031 * strftime.m4: Likewise.
2033 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
2034 now that autoconf requires that.
2036 2000-05-22 Jim Meyering <meyering@lucent.com>
2038 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2039 * lstat.m4: Likewise.
2041 2000-05-20 Jim Meyering <meyering@lucent.com>
2043 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
2044 (jm_PREREQ): Use it.
2046 2000-05-09 Jim Meyering <meyering@lucent.com>
2048 * gettext.m4: Rename this...
2049 * libintl.m4: ...to this.
2051 2000-05-06 Jim Meyering <meyering@lucent.com>
2053 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
2054 (AC_REPLACE_FUNCS): Add strnlen.
2056 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
2057 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
2059 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
2060 AC_SEARCH_LIBS call for nanosleep.
2061 (LIB_NANOSLEEP): Set and AC_SUBST.
2063 2000-05-03 Paul Eggert <eggert@twinsun.com>
2065 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
2066 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
2067 2.1.3 bug. This avoids a clash when files like regex.c define
2070 2000-05-05 Jim Meyering <meyering@lucent.com>
2072 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
2073 call for clock_gettime.
2074 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
2076 * search-libs.m4: Update from autoconf.
2078 su doesn't work on Solaris 2.6.
2079 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
2080 <shadow.h>. Reported by Dragos Harabor.
2082 2000-05-03 Jim Meyering <meyering@lucent.com>
2084 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
2086 2000-05-02 Paul Eggert <eggert@twinsun.com>
2088 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
2089 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
2090 compile-time test, rather than inspecting host and OS, to
2091 decide whether to define _LARGEFILE_SOURCE.
2093 2000-05-01 Jim Meyering <meyering@lucent.com>
2095 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
2097 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
2098 Based on a patch from Bruno Haible.
2100 2000-04-18 Jim Meyering <meyering@lucent.com>
2102 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
2103 (jm_PREREQ): Use it.
2105 2000-04-17 Jim Meyering <meyering@lucent.com>
2108 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
2109 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
2110 Suggestion from Akim Demaille.
2112 2000-04-14 Jim Meyering <meyering@lucent.com>
2114 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
2115 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
2117 2000-04-13 Jim Meyering <meyering@lucent.com>
2119 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
2120 to insert required #ifndef into config.h.in.
2121 Suggestion from Akim Demaille.
2123 2000-04-12 Jim Meyering <meyering@lucent.com>
2125 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
2126 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
2127 Christian Krackowizer.
2129 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
2130 * jm-macros.m4 (_GNU_SOURCE): Define.
2131 (AC_SYS_LARGEFILE): Require.
2132 (AM_C_PROTOTYPES): Require.
2134 2000-04-05 Paul Eggert <eggert@twinsun.com>
2136 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
2137 IRIX if the installer said otherwise.
2139 2000-04-05 Jim Meyering <meyering@lucent.com>
2141 Portability tweaks required for ultrix4.3.
2142 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
2143 (jm_CHECK_DECLS): Add getutent to the list of functions.
2144 (_jm_DECL_HEADERS): Add utmpx.h.
2145 From John David Anglin.
2147 * strftime.m4: Back out the 2000-04-02 change.
2148 Instead of that change, simply undefine putenv in the test program.
2150 2000-04-03 Jim Meyering <meyering@lucent.com>
2152 * gettext.m4: Fix typo in comment.
2154 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
2155 textutils/configure.in). Suggestion from Paul Eggert.
2156 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
2158 2000-04-02 Paul Eggert <eggert@twinsun.com>
2160 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
2161 variable in the shell rather than using putenv, which isn't
2162 portable. This avoids the configure-time inter-test dependency
2163 on the potentially-renamed putenv function.
2165 2000-03-30 Paul Eggert <eggert@twinsun.com>
2167 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
2168 before checking struct stat.st_blksize, so that
2169 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
2171 2000-03-29 Paul Eggert <eggert@twinsun.com>
2173 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
2174 since strftime.c uses HAVE_STRFTIME to decide whether to use
2175 the underlying strftime.
2177 2000-03-10 Jim Meyering <meyering@lucent.com>
2179 * lib-check.m4: Look for getspnam in -lgen, too.
2182 2000-02-02 Bruno Haible <haible@clisp.cons.org>
2184 * codeset.m4: New file.
2185 * iconv.m4: New file.
2186 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
2188 2000-03-04 Jim Meyering <meyering@lucent.com>
2190 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
2191 for lib/localcharset.c.
2193 2000-03-03 Jim Meyering <meyering@lucent.com>
2195 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
2197 2000-03-02 Jim Meyering <meyering@lucent.com>
2199 * timespec.m4: Require AC_HEADER_TIME before the cache check so
2200 the messages come out on separate lines.
2202 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
2203 rather than jm_CHECK_DECLARATIONS.
2204 * decl.m4: Remove now-unused file.
2206 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
2208 2000-02-27 Jim Meyering <meyering@lucent.com>
2210 * check-decl.m4: Add getenv to the list.
2212 2000-02-23 Jim Meyering <meyering@lucent.com>
2214 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
2215 in place of my hack.
2217 2000-02-10 Jim Meyering <meyering@lucent.com>
2219 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
2220 gnu_nanosleep to rpl_nanosleep.
2222 2000-02-09 Jim Meyering <meyering@lucent.com>
2224 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
2225 struct spwd, rather than in struct passwd. Reported by Ga� Qu�i.
2227 2000-02-08 Akim Demaille <akim@epita.fr>
2229 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
2230 `[' and `]' and remove uses of `changequote'.
2231 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
2232 (AC_SYS_LARGEFILE): Likewise.
2233 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
2234 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
2236 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
2237 * readdir.m4 (jm_FUNC_READDIR): Likewise
2238 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
2239 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
2241 2000-02-05 Jim Meyering <meyering@lucent.com>
2243 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
2244 Remove explicit use of AC_HEADER_TIME. It is required by
2245 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
2246 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
2247 in autoconf whereby the expansion of the latter ended up preceding
2248 the expansion of its prerequisite, AC_HEADER_TIME.
2249 Reported by Volker Borchert.
2251 2000-02-03 Jim Meyering <meyering@lucent.com>
2253 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
2255 2000-02-02 Jim Meyering <meyering@lucent.com>
2257 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
2258 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
2259 Reported by Eli Zaretskii.
2261 2000-01-31 Jim Meyering <meyering@lucent.com>
2263 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
2264 functions. Add the time.h and sys/time.h headers along with the
2265 AC_REQUIRE'ment of AC_HEADER_TIME.
2267 2000-01-30 Jim Meyering <meyering@lucent.com>
2269 * lib-check.m4: Clean up some kludgy old shadow password tests.
2271 * prereq.m4 (utmp_includes): Define.
2272 Check for ut_user and ut_name members in both struct utmpx
2275 2000-01-29 Jim Meyering <meyering@lucent.com>
2277 * lib-check.m4: New file containing library-related checks from
2278 fileutils and sh-utils (textutils had none).
2280 2000-01-28 Jim Meyering <meyering@lucent.com>
2282 * perl.m4: Change format of warning message to look more like that
2283 from the missing script. Suggestion from Fran�is Pinard.
2285 2000-01-25 Jim Meyering <meyering@lucent.com>
2287 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
2288 as time.h in the compile check.
2289 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
2290 Fix typo in cross-compiling case: s/yes/no/.
2292 2000-01-23 Jim Meyering <meyering@lucent.com>
2294 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
2296 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
2297 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
2299 * fsusage.m4: New file. Extracted from fileutils/configure.in.
2300 s/space/ac_fsusage_space/.
2301 (jm_FILE_SYSTEM_USAGE): Take two parameters.
2303 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
2304 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
2305 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
2307 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
2308 AC_SUBST these here, rather than just in sh-util/configure.in, so
2309 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
2311 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
2312 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
2313 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
2314 (AC_SUBST(POW_LIBM)): Likewise.
2315 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
2317 2000-01-22 Jim Meyering <meyering@lucent.com>
2319 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
2321 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
2323 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
2325 (AC_CHECK_HEADERS): Likewise for sh-utils.
2326 (AC_CHECK_HEADERS): Likewise for textutils.
2327 Merge the three lists of headers.
2329 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
2330 from fileutils' configure.in.
2332 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
2333 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
2335 * check-decl.m4: Use #if rather than #ifdef.
2336 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
2337 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
2338 (_jm_DECL_HEADERS): Define new function.
2339 (jm_CHECK_DECLARATIONS): Require it.
2341 2000-01-19 Jim Meyering <meyering@lucent.com>
2343 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
2344 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
2345 defines `struct timespec' in <sys/time.h>
2347 * c-bs-a.m4: Remove uses of changequote altogether.
2348 Thanks to Akim for explaining.
2350 2000-01-16 Jim Meyering <meyering@lucent.com>
2352 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
2353 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
2354 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
2355 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
2357 2000-01-16 Jim Meyering <meyering@lucent.com>
2359 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
2360 because the latter didn't work.
2362 2000-01-15 Jim Meyering <meyering@lucent.com>
2364 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
2365 (AC_REPLACE_FUNCS): Add memcpy and memset.
2366 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
2368 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
2370 2000-01-12 Jim Meyering <meyering@lucent.com>
2372 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
2373 (jm_PREREQ): Use it.
2374 (jm_PREREQ_READUTMP): New macro.
2375 (jm_PREREQ): Use it.
2377 2000-01-11 Paul Eggert <eggert@twinsun.com>
2379 Quote multibyte characters correctly.
2380 * c-bs-a.m4: New file.
2381 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
2382 (jm_PREREQ): Use it.
2384 2000-01-11 Paul Eggert <eggert@twinsun.com>
2386 * uintmax_t.m4: Port to autoconf 2.13.
2388 2000-01-08 Jim Meyering <meyering@ascend.com>
2390 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
2391 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
2393 2000-01-04 Jim Meyering <meyering@ascend.com>
2395 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
2396 jm_STRUCT_DIRENT_D_TYPE.
2397 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
2398 jm_STRUCT_DIRENT_D_INO.
2399 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
2401 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
2402 * utime.m4: Likewise.
2404 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
2405 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
2407 2000-01-03 Paul Eggert <eggert@twinsun.com>
2409 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
2410 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
2412 2000-01-02 Jim Meyering <meyering@ascend.com>
2414 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
2415 remember if this is necessary.
2417 1999-12-26 Jim Meyering <meyering@ascend.com>
2419 * jm-macros.m4: Use it here.
2420 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
2422 1999-12-23 Jim Meyering <meyering@ascend.com>
2424 * jm-macros.m4: Check for clock_gettime (moved from
2425 fileutils/configure.in)
2426 Check for gettimeofday.
2428 1999-12-20 Jim Meyering <meyering@ascend.com>
2430 * strftime.m4: Remove kludge, now that I'm using the fixed
2431 autoconf-2.14a-1999-12-20.
2433 1999-12-19 Jim Meyering <meyering@ascend.com>
2435 * lstat-slash.m4: New file.
2436 * jm-macros.m4: Use the new macro:
2437 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2439 1999-12-07 Jim Meyering <meyering@ascend.com>
2441 * perl.m4: Require that File::Compare be available, too.
2442 Too many systems seem to lack it.
2444 * strftime.m4: Add checks for most of the cpp macros tested in
2445 GNU's strftime.c. Prompted by a patch from Paul Eggert.
2447 1999-11-18 Paul Eggert <eggert@twinsun.com>
2449 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
2450 problem with the QNX 4.25 shell, which doesn't propagate exit
2451 status of failed commands inside shell assignments.
2453 1999-11-17 Jim Meyering <meyering@ascend.com>
2455 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
2457 1999-11-07 Jim Meyering <meyering@ascend.com>
2459 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
2461 1999-11-06 Jim Meyering <meyering@ascend.com>
2463 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
2464 * jm-macros.m4 (jm_MACROS): Use it here.
2466 1999-11-05 Jim Meyering <meyering@ascend.com>
2468 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
2469 of textutils, fileutils, and sh-utils into this one (shared between
2470 those packages) file.
2471 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
2472 AC_STRUCT_ST_BLKSIZE.
2474 1999-11-03 Jim Meyering <meyering@ascend.com>
2476 * ssize_t.m4: Remove file. No longer needed since the new version of
2477 AC_CHECK_TYPE checks includes unistd.h.
2478 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
2479 Suggestion from Akim Demaille.
2481 1999-10-30 Jim Meyering <meyering@ascend.com>
2483 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
2485 * ls-mntd-fs.m4: Likewise.
2486 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
2487 * jm-winsz1.m4: Likewise.
2489 * const.m4: Remove file, since the fix made it into the experimental
2490 version of autoconf.
2491 * mktime.m4: Likewise.
2493 * check-type.m4: Remove file, now that the latest version of
2494 AC_CHECK_TYPE takes a third arg to specify additional #includes.
2496 * ssize_t.m4: New file, requires experimental version of autoconf.
2497 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
2500 1999-10-04 Jim Meyering <meyering@ascend.com>
2502 * jm-macros.m4: Don't require autoconf-2.14.1.
2504 1999-09-22 Paul Eggert <eggert@twinsun.com>
2506 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
2507 2.95.1 bug with HP-UX 10.20.
2509 1999-09-17 Jim Meyering <meyering@ascend.com>
2511 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
2512 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
2513 due to missing strdup (against sh-utils-2.0).
2515 1999-08-29 Jim Meyering <meyering@ascend.com>
2517 * jm-macros.m4: Require jm_BISON.
2518 * bison.m4: New file.
2520 1999-08-17 Paul Eggert <eggert@twinsun.com>
2522 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
2523 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
2525 1999-08-05 Jim Meyering <meyering@ascend.com>
2527 * getline.m4: Rename test file from conftestdata to conftest.data
2528 to avoid conflicts with `conftest' on 8+3 filesystems.
2529 Suggestion from Eli Zaretskii.
2531 1999-08-04 Jim Meyering <meyering@ascend.com>
2533 * jm-macros.m4: Move a 4-line block of code from the configure.in of
2534 fileutils and sh-utils (textutils's getline test was inadequate).
2535 (AM_FUNC_GETLINE): Run this test.
2536 (AC_CHECK_FUNCS): Check for getdelim.
2537 Reported by Bob Proulx.
2539 1999-08-02 Jim Meyering <meyering@ascend.com>
2541 * jm-macros.m4: Add a comment.
2543 1999-08-01 Jim Meyering <meyering@ascend.com>
2545 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
2547 1999-08-01 Paul Eggert <eggert@twinsun.com>
2549 * lfs.m4: Remove this file.
2550 * largefile.m4: New file. It contains the old contents of
2551 lfs.m4, except that all names with prefix AC_LFS have been
2552 changed to use the prefix AC_SYS_LARGEFILE instead, to be
2553 compatible with future autoconf versions. Also, some minor m4
2554 quoting problems have been fixed.
2556 1999-07-16 Paul Eggert <eggert@twinsun.com>
2558 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
2559 that we can shift, multiply and divide unsigned long long
2560 values; Ultrix cc can't do it.
2562 1999-07-14 Paul Eggert <eggert@twinsun.com>
2564 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
2565 <inttypes.h> defines strtoumax as a macro (and not as a
2568 1999-07-05 Paul Eggert <eggert@twinsun.com>
2570 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
2571 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
2572 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
2573 and simplify the shell code.
2575 1999-07-03 Paul Eggert <eggert@twinsun.com>
2577 * mktime.m4: New file, which is a preview of what should appear
2578 in the next public autoconf release.
2580 1999-07-20 Jim Meyering <meyering@ascend.com>
2582 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
2584 1999-07-15 Jim Meyering <meyering@ascend.com>
2586 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
2588 1999-05-22 Jim Meyering <meyering@ascend.com>
2590 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
2592 1999-05-20 Jim Meyering <meyering@ascend.com>
2594 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
2595 Add a colon after each `then' in case $4 is empty.
2597 1999-05-16 Jim Meyering <meyering@ascend.com>
2599 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
2601 1999-05-10 Jim Meyering <meyering@ascend.com>
2603 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
2605 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
2608 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2610 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
2612 1999-05-04 Paul Eggert <eggert@twinsun.com>
2614 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
2615 not CPPFLAGS, so that linking works correctly in IRIX.
2617 1999-04-30 Paul Eggert <eggert@twinsun.com>
2619 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
2621 1999-04-20 Jim Meyering <meyering@ascend.com>
2623 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
2624 AC_REPLACE xstroull if necessary. From Paul Eggert.
2625 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
2627 1999-04-20 Paul Eggert <eggert@twinsun.com>
2629 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
2630 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
2631 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
2632 jm_AC_TYPE_UNSIGNED_LONG_LONG.
2633 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
2635 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
2637 1999-04-18 Jim Meyering <meyering@ascend.com>
2639 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
2640 * jm-macros.m4: Use it.
2642 1999-04-06 Jim Meyering <meyering@ascend.com>
2644 * strftime.m4: Remove test for %f.
2646 1999-03-29 Jim Meyering <meyering@ascend.com>
2648 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
2649 superset of the AC_TYPE_* checks in the textutils, fileutils,
2650 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
2653 1999-03-28 Jim Meyering <meyering@ascend.com>
2655 * jm-macros.m4: Define GNU_PACKAGE here.
2656 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
2657 replaced e.g., in the *.sh files of the sh-utils.
2659 1999-03-20 Jim Meyering <meyering@ascend.com>
2661 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
2662 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
2663 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
2665 1999-03-19 Jim Meyering <meyering@ascend.com>
2667 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
2669 1999-03-12 Jim Meyering <meyering@ascend.com>
2671 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
2673 1999-03-07 Jim Meyering <meyering@ascend.com>
2675 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
2677 1999-02-17 Jim Meyering <meyering@ascend.com>
2679 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
2680 in macro definition. From Eli Zaretskii and Alain Magloire.
2682 1999-02-07 Jim Meyering <meyering@ascend.com>
2684 * group-member.m4: New file -- extracted from sh-utils' configure.in.
2686 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
2687 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
2689 1999-02-06 Jim Meyering <meyering@ascend.com>
2691 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
2692 * fnmatch.m4: Likewise.
2693 * getgroups.m4: Likewise.
2694 * lstat.m4: Likewise.
2695 * malloc.m4: Likewise.
2696 * putenv.m4: Likewise.
2697 * realloc.m4: Likewise.
2698 * regex.m4: Likewise.
2699 * stat.m4: Likewise.
2700 * strftime.m4: Likewise.
2701 Suggestion from Alain Magloire.
2703 * chown.m4: Use `.$ac_objext', not `.o'.
2704 * fnmatch.m4: Likewise.
2705 * getgroups.m4: Likewise.
2706 * getline.m4: Likewise.
2707 * lstat.m4: Likewise.
2708 * malloc.m4: Likewise.
2709 * memcmp.m4: Likewise.
2710 * putenv.m4: Likewise.
2711 * realloc.m4: Likewise.
2712 * regex.m4: Likewise.
2713 * stat.m4: Likewise.
2714 * strftime.m4: Likewise.
2715 Suggestion from Alain Magloire.
2717 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
2720 * regex.m4: Add a run-time Test for proper operation of
2723 1999-01-31 Jim Meyering <meyering@ascend.com>
2725 * getloadavg.m4: Check for locale.h and the function, setlocale.
2727 1999-01-30 Jim Meyering <meyering@ascend.com>
2729 * check-type.m4: Use 3-arg form of AC_DEFINE.
2731 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
2732 rather than my private copy, now that the official one is up to date.
2733 * mktime.m4: Remove file.
2735 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
2736 * uptime.m4: Likewise.
2737 * uintmax_t.m4: Likewise.
2739 1999-01-28 Jim Meyering <meyering@ascend.com>
2741 * jm-macros.m4: Use jm_AFS.
2742 * afs.m4: New file (from fileutils' configure.in).
2744 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
2745 * chown.m4: Likewise.
2746 * d-ino.m4: Likewise.
2747 * d-type.m4: Likewise.
2748 * fnmatch.m4: Likewise.
2749 * getgroups.m4: Likewise.
2750 * gettext.m4: Likewise.
2751 * jm-mktime.m4: Likewise.
2752 * jm-winsz2.m4: Likewise.
2753 * lcmessage.m4: Likewise.
2754 * ls-mntd-fs.m4: Likewise.
2755 * malloc.m4: Likewise.
2756 * memcmp.m4: Likewise.
2757 * putenv.m4: Likewise.
2758 * realloc.m4: Likewise.
2759 * st_mtim.m4: Likewise.
2760 * strftime.m4: Likewise.
2762 1999-01-16 Jim Meyering <meyering@ascend.com>
2764 * jm-macros.m4 (ARGMATCH_DIE): Define.
2765 (ARGMATCH_DIE_DECL): Define.
2767 1999-01-12 Jim Meyering <meyering@ascend.com>
2769 * Makefile.am.in: Rewrite to avoid using fmt.
2770 Reported by Lars Hecking.
2772 1999-01-10 Jim Meyering <meyering@ascend.com>
2774 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
2776 * inttypes_h.m4: Likewise.
2777 * lstat.m4: Likewise.
2778 * malloc.m4: Likewise.
2779 * readdir.m4: Likewise.
2780 * realloc.m4: Likewise.
2781 * st_dm_mode.m4: Likewise.
2782 * stat.m4: Likewise.
2783 * utimbuf.m4: Likewise.
2784 * utimes.m4: Likewise.
2786 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
2787 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
2788 comments in config.h.in are meaningful.
2790 * jm-macros.m4: Require autoconf-2.13 here.
2792 * regex.m4: By default, don't use the included regex.c on systems
2793 with glibc 2. Suggestion from Uli Drepper.
2795 1999-01-02 Jim Meyering <meyering@ascend.com>
2797 * jm-macros.m4: Replace strcasecmp and strncasecmp.
2799 1998-12-18 Jim Meyering <meyering@ascend.com>
2801 * Makefile.am.in (Makefile.am): Simplify rule.
2802 Based on a suggestion from Lars Hecking.
2804 1998-11-16 Jim Meyering <meyering@ascend.com>
2806 * lfs.m4: Double-quote the `uname...` expression.
2808 1998-11-16 Paul Eggert <eggert@twinsun.com>
2810 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
2812 1998-11-14 Jim Meyering <meyering@ascend.com>
2814 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
2815 * stat.m4: Likewise.
2817 1998-11-03 Jim Meyering <meyering@ascend.com>
2819 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
2820 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
2822 1998-10-18 Jim Meyering <meyering@ascend.com>
2824 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
2826 1998-10-17 Jim Meyering <meyering@ascend.com>
2828 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
2829 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
2830 calls for those previously hard-coded headers. Instead, take a new
2832 (jm_CHECK_DECLARATIONS): Reflect interface change.
2833 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
2834 (jm_CHECK_DECL_LOCALTIME_R): New macro.
2836 * mktime.m4: Test for spring-forward gap before long-running test.
2838 1998-10-14 Jim Meyering <meyering@ascend.com>
2840 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
2841 instead of "TZ=America/Vancouver". From Paul Eggert.
2843 1998-10-11 Jim Meyering <meyering@ascend.com>
2845 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
2846 This adds a test for a recently added compatibility fix for mktime.c.
2847 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
2849 1998-09-27 Jim Meyering <meyering@ascend.com>
2851 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
2853 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
2854 ../configure.in, including a change from Gordon Matzigkeit to allow
2855 cross-compiling for the Hurd.
2857 * glibc.m4: New file/macro to test for the GNU C Library
2858 versions 1 and 2. From Gordon Matzigkeit.
2861 1998-09-21 Jim Meyering <meyering@ascend.com>
2863 * chown.m4: Declare locals: before, after. From Andries Brouwer.
2865 1998-08-18 Paul Eggert <eggert@twinsun.com>
2867 Port nanosecond-resolution times to UnixWare 2.1.2 and
2868 pedantic Solaris 2.6.
2870 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
2872 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
2873 Generate name of ns member, instead of just 1 or undef.
2874 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
2876 1998-08-15 Jim Meyering <meyering@ascend.com>
2878 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
2879 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
2880 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
2881 instead of jm_TYPE_SSIZE_T.
2883 1998-08-12 Jim Meyering <meyering@ascend.com>
2885 * st_dm_mode.m4: New file. From Johan Danielsson.
2887 1998-08-02 Jim Meyering <meyering@ascend.com>
2889 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
2890 in acconfig.h manually.
2892 1998-07-31 Paul Eggert <eggert@twinsun.com>
2894 * st_mtim.m4: New file.
2896 1998-07-28 Jim Meyering <meyering@ascend.com>
2898 * utimes.m4: Undef stat.
2900 1998-07-25 Jim Meyering <meyering@ascend.com>
2902 * utime.m4 (jm_FUNC_UTIME): New file and macro.
2903 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
2905 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
2907 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
2908 uid and gid actually remain unchanged.
2910 1998-07-07 Jim Meyering <meyering@ascend.com>
2912 * jm-glibc-io.m4: Remove fclose_unlocked.
2914 1998-07-04 Jim Meyering <meyering@ascend.com>
2916 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
2917 to prove that this macro can be used in packages without regex.c.
2919 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2921 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
2924 1998-07-03 Jim Meyering <meyering@ascend.com>
2926 * gettext.m4: Add -lintl if it's found to be necessary.
2928 * gettext.m4: New file -- from gettext-0.10.35.
2929 * lcmessage.m4: Likewise.
2930 * progtest.m4: Likewise.
2932 * regex.m4 (jm_WITH_REGEX): New file and macro.
2933 * jm-macros.m4: Require the new macro.
2935 1998-06-29 Jim Meyering <meyering@ascend.com>
2937 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
2938 for the definition of NGROUPS (used in a system header included
2941 1998-06-28 Jim Meyering <meyering@ascend.com>
2943 * ls-mntd-fs.m4: New file.
2944 * fstypename.m4: New file.
2946 * jm-macros.m4: Require the new macro.
2947 * jm-glibc-io.m4: New file.
2949 1998-05-19 Jim Meyering <meyering@ascend.com>
2951 * jm-macros.m4: Add jm_FUNC_LCHOWN.
2952 * lchown.m4: New file.
2954 * Makefile.am.in: New file.
2955 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
2957 1998-05-14 Jim Meyering <meyering@ascend.com>
2959 * Makefile.am (EXTRA_DIST): Add them.
2960 * jm-macros.m4: New file.
2961 * utimbuf.m4: New file.
2963 1998-05-12 Jim Meyering <meyering@ascend.com>
2965 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
2967 1998-05-11 Jim Meyering <meyering@ascend.com>
2969 * isc-posix.m4: New file.
2971 1998-05-10 Jim Meyering <meyering@ascend.com>
2973 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
2975 1998-05-09 Jim Meyering <meyering@ascend.com>
2977 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
2978 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
2981 * ssize_t.m4: New file.
2982 * mktime.m4: Remove file -- the new automake has this now.
2984 1998-04-26 Jim Meyering <meyering@ascend.com>
2986 * assert.m4: New file.
2987 * Makefile.am (EXTRA_DIST): Add assert.m4.
2989 1998-04-05 Jim Meyering <meyering@ascend.com>
2991 * prereq.m4 (jm_PREREQ_REGEX): New macro.
2992 (jm_PREREQ): Use it here.
2994 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
2996 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
2999 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
3001 * prereq.m4: New file.
3002 * error.m4: New file.
3003 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
3005 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
3007 * getline.m4: Don't set am_cv_func_working_getline before the
3008 cache-check for the same variable -- that defeated the purpose of
3009 the test; the test program was never run. This was a problem only
3010 on systems with losing getline functions -- HP-UX 10.20 is one.
3011 Reported by Bjorn Helgaas.
3013 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
3015 * Makefile.am (EXTRA_DIST): Add perl.m4.
3017 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
3019 * Makefile.am (EXTRA_DIST): Add const.m4.
3021 * const.m4: New file. Use an initializer in this declaration
3022 typedef int charset[2]; const charset x;
3023 Reported by Bob Glickstein.
3025 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
3027 * chown.m4: Fix reversed types on -1 args to chown.
3030 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
3032 * check-decl.m4: s/DECLARATION_/DECL_/g.
3033 Add lseek and memchr.
3035 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
3036 T.E.Dickey <dickey@clark.net> said that some older preprocessors
3037 have a 20-character limit on names.
3039 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
3041 * inttypes_h.m4: New file.
3042 * uintmax_t.m4: New file.
3043 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.