Support for conditional dependencies.
[gnulib.git] / ChangeLog
index a625b00..a9e21cf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,98 @@
+2011-05-03  Bruno Haible  <bruno@clisp.org>
+
+       Support for conditional dependencies.
+       * doc/gnulib.texi (Module description): Document the syntax of
+       conditional dependencies.
+       * gnulib-tool: New option --conditional-dependencies.
+       (func_usage): Document it.
+       (cond_dependencies): New variable.
+       (func_get_automake_snippet_conditional,
+       func_get_automake_snippet_unconditional): New functions, extracted from
+       func_get_automake_snippet.
+       (func_get_automake_snippet): Use them.
+       (sed_first_32_chars): New variable.
+       (func_module_shellfunc_name): New function.
+       (func_module_shellvar_name): New function.
+       (func_module_conditional_name): New function.
+       (func_uncond_add_module, func_conddep_add_module, func_cond_module_p,
+       func_cond_module_condition): New functions.
+       (func_modules_transitive_closure): Add support for conditional
+       dependencies.
+       (func_emit_lib_Makefile_am): For a conditional module, enclose the
+       conditional automake snippet in an automake conditional.
+       (func_emit_autoconf_snippets): Emit shell functions that contain the
+       code for conditional modules.
+       (func_import, func_create_testdir): Update specification.
+
+2011-05-03  Eric Blake  <eblake@redhat.com>
+
+       test-getaddrinfo: report error information
+       * tests/test-getaddrinfo.c (simple): Use err outside of dbprintf.
+
+2011-05-03  Jim Meyering  <meyering@redhat.com>
+
+       bootstrap: avoid build failure when $GZIP is set
+       * build-aux/bootstrap (check_versions): Do not treat $GZIP as a
+       program name.  If defined at all, it is supposed to list gzip options.
+       Reported by Alan Curry in http://debbugs.gnu.org/8609
+
+2011-05-03  Reuben Thomas  <rrt@sc3d.org>
+
+       readme-release: new module with release instructions
+       * modules/readme-release: New module.
+       * top/README-release: New file, from coreutils, grep, diffutils.
+       * MODULES.html.sh (Support for maintaining and releasing): Add it.
+
+2011-05-02  Eric Blake  <eblake@redhat.com>
+
+       fflush: also replace fclose when fixing fflush
+       * modules/fflush (Depends-on): Add fclose.
+       * m4/fflush.m4 (gl_FUNC_FFLUSH): Also replace fclose.
+       * lib/fclose.c (rpl_fclose): Don't cause spurious failures on
+       memstreams with no backing fd.
+       * doc/posix-functions/fclose.texi (fclose): Document the use of
+       fflush module to fix the bug.
+       * tests/test-fclose.c (main): Relax test when fclose is used in
+       isolation.
+
+       fclose: add some tests
+       * modules/fclose-tests: New test module.
+       * tests/test-fclose.c: New file.
+       * doc/posix-functions/fclose.texi (fclose): Document the bug.
+
+       fclose: reduced dependencies
+       * modules/fclose (Depends-on): Switch from fflush/fseeko to
+       simpler lseek.
+       * lib/fclose.c (rpl_fclose): Likewise.
+       Reported by Simon Josefsson.
+
+       exit: drop remaining clients
+       * modules/argmatch (Depends-on): Replace exit with stdlib.
+       * modules/copy-file (Depends-on): Likewise.
+       * modules/execute (Depends-on): Likewise.
+       * modules/exitfail (Depends-on): Likewise.
+       * modules/obstack (Depends-on): Likewise.
+       * modules/pagealign_alloc (Depends-on): Likewise.
+       * modules/pipe-filter-gi (Depends-on): Likewise.
+       * modules/pipe-filter-ii (Depends-on): Likewise.
+       * modules/savewd (Depends-on): Likewise.
+       * modules/spawn-pipe (Depends-on): Likewise.
+       * modules/wait-process (Depends-on): Likewise.
+       * modules/xsetenv (Depends-on): Likewise.
+       * modules/chdir-long (Depends-on): Add stdlib, for EXIT_FAILURE.
+       * modules/git-merge-changelog (Depends-on): Likewise.
+       * modules/long-options (Depends-on): Likewise.
+       * modules/pt_chown (Depends-on): Likewise.
+       * modules/sysexits (Depends-on): Likewise.
+
+       freading: relax license from LGPLv3+ to LGPLv2+
+       * modules/freading (License): Relax LGPL version.
+
+2011-05-02  Bruno Haible  <bruno@clisp.org>
+
+       fchdir: Remove unused dependencies.
+       * modules/fchdir (Depends-on): Remove include_next.
+
 2011-05-02  Bruno Haible  <bruno@clisp.org>
 
        gnulib-tool: Refactor.