X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2FChangeLog;h=f0893aa2cbd1d2a01732d4a6d75747d88b5f2b25;hb=112ca20edbdbbede4ffeac64892bb4fc5e1b04d6;hp=9703e1558b1deb7a4da1a4cd4c524a41c5c54e1e;hpb=2bbae2d15d4675818cb1b501bd29e83cae2c6690;p=gnulib.git diff --git a/m4/ChangeLog b/m4/ChangeLog index 9703e1558..d5483f476 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,1041 @@ +2004-11-30 Simon Josefsson + + * base64.m4: New file. + +2004-11-30 Simon Josefsson + + * restrict.m4: Add copyright and copying conditions. + +2004-11-25 Paul Eggert + + * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from + GL_FUNC_GETCWD_PATH_MAX for consistency. All uses changed. + Use the _ONCE methods, for efficiency. + Check for fcntl.h. In test program, include + and if available. Remove old K&R cruft from + test program. Check for common errors in GNU/Linux, + OpenBSD, and Solaris. Just set gl_cv_func_getcwd_path_max; + don't do AC_LIBOBJ, as that's getcwd.m4's job. + * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from + AC_FUNC_GETCWD_NULL. All used changed. Change cache variable + name accordingly. + (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros. Revamp to + accommodate new getcwd.c. + * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX. + * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY. + * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since + that's all we need now. + +2004-11-23 Paul Eggert + + * utimens.m4 (gl_UTIMENS): Check for futimes function. + +2004-11-23 Sergey Poznyakoff + + * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally: + argp-parse.c depends on getopt internals, that means we should + always use our getopt, to be on the safe side. + * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in + order not to spoil the result of an eventual previous invocation + of gl_GETOPT_SUBSTITUTE. + +2004-11-17 Paul Eggert + + * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations + that mishandle size_t overflow. + +2004-11-16 Paul Eggert + + * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo. + +2004-11-13 Jim Meyering + + * jm-macros.m4: Do require gl_FUNC_FPENDING. + +2004-11-11 Paul Eggert + + * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead + of replacing opterr, getopt, etc. This should handle the + powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson. + +2004-11-11 Simon Josefsson + + * strtok_r.m4: New file. + + * getopt.m4: Replace opterr. + +2004-11-10 Paul Eggert + + * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV. + +2004-11-10 Jim Meyering + + * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING. + +2004-11-08 Simon Josefsson + + * getaddrinfo.m4: New file. + +2004-11-09 Paul Eggert + + * strftime.m4 (_gl_STRFTIME_PREREQS): Remove. Move its body to + gl_FUNC_STRFTIME. + (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE + and AC_REQUIRE when possible, to avoid duplicate checks. + Check for . + +2004-11-09 Bruno Haible + + * sockpfaf.m4: New file. + +2004-11-03 Albert Chin + Paul Eggert + + * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t + equivalent, substitute $ac_type for equivalent type rather than + blindly using uint32_t *always* which won't work if uint32_t is not + available. Define _UINT32_T to work around typedef of uint32_t if + , , or used on Solaris + 2.5.1. + +2004-11-02 Paul Eggert + + * jm-macros.m4: Sync from coreutils. + (gl_MACROS): Check for mbrlen, for pathchk. + (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk. + +2004-11-02 Bruno Haible + + * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv() + returns void. + +2004-11-01 Paul Eggert + + * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of + fflush_unlocked, flockfile, funlockfile, funlockfile, + fputs_unlocked, putc_unlocked. + +2004-10-22 Paul Eggert + + * getpagesize.m4 (gl_GETPAGESIZE): Check for . + +2004-10-15 Paul Eggert + + * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD + implementation of getopt_long. Problem reported by Alexander Taler in: + http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html + +2004-10-11 Yoann Vandoorselaere + + * vsnprintf.m4: New file. + +2004-10-05 Bruno Haible + + * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check + for the declaration of strsep. + +2004-10-04 Paul Eggert + + * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove. All uses removed. + + * unlocked-io.m4: Add copyright notice. + (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO. + +2004-10-04 Simon Josefsson + + * memmem.m4: New file. + +2004-10-01 Yoann Vandoorselaere + + * strsep.m4: New file. + +2004-09-30 Simon Josefsson + + * snprintf.m4: New file. + +2004-09-09 Bruno Haible + + * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with + modifications. + * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW. + +2004-09-08 Bruno Haible + + * stdint.m4: New file, taken from GNU clisp with modifications. + +2004-08-19 Paul Eggert + + * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA. + +2004-08-12 Paul Eggert + + * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody + uses HAVE_ARGP_H or HAVE_ARGP_PARSE. + Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS. + Check for program_invocation_name, program_invocation_short_name, + flockfile, funlockfile, features.h, _getopt_long_only_r. + +2004-08-12 Simon Josefsson + + * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro, + as discussed with Paul Eggert in threads rooted at + + and + . + Before, the test was empty, and relied on ELIDE_CODE in source + code.) + (gl_PREREQ_GETOPT): New macro. + (gl_GETOPT): Use them. + +2004-08-11 Paul Eggert + + Merge from coreutils. + + * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy. + + * obstack.m4 (gl_PREREQ_OBSTACK): Require + gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T. + +2004-08-09 Paul Eggert + + * uint32_t.m4, uintptr_t.m4: New files. + * sha1.m4: Renamed from sha.m4. + (gl_SHA1): Renamed from gl_SHA. All uses changed. + +2004-08-08 Simon Josefsson + + * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU): + Check getpass declaration. + +2004-08-06 Paul Eggert + + More merge from coreutils. + + * utimens.m4, utimecmp.m4: New files. + * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4, + fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4, + prereq.m4, sha.m4: Import changes from coreutils. + +2004-08-05 Paul Eggert + + Merge from coreutils. + + * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4: + New files. + + * dos.m4 (gl_AC_DOS): filesystem -> file system renaming. + FILESYSTEM_PREFIX_LEN -> + FILE_SYSTEM_PREFIX_LEN. + FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX -> + FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX. + FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR -> + FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR. + + * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the + prerequisite modules now handle the DOS stuff. + Don't check for unistd.h. + +2004-08-03 Simon Josefsson + + * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it. + +2004-08-02 Simon Josefsson + + * getsubopt.m4: New file. + +2004-08-03 Paul Eggert + + * fatal.m4: Remove, as the "fatal" module wasn't used or working. + +2004-07-13 Robert Millan + + * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g. + +2004-06-22 Paul Eggert + + * argz.m4: New file, which is autoupdated from libtool. + +2004-06-01 Jim Meyering + + * calloc.m4: New file. + +2004-06-01 Paul Eggert + + Merge from coreutils CVS. + + * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4, + makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4, + putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4, + strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4, + xstrtol.m4: Fix copyright date and/or serial number. + + * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h. + See if we need an fchown replacement. + (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro. + (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK, + and use the replacement function if we detect either defect. + + * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR, + gl_UTIMECMP. + +2004-05-31 Paul Eggert + + * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI + C B3910B A.05.55 [Dec 04 2003]. Problem reported by Jim Meyering. + Also, fix a typo in a diagnostic. + +2004-05-30 Paul Eggert + + * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC + or AC_FUNC_REALLOC. + +2004-05-20 Andreas Schwab + + * free.m4: Replace free if it not known to work, not the other + way round. + +2004-05-17 Derek R. Price + Paul Eggert + + * argp: Depend on alloca. + +2004-05-16 Paul Eggert + + * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always, + for backward compatibility with older code. We need our own + alloca.h if _AIX is defined. Define HAVE_ALLOCA if we discover + it under some other name, and our alloca.h will define it. + +2004-05-13 Paul Eggert + + * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC. + Check for gettimeofday. + * settime.m4 (gl_SETTIME): Require gl_TIMESPEC. + Check for settimeofday, stime. + +2004-04-20 Paul Eggert + + * host-os.m4: Add a copyright notice. + +2004-04-20 Jim Meyering + + Change UTILS_ to gl_ in AC_DEFINE'd names. + Change utils_- and jm_-prefixed variables, too. + * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from + UTILS_FUNC_MKDIR_TRAILING_SLASH. + * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP. + + * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD. + Don't emit trailing blanks. + Also rename jm_-prefixed variables to have gl_ prefix. + + * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS. + Also rename jm_-prefixed variables to have gl_ prefix. + + * jm-macros.m4: Reflect the renamings. + * prereq.m4: Likewise. + +2004-04-19 Jim Meyering + + * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE, + now that readutmp.c may call `free (0)'. + +2004-04-19 Bruno Haible + + * mbrtowc.m4: Change jm_ to gl_ in cache variables as well. + * inttypes_h.m4: Likewise. + * stdint_h.m4: Likewise. + * intmax_t.m4: Likewise. + * uintmax_t.m4: Likewise. + +2004-04-18 Jim Meyering + + * prereq.m4: Don't forbid jm_ prefix. + + * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4: + * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4: + * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4: + * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4: + * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4: + * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4: + * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4: + * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4: + * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4: + * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4: + * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4: + * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4: + * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4: + * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4: + * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4: + Change jm_ to gl_ in AC_DEFINE'd names. Update all uses. + +2004-04-16 Jim Meyering + + * prereq.m4 (jm_PREREQ_STAT): Remove macro. It is specific to + coreutils' stat program. + (gl_PREREQ): Don't require jm_PREREQ_STAT. + +2004-03-31 Jim Meyering + + * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC. + Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC. + * xalloc.m4: Likewise. + +2004-03-30 Jim Meyering + + * realloc.m4: Remove file, since now it does no more than + AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via + the `configure.ac' section of module/realloc. + * malloc.m4: Likewise, but for AC_FUNC_MALLOC. + +2004-03-30 Paul Eggert + + Merge from coreutils. + + * inttostr.m4: New file. + * getdate.m4 (gl_GETDATE): Remove time-related stuff. + Require AM_STDBOOL_H and gl_TIMESPEC instead. + Require gl_CLOCK_TIME. + * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE. + +2004-03-30 Jim Meyering + + Merge from coreutils. + + Avoid a configure-time warning about sys/ucred.h on OSF V4.0. + * ls-mntd-fs.m4: Test for sys/ucred.h separately, since + on some systems one must include before it. + Reported by Christian Krackowizer. + +2004-03-29 Paul Eggert + + * cloexec.m4: New file. + +2004-03-18 Paul Eggert + Bruno Haible + + * mbswidth.m4 (gl_MBSWIDTH): Also test whether declares + mbswidth. + +2004-03-07 Paul Eggert + + * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK. + All uses changed. Check for sa_sigaction member; this fixes + a bug first reported by Jason Andrade in + . + +2004-01-18 Simon Josefsson + + * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared. + +2004-02-18 Bruno Haible + + * xsize.m4 (gl_XSIZE): Require AC_C_INLINE. + Reported by Derek Robert Price . + +2004-02-06 Karl Berry + + * po.m4: update from gettext 0.14.1. + +2004-02-03 Bruno Haible + + * pipe.m4: New file, from GNU gettext. + +2004-01-27 Bruno Haible + + * execute.m4: New file, from GNU gettext. + +2003-11-24 Bruno Haible + + * allocsa.m4: New file, from GNU gettext. + +2003-11-24 Bruno Haible + + * eealloc.m4: New file, from GNU gettext. + +2004-01-15 Paul Eggert + + Merge from coreutils. + + * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t. + * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION. + (gl_DEFAULT_POSIX2_VERSION): Move + the documentation from 'configure' into 'config.hin', + so that 'configure --help' isn't burdened by it and + we don't have to worry about its formatting there. + Reword the documentation so that it's more succinct + and can be run together into a single paragraph. + * same.m4 (gl_SAME): Check for pathconf. + +2004-01-15 Jim Meyering + + Merge from coreutils. + + * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME + if no library is required. + * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX. + * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE. + * jm-macros.m4 (jm_MACROS): Require autoconf-2.58. + (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58. + * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW. + * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the + value, $ac_cv_search_crypt, if it's "none required". + * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro. + * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG, + not gl_FUNC_GETLOADAVG. + * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH, + gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS. + +2004-01-15 Alexandre Duret-Lutz + + Merge from coreutils. + + * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the + value, $ac_cv_search_nanosleep, if it's "none required". + +2003-12-03 Bruno Haible + + * gettext.m4: Upgrade from gettext-0.13. + * po.m4: Upgrade from gettext-0.13. + * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here. + * intmax.m4: New file, from gettext-0.13. + * printf-posix.m4: New file, from gettext-0.13. + +2003-11-25 Bruno Haible + + * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require + gt_TYPE_SSIZE_T. + +2003-11-17 Bruno Haible + + * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T. + +2003-11-12 Paul Eggert + + * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or + gl_PTRDIFF_MAX. + +2003-11-11 Bruno Haible + + * size_max.m4: New file. + * ptrdiff_max.m4: New file. + * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX. + * xalloc.m4 (gl_PREREQ_XALLOC): New macro. + (gl_XALLOC): Invoke it. + +2003-11-04 Bruno Haible + + * xsize.m4: New file. + +2003-11-03 Bruno Haible + + * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid. + +2003-10-30 Paul Eggert + + * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to + netbsd*-gnu*. Suggested by Robert Millan. + +2003-10-29 Paul Eggert + + * xalloc.m4 (gl_XALLOC): Undo previous change. + +2003-10-29 Paul Eggert + + * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu. Add comments + to it, and to knetbsd*-gnu and kfreebsd*-gnu. Remove the '*' from + after the 'gnu' in these cases. This fixes some bugs in the + previous change, and is based on suggestions by Robert Millan. + +2003-10-28 Paul Eggert + + * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and + GNU/KNetBSD. These implementations use glibc atop the FreeBSD and + NetBSD kernels. Requested by Richard Stallman. + +2003-10-26 Paul Eggert + + * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h + now uses inline. + +2003-10-23 Paul Eggert + + * getline.m4 (AM_FUNC_GETLINE): + Don't include getndelim2.o twice into LIBOBJS; this breaks on some + hosts. Problem reported by Derek Robert Price in + . + This patch can be withdrawn after Autoconf 2.58 is required for gnulib. + * getndelim2.m4 (gl_GETNDELIM2): Likewise. + +2003-10-20 Bruno Haible + + * wait-process.m4: New file. + +2003-10-14 Bruno Haible + + * sig_atomic_t: New file, from GNU gettext. + * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T. + +2003-10-12 Paul Eggert + + * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE. + +2003-10-10 Simon Josefsson + + * argp.m4: Add AC_C_INLINE. + +2003-10-08 Paul Eggert + + * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h. + +2003-10-06 Bruno Haible + + * fatal-signal.m4: New file. + * signalblocking.m4: New file, from GNU gettext. + +2003-09-27 Paul Eggert + + * free.m4: New file. + +2003-09-26 Bruno Haible + + * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy(). + Don't define stpncpy through config.h; it's now done through stpncpy.h. + +2003-09-25 Simon Josefsson + Bruno Haible + + * getdomainname.m4: New file. + +2003-09-17 Paul Eggert + + * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first, + to avoid spurious warnings like "AC_RUN_IFELSE was called before + gl_USE_SYSTEM_EXTENSIONS" from autoreconf. + +2003-09-12 Paul Eggert + + * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it. + + * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX + and AC_MINIX, too, so that their extensions are available. + + * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed. + This macro has been superseded by gl_BACKUPFILE. + + More patches to assume C89 or better. + + * error.m4 (gl_ERROR): Don't check for vprintf. + + * check-decl.m4 (jm_CHECK_DECLS): Include , + unconditionally. + * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h. + * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): + Include , unconditionally. + * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free. + * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h. + * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers + or for string.h. + * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h + or strtoul. + + * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers. + * strdup.m4 (gl_PREREQ_STRDUP): Likewise. + * userspec.m4 (gl_USERSPEC): Likewise. + * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise. + * xstrtod.m4 (gl_XSTRTOD): Likewise. + * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise. + * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h, + memcpy, memset. + (jm_FUNC_GNU_STRFTIME): Don't require standard C headers. + * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h. + * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol. + * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h. + * userspec.m4 (gl_USERSPEC): Do not check for string.h. + * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol, + strtoul. + +2003-09-11 Paul Eggert + + More patches to assume C89 or better. + * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check. + * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h, + string.h, memchr, STDC_HEADERS. + +2003-09-10 Bruno Haible + + * strcspn.m4 (gl_PREREQ_STRCSPN): Remove check. + * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove check. + * strstr.m4 (gl_PREREQ_STRSTR): Remove check. + * unicodeio.m4 (gl_UNICODEIO): Remove check. + * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove + and checks. + * xreadlink.m4 (gl_XREADLINK): Remove check. + * yesno.m4 (gl_YESNO): Remove check. + +2003-09-09 Paul Eggert + + More patches to assume C89 or better. + * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h. + * getopt.m4 (gl_GETOPT): Don't check for string.h. + * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers + or for string.h. + * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h. + * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C + headers. + * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h, + string.h. + * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free. + * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv. + * idcache.m4 (gl_IDCACHE): Do not check for standard C headers, + or for string.h. + * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h. + * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard + C headers. + * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers, + memcpy. + * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy. + * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h. + * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h. + * memcoll.m4 (gl_MEMCOLL): Likewise. + * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h. + * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h, + string.h, free. + * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers. + * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers. + * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard + C headers, or for string.h. + * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h. + (gl_PREREQ_OBSTACK): Don't check for stdlib.h. + * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C + headers, memory.h, stdlib.h, string.h, strings.h. + * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h. + * posixver.m4 (gl_POSIXVER): Don't check for getenv. + * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy, + strchr. + * readtokens.m4 (gl_READTOKENS): Don't check for standard C + headers, memory.h, string.h. + * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h. + * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h, + free. + * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers. + * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free. + * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers. + * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers. + * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h. + * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h. + +2003-09-09 Derek Robert Price + + * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the + C89 spec. + +2003-09-08 Paul Eggert + + Assume C89 or better; remove K&R cruft. + * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h. + * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h, + string.h, getenv, malloc. + * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard + headers. + * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h. + * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and + do not check for strerror. + * exclude.m4: Do not check for stdlib.h, string.h, strings.h. + * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h. + * fatal.m4 (gl_FATAL): Do not require STDC headers, and + do not check for doprnt or vprintf. + * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed. + * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h. + +2003-09-06 Paul Eggert + + * time_r.m4: New file. + * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h. + * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is. + Check for timegm declaration. + (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME. + Do not check for gmtime_r. + Replace mktime if __mktime_internal does not exist and if mktime + hasn't been replaced already. + +2003-08-31 Simon Josefsson + + * timegm.m4: New file. + +2003-08-26 Bruno Haible + + * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here. + This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch' + followed by '#define fnmatch fnmatch_posix' gives an error. + +2003-08-27 Jim Meyering + + * mkstemp.m4: Require that the system mkstemp be able to create + 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function + would fail after 32. Reported by Danny Levinson. Details here: + http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html + +2003-08-20 Karl Berry + + * lib-ld.m4: serial 1003 from gettext, no changes besides serial. + +2003-08-19 Jim Meyering + + * lib-ld.m4: Revert yesterday's change, per Bruno's request here: + http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html + +2003-08-19 Bruno Haible + + * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for any more. + +2003-08-18 Jim Meyering + + * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB). + * lib-ld.m4: Likewise. + +2003-08-17 Simon Josefsson + + * argp.m4: New file. + +2003-08-17 Simon Josefsson + + * xstrndup.m4: New file. + +2003-08-16 Jim Meyering + + * utimes.m4 (gl_FUNC_UTIMES): New file. + * utimes.m4: Removed. + * utimes-null.m4: Renamed from utimes.m4. + + * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size + to 1MB, so as not to render systems with no stack size limit (e.g., + linux-2.2.x) unusable. Suggestion and code from Bruno Haible. + Include . On some systems, + it is required for the definition of _SC_PAGESIZE. + +2003-08-16 Paul Eggert + + Merges from coreutils, etc. + * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax + error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28. + * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE, + fixing a typo. + * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD. + * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL. + +2003-08-16 Jim Meyering + and Paul Eggert + + Merges from coreutils, etc. + + * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define + using the latest version from cvs. This avoids problems with #line + directives using a vendor (Sun) compiler. + (jm_MACROS): Bump prerequisite from 2.52g to 2.57. + Don't set GETGROUPS_LIB here; now it's + done via getgroups.m4's wrapper function. + AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here, + rather than just in sh-util/configure.in, so that the + now-shared-by-fileutils-and-textutils lib/Makefile.am are all the + same. + Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new + AC_FUNC_GETLOADAVG where to find getloadavg.c. + Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME, + UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR, + gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME. + Remove code that is now done by the newly-required macros. + Append $(EXEEXT) to DF_PROG. + AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown. + Do not invoke or require the following here, + since prereq.m4 or some gnulib .m4 now does this for us: + gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME, + jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC, + jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP, + jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV, + jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX, + AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF, + vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE, + AC_FUNC_OBSTACK. + Do not replace the following functions, as this is now the job + of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname, + getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul + strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp, + atexit getpass, strdup, getpagesize. + Replace 'raise'. + Do not check for the following functions, as this is now the job + of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime, + getcwd, getmntinfo, resolvepath. But check for sysctl, setreuid, + setregid. + (jm_CHECK_ALL_HEADERS): Do not check for fenv.h. + Check for sys/sysctl.h. + (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE, + jm_CHECK_TYPE_STRUCT_TIMESPEC. Invoke gt_TYPE_SSIZE_T instead + of checking for ssize_t ourselves. + + * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them. + Require every macro that gnulib/modules/* suggests for us. + (jm_PREREQ_ADDEXT): New macro. + (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4. + Require jm_AC_TYPE_LONG_LONG instead of invoking it. + + * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro. + (gl_PHYSMEM): Use it. + Also check for `table' function. + Check for new headers and functions. + Add check for sys/sysmp.h. + With suggestions from Kaveh Ghazi. + Ignore headers that are present but cannot be compiled. This + avoids spurious warnings on Solaris 9 sparc with Forte Developer 7 + C 5.4. + +2003-08-16 Jim Meyering + + Merges from coreutils. + * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_) + prefix. Adjust cache variables similarly. Create 500 rather than + just 300 files, to exercise bug on Darwin6.5, too. + * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir. + * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS. + Reported by mkc@mathdogs.com. + Also change use of $am_cv_sys_posix_termios + to $ac_cv_sys_posix_termios. Reported by Andreas Schwab. + * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS + and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB. + * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in + /proc/mounts until it finds one with matching device number. This is + unnecessary when the FILE argument *is* a mount point. No stat call + is necessary in that case. So, disable the statvfs-testing code on + systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh + as RedHat bug# 84846. + * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size + to 1MB, so as not to render systems with no stack size limit (e.g., + linux-2.2.x) unusable. Suggestion and code from Bruno Haible. + Include . On some systems, + it is required for the definition of _SC_PAGESIZE. + +2003-08-15 Jim Meyering + and Paul Eggert + + Merges from coreutils, etc. + * strftime.m4 (_jm_STRFTIME_PREREQS): + Require gl_FUNC_TZSET_CLOBBER. + * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit, + ut_exit.ut_termination, and ut_exit.e_termination members. + +2003-08-14 Paul Eggert + + Help the merge from coreutils. + * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro. + (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it. + * tzset.m4: Use it too. + +2003-08-14 Jim Meyering + + Merge from coreutils. + * tzset.m4: New file. + * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT + test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1 + systems would end up using the latter. MOUNTED_GETMNTENT1 support + is inadequate on such systems: 1) detecting whether a file system + is remote doesn't work 2) the MOUNTED_VMOUNT code reports the + HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports + merely /MOUNT_POINT. Reported by Mike Jetzer. + +2003-08-13 Paul Eggert + + * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC. + Check for isascii. + + * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4, + lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4: + Undo previous (whitespace-only) change. + +2003-08-12 Paul Eggert + + * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4, + lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4: + Normalize leading white space and remove trailing white space. + + Merge from coreutils + * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl. + + * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext + 0.12.1. These files are now being upgraded automatically by + ../config/srclist-update. + +2003-08-11 Bruno Haible + + * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen. + +2003-08-09 Paul Eggert + + * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371"; + apparently Emacs's Unicode mode got confused before my 2003-08-05 + checkin. + +2003-08-08 Paul Eggert + + * extensions.m4: New file. + * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): + Require gl_USE_SYSTEM_EXTENSIONS. + * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): + Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE. + +2003-08-07 Paul Eggert + + * restrict.m4: New file. + * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT. + +2003-08-07 Bruno Haible + + * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes + the module 'getndelim2' compatible with the module 'getline'. + +2003-08-05 Paul Eggert + + * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII + byte with "\201" to avoid glitches when editing that source file + with multi-gnome-terminal. + +2003-07-31 Bruno Haible + + * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro. + +2003-07-18 Bruno Haible + + * getndelim2.m4: New file. + * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and + invoke gl_PREREQ_GETNDELIM2. + (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by + gl_PREREQ_GETNDELIM2. + * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by + gl_GETNDELIM2. + +2003-07-17 Bruno Haible + + * Makefile.am.in: Remove file. + * Makefile.am: Remove file. + * Makefile.in: Remove file. + +2003-07-17 Bruno Haible + + * getnline.m4: New file. + +2003-07-14 Simon Josefsson + + * mempcpy.m4: New file. + +2003-07-10 Jim Meyering + + * clock_time.m4: Remove trailing blank. + * intmax_t.m4: Likewise. + +2003-07-01 Paul Eggert + + * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since + xreadlink.c now includes it unconditionally. + 2003-07-01 Bruno Haible * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include . @@ -60,7 +1098,7 @@ * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise. * userspec.m4 (gl_USERSPEC): Likewise. * xreadlink.m4 (gl_XREADLINK): Likewise. - * m4/xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise. + * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise. * quote.m4 (gl_QUOTE): Don't check for stddef.h. 2003-05-26 Jim Meyering @@ -901,7 +1939,7 @@ 2002-02-15 Paul Eggert - * m4/prereq.m4 (jm_PREREQ_POSIXVER): New macro. + * prereq.m4 (jm_PREREQ_POSIXVER): New macro. (jm_PREREQ): Use it. 2002-01-26 Jim Meyering @@ -927,7 +1965,7 @@ 2001-11-20 Jim Meyering * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that - SunOS4.1.4 and solaris2.5.1 lose, too. + SunOS 4.1.4 and Solaris 2.5.1 lose, too. 2001-11-19 Jim Meyering @@ -1016,7 +2054,7 @@ * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS) [one-argument getmntent function]): Include stdio.h before mntent.h. - SunOS4.1.x needs it for the declaration of `FILE'. + SunOS 4.1.x needs it for the declaration of `FILE'. Patch by Volker Borchert. * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS) @@ -1335,7 +2373,7 @@ 2001-03-20 Bruno Haible - * iconv.m4 (jm_ICONV): Recommend GNU libiconv. + * iconv.m4 (jm_ICONV): Recommend GNU libiconv. 2001-03-17 Jim Meyering @@ -1841,7 +2879,7 @@ * search-libs.m4: Update from autoconf. - su doesn't work on Solaris2.6. + su doesn't work on Solaris 2.6. * lib-check.m4: When checking for struct spwd.sp_pwdp, also include . Reported by Dragos Harabor. @@ -1988,7 +3026,7 @@ 2000-02-09 Jim Meyering * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in - struct spwd, rather than in struct passwd. Reported by Ga� Qu�i. + struct spwd, rather than in struct passwd. Reported by Gaël Quéri. 2000-02-08 Akim Demaille @@ -2046,7 +3084,7 @@ 2000-01-28 Jim Meyering * perl.m4: Change format of warning message to look more like that - from the missing script. Suggestion from Fran�is Pinard. + from the missing script. Suggestion from François Pinard. 2000-01-25 Jim Meyering @@ -2807,3 +3845,8 @@ * inttypes_h.m4: New file. * uintmax_t.m4: New file. * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4. + +Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 + Free Software Foundation, Inc. +Copying and distribution of this file, with or without modification, +are permitted provided the copyright notice and this notice are preserved.