Work around porting bugs reported by Dieter in
[gnulib.git] / m4 / ChangeLog
index f3e8022..a63ba0f 100644 (file)
@@ -1,3 +1,383 @@
+2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
+
+2006-01-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
+       rather than -Xlinker -z -Xlinker ignore, as it's more portable.
+       Suggested by Bruno Haible.
+
+2006-01-19  Simon Josefsson  <jas@extundo.com>
+
+       * socklen.m4: Look in ws2tcpip.h too, for mingw32.
+
+2006-01-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
+       it's not portable and it doesn't work with cross-compiles.
+       Problem reported by Bruno Haible.  Fix missing-$ typo in
+       'test "gl_cv_ignore_unused_libraries" ...' that prevented
+       -zignore from being used with Sun's C compiler.
+
+2006-01-12  Bruno Haible  <bruno@clisp.org>
+
+       * ldd.m4: New file.
+
+2006-01-08  Bruno Haible  <bruno@clisp.org>
+
+       Ensure automatic ordering between gl_LOCK and gl_ARGP.
+       * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK.
+       (gl_LOCK): New macro, requiring gl_LOCK_BODY.
+
+2006-01-10  Jim Meyering  <jim@meyering.net>
+
+       * fpending.m4: Also include <stdio.h>, for Dragonfly.
+       Patch by Joerg Sonnenberger.
+
+2006-01-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
+       the 2002-12-31 change.  Problem and fix reported by Bruno Haible.
+       People who are still concerned with buggy memcmp implementations
+       can invoke gl_FUNC_MEMCMP themselves.
+
+2006-01-10  Simon Josefsson  <jas@extundo.com>
+
+       * sys_socket_h.m4: New file.
+
+2006-01-10  Bruno Haible  <bruno@clisp.org>
+
+       * localcharset.m4 (gl_LOCALCHARSET): Also test for getc_unlocked.
+       Reported by Werner Lemberg <wl@gnu.org>.
+
+2006-01-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Sync from coreutils.
+       * lib-ignore.m4: New file.
+       * lchmod.m4: New file.
+
+2006-01-09  Jim Meyering  <jim@meyering.net>
+
+       Sync from coreutils.
+       * chdir-safer.m4: New file.
+       * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
+       Require openat-priv.h.
+
+2006-01-09  Andreas Gruenbacher  <agruen@suse.de>
+
+       Sync from coreutils.
+       * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
+
+2005-10-16  Bruno Haible  <bruno@clisp.org>
+
+       * stdint.m4 (gl_STDINT_H): Also test for <sys/bitypes.h>.
+
+2005-12-16  Jim Meyering  <jim@meyering.net>
+
+       * fprintftime.m4: New file.
+
+2005-12-10  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * argp.m4: Define HAVE_DECL_PROGRAM_INVOCATION_NAME and
+       HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
+
+2005-12-09  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * argp.m4:  Check if program_invocation_name and
+       program_invocation_short_name are declared and define appropriate
+       macros if they are not.
+
+2005-12-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * stat-time.m4 (gl_STAT_TIME): Add check for
+       TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
+       porting problem reported by Georg Schwarz in
+       <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
+
+2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
+       Use implementation from Albert Chin, with some
+       comments/corrections by Stepan Kasal and myself.
+
+2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
+       statement, to work around an HP-UX 10.20 compiler bug reported by
+       Peter O'Gorman.
+
+2005-11-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
+       or gettimeofday; no longer needed.
+
+2005-10-30  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
+       variables to suggest the intended function of the PATH_MAX check.
+
+2005-10-30  Kean Johnston  <jkj@sco.com>
+
+       Trivial changes to support SCO systems.
+       * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
+       as PATH_MAX.
+       * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
+       where __ptr is null when no I/O is pending.
+
+2005-10-28  Simon Josefsson  <jas@extundo.com>
+
+       * inet_ntop.m4: More tests.
+
+       * gc-md2.m4, md2.m4: New file.
+
+2005-10-22  Simon Josefsson  <jas@extundo.com>
+
+       * gc.m4: Don't be fooled by --disable-*random-device parameters,
+       suggested by Bruno Haible <bruno@clisp.org>.  Fix error messages.
+
+2005-10-21  Simon Josefsson  <jas@extundo.com>
+
+       * gc.m4: Don't use libgcrypt if gcrypt.h isn't found, suggested by
+       Bruno Haible <bruno@clisp.org>.
+
+       * gc-des.m4: New file.
+
+2005-10-21  Simon Josefsson  <jas@extundo.com>
+
+       * arctwo.m4: New file.
+
+       * gc-arctwo.m4: New file.
+
+2005-10-19  Simon Josefsson  <jas@extundo.com>
+
+       * gc-arcfour.m4: New file.
+
+       * gc-rijndael.m4: New file.
+
+2005-10-19  Simon Josefsson  <jas@extundo.com>
+
+       * m4/gc-hmac-md5.m4, m4/gc-hmac-sha1.m4, m4/gc-md4.m4,
+       m4/gc-md5.m4, m4/gc-sha1.m4: Fix typo, suggested by Stepan Kasal
+       <kasal@ucw.cz>.
+
+2005-10-19  Simon Josefsson  <jas@extundo.com>
+
+       * gc-md4.m4: New file.
+
+2005-10-18  Simon Josefsson  <jas@extundo.com>
+
+       * md4.m4: New file.
+
+2005-10-17  Bruno Haible  <bruno@clisp.org>
+
+       * stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so that
+       it can also be used in a test.
+
+2005-10-11  Simon Josefsson  <jas@extundo.com>
+
+       * md5.m4: Remove call to uint32_t.m4.
+
+2005-10-15  Simon Josefsson  <jas@extundo.com>
+
+       * rijndael.m4: New file.
+
+2005-10-14  Simon Josefsson  <jas@extundo.com>
+
+       * arcfour.m4: New file.
+
+2005-10-12  Bruno Haible  <bruno@clisp.org>
+
+       * stdbool.m4 (gl_STDBOOL_H): Define as an alias of AM_STDBOOL_H.
+       Reported by Stepan Kasal <kasal@ucw.cz>.
+
+2005-10-12  Simon Josefsson  <jas@extundo.com>
+
+       * gc-pbkdf2-sha1.m4: New file.
+
+       * gc-hmac-sha1.m4: New file.
+
+       * gc-sha1: New file.
+
+       * hmac-sha1.m4: New file.
+
+2005-10-12  Simon Josefsson  <jas@extundo.com>
+
+       * gc-md5.m4, gc-hmac-md5: New files.
+
+       * gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5.
+
+2005-10-11  Simon Josefsson  <jas@extundo.com>
+
+       * crc.m4: New file.
+
+2005-10-07  Simon Josefsson  <jas@extundo.com>
+
+       * memxor.m4: Remove gl_C_RESTRICT call.
+
+2005-10-06  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
+       promotes to int, not unsigned int, to catch the AIX 5.3
+       compiler bug.
+
+2005-10-06  Simon Josefsson  <jas@extundo.com>
+
+       * hmac-md5.m4: New file.
+
+       * 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>