Compile relocatable.c only if --enable-relocatable was specified.
[gnulib.git] / ChangeLog
index 5e31343..354199d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,142 @@
+2007-03-04  Bruno Haible  <bruno@clisp.org>
+
+       Compile relocatable.c only if --enable-relocatable is specified.
+       * m4/relocatable-lib.m4 (gl_RELOCATABLE_LIBRARY_BODY): Renamed from
+       gl_RELOCATABLE_LIBRARY.
+       (gl_RELOCATABLE_LIBRARY, gl_RELOCATABLE_LIBRARY_SEPARATE): New macros.
+       * m4/relocatable.m4 (gl_RELOCATABLE): Invoke gl_RELOCATABLE_LIBRARY.
+       (gl_RELOCATABLE_BODY): Require gl_RELOCATABLE_LIBRARY_BODY instead of
+       gl_RELOCATABLE_LIBRARY.
+       * modules/relocatable-lib (configure.ac): Invoke gl_RELOCATABLE_LIBRARY.
+       (Makefile.am): Remove lib_SOURCES.
+       * modules/relocatable-lib-lgpl (configure.ac): Invoke
+       gl_RELOCATABLE_LIBRARY.
+       (Makefile.am): Remove lib_SOURCES.
+       * modules/relocatable-prog (Makefile.am): Don't compile relocatable.c
+       always.
+       * modules/relocatable-prog-wrapper (configure.ac): Invoke
+       gl_RELOCATABLE_LIBRARY_SEPARATE instead of gl_RELOCATABLE_LIBRARY.
+
+2007-03-04  Bruno Haible  <bruno@clisp.org>
+
+       * modules/argmatch-tests: New file.
+       * tests/test-argmatch.c: New file.
+
+       * tests/test-allocsa.c (main): Halve the number of loop runs.
+
+       * modules/alloca-opt-tests: New file.
+       * tests/test-alloca-opt.c: New file.
+
+2007-03-04  Jim Meyering  <jim@meyering.net>
+
+       Work around difference between Linux ACLs and Solaris 10 ZFS.
+       * lib/acl.c (set_acl): Revert to using chmod_or_fchmod also
+       for EINVAL.
+
+2007-03-03  Bruno Haible  <bruno@clisp.org>
+
+       * modules/relocatable-prog (Depends-on): Add back progreloc's
+       dependencies: canonicalize-lgpl, xalloc, xreadlink, stdbool, unistd.
+
+2007-03-03  Bruno Haible  <bruno@clisp.org>
+
+       * modules/relocatable-lib-lgpl: Renamed from modules/relocatable-lib.
+       * modules/relocatable-lib: New file.
+
+2007-03-03  Bruno Haible  <bruno@clisp.org>
+
+       * modules/relocatable-prog: Renamed from modules/relocatable.
+       * doc/relocatable-maint.texi: Talk about module 'relocatable-prog'.
+
+2007-03-03  Bruno Haible  <bruno@clisp.org>
+
+       * modules/relocatable-script (Files): Add doc/relocatable.texi,
+       m4/relocatable-lib.m4.
+       (Depends-on): Remove 'relocatable'.
+       (configure.ac): Add gl_RELOCATABLE_NOP.
+
+2007-03-03  Bruno Haible  <bruno@clisp.org>
+
+       * modules/relocatable-prog-wrapper: New file.
+       * modules/relocatable (Depends-on): Add it. Remove all other
+       dependencies except progname.
+       (Files): Remove build-aux/install-reloc, lib/relocwrapper.c.
+
+       * m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): New macro.
+       (gl_FUNC_STRERROR): Nop.
+       * lib/strerror.c: Compile the file only if !HAVE_STRERROR.
+
+       * m4/setenv.m4 (gl_FUNC_SETENV_SEPARATE): New macro.
+       * lib/setenv.c: Compile the file only if _LIBC || !HAVE_SETENV.
+
+       * m4/readlink.m4 (gl_FUNC_READLINK_SEPARATE): New macro.
+       (gl_FUNC_READLINK): Update.
+
+       * m4/canonicalize-lgpl.m4 (gl_CANONICALIZE_LGPL_SEPARATE): New macro.
+
+2007-03-03  Bruno Haible  <bruno@clisp.org>
+
+       * lib/xreadlink.c: Include <unistd.h> unconditionally.
+       * modules/xreadlink (Depends-on): Add unistd.
+       * modules/xreadlink-with-size (Depends-on): Likewise.
+
+2007-03-03  Bruno Haible  <bruno@clisp.org>
+
+       * m4/setenv.m4 (gl_FUNC_SETENV, gl_FUNC_UNSETENV): New macros,
+       extracted from gt_FUNC_SETENV.
+       (gt_FUNC_SETENV): Remove macro.
+       * modules/setenv (configure.ac): Add gl_FUNC_SETENV, gl_FUNC_UNSETENV,
+       remove gt_FUNC_SETENV.
+
+2007-03-03  Bruno Haible  <bruno@clisp.org>
+
+       * m4/relocatable-lib.m4 (gl_RELOCATABLE_LIBRARY): Define
+       ENABLE_RELOCATABLE here.
+       * m4/relocatable.m4 (gl_RELOCATABLE_BODY): Don't define it here.
+
+2007-03-03  Bruno Haible  <bruno@clisp.org>
+
+       * modules/rbtreehash-list-tests (Depends-on): Add progname.
+       * tests/test-rbtreehash_list.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/rbtree-oset-tests (Depends-on): Add progname.
+       * tests/test-rbtree_oset.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/rbtree-list-tests (Depends-on): Add progname.
+       * tests/test-rbtree_list.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/linked-list-tests (Depends-on): Add progname.
+       * tests/test-linked_list.c: Include progname.h.
+       (main): Call set_program_name.
+
+2007-03-03  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glob-libc.h (_Restrict_): New macro, copied from lib/regex.h.
+       All uses of __restrict changed to _Restrict_.
+       * lib/glob_.h (__restrict): Remove macro.
+
+2007-03-02  Bruno Haible  <bruno@clisp.org>
+
+       * modules/gettext (configure.ac): Require gettext infrastructure
+       from version 0.16.1.
+
 2007-03-02  Bruno Haible  <bruno@clisp.org>
 
+       * modules/linkedhash-list-tests (Depends-on): Add progname.
+       * tests/test-linkedhash_list.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/carray-list-tests (Depends-on): Add progname.
+       * tests/test-carray_list.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/avltreehash-list-tests (Depends-on): Add progname.
+       * tests/test-avltreehash_list.c: Include progname.h.
+       (main): Call set_program_name.
+
        * modules/avltree-oset-tests (Depends-on): Add progname.
        * tests/test-avltree_oset.c: Include progname.h.
        (main): Call set_program_name.