* memxor.m4: Require gl_C_RESTRICT.
[gnulib.git] / m4 / ChangeLog
index d972297..90e952b 100644 (file)
@@ -1,3 +1,454 @@
+2005-10-06  Simon Josefsson  <jas@extundo.com>
+
+       * memxor.m4: Require gl_C_RESTRICT.
+
+2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for
+       sys/socket.h, netdb.h, sys/types.h; the checks areno longer
+       needed, since the source code now assumes these .h files.
+
+2005-10-05  Simon Josefsson  <jas@extundo.com>
+
+       * memxor.m4: New file.
+
+2005-10-02  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Sync from coreutils.
+       * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
+       * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
+       defines ULONG_MAX_LT_ULLONG_MAX.  Thomas M.Ott reports that
+       ULLONG_MAX doesn't work with 2.7.2.1.
+
+2005-10-02  Jim Meyering  <jim@meyering.net>
+
+       Sync from coreutils.
+       * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
+       from glibc-2.2.5 that fails for read-only files.
+
+2005-10-02  Alfred M. Szmidt  <ams@gnu.org>
+
+       Sync from coreutils.
+       * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
+       against `yes', rather than just testing for nonempty.
+
+2005-10-01  Simon Josefsson  <jas@extundo.com>
+
+       * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
+       and Darwin.
+
+       * getaddrinfo.m4: Use AC_GNU_SOURCE, GNU only declare getaddrinfo
+       as an (POSIX) extension.  Check for sys/types.h, sys/socket.h, and
+       netdb.h too, needed by getaddrinfo.h.  Check if getaddrinfo,
+       freeaddrinfo and gai_strerror are declared by the POSIX headers.
+       Check if struct addrinfo is declared.
+
+2005-10-01  Jim Meyering  <jim@meyering.net>
+
+       Sync from coreutils.
+
+       * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
+       libraries [inet nsl socket xnet].  Nelson Beebe reported that with
+       native cc on Solaris 7, getaddrinfo.c requires -lsocket.
+       * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
+       in the inet and nsl libraries.  Required on Solaris 5.7.
+
+2005-09-24  Jim Meyering  <jim@meyering.net>
+
+       Sync from coreutils.
+       * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
+       in the inet and nsl libraries.  Required on Solaris 5.7.
+
+2005-09-26  Bruno Haible  <bruno@clisp.org>
+
+       * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
+       mbchar.c if they are not both present.
+       * mbfile.m4 (gl_MBFILE): Require gl_FUNC_MBRTOWC.
+       * mbiter.m4 (gl_MBITER): Likewise.
+       * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
+       * strcasestr.m4 (gl_PREREQ_STRCASESTR): Likewise.
+       * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
+
+2005-09-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
+       and similarly for the other external symbols.  Problem reported
+       by James Gallager.
+
+       * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
+       bug reported by Jim Meyering.
+
+       * utimens.m4 (gl_UTIMENS): Check for futimesat.
+       * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
+       not needed, since socklen is a prerequisite module.
+
+2005-09-23  Jim Meyering  <jim@meyering.net>
+
+       Sync from coreutils.
+       Correct build failure (socklen_t not defined) on at least
+       mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
+       * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
+
+2005-09-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Sync from coreutils.
+       * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
+
+2005-09-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Sync from coreutils.
+
+       * backupfile.m4, calloc.m4, chown.m4, cloexec.m4, dup2.m4:
+       * fileblocks.m4, free.m4, ftruncate.m4, getcwd.m4, getpagesize.m4:
+       * getugroups.m4, group-member.m4, idcache.m4, link-follow.m4:
+       * mkstemp.m4, mktime.m4, mountlist.m4, nanosleep.m4, pathmax.m4:
+       * physmem.m4, posixver.m4, putenv.m4, safe-read.m4, same.m4:
+       * save-cwd.m4, stdio-safer.m4, unistd-safer.m4, unlinkdir.m4:
+       * userspec.m4, xgetcwd.m4, xreadlink.m4:
+       Don't bother checking for string.h, stdlib.h, unistd.h.
+       * fts.m4 (gl_FUNC_FTS_CORE): Don't require
+       AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
+       module's job.
+       * jm-macros.m4 (gl_MACROS): Likewise.
+       * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
+
+       * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
+       (gl_GETDATE): Use it.
+
+       * mkdir-p.m4 (gl_MKDIR_PARENTS): Don't bother checking for unistd.h.
+
+2005-09-22  Jim Meyering  <jim@meyering.net>
+
+       Sync from coreutils.
+
+       * lstat.m4 (gl_FUNC_LSTAT):
+       Use AC_LIBSOURCES to require lstat.c and lstat.h.
+       Remove obsolete comment.
+       * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
+       * xstrtod.m4: Likewise.
+
+       * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
+
+2005-09-19  Simon Josefsson  <jas@extundo.com>
+
+       * socklen.m4: Fix typo.
+
+2005-09-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * st_mtim.m4: Remove.  Superseded by...
+       * stat-time.m4: New file.
+       * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
+       Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
+
+2005-09-15  Derek Price  <derek@ximbiot.com>
+
+       * strstr.m4 (gl_FUNC_STRSTR): Don't define strstr here.
+
+2005-09-12  Derek Price  <derek@ximbiot.com>
+
+       Make canon-host require getaddrinfo.
+       * canon-host.m4 (gl_CANON_HOST): Remove most dependencies.
+       AC_LIBSOURCE canon-host.h.  Call...
+       (gl_PREREQ_CANON_HOST): ...this new function, which requires
+       gl_GETADDRINFO.
+       * getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when needed.
+
+2005-09-12  Derek Price  <derek@ximbiot.com>
+           Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c,
+       glob_.h, glob-libc.h.
+       (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed.
+
+2005-08-31  Simon Josefsson  <jas@extundo.com>
+
+       * socklen.m4: New file.
+
+2005-09-03  Derek Price  <derek@ximbiot.com>
+
+       * getlogin_r (gl_GETLOGIN_R): Fix cut & paste error.
+       From Larry Jones <lawrence.jones@ugs.com>.
+
+2005-08-27  Bruno Haible  <bruno@clisp.org>
+
+       Support for lib vs. lib64 distinction on biarch platforms.
+       * lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): New macro.
+       (AC_LIB_PREFIX): Require it. Use $acl_libdirstem instead of 'lib'.
+       * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
+
+2005-09-01  Jim Meyering  <jim@meyering.net>
+
+       * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
+       CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
+       Require gl_STAT_MACROS, too.
+
+2005-08-31  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * regex.m4 (gl_REGEX): Require AC_SYS_LARGEFILE, Define
+       _REGEX_LARGE_OFFSETS).  Test for regoff_t/off_t bug in 64-bit
+       and large-file glibc and in 32-bit large-file Solaris.
+
+2005-08-28  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool.m4: New file.
+
+2005-08-27  Jim Meyering  <jim@meyering.net>
+
+       * stdlib-safer.m4: New file.  From coreutils.
+       * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h.
+       * fcntl-safer.m4 (gl_FCNTL_SAFER): Add creat-safer.c to the
+       AC_LIBSOURCES list and arrange to compile it via AC_LIBOBJ.
+       * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise, add pipe-safer.c.
+       Add pipe-safer.c and unistd--.h to the AC_LIBSOURCES list.
+
+2005-08-24  Simon Josefsson  <jas@extundo.com>
+
+       * getpass.m4: Check for termios.h, tcgetattr, tcsetattr, and
+       __fsetlocking.
+
+2005-08-25  Stepan Kasal  <kasal@ucw.cz>
+
+       * regex.m4: Add AC_PREREQ(2.50).
+       (gl_REGEX): If --with-included-regex was given, skip the autodetection.
+
+2005-08-25  Bruno Haible  <bruno@clisp.org>
+
+       * minmax.m4: Require autoconf 2.52.
+       (gl_MINMAX_IN_HEADER): Add comments. Use m4_pushdef/m4_popdef instead
+       of define/undefine. Use AS_TR_SH and AS_TR_CPP as more robust
+       alternatives of translit over the alphabet.
+       Based on a patch from Stepan Kasal <kasal@ucw.cz>.
+
+2005-08-24  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * regex.m4 (gl_REGEX): Use POSIX-compliant spellings when testing
+       for GNU regex features.
+
+2005-08-24  Jim Meyering  <jim@meyering.net>
+
+       Sync from coreutils.
+       * fcntl-safer.m4: New file.
+
+       * xgetcwd.m4: Use AC_LIBSOURCES and AC_LIBOBJ to indicate source
+       and object files for this module.
+
+2005-08-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * regex.m4 (gl_INCLUDED_REGEX): Remove; no longer used.
+       All contents moved to gl_REGEX.
+       (gl_REGEX): Don't bother checking whether lib/regex.c exists;
+       assume that it does.
+
+2005-08-20  Bruno Haible  <bruno@clisp.org>
+
+       * regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
+
+2005-08-17  Bruno Haible  <bruno@clisp.org>
+
+       * strcasestr.m4: New file.
+
+2005-08-17  Bruno Haible  <bruno@clisp.org>
+
+       * strstr.m4 (gl_FUNC_STRSTR): Use the replacement function always.
+       (gl_PREREQ_STRSTR): Use gl_FUNC_MBRTOWC.
+
+2005-08-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * getopt.m4 (gl_GETOPT_CHECK_HEADERS): Do not override the results
+       of gl_GETOPT_SUBSTITUTE.  That way, if both gl_GETOPT_SUBSTITUTE
+       and gl_GETOPT are both invoked via different paths (as happens
+       with GNU tar CVS because it uses both argp and getopt), the former
+       wins.
+
+2005-08-16  Bruno Haible  <bruno@clisp.org>
+
+       * strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function always.
+       (gl_PREREQ_STRCASECMP): Use gl_FUNC_MBRTOWC.
+
+2005-08-16  Bruno Haible  <bruno@clisp.org>
+
+       * mbfile.m4: New file.
+
+2005-08-16  Bruno Haible  <bruno@clisp.org>
+
+       * mbiter.m4: New file.
+
+2005-08-16  Bruno Haible  <bruno@clisp.org>
+
+       * mbchar.m4: New file.
+
+2005-08-16  Bruno Haible  <bruno@clisp.org>
+
+       * tls.m4: New file, from GNU gettext.
+
+2005-08-12  Bruno Haible  <bruno@clisp.org>
+
+       * readline.m4 (gl_FUNC_READLINE): Look for ncurses first.
+
+2005-08-12  Simon Josefsson  <jas@extundo.com>
+
+       * readline.m4: Look for termcap, curses or ncurses if required.
+
+2005-08-11  Simon Josefsson  <jas@extundo.com>
+
+       * readline.m4: New file.
+
+2005-08-10  Simon Josefsson  <jas@extundo.com>
+
+       * strnlen.m4: New file.
+
+       * strndup.m4: Don't check for strnlen declaration, done in
+       strnlen.m4.
+
+2005-08-10  Stepan Kasal  <kasal@ucw.cz>
+
+       * onceonly_2_57.m4: Really require Autoconf 2.57.
+
+2005-08-02  Simon Josefsson  <jas@extundo.com>
+
+       * getline.m4: Separate out getdelim stuff into separate module.
+
+       * getdelim.m4: New file.
+
+2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Add support to getopt for Emacs, which doesn't use LIBOBJS in the
+       normal way.
+       * getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER): New macro.
+       (gl_GETOPT_SUBSTITUTE): Use it.  Invoke gl_PREREQ_GETOPT.
+       (gl_GETOPT_IFELSE, gl_GETOPT_CHECK_HEADERS): New macros.
+       (gl_GETOPT): Use the new macros.  Most of the implementation
+       is moved to the new macros.  This is for programs like Emacs
+       that don't want all the functionality of gl_GETOPT.
+
+2005-07-26  Bruno Haible  <bruno@clisp.org>
+
+       * lock.m4: Update from GNU gettext.
+
+2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_IFELSE instead of the
+       obsolescent AC_TRY_RUN.  Include the default includes files, for 'exit'.
+
+2005-07-24  Bruno Haible  <bruno@clisp.org>
+
+       * visibility.m4: New file.
+
+2005-07-18  Bruno Haible  <bruno@clisp.org>
+
+       * lock.m4: New file, from GNU gettext.
+
+2005-06-01  Bruno Haible  <bruno@clisp.org>
+
+       * poll.m4 (gl_FUNC_POLL): Check against MacOS X 10.4 poll() bug.
+       When using lib/poll.c, define poll as rpl_poll.
+
+2005-07-14  Bruno Haible  <bruno@clisp.org>
+
+       * argp.m4 (gl_ARGP): Remove invocation of gl_FUNC_GLIBC_UNLOCKED_IO.
+       Instead, test for *_unlocked function declarations directly.
+
+2005-07-14  Derek Price  <derek@ximbiot.com>
+
+       * glob.m4 (gl_GLOB): Cache glob interface check result.  Add check for
+       glob symlink bug.
+
+2005-07-10  Bruno Haible  <bruno@clisp.org>
+
+       * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t.
+       Needed when size_t is smaller than 'unsigned int'.
+       Reported by Paul Eggert.
+
+2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
+       * same.m4 (gl_SAME): Likewise.
+       Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
+
+       * regex.m4: Adjust to new libc regex implementation.
+       (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
+       all the .c and .h parts of (the new) regex.
+       Quote the m4 stuff better.
+       Check for RE_ICASE bug of old gnulib.
+       Check for REG_STARTEND of recent libc.
+       Rename local variables from jm_* to gl_*.
+       Quote operand of "test -f".
+       Say "recent enough" version of libc, not "version 2".
+       (gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a
+       prerequisite module.  Remove AC_HEADER_STDC; no longer needed.
+       Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll.
+       Remove check for btowc, isascii.
+       Require AM_LANGINFO_CODESET.
+
+2005-07-05  Bruno Haible  <bruno@clisp.org>
+
+       * mbrtowc.m4 (gl_FUNC_MBRTOWC): Upgrade to version from current
+       autoconf CVS. Needed for mingw.
+
+2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Remove the dependency of the strftime module on the tzset module.
+       * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
+
+2005-07-02  Jim Meyering  <jim@meyering.net>
+
+       * chown.m4, cloexec.m4, dup2.m4, fsusage.m4:
+       * getcwd-path-max.m4, getcwd.m4, mkstemp.m4, mountlist.m4:
+       * pagealign_alloc.m4, save-cwd.m4, unistd-safer.m4:
+       Don't check for fcntl.h, and don't test for HAVE_FCNTL_H.
+
+2005-06-28  Simon Josefsson  <jas@extundo.com>
+
+       * check-version.m4: New file, suggested by Jim Meyering
+       <jim@meyering.net>.
+
+2005-06-24  Derek Price  <derek@ximbiot.com>
+       and Bruno Haible  <bruno@clisp.org>
+
+       Remove stat module & update lstat.
+       * lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
+       AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
+       * stat.m4: Remove this file.
+
+2005-06-20  Derek Price  <derek@ximbiot.com>
+
+       * bison.m4: Note that precious decls of YACC & YFLAGS will be
+       unnecessary for Autoconfs > 2.59c.
+
+2005-06-16  Derek Price  <derek@ximbiot.com>
+
+       * bison.m4: Declare YACC & YFLAGS precious.
+
+2005-06-08  Bruno Haible  <bruno@clisp.org>
+
+       * csharpcomp.m4: New file, from GNU gettext.
+
+2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Sync from coreutils.
+       * mkdir-p.m4: Renamed from makepath.m4.
+       (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH.  All uses changed.
+       Rename files from makepath.c to mkdir-p.c, and from
+       makepath.h to mkdir-p.h.
+       * filenamecat.m4: Renamed from path-concat.m4.
+       (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT.  All uses changed.
+       Rename files from path-concat.c to filenamecat.c,
+       and from path-concat.h to filenamecat.h.
+       * getcwd-path-max.m4: Don't use "path" or "filename" to mean
+       "file name" in local variables or comments.
+       * rename.m4: Likewise.
+
+2005-06-01  Bruno Haible  <bruno@clisp.org>
+
+       * csharp.m4: New file, from GNU gettext.
+       * csharpexec.m4: New file, from GNU gettext.
+
+2005-05-31  Derek Price  <derek@ximbiot.com>
+           Paul Eggert  <eggert@cs.ucla.edu>
+
+       Sync from cvs.
+       * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
+
 2005-05-29  Derek Price  <derek@ximbiot.com>
            Paul Eggert  <eggert@cs.ucla.edu>