.
[gnulib.git] / m4 / ChangeLog
index 76951c7..14a60bc 100644 (file)
@@ -1,3 +1,290 @@
+2001-03-24  Jim Meyering  <meyering@lucent.com>
+
+       * jm-macros.m4: Require autoconf-2.49d.
+
+2001-03-20  Bruno Haible  <haible@clisp.cons.org>
+
+        * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
+
+2001-03-17  Jim Meyering  <meyering@lucent.com>
+
+       * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
+       now that the version in autoconf is equivalent.
+       (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
+
+       * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
+       Suggestion from Akim Demaille.
+
+       * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
+       (jm_PREREQ_TEMPNAME): New function.
+
+2001-02-25  Paul Eggert  <eggert@twinsun.com>
+
+       * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
+       lacks mkstemp.  Compile our own tempname.c if we compile our own
+       mkstemp.c, as mkstemp relies on tempname.
+
+2001-03-01  Jim Meyering  <meyering@lucent.com>
+
+       * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
+       AH_VERBATIM really does output its argument verbatim.
+
+2001-02-18  Paul Eggert  <eggert@twinsun.com>
+
+       * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
+
+2001-02-17  Jim Meyering  <meyering@lucent.com>
+
+       * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
+       getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
+       further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
+       UnixWare 7.1.1.
+
+       * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
+       rather than AC_CACHE_VAL.
+
+2001-02-17  Paul Eggert  <eggert@twinsun.com>
+
+       * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
+       * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
+       Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
+       * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
+
+2001-02-07  Jim Meyering  <meyering@lucent.com>
+
+       * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
+
+2001-02-05  Jim Meyering  <meyering@lucent.com>
+
+       * jm-macros.m4: Require autoconf-2.14d (not yet released), because
+       it includes the patch required for `large file' support with at least
+       HP-UX's 10.20 /bin/cc.
+
+2001-02-03  Jim Meyering  <meyering@lucent.com>
+
+       * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
+       AS_IF, now that it works once again (mysteriously).
+       * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
+
+2001-01-30  Jim Meyering  <meyering@lucent.com>
+
+       Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
+       * chown.m4: Rename conftestchown to conftest.chown.
+       * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
+       * utimes.m4: s/conftestdata/conftest.data/
+       Inspired by Pavel Roskin's change in autoconf.
+
+2001-01-27  Jim Meyering  <meyering@lucent.com>
+
+       * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
+       a use of AS_IF.
+       * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
+
+2001-01-26  Jim Meyering  <meyering@lucent.com>
+
+       * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
+       quotearg.c includes it.
+
+2001-01-15  Bruno Haible  <haible@clisp.cons.org>
+
+       * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
+       has const.
+
+2001-01-20  Jim Meyering  <meyering@lucent.com>
+
+       Be sure that headers are checked before used in code compiled
+       for the type checks.
+       * jm-macros.m4 (jm_MACROS): Remove all header checks.
+       In place of that, invoke jm_CHECK_ALL_TYPES.
+       (jm_CHECK_ALL_HEADERS): New functions with the above checks.
+       (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
+       Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
+       The check for ssize_t was mistakenly run before the test for unistd.h.
+
+       The configure-time check for stdbool.h was missing.
+       * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
+       (jm_PREREQ_HASH): New function.
+
+2001-01-17  Jim Meyering  <meyering@lucent.com>
+
+       * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
+       for autoconf-2.49c.
+       * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
+
+2001-01-14  Jim Meyering  <meyering@lucent.com>
+
+       * rename.m4: Use temporary directories named conftestdir{,2}, not
+       foo and bar.  Create conftestdir/ in the script, not in the C code.
+       Remove directories in the script, not in the C code.
+       Remove conftestdir{,2} before trying to create the directory.
+       Make the entire configure script fail if the mkdir fails.
+
+2001-01-02  Volker Borchert  <bt@teknon.de>
+
+       * rename.m4: New file.
+       * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
+
+2001-01-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
+       expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
+       so `make install' also works in VPATH builds.
+
+2001-01-01  Jim Meyering  <meyering@lucent.com>
+
+       * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
+       on systems with utmpx.h.  It's necessary for the declaration of utmp's
+       ut_user member.  Reported by Andreas Jaeger.
+
+       * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
+       They are required for the declarations of getgrgid and getpwuid resp.
+       (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
+       Reported by Andreas Jaeger.
+
+2000-12-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
+       prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
+       can be used in subdirectories.
+
+2000-12-26  Jim Meyering  <meyering@lucent.com>
+
+       * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
+       with autoheader.
+
+2000-12-17  Jim Meyering  <meyering@lucent.com>
+
+       * dos.m4 (jm_AC_DOS): New file and macro.
+       * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
+
+2000-12-06  Paul Eggert  <eggert@twinsun.com>
+
+       * off_t-format.m4: Remove this file.
+       * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
+
+2000-12-06  Jim Meyering  <meyering@lucent.com>
+
+       * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
+       strtoull, we may well need the replacement strtoul, too.
+       Check for declarations of strtoul and strtoull.
+       Check for strtol.  Mainly as a cue to cause automake to include
+       strtol.c -- that file is included by each of strtoul.c and strtoull.c.
+       Check for limits.h -- strtol.c needs it.
+
+2000-12-02  Jim Meyering  <meyering@lucent.com>
+
+       * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
+       * jm-macros.m4 (jm_MACROS): require it.
+
+2000-11-30  Jim Meyering  <meyering@lucent.com>
+
+       * jm-macros.m4 (jm_MACROS): Check for stdint.h.
+
+2000-11-30  Jim Meyering  <meyering@lucent.com>
+
+       * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
+
+2000-11-03  Bruno Haible  <haible@clisp.cons.org>
+
+       * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
+
+2000-11-04  Jim Meyering  <meyering@lucent.com>
+
+       * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
+
+2000-10-29  Jim Meyering  <meyering@lucent.com>
+
+       * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
+       * ls-mntd-fs.m4: Likewise
+
+2000-10-28  Jim Meyering  <meyering@lucent.com>
+
+       * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
+       (jm_PREREQ_MEMCHR): New function.
+
+2000-10-21  Jim Meyering  <meyering@lucent.com>
+
+       * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
+       * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
+       * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
+
+2000-09-18  Jim Meyering  <meyering@lucent.com>
+
+       * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
+       Otherwise, everyone ends up linking with -lelf for some configurations.
+       Reported by Mike Stone.
+
+2000-08-26  Jim Meyering  <meyering@lucent.com>
+
+       * jm-macros.m4: Use jm_FUNC_FPENDING.
+       * fpending.m4: New file.
+
+2000-08-20  Jim Meyering  <meyering@lucent.com>
+
+       * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
+       `#if !HAVE_UTMPX_H'.  The latter would lose on systems with neither
+       utmp.h nor utmpx.h.  Reported by Eli Zaretskii.
+
+2000-08-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       Improve fileutils installation on systems where running
+       programs (like install) can't be unlinked.
+       * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
+       * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
+
+2000-08-06  Paul Eggert  <eggert@twinsun.com>
+
+       * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
+       not char, for compatibility with glibc 2.1.3 strftime.c.
+
+2000-07-23  Paul Eggert  <eggert@twinsun.com>
+
+       * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
+
+2000-07-23  Jim Meyering  <meyering@lucent.com>
+
+       * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
+       getgrgid, getpwuid, getuid.
+
+2000-07-16  Bruno Haible  <haible@clisp.cons.org>
+
+       * mbswidth.m4: New file.
+       * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
+
+2000-07-14  Jim Meyering  <meyering@lucent.com>
+
+       * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
+
+2000-07-10  Paul Eggert  <eggert@twinsun.com>
+
+       From a suggestion by Bruno Haible.
+       * mbstate_t.m4 (AC_MBSTATE_T):
+       Renamed from AC_MBSTATE_T_OBJECT.  All uses changed.
+       Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
+       and mbstate_t, to a single-part test that simply defines mbstate_t.
+       * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
+
+2000-07-10  Jim Meyering  <meyering@lucent.com>
+
+       * strerror_r.m4: Mirror the correction made in autoconf.
+
+       * gnu-source.m4: Output to confdefs.h directly.
+       Suggestion from Akim Demaille.
+
+2000-07-09  Jim Meyering  <meyering@lucent.com>
+
+       * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
+       to link seq.  If so, set SEQ_LIBM to -lm.  From Bruno Haible.
+
+       * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
+       * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
+
+2000-07-05  Bruno Haible  <haible@clisp.cons.org>
+
+       * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
+       to strerror_r.
+       Include <ctype.h> for use of isalpha.
+
 2000-07-05  Paul Eggert  <eggert@twinsun.com>
        and Bruno Haible  <haible@clisp.cons.org>
 
 2000-05-26  Bruno Haible  <haible@clisp.cons.org>
 
        * glibc21.m4: New file.
-       * jm-macros.m4: (jm_MACROS): Call jm_GLIBC21.
+       * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
 
 2000-05-28  Jim Meyering  <meyering@lucent.com>
 
        * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
        * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
 
-       * nanosleep.m4: (jm_FUNC_NANOSLEEP): Save and restore LIBS around
+       * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
        AC_SEARCH_LIBS call for nanosleep.
        (LIB_NANOSLEEP): Set and AC_SUBST.
 
 2000-04-17  Jim Meyering  <meyering@lucent.com>
 
        Get it right :-)
-       * jm-macros.m4: (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
+       * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
        actual #define via AH_VERBATIM.  Don't need separate AC_DEFINE.
        Suggestion from Akim Demaille.
 
 2000-04-14  Jim Meyering  <meyering@lucent.com>
 
-       * jm-macros.m4: (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
+       * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
        of AC_DEFINE.  Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
 
 2000-04-13  Jim Meyering  <meyering@lucent.com>
 
 2000-02-05  Jim Meyering  <meyering@lucent.com>
 
-       * jm-macros.m4: (jm_CHECK_ALL_TYPES): Require most macros.
+       * 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
        (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-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):
+       * 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.
 
        * 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
+       * 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.
 
 1999-07-15  Jim Meyering  <meyering@ascend.com>
 
-       * jm-macros.m4: (AC_CHECK_FUNCS): Check for getpagesize.
+       * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
 
 1999-05-22  Jim Meyering  <meyering@ascend.com>