1 2003-08-17 Simon Josefsson <jas@extundo.com>
5 2003-08-17 Simon Josefsson <jas@extundo.com>
7 * xstrndup.m4: New file.
9 2003-08-16 Jim Meyering <jim@meyering.net>
11 * utimes.m4 (gl_FUNC_UTIMES): New file.
13 * utimes-null.m4: Renamed from utimes.m4.
15 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
16 to 1MB, so as not to render systems with no stack size limit (e.g.,
17 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
18 Include <unistd.h>. On some systems,
19 it is required for the definition of _SC_PAGESIZE.
21 2003-08-16 Paul Eggert <eggert@twinsun.com>
23 Merges from coreutils, etc.
24 * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
25 error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28.
26 * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
28 * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
29 * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
31 2003-08-16 Jim Meyering <jim@meyering.net>
32 and Paul Eggert <eggert@cs.ucla.edu>
34 Merges from coreutils, etc.
36 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
37 using the latest version from cvs. This avoids problems with #line
38 directives using a vendor (Sun) compiler.
39 (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
40 Don't set GETGROUPS_LIB here; now it's
41 done via getgroups.m4's wrapper function.
42 AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
43 rather than just in sh-util/configure.in, so that the
44 now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
46 Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
47 AC_FUNC_GETLOADAVG where to find getloadavg.c.
48 Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
49 UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
50 gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
51 Remove code that is now done by the newly-required macros.
52 Append $(EXEEXT) to DF_PROG.
53 AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
54 Do not invoke or require the following here,
55 since prereq.m4 or some gnulib .m4 now does this for us:
56 gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
57 jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
58 jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
59 jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
60 jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
61 AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
62 vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
64 Do not replace the following functions, as this is now the job
65 of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
66 getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
67 strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
68 atexit getpass, strdup, getpagesize.
70 Do not check for the following functions, as this is now the job
71 of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
72 getcwd, getmntinfo, resolvepath. But check for sysctl, setreuid,
74 (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
75 Check for sys/sysctl.h.
76 (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
77 jm_CHECK_TYPE_STRUCT_TIMESPEC. Invoke gt_TYPE_SSIZE_T instead
78 of checking for ssize_t ourselves.
80 * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
81 Require every macro that gnulib/modules/* suggests for us.
82 (jm_PREREQ_ADDEXT): New macro.
83 (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
84 Require jm_AC_TYPE_LONG_LONG instead of invoking it.
86 * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
88 Also check for `table' function.
89 Check for new headers and functions.
90 Add check for sys/sysmp.h.
91 With suggestions from Kaveh Ghazi.
92 Ignore headers that are present but cannot be compiled. This
93 avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
96 2003-08-16 Jim Meyering <jim@meyering.net>
98 Merges from coreutils.
99 * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
100 prefix. Adjust cache variables similarly. Create 500 rather than
101 just 300 files, to exercise bug on Darwin6.5, too.
102 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
103 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
104 Reported by mkc@mathdogs.com.
105 Also change use of $am_cv_sys_posix_termios
106 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
107 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
108 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
109 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
110 /proc/mounts until it finds one with matching device number. This is
111 unnecessary when the FILE argument *is* a mount point. No stat call
112 is necessary in that case. So, disable the statvfs-testing code on
113 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
114 as RedHat bug# 84846.
115 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
116 to 1MB, so as not to render systems with no stack size limit (e.g.,
117 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
118 Include <unistd.h>. On some systems,
119 it is required for the definition of _SC_PAGESIZE.
121 2003-08-15 Jim Meyering <jim@meyering.net>
122 and Paul Eggert <eggert@cs.ucla.edu>
124 Merges from coreutils, etc.
125 * strftime.m4 (_jm_STRFTIME_PREREQS):
126 Require gl_FUNC_TZSET_CLOBBER.
127 * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
128 ut_exit.ut_termination, and ut_exit.e_termination members.
130 2003-08-14 Paul Eggert <eggert@twinsun.com>
132 Help the merge from coreutils.
133 * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
134 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
135 * tzset.m4: Use it too.
137 2003-08-14 Jim Meyering <jim@meyering.net>
139 Merge from coreutils.
140 * tzset.m4: New file.
141 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
142 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
143 systems would end up using the latter. MOUNTED_GETMNTENT1 support
144 is inadequate on such systems: 1) detecting whether a file system
145 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
146 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
147 merely /MOUNT_POINT. Reported by Mike Jetzer.
149 2003-08-13 Paul Eggert <eggert@twinsun.com>
151 * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
154 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
155 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
156 Undo previous (whitespace-only) change.
158 2003-08-12 Paul Eggert <eggert@twinsun.com>
160 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
161 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
162 Normalize leading white space and remove trailing white space.
165 * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
167 * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
168 0.12.1. These files are now being upgraded automatically by
169 ../config/srclist-update.
171 2003-08-11 Bruno Haible <bruno@clisp.org>
173 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
175 2003-08-09 Paul Eggert <eggert@twinsun.com>
177 * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
178 apparently Emacs's Unicode mode got confused before my 2003-08-05
181 2003-08-08 Paul Eggert <eggert@twinsun.com>
183 * extensions.m4: New file.
184 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
185 Require gl_USE_SYSTEM_EXTENSIONS.
186 * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
187 Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
189 2003-08-07 Paul Eggert <eggert@twinsun.com>
191 * restrict.m4: New file.
192 * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
194 2003-08-07 Bruno Haible <bruno@clisp.org>
196 * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
197 the module 'getndelim2' compatible with the module 'getline'.
199 2003-08-05 Paul Eggert <eggert@twinsun.com>
201 * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
202 byte with "\201" to avoid glitches when editing that source file
203 with multi-gnome-terminal.
205 2003-07-31 Bruno Haible <bruno@clisp.org>
207 * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
209 2003-07-18 Bruno Haible <bruno@clisp.org>
211 * getndelim2.m4: New file.
212 * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
213 invoke gl_PREREQ_GETNDELIM2.
214 (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
215 gl_PREREQ_GETNDELIM2.
216 * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
219 2003-07-17 Bruno Haible <bruno@clisp.org>
221 * Makefile.am.in: Remove file.
222 * Makefile.am: Remove file.
223 * Makefile.in: Remove file.
225 2003-07-17 Bruno Haible <bruno@clisp.org>
227 * getnline.m4: New file.
229 2003-07-14 Simon Josefsson <jas@extundo.com>
231 * mempcpy.m4: New file.
233 2003-07-10 Jim Meyering <jim@meyering.net>
235 * clock_time.m4: Remove trailing blank.
236 * intmax_t.m4: Likewise.
238 2003-07-01 Paul Eggert <eggert@twinsun.com>
240 * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
241 xreadlink.c now includes it unconditionally.
243 2003-07-01 Bruno Haible <bruno@clisp.org>
245 * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
246 should be sufficient.
247 Reported by Paul Eggert.
249 2003-06-25 Bruno Haible <bruno@clisp.org>
251 * readlink.m4: New file.
253 2003-06-22 Bruno Haible <bruno@clisp.org>
255 Portability to mingw32.
256 * ssize_t.m4: New file, from GNU gettext.
257 * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
258 * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
260 2003-06-11 Bruno Haible <bruno@clisp.org>
262 * sysexits.m4: New file.
264 2003-06-10 Simon Josefsson <jas@extundo.com>
266 * strchrnul.m4: New file.
268 2003-06-07 Bruno Haible <bruno@clisp.org>
270 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
271 gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
272 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
274 * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
275 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
278 2003-06-04 Paul Eggert <eggert@twinsun.com>
280 * human.m4 (gl_HUMAN): Require AM_STDBOOL_H. Check for
281 locale.h, localeconv. This merges changes from coreutils.
283 * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
284 It can be removed after the next Autoconf is released.
285 * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
288 2003-05-30 Bruno Haible <bruno@clisp.org>
290 * gettext.m4: Upgrade to gettext-0.12.1.
291 * nls.m4: New file, from gettext-0.12.1.
292 * po.m4: New file, from gettext-0.12.1.
293 * progtest.m4: Upgrade to gettext-0.12.1.
295 2003-05-28 Paul Eggert <eggert@twinsun.com>
297 Assume the headers required for C89 freestanding compilers.
298 * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
299 * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
300 * human.m4 (gl_HUMAN): Likewise.
301 * pathmax.m4 (gl_PATHMAX): Likewise.
302 * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
303 * userspec.m4 (gl_USERSPEC): Likewise.
304 * xreadlink.m4 (gl_XREADLINK): Likewise.
305 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
306 * quote.m4 (gl_QUOTE): Don't check for stddef.h.
308 2003-05-26 Jim Meyering <jim@meyering.net>
310 Merge in a change from coreutils:
311 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
312 that is guaranteed to be `no'. Use `no_such_member' to indicate
313 that condition, rather than `-1' which is slightly misleading.
314 Change the name of the cache variable to have the gl_ prefix.
315 Prompted by a patch from Richard Dawe for DJGPP.
317 2003-05-17 Bruno Haible <bruno@clisp.org>
319 * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
320 expansion for AC_EGREP_CPP.
321 * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
322 * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
323 Suggested by Akim Demaille <akim@epita.fr> in
324 http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
326 2003-04-21 Paul Eggert <eggert@twinsun.com>
328 * error.m4 (gl_ERROR): Do not put under dynamic conditions some
329 code which expansion is under static control. Patch imported from
330 Akim Demaille's patch to Bison; see
331 <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
333 2003-04-14 Bruno Haible <bruno@clisp.org>
335 * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
337 2003-04-10 Bruno Haible <bruno@clisp.org>
339 * findprog.m4: New file.
340 * eaccess.m4: New file.
342 2003-04-04 Bruno Haible <bruno@clisp.org>
344 * linebreak.m4: New file.
346 2003-04-03 Bruno Haible <bruno@clisp.org>
348 * utf-ucs4.m4: New file.
349 * ucs4-utf.m4: New file.
351 2003-03-30 Bruno Haible <bruno@clisp.org>
353 * copy-file.m4 (gl_COPY_FILE): Add check for chown().
355 2003-03-28 Bruno Haible <bruno@clisp.org>
357 * copy-file.m4: New file.
359 2003-03-18 Bruno Haible <bruno@clisp.org>
361 * onceonly.m4: Use m4_defn instead of defn, for better error checking.
362 * onceonly_2_57.m4: Likewise.
364 2003-03-17 Bruno Haible <bruno@clisp.org>
366 * onceonly.m4: Require autoconf 2.54 or newer.
367 (m4_quote): Remove macro.
368 * onceonly_2_57.m4: Require autoconf 2.54 or newer.
370 2003-03-14 Bruno Haible <bruno@clisp.org>
372 * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
373 AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
375 2003-03-13 Paul Eggert <eggert@twinsun.com>
377 * onceonly.m4 (m4_quote): New macro.
378 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
379 Quote AC_FOREACH variable-expansions properly.
381 2003-02-19 Paolo Bonzini <bonzini@gnu.org>
385 2003-02-18 Paolo Bonzini <bonzini@gnu.org>
387 * mathl.m4: New file.
389 2003-02-17 Bruno Haible <bruno@clisp.org>
391 * mkdtemp.m4: New file, from GNU gettext with modifications.
393 2003-02-02 Jim Meyering <jim@meyering.net>
395 * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
398 2003-01-31 Bruno Haible <bruno@clisp.org>
400 * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
402 * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
404 * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
406 * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
409 2003-01-30 Bruno Haible <bruno@clisp.org>
411 * signed.m4: New file, from GNU gettext.
412 * longdouble.m4: New file, from GNU gettext.
413 * wchar_t.m4: New file, from GNU gettext.
414 * wint_t.m4: New file, from GNU gettext.
415 * vasnprintf.m4: New file.
416 * vasprintf.m4: New file.
418 2003-01-29 Bruno Haible <bruno@clisp.org>
420 * stpncpy.m4: New file.
422 2003-01-23 Jim Meyering <jim@meyering.net>
424 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
425 from working on systems without dirfd (at least Irix and OSF1/Tru64).
427 2003-01-16 Jim Meyering <jim@meyering.net>
429 * regex.m4: The `regex' struct is both input and output.
430 Initialize it before each use. Patch by Tim Waugh.
432 2003-01-11 Bruno Haible <bruno@clisp.org>
434 * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
435 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
438 2003-01-11 Bruno Haible <bruno@clisp.org>
440 * md5.m4 (gl_MD5): Require AC_C_INLINE.
442 2003-01-11 Bruno Haible <bruno@clisp.org>
444 * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
446 2003-01-12 Paul Eggert <eggert@twinsun.com>
448 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
449 to avoid collisions with libcurses and libreadline.
452 * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
454 2003-01-10 Bruno Haible <bruno@clisp.org>
456 * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
458 2003-01-09 Bruno Haible <bruno@clisp.org>
460 * stdbool.m4 (AM_STDBOOL_H): New macro.
462 2002-12-31 Paul Eggert <eggert@twinsun.com>
464 * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
466 2002-12-24 Bruno Haible <bruno@clisp.org>
468 General infrasructure.
470 * onceonly.m4: New file.
471 * onceonly_2_57.m4: New file.
474 * atexit.m4: New file.
477 * strtod.m4: New file.
480 * strtol.m4: New file.
483 * strtoul.m4: New file.
486 * memchr.m4: New file.
489 * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
490 (jm_FUNC_MEMCMP): Invoke it.
493 * memcpy.m4: New file.
496 * memmove.m4: New file.
499 * memset.m4: New file.
502 * strcspn.m4: New file.
505 * strpbrk.m4: New file.
508 * strstr.m4: New file.
511 * strerror.m4: New file.
514 * mktime.m4: Renamed from jm-mktime.m4.
515 (gl_PREREQ_MKTIME): New macro.
516 (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
519 * malloc.m4 (gl_PREREQ_MALLOC): New macro.
520 (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
521 Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
524 * realloc.m4 (gl_PREREQ_REALLOC): New macro.
525 (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
526 Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
529 * tm_gmtoff.m4: New file, extracted from strftime.m4.
530 * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
531 Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
533 (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
536 * xalloc.m4: New file.
539 * alloca.m4: New file.
542 * putenv.m4 (gl_PREREQ_PUTENV): New macro.
543 (jm_FUNC_PUTENV): Invoke it.
546 * setenv.m4 (gt_FUNC_SETENV): New macro.
547 (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
549 (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
553 * memrchr.m4: New file.
556 * stpcpy.m4: New file.
559 * strcase.m4: New file.
562 * strdup.m4: New file.
565 * strnlen.m4: New file.
568 * strndup.m4: New file.
571 * xstrtod.m4: New file.
574 * xstrtol.m4: New file.
577 * getdate.m4: New file.
580 * unlocked-io.m4: Renamed from jm-glibc-io.m4.
581 (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
582 * jm-glibc-io.m4n: Remove file.
585 * long-options.m4: New file.
594 * getstr.m4: New file.
597 * getline.m4 (gl_PREREQ_GETLINE): New macro.
598 (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
599 <sys/types.h>, for size_t. Use the function name gnu_getline, not
600 simply getline. Infoke gl_PREREQ_GETLINE.
603 * obstack.m4: New file.
609 * readtokens.m4: New file.
612 * strverscmp.m4: New file.
615 * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
618 * strtoll.m4: New file.
621 * strtoull.m4: New file.
624 * strtoimax.m4: New file.
627 * strtoumax.m4: New file.
630 * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
631 Moved the strtol prerequisites to strtol.m4.
632 Moved the strtoll prerequisites to strtoll.m4.
633 Moved the strtoimax prerequisites to strtoimax.m4.
636 * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
637 Moved the strtoul prerequisites to strtoul.m4.
638 Moved the strtoull prerequisites to strtoull.m4.
639 Moved the strtoumax prerequisites to strtoumax.m4.
642 * chown.m4 (gl_PREREQ_CHOWN): New macro.
643 (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
649 * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
650 (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
653 * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
654 (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
657 * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
658 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
659 gl_PREREQ_GETTIMEOFDAY.
662 * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
663 (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
666 * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
667 (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
668 jm_AC_TYPE_UINTMAX_T.
669 (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
672 * stat.m4 (gl_PREREQ_STAT): New macro.
673 (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
676 * lstat.m4 (gl_PREREQ_LSTAT): New macro.
677 (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
680 * timespec.m4 (gl_TIMESPEC): New macro.
681 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
682 * st_mtim.m4: Indentation.
685 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
686 (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
690 * regex.m4 (jm_PREREQ_REGEX): New macro.
691 (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
692 (gl_REGEX): New macro.
695 * rename.m4 (gl_PREREQ_RENAME): New macro.
696 (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
699 * rmdir.m4: New file.
702 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
703 * utime.m4 (gl_PREREQ_UTIME): New macro.
704 (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
707 * dirname.m4: New file.
710 * getopt.m4: New file.
713 * unistd-safer.m4: New file.
716 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
718 (gl_PREREQ_FNMATCH_EXTRA): New macro.
719 (gl_FUNC_FNMATCH_POSIX): New macro.
720 (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
721 gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
725 * exclude.m4: New file.
728 * human.m4: New file.
734 * backupfile.m4: New file.
735 * d-ino.m4: Indentation.
738 * fsusage.m4 (gl_FSUSAGE): New macro.
739 (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
740 (gl_PREREQ_FSUSAGE_EXTRA): New macro.
743 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
746 * euidaccess.m4: New file.
749 * file-type.m4: New file.
752 * fileblocks.m4: New file.
755 * filemode.m4: New file.
758 * isdir.m4: New file.
761 * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
762 (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
765 * makepath.m4: New file.
768 * modechange.m4: New file.
771 * mountlist.m4: New file.
772 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
776 * path-concat.m4: New file.
779 * pathmax.m4: New file.
785 * save-cwd.m4: New file.
788 * savedir.m4: New file.
791 * xgetcwd.m4: New file.
792 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
795 * xreadlink.m4: New file.
798 * safe-read.m4: New file.
801 * safe-write.m4: New file.
804 * closeout.m4: New file.
807 * stdio-safer.m4: New file.
810 * getpass.m4: New file.
813 * getugroups.m4: New file.
816 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
817 (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
820 * idcache.m4: New file.
823 * userspec.m4: New file.
826 * clock_time.m4: New file.
827 * gettime.m4: New file.
830 * settime.m4: New file.
833 * posixtm.m4: New file.
836 * gethostname.m4: New file.
839 * canon-host.m4: New file.
842 * codeset.m4: New file, from gettext-0.11.5.
843 * gettext.m4: New file, from gettext-0.11.5.
844 * glibc21.m4: New file, from gettext-0.11.5.
845 * iconv.m4: New file, from gettext-0.11.5.
846 * intdiv0.m4: New file, from gettext-0.11.5.
847 * inttypes-pri.m4: New file, from gettext-0.11.5.
848 * inttypes.m4: New file, from gettext-0.11.5.
849 * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
850 * isc-posix.m4: New file, from gettext-0.11.5.
851 * lcmessage.m4: New file, from gettext-0.11.5.
852 * lib-ld.m4: New file, from gettext-0.11.5.
853 * lib-link.m4: New file, from gettext-0.11.5.
854 * lib-prefix.m4: New file, from gettext-0.11.5.
855 * progtest.m4: New file, from gettext-0.11.5.
856 * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
857 * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
858 * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
861 * localcharset.m4: New file.
864 * hard-locale.m4: New file.
867 * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
869 * mbrtowc.m4: Add comment.
872 * memcasecmp.m4: New file.
875 * memcoll.m4: New file.
878 * unicodeio.m4: New file.
881 * rpmatch.m4: New file.
884 * yesno.m4: New file.
887 * exitfail.m4: New file.
890 * c-stack.m4 (gl_C_STACK): New macro.
891 (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
894 * error.m4 (gl_ERROR): New macro.
895 (jm_PREREQ_ERROR): Use onceonly macros.
898 * fatal.m4: New file.
901 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
902 (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
905 * getpagesize.m4: New file.
908 * getusershell.m4: New file.
911 * physmem.m4: New file.
914 * posixver.m4: New file.
917 * quotearg.m4: New file.
920 * quote.m4: New file.
923 * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
926 * sig2str.m4: New file.
929 * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
931 * intmax_t.m4: New file.
932 * d-type.m4: Indentation.
933 * jm-macros.m4: Update.
934 * prereq.m4 (jm_PREREQ): Update.
935 (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
936 (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
937 (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
938 (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
939 (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
940 (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
941 (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
942 (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
943 (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
944 (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
945 (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
946 (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
947 (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
948 (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
949 (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
950 (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
951 (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
952 (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
953 * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
955 2002-12-18 Bruno Haible <bruno@clisp.org>
957 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
958 * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
960 2002-12-17 Bruno Haible <bruno@clisp.org>
962 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
965 2002-12-11 Bruno Haible <bruno@clisp.org>
967 * setenv.m4: New file, from gettext-0.11.5.
969 2002-12-06 Paul Eggert <eggert@twinsun.com>
971 Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
972 a pain in practice to deal with generated m4 files. This change
973 goes together with the 2002-12-04 unlocked-io.h change in ../lib.
975 * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
976 and jm-glibc-io.m4, as they are no longer a special case.
977 * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
978 kludge and the auto-generation stuff. Check only whether the
979 functions are declared, not whether they exist, since older hosts
980 that don't declare the functions can't use the optimization anyway.
982 2002-07-06 Jim Meyering <meyering@lucent.com>
984 * README: Don't mention Makefile.am.in.
985 Outline how I've tested changes to .m4 files. Yep, it's a pain.
987 2002-06-11 Paul Eggert <eggert@twinsun.com>
989 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
991 2002-06-22 Jim Meyering <meyering@lucent.com>
993 * c-stack.m4: New file, from diffutils-2.8.2.
994 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
996 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
997 now that configure.ac uses AC_GNU_SOURCE.
998 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
999 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
1001 Update to latest tools. Suggestions from Paul Eggert.
1002 * stdbool.m4: New file, from diffutils-2.8.2.
1003 * gnu-source.m4: Update from diffutils-2.8.2.
1004 * fnmatch.m4: Likewise.
1005 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
1006 to AC_HEADER_STDBOOL
1008 2002-06-21 Jim Meyering <meyering@lucent.com>
1010 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
1011 * mbrtowc.m4: Likewise.
1013 * mbstate_t.m4: Update from diffutils-2.8.2.
1014 * mbswidth.m4: Reflect name change:
1015 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
1016 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
1018 * lib-link.m4: Update from gettext-0.11.2.
1019 * gettext.m4: Likewise.
1021 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
1022 From Alfred M. Szmidt.
1024 2002-05-19 Paul Eggert <eggert@twinsun.com>
1026 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
1028 2002-06-07 Jim Meyering <meyering@lucent.com>
1030 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
1031 They're needed at least for NetBSD 1.5.2.
1032 ($statxfs_includes): Include those same headers.
1033 ($statxfs_includes): Include sys/vfs.h if available.
1034 ($statxfs_includes): Likewise for sys/statvfs.h.
1035 Check for the following members in both structs statfs and statvfs:
1036 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
1038 2002-06-01 Jim Meyering <meyering@lucent.com>
1040 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
1041 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
1043 2002-05-28 Jim Meyering <meyering@lucent.com>
1045 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
1046 Reported by Volker Borchert.
1048 2002-05-27 Jim Meyering <meyering@lucent.com>
1050 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
1053 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
1054 use the replacement function; it wouldn't resolve at link time.
1055 Reported by Volker Borchert.
1057 2002-04-30 Jim Meyering <meyering@lucent.com>
1059 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
1061 2002-04-29 Paul Eggert <eggert@twinsun.com>
1063 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
1064 Do not check for alloca.h (no longer used) or stdbool.h (was never
1065 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
1067 2002-04-28 Paul Eggert <eggert@twinsun.com>
1069 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
1071 2002-04-29 Jim Meyering <meyering@lucent.com>
1073 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
1074 * prereq.m4: Add jm_PREREQ_STRNLEN.
1075 Use AC_FUNC_STRNLEN here instead.
1077 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
1078 With autoconf-2.53a, it's part of AC_PROG_CC.
1080 2002-04-28 Paul Eggert <eggert@twinsun.com>
1082 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
1083 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
1085 2002-04-24 Jim Meyering <meyering@lucent.com>
1087 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
1088 (jm_PREREQ): Use it.
1090 * getloadavg.m4: Check for these headers: locale.h unistd.h
1091 mach/mach.h fcntl.h.
1092 Check for this function: setlocale.
1094 2002-04-16 Jim Meyering <meyering@lucent.com>
1096 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
1097 ut_pid, ut_id, ut_exit.
1099 2002-04-12 Jim Meyering <meyering@lucent.com>
1101 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
1102 check for f_type in sys/mount.h. Instead, just test for the existence
1103 of the getmntinfo function. Needed for Darwin 5.3.
1105 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
1106 This is necessary at least on Darwin 5.3.
1108 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
1109 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
1110 in the library, and that makes some versions of ranlib object.
1112 2002-04-09 Jim Meyering <meyering@lucent.com>
1114 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
1115 to be more precise. Rather than saying we're checking whether the
1116 function `works', say what we're testing.
1117 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
1118 Reported by Bruno Haible.
1120 2002-02-27 Paul Eggert <eggert@twinsun.com>
1122 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
1123 Check for clock_settime.
1125 2002-02-25 Paul Eggert <eggert@twinsun.com>
1128 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
1129 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
1131 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
1133 * codeset.m4: Upgrade to gettext-0.11.
1134 * gettext.m4: Upgrade to gettext-0.11.
1135 * glibc21.m4: Upgrade to gettext-0.11.
1136 * iconv.m4: Upgrade to gettext-0.11.
1137 * isc-posix.m4: Upgrade to gettext-0.11.
1138 * lcmessage.m4: Upgrade to gettext-0.11.
1139 * lib-ld.m4: New file, from gettext-0.11.
1140 * lib-link.m4: New file, from gettext-0.11.
1141 * lib-prefix.m4: New file, from gettext-0.11.
1142 * progtest.m4: Upgrade to gettext-0.11.
1144 2002-02-15 Paul Eggert <eggert@twinsun.com>
1146 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
1147 (jm_PREREQ): Use it.
1149 2002-01-26 Jim Meyering <meyering@lucent.com>
1151 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
1152 * strnlen.m4: Remove file, now that it's part of autoconf.
1154 2002-01-22 Paul Eggert <eggert@twinsun.com>
1156 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
1158 2002-01-19 Jim Meyering <meyering@lucent.com>
1160 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
1161 Remove useless quotes: DF_PROG="df".
1162 * strnlen.m4: New file.
1164 2001-12-14 Jim Meyering <meyering@lucent.com>
1166 * jm-macros.m4 (jm_MACROS): Check for iswspace.
1167 Suggestion from Bruno Haible.
1169 2001-11-20 Jim Meyering <meyering@lucent.com>
1171 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
1172 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
1174 2001-11-19 Jim Meyering <meyering@lucent.com>
1176 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
1177 directory. Use "conftestXXXXXX" as the template.
1178 Suggestion from Paul Eggert.
1180 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
1181 so the test doesn't mistakenly hit the max-open-files limit.
1183 2001-11-18 Jim Meyering <meyering@lucent.com>
1185 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
1187 2001-11-17 Jim Meyering <meyering@lucent.com>
1189 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
1190 Prompted by a report from Bob Proulx.
1192 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
1193 Instead, require UTILS_FUNC_MKSTEMP.
1195 2001-11-11 Jim Meyering <meyering@lucent.com>
1197 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
1198 Now, that's done as part of AC_FUNC_STRTOD.
1200 2001-10-22 Paul Eggert <eggert@twinsun.com>
1202 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
1203 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
1205 2001-11-10 Jim Meyering <meyering@lucent.com>
1207 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
1208 (jm_PREREQ): Use it.
1210 2001-11-09 Jim Meyering <meyering@lucent.com>
1212 * jm-macros.m4: Require autoconf-2.52f.
1213 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
1214 Use these AC_-prefixed names, not the AM_-prefixed ones.
1216 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
1218 2001-11-04 Jim Meyering <meyering@lucent.com>
1220 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
1222 2001-11-03 Jim Meyering <meyering@lucent.com>
1224 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
1227 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
1228 know the name of the variable in the macro definition.
1230 2001-11-01 Jim Meyering <meyering@lucent.com>
1232 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
1233 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
1235 2001-10-20 Paul Eggert <eggert@twinsun.com>
1237 * error.m4 (jm_PREREQ_ERROR):
1238 Do not invoke AC_CHECK_FUNCS with strerror_r, as
1239 AC_FUNC_STRERROR_R does that.
1240 Check for strerror declaration.
1242 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
1243 are supposed to have them these days.
1244 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
1245 Merge changes from latest Autoconf CVS.
1246 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
1247 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
1248 POSIX decided to standardize on the int flavor of strerror_r.
1250 2001-09-30 Jim Meyering <meyering@lucent.com>
1252 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
1253 `struct fsstat' has the `f_fstypename' member.
1254 Use that to define FS_TYPE, which is now used to make
1255 the getfsstat link test tighter.
1257 2001-09-29 Jim Meyering <meyering@lucent.com>
1259 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1260 [one-argument getmntent function]): Include stdio.h before mntent.h.
1261 SunOS 4.1.x needs it for the declaration of `FILE'.
1262 Patch by Volker Borchert.
1264 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1265 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
1266 sys/fs_types.h, and make the link-test for getfsstat guard #include
1267 directives with appropriate #if HAVE_*_H tests so that we can
1268 detect getfsstat on Apple Darwin1.3.7 systems.
1269 Reported by Nelson Beebe.
1270 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
1272 2001-09-28 Paul Eggert <eggert@twinsun.com>
1274 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
1275 #defines strtoimax. Also treat the other strto* functions
1278 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1279 Check for strtoul and strtoumax,
1280 as those declarations are made even in the signed case.
1281 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
1282 Likewise, for strtol and strtoimax.
1284 2001-09-24 Jim Meyering <meyering@lucent.com>
1286 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
1288 2001-09-23 Jim Meyering <meyering@lucent.com>
1290 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
1291 instead of the mere test for existence of mntent.h. The latter
1292 would get a false-positive on AIX 3.4 systems.
1293 In the outer getmntent if-block, don't die if neither of the getmntent
1294 tests succeeds. Instead, just fall through and continue with the
1297 2001-09-22 Jim Meyering <meyering@lucent.com>
1299 * gettext.m4: New file. From gettext.
1300 * lcmessage.m4: Sync with gettext -- this changes only comments.
1301 * progtest.m4: Likewise
1302 * isc-posix.m4: Decrement serial number to sync with gettext.
1303 * glibc21.m4: Likewise.
1305 * libintl.m4: Remove. No longer used.
1307 2001-09-20 Jim Meyering <meyering@lucent.com>
1309 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
1311 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
1314 2001-09-17 Jim Meyering <meyering@lucent.com>
1316 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
1317 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
1318 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
1319 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
1320 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
1321 whenever the right hand side need not be expanded by the shell.
1323 2001-09-16 Paul Eggert <eggert@twinsun.com>
1325 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
1326 library. It's not correct, as some older glibcs are buggy.
1327 fnmatch wasn't fixed until glibc 2.2.
1329 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
1330 special shell magic here.
1332 2001-09-16 Jim Meyering <meyering@lucent.com>
1334 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
1335 * jm-macros.m4: Require it.
1337 2001-09-15 Jim Meyering <meyering@lucent.com>
1339 * jm-macros.m4: Check for help2man.
1341 2001-09-11 Jim Meyering <meyering@lucent.com>
1343 * host-os.m4 (UTILS_HOST_OS): New file/macro.
1344 The body, by Paul Eggert, was moved here from configure.in.
1345 * jm-macros.m4: Require UTILS_HOST_OS.
1347 2001-09-04 Paul Eggert <eggert@twinsun.com>
1349 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
1350 (jm_PREREQ): Use it.
1352 2001-09-03 Paul Eggert <eggert@twinsun.com>
1354 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
1355 sys/param.h, as pathmax.h includes them.
1357 2001-09-03 Paul Eggert <eggert@twinsun.com>
1359 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
1360 (jm_PREREQ_XGETCWD): New macro.
1362 * getcwd.m4: New file.
1364 2001-09-01 Jim Meyering <meyering@lucent.com>
1366 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
1369 2001-08-30 Paul Eggert <eggert@twinsun.com>
1371 Simplify code, partly by assuming autoconf 2.52 semantics.
1373 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
1375 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
1376 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
1378 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
1379 Move AC_REQUIRE to next-to-top level, to avoid confusion.
1380 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
1381 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
1382 * jm-macros.m4 (jm_MACROS): Likewise.
1384 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
1386 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1387 Quote first arg of AC_DEFUN.
1388 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
1389 since they are needed to parse the include file even if we need
1390 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
1391 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
1392 but with opposite signedness.
1394 2001-08-30 Paul Eggert <eggert@twinsun.com>
1396 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
1397 (jm_PREREQ_EXCLUDE): New macro.
1399 2001-08-26 Jim Meyering <meyering@lucent.com>
1401 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
1403 * xstrtoimax.m4: New file.
1404 * xstrtoumax.m4: Add comments explaining why we
1405 AC_REPLACE_FUNCS(strtol).
1407 2001-06-20 Paul Eggert <eggert@twinsun.com>
1409 * inttypes.m4: Add AC_PREREQ(2.13).
1410 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
1411 (jm_AC_TYPE_INTMAX_T): New macro.
1412 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
1414 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
1416 * longlong.m4: Renamed from ulonglong.m4.
1417 * inttypes.m4: Renamed from inttypes_h.m4.
1418 * uintmax_t.m4: Removed.
1420 2001-08-12 Jim Meyering <meyering@lucent.com>
1422 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
1423 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
1424 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
1425 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
1426 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
1427 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
1428 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
1429 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
1430 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
1431 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
1432 utime.m4, utimes.m4, xstrtoumax.m4:
1433 Quote the first argument in each use of AC_DEFUN.
1435 2001-08-05 Jim Meyering <meyering@lucent.com>
1437 * jm-macros.m4: Require autoconf-2.52.
1439 2001-08-03 Paul Eggert <eggert@twinsun.com>
1441 The following changes are from gettext 0.10.39 as maintained by
1442 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
1444 * codeset.m4: Upgrade to serial AM1.
1445 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
1446 all uses changed. Quote first arg of AC_DEFUN.
1447 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
1449 * iconv.m4: Upgrade to serial AM2.
1450 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
1451 Add --with-libconv-prefix.
1452 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
1453 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
1454 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
1455 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
1456 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
1458 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
1459 * getline.m4 (AM_FUNC_GETLINE): Likewise.
1460 * glibc21.m4 (jm_GLIBC21): Likewise.
1461 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
1462 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
1463 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
1464 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
1465 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
1466 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
1468 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
1471 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
1472 not the default value.
1474 2001-06-25 Bruno Haible <haible@clisp.cons.org>
1475 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
1476 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
1477 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
1478 Also check for iswcntrl, used for wcwidth fallback.
1479 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
1482 2001-08-03 Jim Meyering <meyering@lucent.com>
1484 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
1485 as it was in the original. Reported by Paul Eggert.
1487 2001-07-16 Jim Meyering <meyering@lucent.com>
1489 * gettimeofday.m4: New file.
1490 Prompted by a report from Bernhard Baehr.
1492 2001-07-15 Jim Meyering <meyering@lucent.com>
1494 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
1495 Now it's in ../Makefile.cfg.
1497 2001-07-04 Jim Meyering <meyering@lucent.com>
1499 * Makefile.am.in (glibc-io.struct): New target. Rework the code
1500 that generates jm-glibc-io.m4 so that it doesn't trigger any make
1503 2001-07-02 Jim Meyering <meyering@lucent.com>
1505 The following changes were prompted by suggestions from Bruno Haible.
1507 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
1509 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
1510 definition of EXTRA_DIST.
1511 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
1512 ensure that the generated file is created/updated whenever the list
1513 of $(unlocked_functions) is changed.
1514 (jm-glibc-io.m4): New rule.
1515 (unlocked-io.h): New rule -- currently unused.
1517 2001-06-24 Jim Meyering <meyering@lucent.com>
1519 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
1520 unmatched right bracket, rather than kludging it with an extra,
1521 falsely-matching quote in a comment. Patch by Akim Demaille.
1523 2001-05-27 Jim Meyering <meyering@lucent.com>
1525 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
1526 Check for ut_type in struct utmp.
1528 2001-05-22 Jim Meyering <meyering@lucent.com>
1530 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
1531 now that we use the package-supplied version unconditionally.
1532 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
1534 2001-05-21 Jim Meyering <meyering@lucent.com>
1536 * regex.m4: Change a couple backticks to single quotes to avoid shell
1539 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1541 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
1543 2001-05-11 Paul Eggert <eggert@twinsun.com>
1545 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
1546 Don't bother to check library strftime, since
1547 we'll be using our own my_strftime function anyway.
1548 Define my_strftime instead of strftime.
1550 2001-05-15 Jim Meyering <meyering@lucent.com>
1552 * regex.m4: Use proper quoting so brackets appear in the test program.
1553 Reported by, and with help from, Bruno Haible.
1555 2001-05-13 Jim Meyering <meyering@lucent.com>
1557 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
1559 2000-11-26 Paul Eggert <eggert@twinsun.com>
1561 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
1563 2001-04-21 Jim Meyering <meyering@lucent.com>
1565 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
1568 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1570 * ftruncate.m4: Check for chsize.
1571 Link with ftruncate.o unconditionally if ftruncate is missing.
1572 This was required when cross-compiling to i586-mingw32msvc.
1574 2001-03-24 Jim Meyering <meyering@lucent.com>
1576 * jm-macros.m4: Require autoconf-2.49d.
1578 2001-03-20 Bruno Haible <haible@clisp.cons.org>
1580 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
1582 2001-03-17 Jim Meyering <meyering@lucent.com>
1584 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
1585 now that the version in autoconf is equivalent.
1586 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
1588 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
1589 Suggestion from Akim Demaille.
1591 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
1592 (jm_PREREQ_TEMPNAME): New function.
1594 2001-02-25 Paul Eggert <eggert@twinsun.com>
1596 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
1597 lacks mkstemp. Compile our own tempname.c if we compile our own
1598 mkstemp.c, as mkstemp relies on tempname.
1600 2001-03-01 Jim Meyering <meyering@lucent.com>
1602 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
1603 AH_VERBATIM really does output its argument verbatim.
1605 2001-02-18 Paul Eggert <eggert@twinsun.com>
1607 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
1609 2001-02-17 Jim Meyering <meyering@lucent.com>
1611 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
1612 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
1613 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
1616 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
1617 rather than AC_CACHE_VAL.
1619 2001-02-17 Paul Eggert <eggert@twinsun.com>
1621 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
1622 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
1623 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
1624 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
1626 2001-02-07 Jim Meyering <meyering@lucent.com>
1628 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
1630 2001-02-05 Jim Meyering <meyering@lucent.com>
1632 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
1633 it includes the patch required for `large file' support with at least
1634 HP-UX's 10.20 /bin/cc.
1636 2001-02-03 Jim Meyering <meyering@lucent.com>
1638 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
1639 AS_IF, now that it works once again (mysteriously).
1640 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1642 2001-01-30 Jim Meyering <meyering@lucent.com>
1644 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
1645 * chown.m4: Rename conftestchown to conftest.chown.
1646 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
1647 * utimes.m4: s/conftestdata/conftest.data/
1648 Inspired by Pavel Roskin's change in autoconf.
1650 2001-01-27 Jim Meyering <meyering@lucent.com>
1652 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
1654 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1656 2001-01-26 Jim Meyering <meyering@lucent.com>
1658 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
1659 quotearg.c includes it.
1661 2001-01-15 Bruno Haible <haible@clisp.cons.org>
1663 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
1666 2001-01-20 Jim Meyering <meyering@lucent.com>
1668 Be sure that headers are checked before used in code compiled
1669 for the type checks.
1670 * jm-macros.m4 (jm_MACROS): Remove all header checks.
1671 In place of that, invoke jm_CHECK_ALL_TYPES.
1672 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
1673 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
1674 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
1675 The check for ssize_t was mistakenly run before the test for unistd.h.
1677 The configure-time check for stdbool.h was missing.
1678 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
1679 (jm_PREREQ_HASH): New function.
1681 2001-01-17 Jim Meyering <meyering@lucent.com>
1683 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
1685 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
1687 2001-01-14 Jim Meyering <meyering@lucent.com>
1689 * rename.m4: Use temporary directories named conftestdir{,2}, not
1690 foo and bar. Create conftestdir/ in the script, not in the C code.
1691 Remove directories in the script, not in the C code.
1692 Remove conftestdir{,2} before trying to create the directory.
1693 Make the entire configure script fail if the mkdir fails.
1695 2001-01-02 Volker Borchert <bt@teknon.de>
1697 * rename.m4: New file.
1698 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
1700 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1702 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
1703 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
1704 so `make install' also works in VPATH builds.
1706 2001-01-01 Jim Meyering <meyering@lucent.com>
1708 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
1709 on systems with utmpx.h. It's necessary for the declaration of utmp's
1710 ut_user member. Reported by Andreas Jaeger.
1712 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
1713 They are required for the declarations of getgrgid and getpwuid resp.
1714 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
1715 Reported by Andreas Jaeger.
1717 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1719 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
1720 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
1721 can be used in subdirectories.
1723 2000-12-26 Jim Meyering <meyering@lucent.com>
1725 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
1728 2000-12-17 Jim Meyering <meyering@lucent.com>
1730 * dos.m4 (jm_AC_DOS): New file and macro.
1731 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
1733 2000-12-06 Paul Eggert <eggert@twinsun.com>
1735 * off_t-format.m4: Remove this file.
1736 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
1738 2000-12-06 Jim Meyering <meyering@lucent.com>
1740 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
1741 strtoull, we may well need the replacement strtoul, too.
1742 Check for declarations of strtoul and strtoull.
1743 Check for strtol. Mainly as a cue to cause automake to include
1744 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
1745 Check for limits.h -- strtol.c needs it.
1747 2000-12-02 Jim Meyering <meyering@lucent.com>
1749 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
1750 * jm-macros.m4 (jm_MACROS): require it.
1752 2000-11-30 Jim Meyering <meyering@lucent.com>
1754 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
1756 2000-11-30 Jim Meyering <meyering@lucent.com>
1758 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
1760 2000-11-03 Bruno Haible <haible@clisp.cons.org>
1762 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
1764 2000-11-04 Jim Meyering <meyering@lucent.com>
1766 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
1768 2000-10-29 Jim Meyering <meyering@lucent.com>
1770 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
1771 * ls-mntd-fs.m4: Likewise
1773 2000-10-28 Jim Meyering <meyering@lucent.com>
1775 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
1776 (jm_PREREQ_MEMCHR): New function.
1778 2000-10-21 Jim Meyering <meyering@lucent.com>
1780 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
1781 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
1782 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
1784 2000-09-18 Jim Meyering <meyering@lucent.com>
1786 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
1787 Otherwise, everyone ends up linking with -lelf for some configurations.
1788 Reported by Mike Stone.
1790 2000-08-26 Jim Meyering <meyering@lucent.com>
1792 * jm-macros.m4: Use jm_FUNC_FPENDING.
1793 * fpending.m4: New file.
1795 2000-08-20 Jim Meyering <meyering@lucent.com>
1797 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
1798 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
1799 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
1801 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1803 Improve fileutils installation on systems where running
1804 programs (like install) can't be unlinked.
1805 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
1806 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
1808 2000-08-06 Paul Eggert <eggert@twinsun.com>
1810 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
1811 not char, for compatibility with glibc 2.1.3 strftime.c.
1813 2000-07-23 Paul Eggert <eggert@twinsun.com>
1815 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
1817 2000-07-23 Jim Meyering <meyering@lucent.com>
1819 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
1820 getgrgid, getpwuid, getuid.
1822 2000-07-16 Bruno Haible <haible@clisp.cons.org>
1824 * mbswidth.m4: New file.
1825 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
1827 2000-07-14 Jim Meyering <meyering@lucent.com>
1829 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
1831 2000-07-10 Paul Eggert <eggert@twinsun.com>
1833 From a suggestion by Bruno Haible.
1834 * mbstate_t.m4 (AC_MBSTATE_T):
1835 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
1836 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
1837 and mbstate_t, to a single-part test that simply defines mbstate_t.
1838 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
1840 2000-07-10 Jim Meyering <meyering@lucent.com>
1842 * strerror_r.m4: Mirror the correction made in autoconf.
1844 * gnu-source.m4: Output to confdefs.h directly.
1845 Suggestion from Akim Demaille.
1847 2000-07-09 Jim Meyering <meyering@lucent.com>
1849 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
1850 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
1852 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
1853 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
1855 2000-07-05 Bruno Haible <haible@clisp.cons.org>
1857 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
1859 Include <ctype.h> for use of isalpha.
1861 2000-07-05 Paul Eggert <eggert@twinsun.com>
1862 and Bruno Haible <haible@clisp.cons.org>
1864 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
1865 only if the test for an object-type mbstate_t fails. This
1866 prevents us from mistakenly reporting that mbstate_t is a
1867 system object type after we "#define mbstate_t int" to work
1870 2000-07-04 Jim Meyering <meyering@lucent.com>
1872 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
1873 of the deprecated AC_CHECKING.
1875 2000-07-03 Jim Meyering <meyering@lucent.com>
1877 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
1879 2000-07-03 Paul Eggert <eggert@twinsun.com>
1881 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
1882 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
1884 2000-07-02 Jim Meyering <meyering@lucent.com>
1886 * mbstate_t.m4: Also define mbstate_t, if necessary.
1888 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
1889 AC_LIBOBJ(function_name).
1890 * chown.m4: Likewise.
1891 * fnmatch.m4: Likewise.
1892 * ftruncate.m4: Likewise.
1893 * getgroups.m4: Likewise.
1894 * getline.m4: Likewise.
1895 * group-member.m4: Likewise.
1896 * jm-macros.m4: Likewise.
1897 * lstat.m4: Likewise.
1898 * malloc.m4: Likewise.
1899 * memcmp.m4: Likewise.
1900 * nanosleep.m4: Likewise.
1901 * putenv.m4: Likewise.
1902 * realloc.m4: Likewise.
1903 * regex.m4: Likewise.
1904 * stat.m4: Likewise.
1905 * strftime.m4: Likewise.
1907 2000-07-01 Jim Meyering <meyering@lucent.com>
1909 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
1912 2000-06-17 Bruno Haible <haible@clisp.cons.org>
1914 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
1915 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
1917 2000-07-01 Jim Meyering <meyering@lucent.com>
1919 * uptime.m4: Put double quotes around use of $cross_compiling.
1921 2000-06-28 Jim Meyering <meyering@lucent.com>
1923 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
1924 by quotearg.c, for which we perform this test. From Bruno Haible.
1926 2000-06-17 Bruno Haible <haible@clisp.cons.org>
1928 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
1929 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
1930 <utmpx.h> exists, put readutmp.o into LIBOBJS.
1932 2000-06-25 Jim Meyering <meyering@lucent.com>
1934 * mbstate_t.m4: Include stdio.h before wchar.h to work around
1935 Linux header bug when _XOPEN_SOURCE is defined to 500.
1937 2000-06-24 Jim Meyering <meyering@lucent.com>
1939 * strerror_r.m4: Revive this file -- to try out an experimental
1940 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
1941 for which strerror does return char*, but which lacks a conveniently
1942 accessible declaration of the function. If the compile-test says
1943 strerror_r doesn't work, then resort to a `run'-test that works on
1944 BeOS and segfaults on DEC Unix.
1946 2000-06-19 Paul Eggert <eggert@twinsun.com>
1948 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
1949 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
1951 2000-06-23 Jim Meyering <meyering@lucent.com>
1953 * afs.m4: Add missing AC_MSG_RESULT.
1954 Reported by Bruno Haible.
1956 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
1957 Suggestion from Bruno Haible.
1959 2000-06-21 Jim Meyering <meyering@lucent.com>
1961 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
1963 2000-06-18 Jim Meyering <meyering@lucent.com>
1965 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
1967 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
1968 `checking whether...' message to be consistent with that of the
1971 2000-06-16 Bruno Haible <haible@clisp.cons.org>
1973 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
1975 2000-06-12 Jim Meyering <meyering@lucent.com>
1977 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
1978 from autoconf, and tweak the latter to accept an optional argument.
1979 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
1980 the optional argument, `lib'.
1982 2000-06-08 Jim Meyering <meyering@lucent.com>
1984 * largefile.m4: Remove file (now that it's part of autoconf).
1986 2000-06-04 Paul Eggert <eggert@twinsun.com>
1988 Rewrite largefile configuration so that we don't need to run
1989 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
1990 AC_CANONICAL_HOST in configure.in -- jmm]
1992 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
1993 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
1994 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
1995 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
1996 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
1998 Instead of inspecting the output of getconf, try to compile the
1999 test program without and with the macro definition.
2000 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
2001 for getconf. Instead, check for the needed flags by compiling
2004 2000-06-03 Jim Meyering <meyering@lucent.com>
2006 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
2007 now that autoconf requires that.
2009 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
2010 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
2011 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
2013 2000-05-26 Bruno Haible <haible@clisp.cons.org>
2015 * glibc21.m4: New file.
2016 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
2018 2000-05-28 Jim Meyering <meyering@lucent.com>
2020 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
2021 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2022 * stat.m4: Likewise.
2023 * lstat.m4: Likewise.
2024 * lstat-slash.m4: Remove file (absorbed into autoconf).
2026 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
2027 * strerror_r.m4: Remove file (absorbed into autoconf).
2029 2000-05-26 Jim Meyering <meyering@lucent.com>
2031 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
2033 2000-05-24 Jim Meyering <meyering@lucent.com>
2035 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
2036 autoconf requires that.
2037 * lib-check.m4: Likewise.
2038 * jm-macros.m4: Likewise.
2039 * strftime.m4: Likewise.
2041 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
2042 now that autoconf requires that.
2044 2000-05-22 Jim Meyering <meyering@lucent.com>
2046 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2047 * lstat.m4: Likewise.
2049 2000-05-20 Jim Meyering <meyering@lucent.com>
2051 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
2052 (jm_PREREQ): Use it.
2054 2000-05-09 Jim Meyering <meyering@lucent.com>
2056 * gettext.m4: Rename this...
2057 * libintl.m4: ...to this.
2059 2000-05-06 Jim Meyering <meyering@lucent.com>
2061 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
2062 (AC_REPLACE_FUNCS): Add strnlen.
2064 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
2065 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
2067 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
2068 AC_SEARCH_LIBS call for nanosleep.
2069 (LIB_NANOSLEEP): Set and AC_SUBST.
2071 2000-05-03 Paul Eggert <eggert@twinsun.com>
2073 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
2074 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
2075 2.1.3 bug. This avoids a clash when files like regex.c define
2078 2000-05-05 Jim Meyering <meyering@lucent.com>
2080 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
2081 call for clock_gettime.
2082 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
2084 * search-libs.m4: Update from autoconf.
2086 su doesn't work on Solaris 2.6.
2087 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
2088 <shadow.h>. Reported by Dragos Harabor.
2090 2000-05-03 Jim Meyering <meyering@lucent.com>
2092 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
2094 2000-05-02 Paul Eggert <eggert@twinsun.com>
2096 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
2097 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
2098 compile-time test, rather than inspecting host and OS, to
2099 decide whether to define _LARGEFILE_SOURCE.
2101 2000-05-01 Jim Meyering <meyering@lucent.com>
2103 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
2105 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
2106 Based on a patch from Bruno Haible.
2108 2000-04-18 Jim Meyering <meyering@lucent.com>
2110 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
2111 (jm_PREREQ): Use it.
2113 2000-04-17 Jim Meyering <meyering@lucent.com>
2116 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
2117 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
2118 Suggestion from Akim Demaille.
2120 2000-04-14 Jim Meyering <meyering@lucent.com>
2122 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
2123 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
2125 2000-04-13 Jim Meyering <meyering@lucent.com>
2127 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
2128 to insert required #ifndef into config.h.in.
2129 Suggestion from Akim Demaille.
2131 2000-04-12 Jim Meyering <meyering@lucent.com>
2133 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
2134 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
2135 Christian Krackowizer.
2137 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
2138 * jm-macros.m4 (_GNU_SOURCE): Define.
2139 (AC_SYS_LARGEFILE): Require.
2140 (AM_C_PROTOTYPES): Require.
2142 2000-04-05 Paul Eggert <eggert@twinsun.com>
2144 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
2145 IRIX if the installer said otherwise.
2147 2000-04-05 Jim Meyering <meyering@lucent.com>
2149 Portability tweaks required for ultrix4.3.
2150 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
2151 (jm_CHECK_DECLS): Add getutent to the list of functions.
2152 (_jm_DECL_HEADERS): Add utmpx.h.
2153 From John David Anglin.
2155 * strftime.m4: Back out the 2000-04-02 change.
2156 Instead of that change, simply undefine putenv in the test program.
2158 2000-04-03 Jim Meyering <meyering@lucent.com>
2160 * gettext.m4: Fix typo in comment.
2162 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
2163 textutils/configure.in). Suggestion from Paul Eggert.
2164 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
2166 2000-04-02 Paul Eggert <eggert@twinsun.com>
2168 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
2169 variable in the shell rather than using putenv, which isn't
2170 portable. This avoids the configure-time inter-test dependency
2171 on the potentially-renamed putenv function.
2173 2000-03-30 Paul Eggert <eggert@twinsun.com>
2175 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
2176 before checking struct stat.st_blksize, so that
2177 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
2179 2000-03-29 Paul Eggert <eggert@twinsun.com>
2181 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
2182 since strftime.c uses HAVE_STRFTIME to decide whether to use
2183 the underlying strftime.
2185 2000-03-10 Jim Meyering <meyering@lucent.com>
2187 * lib-check.m4: Look for getspnam in -lgen, too.
2190 2000-02-02 Bruno Haible <haible@clisp.cons.org>
2192 * codeset.m4: New file.
2193 * iconv.m4: New file.
2194 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
2196 2000-03-04 Jim Meyering <meyering@lucent.com>
2198 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
2199 for lib/localcharset.c.
2201 2000-03-03 Jim Meyering <meyering@lucent.com>
2203 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
2205 2000-03-02 Jim Meyering <meyering@lucent.com>
2207 * timespec.m4: Require AC_HEADER_TIME before the cache check so
2208 the messages come out on separate lines.
2210 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
2211 rather than jm_CHECK_DECLARATIONS.
2212 * decl.m4: Remove now-unused file.
2214 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
2216 2000-02-27 Jim Meyering <meyering@lucent.com>
2218 * check-decl.m4: Add getenv to the list.
2220 2000-02-23 Jim Meyering <meyering@lucent.com>
2222 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
2223 in place of my hack.
2225 2000-02-10 Jim Meyering <meyering@lucent.com>
2227 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
2228 gnu_nanosleep to rpl_nanosleep.
2230 2000-02-09 Jim Meyering <meyering@lucent.com>
2232 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
2233 struct spwd, rather than in struct passwd. Reported by Ga� Qu�i.
2235 2000-02-08 Akim Demaille <akim@epita.fr>
2237 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
2238 `[' and `]' and remove uses of `changequote'.
2239 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
2240 (AC_SYS_LARGEFILE): Likewise.
2241 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
2242 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
2244 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
2245 * readdir.m4 (jm_FUNC_READDIR): Likewise
2246 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
2247 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
2249 2000-02-05 Jim Meyering <meyering@lucent.com>
2251 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
2252 Remove explicit use of AC_HEADER_TIME. It is required by
2253 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
2254 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
2255 in autoconf whereby the expansion of the latter ended up preceding
2256 the expansion of its prerequisite, AC_HEADER_TIME.
2257 Reported by Volker Borchert.
2259 2000-02-03 Jim Meyering <meyering@lucent.com>
2261 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
2263 2000-02-02 Jim Meyering <meyering@lucent.com>
2265 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
2266 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
2267 Reported by Eli Zaretskii.
2269 2000-01-31 Jim Meyering <meyering@lucent.com>
2271 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
2272 functions. Add the time.h and sys/time.h headers along with the
2273 AC_REQUIRE'ment of AC_HEADER_TIME.
2275 2000-01-30 Jim Meyering <meyering@lucent.com>
2277 * lib-check.m4: Clean up some kludgy old shadow password tests.
2279 * prereq.m4 (utmp_includes): Define.
2280 Check for ut_user and ut_name members in both struct utmpx
2283 2000-01-29 Jim Meyering <meyering@lucent.com>
2285 * lib-check.m4: New file containing library-related checks from
2286 fileutils and sh-utils (textutils had none).
2288 2000-01-28 Jim Meyering <meyering@lucent.com>
2290 * perl.m4: Change format of warning message to look more like that
2291 from the missing script. Suggestion from Fran�is Pinard.
2293 2000-01-25 Jim Meyering <meyering@lucent.com>
2295 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
2296 as time.h in the compile check.
2297 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
2298 Fix typo in cross-compiling case: s/yes/no/.
2300 2000-01-23 Jim Meyering <meyering@lucent.com>
2302 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
2304 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
2305 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
2307 * fsusage.m4: New file. Extracted from fileutils/configure.in.
2308 s/space/ac_fsusage_space/.
2309 (jm_FILE_SYSTEM_USAGE): Take two parameters.
2311 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
2312 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
2313 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
2315 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
2316 AC_SUBST these here, rather than just in sh-util/configure.in, so
2317 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
2319 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
2320 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
2321 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
2322 (AC_SUBST(POW_LIBM)): Likewise.
2323 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
2325 2000-01-22 Jim Meyering <meyering@lucent.com>
2327 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
2329 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
2331 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
2333 (AC_CHECK_HEADERS): Likewise for sh-utils.
2334 (AC_CHECK_HEADERS): Likewise for textutils.
2335 Merge the three lists of headers.
2337 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
2338 from fileutils' configure.in.
2340 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
2341 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
2343 * check-decl.m4: Use #if rather than #ifdef.
2344 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
2345 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
2346 (_jm_DECL_HEADERS): Define new function.
2347 (jm_CHECK_DECLARATIONS): Require it.
2349 2000-01-19 Jim Meyering <meyering@lucent.com>
2351 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
2352 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
2353 defines `struct timespec' in <sys/time.h>
2355 * c-bs-a.m4: Remove uses of changequote altogether.
2356 Thanks to Akim for explaining.
2358 2000-01-16 Jim Meyering <meyering@lucent.com>
2360 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
2361 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
2362 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
2363 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
2365 2000-01-16 Jim Meyering <meyering@lucent.com>
2367 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
2368 because the latter didn't work.
2370 2000-01-15 Jim Meyering <meyering@lucent.com>
2372 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
2373 (AC_REPLACE_FUNCS): Add memcpy and memset.
2374 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
2376 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
2378 2000-01-12 Jim Meyering <meyering@lucent.com>
2380 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
2381 (jm_PREREQ): Use it.
2382 (jm_PREREQ_READUTMP): New macro.
2383 (jm_PREREQ): Use it.
2385 2000-01-11 Paul Eggert <eggert@twinsun.com>
2387 Quote multibyte characters correctly.
2388 * c-bs-a.m4: New file.
2389 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
2390 (jm_PREREQ): Use it.
2392 2000-01-11 Paul Eggert <eggert@twinsun.com>
2394 * uintmax_t.m4: Port to autoconf 2.13.
2396 2000-01-08 Jim Meyering <meyering@ascend.com>
2398 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
2399 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
2401 2000-01-04 Jim Meyering <meyering@ascend.com>
2403 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
2404 jm_STRUCT_DIRENT_D_TYPE.
2405 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
2406 jm_STRUCT_DIRENT_D_INO.
2407 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
2409 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
2410 * utime.m4: Likewise.
2412 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
2413 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
2415 2000-01-03 Paul Eggert <eggert@twinsun.com>
2417 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
2418 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
2420 2000-01-02 Jim Meyering <meyering@ascend.com>
2422 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
2423 remember if this is necessary.
2425 1999-12-26 Jim Meyering <meyering@ascend.com>
2427 * jm-macros.m4: Use it here.
2428 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
2430 1999-12-23 Jim Meyering <meyering@ascend.com>
2432 * jm-macros.m4: Check for clock_gettime (moved from
2433 fileutils/configure.in)
2434 Check for gettimeofday.
2436 1999-12-20 Jim Meyering <meyering@ascend.com>
2438 * strftime.m4: Remove kludge, now that I'm using the fixed
2439 autoconf-2.14a-1999-12-20.
2441 1999-12-19 Jim Meyering <meyering@ascend.com>
2443 * lstat-slash.m4: New file.
2444 * jm-macros.m4: Use the new macro:
2445 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2447 1999-12-07 Jim Meyering <meyering@ascend.com>
2449 * perl.m4: Require that File::Compare be available, too.
2450 Too many systems seem to lack it.
2452 * strftime.m4: Add checks for most of the cpp macros tested in
2453 GNU's strftime.c. Prompted by a patch from Paul Eggert.
2455 1999-11-18 Paul Eggert <eggert@twinsun.com>
2457 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
2458 problem with the QNX 4.25 shell, which doesn't propagate exit
2459 status of failed commands inside shell assignments.
2461 1999-11-17 Jim Meyering <meyering@ascend.com>
2463 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
2465 1999-11-07 Jim Meyering <meyering@ascend.com>
2467 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
2469 1999-11-06 Jim Meyering <meyering@ascend.com>
2471 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
2472 * jm-macros.m4 (jm_MACROS): Use it here.
2474 1999-11-05 Jim Meyering <meyering@ascend.com>
2476 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
2477 of textutils, fileutils, and sh-utils into this one (shared between
2478 those packages) file.
2479 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
2480 AC_STRUCT_ST_BLKSIZE.
2482 1999-11-03 Jim Meyering <meyering@ascend.com>
2484 * ssize_t.m4: Remove file. No longer needed since the new version of
2485 AC_CHECK_TYPE checks includes unistd.h.
2486 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
2487 Suggestion from Akim Demaille.
2489 1999-10-30 Jim Meyering <meyering@ascend.com>
2491 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
2493 * ls-mntd-fs.m4: Likewise.
2494 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
2495 * jm-winsz1.m4: Likewise.
2497 * const.m4: Remove file, since the fix made it into the experimental
2498 version of autoconf.
2499 * mktime.m4: Likewise.
2501 * check-type.m4: Remove file, now that the latest version of
2502 AC_CHECK_TYPE takes a third arg to specify additional #includes.
2504 * ssize_t.m4: New file, requires experimental version of autoconf.
2505 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
2508 1999-10-04 Jim Meyering <meyering@ascend.com>
2510 * jm-macros.m4: Don't require autoconf-2.14.1.
2512 1999-09-22 Paul Eggert <eggert@twinsun.com>
2514 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
2515 2.95.1 bug with HP-UX 10.20.
2517 1999-09-17 Jim Meyering <meyering@ascend.com>
2519 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
2520 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
2521 due to missing strdup (against sh-utils-2.0).
2523 1999-08-29 Jim Meyering <meyering@ascend.com>
2525 * jm-macros.m4: Require jm_BISON.
2526 * bison.m4: New file.
2528 1999-08-17 Paul Eggert <eggert@twinsun.com>
2530 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
2531 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
2533 1999-08-05 Jim Meyering <meyering@ascend.com>
2535 * getline.m4: Rename test file from conftestdata to conftest.data
2536 to avoid conflicts with `conftest' on 8+3 filesystems.
2537 Suggestion from Eli Zaretskii.
2539 1999-08-04 Jim Meyering <meyering@ascend.com>
2541 * jm-macros.m4: Move a 4-line block of code from the configure.in of
2542 fileutils and sh-utils (textutils's getline test was inadequate).
2543 (AM_FUNC_GETLINE): Run this test.
2544 (AC_CHECK_FUNCS): Check for getdelim.
2545 Reported by Bob Proulx.
2547 1999-08-02 Jim Meyering <meyering@ascend.com>
2549 * jm-macros.m4: Add a comment.
2551 1999-08-01 Jim Meyering <meyering@ascend.com>
2553 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
2555 1999-08-01 Paul Eggert <eggert@twinsun.com>
2557 * lfs.m4: Remove this file.
2558 * largefile.m4: New file. It contains the old contents of
2559 lfs.m4, except that all names with prefix AC_LFS have been
2560 changed to use the prefix AC_SYS_LARGEFILE instead, to be
2561 compatible with future autoconf versions. Also, some minor m4
2562 quoting problems have been fixed.
2564 1999-07-16 Paul Eggert <eggert@twinsun.com>
2566 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
2567 that we can shift, multiply and divide unsigned long long
2568 values; Ultrix cc can't do it.
2570 1999-07-14 Paul Eggert <eggert@twinsun.com>
2572 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
2573 <inttypes.h> defines strtoumax as a macro (and not as a
2576 1999-07-05 Paul Eggert <eggert@twinsun.com>
2578 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
2579 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
2580 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
2581 and simplify the shell code.
2583 1999-07-03 Paul Eggert <eggert@twinsun.com>
2585 * mktime.m4: New file, which is a preview of what should appear
2586 in the next public autoconf release.
2588 1999-07-20 Jim Meyering <meyering@ascend.com>
2590 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
2592 1999-07-15 Jim Meyering <meyering@ascend.com>
2594 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
2596 1999-05-22 Jim Meyering <meyering@ascend.com>
2598 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
2600 1999-05-20 Jim Meyering <meyering@ascend.com>
2602 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
2603 Add a colon after each `then' in case $4 is empty.
2605 1999-05-16 Jim Meyering <meyering@ascend.com>
2607 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
2609 1999-05-10 Jim Meyering <meyering@ascend.com>
2611 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
2613 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
2616 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2618 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
2620 1999-05-04 Paul Eggert <eggert@twinsun.com>
2622 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
2623 not CPPFLAGS, so that linking works correctly in IRIX.
2625 1999-04-30 Paul Eggert <eggert@twinsun.com>
2627 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
2629 1999-04-20 Jim Meyering <meyering@ascend.com>
2631 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
2632 AC_REPLACE xstroull if necessary. From Paul Eggert.
2633 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
2635 1999-04-20 Paul Eggert <eggert@twinsun.com>
2637 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
2638 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
2639 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
2640 jm_AC_TYPE_UNSIGNED_LONG_LONG.
2641 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
2643 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
2645 1999-04-18 Jim Meyering <meyering@ascend.com>
2647 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
2648 * jm-macros.m4: Use it.
2650 1999-04-06 Jim Meyering <meyering@ascend.com>
2652 * strftime.m4: Remove test for %f.
2654 1999-03-29 Jim Meyering <meyering@ascend.com>
2656 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
2657 superset of the AC_TYPE_* checks in the textutils, fileutils,
2658 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
2661 1999-03-28 Jim Meyering <meyering@ascend.com>
2663 * jm-macros.m4: Define GNU_PACKAGE here.
2664 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
2665 replaced e.g., in the *.sh files of the sh-utils.
2667 1999-03-20 Jim Meyering <meyering@ascend.com>
2669 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
2670 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
2671 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
2673 1999-03-19 Jim Meyering <meyering@ascend.com>
2675 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
2677 1999-03-12 Jim Meyering <meyering@ascend.com>
2679 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
2681 1999-03-07 Jim Meyering <meyering@ascend.com>
2683 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
2685 1999-02-17 Jim Meyering <meyering@ascend.com>
2687 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
2688 in macro definition. From Eli Zaretskii and Alain Magloire.
2690 1999-02-07 Jim Meyering <meyering@ascend.com>
2692 * group-member.m4: New file -- extracted from sh-utils' configure.in.
2694 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
2695 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
2697 1999-02-06 Jim Meyering <meyering@ascend.com>
2699 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
2700 * fnmatch.m4: Likewise.
2701 * getgroups.m4: Likewise.
2702 * lstat.m4: Likewise.
2703 * malloc.m4: Likewise.
2704 * putenv.m4: Likewise.
2705 * realloc.m4: Likewise.
2706 * regex.m4: Likewise.
2707 * stat.m4: Likewise.
2708 * strftime.m4: Likewise.
2709 Suggestion from Alain Magloire.
2711 * chown.m4: Use `.$ac_objext', not `.o'.
2712 * fnmatch.m4: Likewise.
2713 * getgroups.m4: Likewise.
2714 * getline.m4: Likewise.
2715 * lstat.m4: Likewise.
2716 * malloc.m4: Likewise.
2717 * memcmp.m4: Likewise.
2718 * putenv.m4: Likewise.
2719 * realloc.m4: Likewise.
2720 * regex.m4: Likewise.
2721 * stat.m4: Likewise.
2722 * strftime.m4: Likewise.
2723 Suggestion from Alain Magloire.
2725 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
2728 * regex.m4: Add a run-time Test for proper operation of
2731 1999-01-31 Jim Meyering <meyering@ascend.com>
2733 * getloadavg.m4: Check for locale.h and the function, setlocale.
2735 1999-01-30 Jim Meyering <meyering@ascend.com>
2737 * check-type.m4: Use 3-arg form of AC_DEFINE.
2739 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
2740 rather than my private copy, now that the official one is up to date.
2741 * mktime.m4: Remove file.
2743 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
2744 * uptime.m4: Likewise.
2745 * uintmax_t.m4: Likewise.
2747 1999-01-28 Jim Meyering <meyering@ascend.com>
2749 * jm-macros.m4: Use jm_AFS.
2750 * afs.m4: New file (from fileutils' configure.in).
2752 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
2753 * chown.m4: Likewise.
2754 * d-ino.m4: Likewise.
2755 * d-type.m4: Likewise.
2756 * fnmatch.m4: Likewise.
2757 * getgroups.m4: Likewise.
2758 * gettext.m4: Likewise.
2759 * jm-mktime.m4: Likewise.
2760 * jm-winsz2.m4: Likewise.
2761 * lcmessage.m4: Likewise.
2762 * ls-mntd-fs.m4: Likewise.
2763 * malloc.m4: Likewise.
2764 * memcmp.m4: Likewise.
2765 * putenv.m4: Likewise.
2766 * realloc.m4: Likewise.
2767 * st_mtim.m4: Likewise.
2768 * strftime.m4: Likewise.
2770 1999-01-16 Jim Meyering <meyering@ascend.com>
2772 * jm-macros.m4 (ARGMATCH_DIE): Define.
2773 (ARGMATCH_DIE_DECL): Define.
2775 1999-01-12 Jim Meyering <meyering@ascend.com>
2777 * Makefile.am.in: Rewrite to avoid using fmt.
2778 Reported by Lars Hecking.
2780 1999-01-10 Jim Meyering <meyering@ascend.com>
2782 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
2784 * inttypes_h.m4: Likewise.
2785 * lstat.m4: Likewise.
2786 * malloc.m4: Likewise.
2787 * readdir.m4: Likewise.
2788 * realloc.m4: Likewise.
2789 * st_dm_mode.m4: Likewise.
2790 * stat.m4: Likewise.
2791 * utimbuf.m4: Likewise.
2792 * utimes.m4: Likewise.
2794 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
2795 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
2796 comments in config.h.in are meaningful.
2798 * jm-macros.m4: Require autoconf-2.13 here.
2800 * regex.m4: By default, don't use the included regex.c on systems
2801 with glibc 2. Suggestion from Uli Drepper.
2803 1999-01-02 Jim Meyering <meyering@ascend.com>
2805 * jm-macros.m4: Replace strcasecmp and strncasecmp.
2807 1998-12-18 Jim Meyering <meyering@ascend.com>
2809 * Makefile.am.in (Makefile.am): Simplify rule.
2810 Based on a suggestion from Lars Hecking.
2812 1998-11-16 Jim Meyering <meyering@ascend.com>
2814 * lfs.m4: Double-quote the `uname...` expression.
2816 1998-11-16 Paul Eggert <eggert@twinsun.com>
2818 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
2820 1998-11-14 Jim Meyering <meyering@ascend.com>
2822 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
2823 * stat.m4: Likewise.
2825 1998-11-03 Jim Meyering <meyering@ascend.com>
2827 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
2828 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
2830 1998-10-18 Jim Meyering <meyering@ascend.com>
2832 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
2834 1998-10-17 Jim Meyering <meyering@ascend.com>
2836 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
2837 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
2838 calls for those previously hard-coded headers. Instead, take a new
2840 (jm_CHECK_DECLARATIONS): Reflect interface change.
2841 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
2842 (jm_CHECK_DECL_LOCALTIME_R): New macro.
2844 * mktime.m4: Test for spring-forward gap before long-running test.
2846 1998-10-14 Jim Meyering <meyering@ascend.com>
2848 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
2849 instead of "TZ=America/Vancouver". From Paul Eggert.
2851 1998-10-11 Jim Meyering <meyering@ascend.com>
2853 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
2854 This adds a test for a recently added compatibility fix for mktime.c.
2855 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
2857 1998-09-27 Jim Meyering <meyering@ascend.com>
2859 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
2861 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
2862 ../configure.in, including a change from Gordon Matzigkeit to allow
2863 cross-compiling for the Hurd.
2865 * glibc.m4: New file/macro to test for the GNU C Library
2866 versions 1 and 2. From Gordon Matzigkeit.
2869 1998-09-21 Jim Meyering <meyering@ascend.com>
2871 * chown.m4: Declare locals: before, after. From Andries Brouwer.
2873 1998-08-18 Paul Eggert <eggert@twinsun.com>
2875 Port nanosecond-resolution times to UnixWare 2.1.2 and
2876 pedantic Solaris 2.6.
2878 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
2880 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
2881 Generate name of ns member, instead of just 1 or undef.
2882 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
2884 1998-08-15 Jim Meyering <meyering@ascend.com>
2886 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
2887 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
2888 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
2889 instead of jm_TYPE_SSIZE_T.
2891 1998-08-12 Jim Meyering <meyering@ascend.com>
2893 * st_dm_mode.m4: New file. From Johan Danielsson.
2895 1998-08-02 Jim Meyering <meyering@ascend.com>
2897 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
2898 in acconfig.h manually.
2900 1998-07-31 Paul Eggert <eggert@twinsun.com>
2902 * st_mtim.m4: New file.
2904 1998-07-28 Jim Meyering <meyering@ascend.com>
2906 * utimes.m4: Undef stat.
2908 1998-07-25 Jim Meyering <meyering@ascend.com>
2910 * utime.m4 (jm_FUNC_UTIME): New file and macro.
2911 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
2913 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
2915 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
2916 uid and gid actually remain unchanged.
2918 1998-07-07 Jim Meyering <meyering@ascend.com>
2920 * jm-glibc-io.m4: Remove fclose_unlocked.
2922 1998-07-04 Jim Meyering <meyering@ascend.com>
2924 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
2925 to prove that this macro can be used in packages without regex.c.
2927 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2929 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
2932 1998-07-03 Jim Meyering <meyering@ascend.com>
2934 * gettext.m4: Add -lintl if it's found to be necessary.
2936 * gettext.m4: New file -- from gettext-0.10.35.
2937 * lcmessage.m4: Likewise.
2938 * progtest.m4: Likewise.
2940 * regex.m4 (jm_WITH_REGEX): New file and macro.
2941 * jm-macros.m4: Require the new macro.
2943 1998-06-29 Jim Meyering <meyering@ascend.com>
2945 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
2946 for the definition of NGROUPS (used in a system header included
2949 1998-06-28 Jim Meyering <meyering@ascend.com>
2951 * ls-mntd-fs.m4: New file.
2952 * fstypename.m4: New file.
2954 * jm-macros.m4: Require the new macro.
2955 * jm-glibc-io.m4: New file.
2957 1998-05-19 Jim Meyering <meyering@ascend.com>
2959 * jm-macros.m4: Add jm_FUNC_LCHOWN.
2960 * lchown.m4: New file.
2962 * Makefile.am.in: New file.
2963 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
2965 1998-05-14 Jim Meyering <meyering@ascend.com>
2967 * Makefile.am (EXTRA_DIST): Add them.
2968 * jm-macros.m4: New file.
2969 * utimbuf.m4: New file.
2971 1998-05-12 Jim Meyering <meyering@ascend.com>
2973 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
2975 1998-05-11 Jim Meyering <meyering@ascend.com>
2977 * isc-posix.m4: New file.
2979 1998-05-10 Jim Meyering <meyering@ascend.com>
2981 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
2983 1998-05-09 Jim Meyering <meyering@ascend.com>
2985 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
2986 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
2989 * ssize_t.m4: New file.
2990 * mktime.m4: Remove file -- the new automake has this now.
2992 1998-04-26 Jim Meyering <meyering@ascend.com>
2994 * assert.m4: New file.
2995 * Makefile.am (EXTRA_DIST): Add assert.m4.
2997 1998-04-05 Jim Meyering <meyering@ascend.com>
2999 * prereq.m4 (jm_PREREQ_REGEX): New macro.
3000 (jm_PREREQ): Use it here.
3002 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
3004 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
3007 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
3009 * prereq.m4: New file.
3010 * error.m4: New file.
3011 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
3013 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
3015 * getline.m4: Don't set am_cv_func_working_getline before the
3016 cache-check for the same variable -- that defeated the purpose of
3017 the test; the test program was never run. This was a problem only
3018 on systems with losing getline functions -- HP-UX 10.20 is one.
3019 Reported by Bjorn Helgaas.
3021 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
3023 * Makefile.am (EXTRA_DIST): Add perl.m4.
3025 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
3027 * Makefile.am (EXTRA_DIST): Add const.m4.
3029 * const.m4: New file. Use an initializer in this declaration
3030 typedef int charset[2]; const charset x;
3031 Reported by Bob Glickstein.
3033 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
3035 * chown.m4: Fix reversed types on -1 args to chown.
3038 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
3040 * check-decl.m4: s/DECLARATION_/DECL_/g.
3041 Add lseek and memchr.
3043 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
3044 T.E.Dickey <dickey@clark.net> said that some older preprocessors
3045 have a 20-character limit on names.
3047 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
3049 * inttypes_h.m4: New file.
3050 * uintmax_t.m4: New file.
3051 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.