Require AC_HEADER_TIME before the cache check so
[gnulib.git] / m4 / ChangeLog
index 2ecb2b6..712867b 100644 (file)
@@ -1,3 +1,260 @@
+2000-03-02  Jim Meyering  <meyering@lucent.com>
+
+       * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
+       rather than jm_CHECK_DECLARATIONS.
+       * decl.m4: Remove now-unused file.
+
+       * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
+
+2000-02-27  Jim Meyering  <meyering@lucent.com>
+
+       * check-decl.m4: Add getenv to the list.
+
+2000-02-23  Jim Meyering  <meyering@lucent.com>
+
+       * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
+       in place of my hack.
+
+2000-02-10  Jim Meyering  <meyering@lucent.com>
+
+       * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
+       gnu_nanosleep to rpl_nanosleep.
+
+2000-02-09  Jim Meyering  <meyering@lucent.com>
+
+       * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
+       struct spwd, rather than in struct passwd.  Reported by Gaël Quéri.
+
+2000-02-08  Akim Demaille  <akim@epita.fr>
+
+       * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
+       `[' and `]' and remove uses of `changequote'.
+       (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
+       (AC_SYS_LARGEFILE): Likewise.
+       * gettext.m4 (AM_GNU_GETTEXT): Likewise.
+       * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
+       of changequote.
+       * regex.m4 (jm_INCLUDED_REGEX): Likewise.
+       * readdir.m4 (jm_FUNC_READDIR): Likewise
+       * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
+       * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
+
+2000-02-05  Jim Meyering  <meyering@lucent.com>
+
+       * jm-macros.m4: (jm_CHECK_ALL_TYPES): Require most macros.
+       Remove explicit use of AC_HEADER_TIME.  It is required by
+       jm_CHECK_TYPE_STRUCT_TIMESPEC.  Using AC_HEADER_TIME and
+       `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
+       in autoconf whereby the expansion of the latter ended up preceding
+       the expansion of its prerequisite, AC_HEADER_TIME.
+       Reported by Volker Borchert.
+
+2000-02-03  Jim Meyering  <meyering@lucent.com>
+
+       * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
+
+2000-02-02  Jim Meyering  <meyering@lucent.com>
+
+       * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
+       definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
+       Reported by Eli Zaretskii.
+
+2000-01-31  Jim Meyering  <meyering@lucent.com>
+
+       * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
+       functions.  Add the time.h and sys/time.h headers along with the
+       AC_REQUIRE'ment of AC_HEADER_TIME.
+
+2000-01-30  Jim Meyering  <meyering@lucent.com>
+
+       * lib-check.m4: Clean up some kludgy old shadow password tests.
+
+       * prereq.m4 (utmp_includes): Define.
+       Check for ut_user and ut_name members in both struct utmpx
+       and struct utmp.
+
+2000-01-29  Jim Meyering  <meyering@lucent.com>
+
+       * lib-check.m4: New file containing library-related checks from
+       fileutils and sh-utils (textutils had none).
+
+2000-01-28  Jim Meyering  <meyering@lucent.com>
+
+       * perl.m4: Change format of warning message to look more like that
+       from the missing script.  Suggestion from François Pinard.
+
+2000-01-25  Jim Meyering  <meyering@lucent.com>
+
+       * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
+       as time.h in the compile check.
+       * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
+       Fix typo in cross-compiling case: s/yes/no/.
+
+2000-01-23  Jim Meyering  <meyering@lucent.com>
+
+       * jm-macros.m4: Move df-related tests here from fileutils/configure.in
+
+       * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
+       (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
+
+       * fsusage.m4: New file.  Extracted from fileutils/configure.in.
+       s/space/ac_fsusage_space/.
+       (jm_FILE_SYSTEM_USAGE): Take two parameters.
+
+       * ftruncate.m4: New file (derived from part of fileutils/configure.in).
+       * jm-macros.m4: (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
+       (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
+
+       * jm-macros.m4: (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
+       AC_SUBST these 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.
+       (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
+       (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
+       (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
+       (AC_SUBST(POW_LIBM)): Likewise.
+       (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
+
+2000-01-22  Jim Meyering  <meyering@lucent.com>
+
+       * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
+
+       * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
+
+       * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
+       configure.in
+       (AC_CHECK_HEADERS): Likewise for sh-utils.
+       (AC_CHECK_HEADERS): Likewise for textutils.
+       Merge the three lists of headers.
+
+       * prereq.m4 (jm_PREREQ_ADDEXT): New macro.  Parts moved here
+       from fileutils' configure.in.
+
+       * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
+       Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
+
+       * check-decl.m4: Use #if rather than #ifdef.
+       Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
+       (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
+       (_jm_DECL_HEADERS): Define new function.
+       (jm_CHECK_DECLARATIONS): Require it.
+
+2000-01-19  Jim Meyering  <meyering@lucent.com>
+
+       * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
+       Use AC_HEADER_TIME.  Volker Borchert reported that OpenBSD-2.3/sparc
+       defines `struct timespec' in <sys/time.h>
+
+       * c-bs-a.m4: Remove uses of changequote altogether.
+       Thanks to Akim for explaining.
+
+2000-01-16  Jim Meyering  <meyering@lucent.com>
+
+       * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
+       AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
+       jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
+       AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
+
+2000-01-16  Jim Meyering  <meyering@lucent.com>
+
+       * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
+       because the latter didn't work.
+
+2000-01-15  Jim Meyering  <meyering@lucent.com>
+
+       * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
+       (AC_REPLACE_FUNCS): Add memcpy and memset.
+       Add these, too: stime strcspn stpcpy strstr strtol strtoul.
+       Add strpbrk.
+       Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
+
+2000-01-12  Jim Meyering  <meyering@lucent.com>
+
+       * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
+       (jm_PREREQ): Use it.
+       (jm_PREREQ_READUTMP): New macro.
+       (jm_PREREQ): Use it.
+
+2000-01-11  Paul Eggert  <eggert@twinsun.com>
+
+       Quote multibyte characters correctly.
+       * m4/c-bs-a.m4: New file.
+       * m4/prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
+       (jm_PREREQ): Use it.
+
+2000-01-11  Paul Eggert  <eggert@twinsun.com>
+
+       * m4/uintmax_t.m4: Port to autoconf 2.13.
+
+2000-01-08  Jim Meyering  <meyering@ascend.com>
+
+       * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
+       * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
+
+2000-01-04  Jim Meyering  <meyering@ascend.com>
+
+       * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
+       jm_STRUCT_DIRENT_D_TYPE.
+       * d-ino.m4: (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
+       jm_STRUCT_DIRENT_D_INO.
+       * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
+       jm_STRUCT_UTIMBUF.
+       * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
+       * utime.m4: Likewise.
+
+       * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
+       * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
+
+2000-01-03  Paul Eggert  <eggert@twinsun.com>
+
+       * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
+       (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
+
+2000-01-02  Jim Meyering  <meyering@ascend.com>
+
+       * search-libs.m4: Escape `$' in $3 of dnl comment.  I no longer
+       remember if this is necessary.
+
+1999-12-26  Jim Meyering  <meyering@ascend.com>
+
+       * jm-macros.m4: Use it here.
+       * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
+
+1999-12-23  Jim Meyering  <meyering@ascend.com>
+
+       * jm-macros.m4: Check for clock_gettime (moved from
+       fileutils/configure.in)
+       Check for gettimeofday.
+
+1999-12-20  Jim Meyering  <meyering@ascend.com>
+
+       * strftime.m4: Remove kludge, now that I'm using the fixed
+       autoconf-2.14a-1999-12-20.
+
+1999-12-19  Jim Meyering  <meyering@ascend.com>
+
+       * lstat-slash.m4: New file.
+       * jm-macros.m4: Use the new macro:
+       jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
+
+1999-12-07  Jim Meyering  <meyering@ascend.com>
+
+       * perl.m4: Require that File::Compare be available, too.
+       Too many systems seem to lack it.
+
+       * strftime.m4: Add checks for most of the cpp macros tested in
+       GNU's strftime.c.  Prompted by a patch from Paul Eggert.
+
+1999-11-18  Paul Eggert  <eggert@twinsun.com>
+
+       * m4/largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
+       problem with the QNX 4.25 shell, which doesn't propagate exit
+       status of failed commands inside shell assignments.
+
+1999-11-17  Jim Meyering  <meyering@ascend.com>
+
+       * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
+
 1999-11-07  Jim Meyering  <meyering@ascend.com>
 
        * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.