canonicalize[-lgpl]: Avoid "guessing no" when cross-compiling to glibc.
[gnulib.git] / ChangeLog
index 2729eef..f44d6ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,56 @@
+2012-05-05  Bruno Haible  <bruno@clisp.org>
+
+       canonicalize[-lgpl]: Avoid "guessing no" when cross-compiling to glibc.
+       * m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Require
+       AC_CANONICAL_HOST. When cross-compiling to a glibc system, set
+       gl_cv_func_realpath_works to "guessing yes".
+
+2012-05-05  Bruno Haible  <bruno@clisp.org>
+
+       gettimeofday: Avoid bad guess when cross-compiling to glibc systems.
+       * m4/gettimeofday.m4 (gl_FUNC_GETTIMEOFDAY_CLOBBER): Require
+       AC_CANONICAL_HOST. When cross-compiling, guess no on glibc platforms.
+
+2012-05-04  Bruno Haible  <bruno@clisp.org>
+
+       Tweak last commit.
+       * m4/off_t.m4 (gl_TYPE_OFF_T): Tweak comments.
+       * m4/unistd_h.m4 (gl_UNISTD_H): Likewise.
+
+2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       unistd_h: make it easier to avoid sys_types_h
+       This is useful for Emacs, which has its own method of porting to
+       Windows, and which therefore does not need the sys_types_h module.
+       * m4/off_t.m4: New file, defining gl_TYPE_OFF_T, which contains
+       code moved here from gl_SYS_TYPES_H.
+       * m4/sys_types_h.m4 (gl_SYS_TYPES_H): Require it instead of
+       using the code directly.
+       * m4/unistd_h.m4 (gl_UNISTD_H): Require gl_TYPE_OFF_T, not
+       gl_SYS_TYPES_H.
+       * modules/sys_types (Files):
+       * modules/unistd (Files): Add m4/off_t.m4.
+
+2012-05-03  Bruno Haible  <bruno@clisp.org>
+
+       lstat: Avoid "guessing no" when cross-compiling to glibc systems.
+       * m4/lstat.m4 (gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): When cross-
+       compiling, set gl_cv_func_lstat_dereferences_slashed_symlink to
+       "guessing yes" or "guessing no".
+       (gl_FUNC_LSTAT): Update.
+       * m4/fstatat.m4 (gl_FUNC_FSTATAT): Update.
+       * m4/openat.m4 (gl_FUNC_OPENAT): Update.
+       * m4/unlinkat.m4 (gl_FUNC_UNLINKAT): Update.
+
+2012-05-03  Bruno Haible  <bruno@clisp.org>
+
+       *alloc-gnu, eealloc: Avoid "guessing no" when cross-compiling to glibc.
+       * m4/malloc.m4 (_AC_FUNC_MALLOC_IF): Override in autoconf < 2.70.
+       * m4/realloc.m4 (_AC_FUNC_REALLOC_IF): Override in autoconf < 2.70.
+       * m4/calloc.m4 (_AC_FUNC_CALLOC_IF): Require AC_CANONICAL_HOST. When
+       cross-compiling, choose the first alternative on glibc systems.
+       * modules/eealloc (Files): Add m4/malloc.m4, m4/realloc.m4.
+
 2012-05-03  Bruno Haible  <bruno@clisp.org>
 
        getgroups: Avoid "guessing no" when cross-compiling to glibc systems.