gnulib-tool: Avoid error when run in a package without Makefile.am.
[pspp] / ChangeLog
index ff20e2821faa9c66fe3feec1299d3675c7da6c57..0ef095c5258cc2aa489d5e3b7a108eee1363d09a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,143 @@
+2010-09-04  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool: Avoid error when run in a package without Makefile.am.
+       * gnulib-tool: When collecting the m4dirs in a package that does not
+       have a Makefile.am, eliminate those directories that contain no
+       gnulib-cache.m4.
+
+2010-09-04  Bruno Haible  <bruno@clisp.org>
+
+       update-copyright test: Improve output when perl is missing or too old.
+       * tests/test-update-copyright.sh: Move test of Perl version down after
+       the test whether Perl exists. Provide an explanation relating Perl's
+       error message to Automake's SKIP: message.
+
+2010-09-04  Bruno Haible  <bruno@clisp.org>
+
+       Don't augment PATH in TESTS_ENVIRONMENT.
+       * modules/update-copyright-tests (Makefile.am): In TESTS_ENVIRONMENT,
+       set abs_aux_dir instead of augmenting PATH.
+       * modules/vc-list-files-tests (Makefile.am): Likewise.
+       * tests/test-update-copyright.sh: Augment PATH here.
+       * tests/test-vc-list-files-cvs.sh: Augment PATH here, through
+       path_prepend_.
+       * tests/test-vc-list-files-git.sh: Likewise.
+
+2010-09-04  Jim Meyering  <meyering@redhat.com>
+
+       tests: prohibit augmenting PATH via TESTS_ENVIRONMENT
+       * Makefile (sc_prohibit_augmenting_PATH_via_TESTS_ENVIRONMENT): New rule.
+
+2010-09-04  Bruno Haible  <bruno@clisp.org>
+
+       strdup: Fix compilation error in C++ mode.
+       * lib/string.in.h (strdup): In C++ mode with GNULIB_NAMESPACE, undefine
+       the macro.
+
+2010-09-04  Bruno Haible  <bruno@clisp.org>
+
+       dirfd: Fix compilation error in C++ mode on MacOS X, *BSD, IRIX.
+       * lib/dirent.in.h (dirfd): In C++ mode with GNULIB_NAMESPACE, turn the
+       macro into a function.
+       Reported by Jarno Rajahalme <jarno.rajahalme@nsn.com>.
+
+2010-09-04  Bruno Haible  <bruno@clisp.org>
+
+       Set PATH_SEPARATOR the same way autoconf does.
+       * build-aux/relocatable.sh.in (func_find_curr_installdir): Determine
+       the value of PATH_SEPARATOR the same way autoconf-generated configure
+       scripts do.
+       * m4/lib-ld.m4 (AC_LIB_PROG_LD): Likewise.
+       * m4/progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
+
+2010-09-04  Stefano Lattarini  <stefano.lattarini@gmail.com>  (tiny change)
+
+       Set PATH_SEPARATOR the same way autoconf does.
+       * gnulib-tool (func_gnulib_dir): Determine the value of PATH_SEPARATOR
+       the same way autoconf-generated configure scripts do.
+       * posix-modules: Likewise.
+
+2010-09-02  Paul Eggert  <eggert@cs.ucla.edu>
+
+       hash: fix safe_hasher const typo
+       * lib/hash.c (safe_hasher): Result is pointer, not pointer to
+       const; otherwise, there is a type error later.
+
+2010-09-02  Jim Meyering  <meyering@redhat.com>
+
+       test-update-copyright.sh: require perl 5.8.0
+       * tests/test-update-copyright.sh: Require 5.8.0,
+       which Tom G. Christensen has confirmed is adequate,
+       while 5.6.1 is not.
+
+2010-09-02  Eric Blake  <eblake@redhat.com>
+
+       tests: init.sh improvements for re-exec'ing with zsh
+       * tests/init.sh: Borrow autoconf POSIX-mode sanitization.  Pass
+       -vx through shell re-exec.
+       Reported by Tom G. Christensen.
+
+       wctype: fix typo in previous commit
+       * m4/wctype_h.m4 (gl_WCTYPE_H): Fix spelling.
+       Reported by Ludovic Courtès.
+
+2010-09-02  Jim Meyering  <meyering@redhat.com>
+
+       test-update-copyright.sh: skip test if Perl is too old
+       * tests/test-update-copyright.sh: Exit 77 if Perl is too old.
+       Reported by Tom G. Christensen.
+
+2010-09-02  Bruno Haible  <bruno@clisp.org>
+
+       wctype: Avoid compilation error on IRIX 6.5.30.
+       * lib/wctype.in.h (iswblank): Declare with a replacement if
+       REPLACE_ISWBLANK is set.
+       * m4/wctype_h.m4 (gl_WCTYPE_H): Check also whether iswblank is
+       declared. Set REPLACE_ISWBLANK.
+       * modules/wctype (Makefile.am): Substitute REPLACE_ISWBLANK.
+       * doc/posix-functions/iswblank.texi: Mention the IRIX 6.5.30 problem.
+       * doc/posix-headers/wctype.texi: Likewise.
+       Reported by Tom G. Christensen <tgc@jupiterrise.com>.
+
+2010-09-01  Bruno Haible  <bruno@clisp.org>
+
+       New module 'socketlib'.
+       * modules/socketlib: New file.
+       * m4/socketlib.m4: New file, extracted from m4/sockets.m4.
+       * m4/sockets.m4 (gl_SOCKETS): Require gl_SOCKETLIB.
+       * modules/sockets (Depends-on): Add socketlib.
+       Suggested by Sam Steingold <sds@gnu.org>.
+
+2010-09-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       fcntl-h, etc.: prefer O_SEARCH to O_RDONLY when applicable
+
+       POSIX 2008 specifies a new 'open' flag O_SEARCH, which can be used
+       when one needs search access to a directory but not read access.
+       On systems where it is available, it works in some cases where
+       O_RDONLY does not, namely on directories that are searchable but
+       not readable, and which need only to be searchable.  If O_SEARCH
+       is not available, fall back to the traditional method of using
+       O_RDONLY.
+
+       * lib/fcntl.in.h (O_SEARCH): #define to O_RDONLY if not defined.
+       * lib/chdir-long.c (cdb_advance_fd): Use O_SEARCH, not O_RDONLY,
+       when opening a directory that needs only to be searchable.
+       * lib/chdir-safer.c (chdir_no_follow): Likewise.
+       * lib/fts.c (diropen, fts_open, fd_ring_check): Likewise.
+       * lib/openat-proc.c (openat_proc_name): Likewise.
+       * lib/openat.c (openat_needs_fchdir): Likewise.
+       * lib/save-cwd.c (save_cwd): Likewise.
+       * lib/savewd.c (savewd_save, savewd_chdir): Likewise.
+
+2010-08-28  Bruno Haible  <bruno@clisp.org>
+
+       New module 'host-cpu-c-abi'.
+       * modules/host-cpu-c-abi: New file.
+       * m4/host-cpu-c-abi.m4: New file, based on part of
+       clisp/src/m4/general.m4.
+       Requested by Sam Steingold <sds@gnu.org>.
+
 2010-08-31  Eric Blake  <eblake@redhat.com>
        and Jim Meyering  <meyering@redhat.com>