Modernize fnmatch detection macro.
[pspp] / ChangeLog
index 2bbb3c65d32f4028fd70076afc110f972057805a..59eac7dc317ff53087606bf25e8dbb1564c9d4bd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,196 @@
+2009-05-02  Bruno Haible  <bruno@clisp.org>
+
+       * m4/fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Say "guessing no" instead of
+       "cross".
+       (gl_FUNC_FNMATCH_POSIX, gl_FUNC_FNMATCH_GNU): Update. Don't assume that
+       gnulib-tool was called with option --source-base=lib.
+
+2009-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Use automake *-local hooks without commands, for extensibility.
+       * modules/localcharset (Makefile.am): Rename install-exec-local
+       rule to install-exec-localcharset, and make it a prerequisite of
+       install-exec-local.  Likewise, rename the uninstall-local rule to
+       uninstall-localcharset, and make it a prerequisite of the former.
+
+2009-05-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+            Bruno Haible  <bruno@clisp.org>
+
+       Make it possible for the first build to be a VPATH build.
+       * modules/unicase/locale-language (configure.ac): Invoke
+       AC_PROG_MKDIR_P.
+       (Makefile.am): When invoking gperf, ensure the destination file's
+       subdirectory exists also in the build tree.
+       * modules/unicase/special-casing (configure.ac): Invoke
+       AC_PROG_MKDIR_P.
+       (Makefile.am): When invoking gperf, ensure the destination file's
+       subdirectory exists also in the build tree.
+       * modules/unictype/property-byname (configure.ac): Invoke
+       AC_PROG_MKDIR_P.
+       (Makefile.am): When invoking gperf, ensure the destination file's
+       subdirectory exists also in the build tree.
+       * modules/unictype/scripts (configure.ac): Invoke AC_PROG_MKDIR_P.
+       (Makefile.am): When invoking gperf, ensure the destination file's
+       subdirectory exists also in the build tree.
+       * modules/uninorm/composition (configure.ac): Invoke AC_PROG_MKDIR_P.
+       (Makefile.am): When invoking gperf, ensure the destination file's
+       subdirectory exists also in the build tree.
+       * lib/uninorm/composition.c: Include "uninorm/composition-table.h", not
+       "composition-table.h".
+
+2009-05-01  Bruno Haible  <bruno@clisp.org>
+
+       * lib/wchar.in.h (wcsnrtombs): Define if REPLACE_WCSNRTOMBS is 1.
+       * m4/wcsnrtombs.m4 (gl_FUNC_WCSRTOMBS): Invoke gl_MBSTATE_T_BROKEN, and
+       set REPLACE_WCSNRTOMBS if mbstate_t must be replaced.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_WCSNRTOMBS.
+       * modules/wchar (Makefile.am): Substitute REPLACE_WCSNRTOMBS.
+       * modules/wcsnrtombs (Files): Add m4/mbrtowc.m4, m4/locale-ja.m4,
+       m4/locale-zh.m4, m4/codeset.m4.
+
+       * m4/wcsrtombs.m4 (gl_FUNC_WCSNRTOMBS): Invoke gl_MBSTATE_T_BROKEN, and
+       set REPLACE_WCSRTOMBS if mbstate_t must be replaced.
+       * modules/wcsrtombs (Files): Add m4/mbrtowc.m4, m4/locale-ja.m4,
+       m4/locale-zh.m4.
+
+       * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Invoke gl_MBSTATE_T_BROKEN, and set
+       REPLACE_WCRTOMB if mbstate_t must be replaced.
+       * modules/wcrtomb (Files): Add m4/mbrtowc.m4.
+       Reported by Jens Rehsack <rehsack@googlemail.com> via Eric Blake.
+
+2009-05-01  Bruno Haible  <bruno@clisp.org>
+
+       Avoid compiler warnings when redefining macros defined by <libintl.h>.
+       * lib/gettext.h [!ENABLE_NLS] (gettext, dgettext, dcgettext, ngettext,
+       dngettext, dcngettext, textdomain, bindtextdomain,
+       bind_textdomain_codeset): Undefine before redefining.
+
+2009-04-30  Bruno Haible  <bruno@clisp.org>
+
+       Fix bug introduced on 2009-04-25.
+       * lib/math.in.h (gl_signbitf_OPTIMIZED_MACRO,
+       gl_signbitd_OPTIMIZED_MACRO, gl_signbitl_OPTIMIZED_MACRO): New macros.
+       * lib/signbitf.c (gl_signbitd): Undefine if gl_signbitf_OPTIMIZED_MACRO
+       is defined.
+       * lib/signbitd.c (gl_signbitd): Undefine if gl_signbitd_OPTIMIZED_MACRO
+       is defined.
+       * lib/signbitl.c (gl_signbitd): Undefine if gl_signbitl_OPTIMIZED_MACRO
+       is defined.
+       Reported by Elbert_Pol <elbert.pol@gmail.com>.
+
+2009-04-28  Bruno Haible  <bruno@clisp.org>
+
+       Comment tweaks.
+       * lib/unistr.h (u*_cmp2): Clarify what memcmp2 is.
+       * lib/uninorm.h (u*_normxfrm): Fix description of return value.
+       * lib/unicase.h (u*_casexfrm): Likewise.
+       Reported by Paolo Bonzini.
+
+2009-04-28  Bruno Haible  <bruno@clisp.org>
+
+       Fix a compilation error.
+       * lib/mbsrtowcs-state.c (_gl_mbsrtowcs_state): Fix initializer.
+       * lib/wcsrtombs-state.c (_gl_wcsrtombs_state): Likewise.
+       Reported by Jim Meyering.
+
+2009-04-27  Bruno Haible  <bruno@clisp.org>
+
+       New module 'libunistring'.
+       * modules/libunistring: New file.
+       * m4/libunistring.m4: New file.
+       * MODULES.html.sh (Unicode string functions): Add it.
+
+2009-04-27  Eric Blake  <ebb9@byu.net>
+
+       maint.mk: allow package-specific header to provide <config.h>
+       * top/maint.mk (sc_require_config_h): New variable.
+       (sc_require_config_h, sc_require_config_h_first): Use it.
+
+2009-04-27  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk (sc_avoid_if_before_free): Except
+       useless-if-before-free script.
+
+2009-04-27  Eric Blake  <ebb9@byu.net>
+
+       maintainer-makefile: depend on all required helper scripts
+       * modules/maintainer-makefile (Depends-on): Add vc-list-files and
+       useless-if-before-free.
+       * top/maint.mk (VC_LIST, sc_avoid_if_before_free): Use local
+       version, rather than assuming gnulib checkout is available.
+       Reported by Simen Josefsson.
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       Make the lib vs. lib64 recognition work on openSUSE 11 with "gcc -m32".
+       * m4/lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): Ignore paths that end in
+       "../" or "..".
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       * m4/lib-link.m4 (AC_LIB_HAVE_LINKFLAGS): Accept a fifth argument.
+       * m4/libsigsegv.m4 (gl_LIBSIGSEGV): Simplify by using
+       AC_LIB_HAVE_LINKFLAGS.
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       Simplify calling convention of u*_conv_from_encoding.
+       * lib/uniconv.h (u8_conv_from_encoding, u16_conv_from_encoding,
+       u32_conv_from_encoding): Expect a resultbuf argument and return the
+       result directly as a pointer.
+       * lib/uniconv/u8-conv-from-enc.c (u8_conv_from_encoding): Likewise.
+       * lib/uniconv/u-conv-from-enc.h (FUNC): Likewise.
+       * lib/uniconv/u-strconv-from-enc.h (FUNC): Update.
+       * lib/unicase/ulc-casecmp.c (ulc_u8_casefold): Update.
+       * lib/unicase/ulc-casexfrm.c (ulc_casexfrm): Update.
+       * lib/unilbrk/ulc-possible-linebreaks.c (ulc_possible_linebreaks):
+       Update.
+       * lib/unilbrk/ulc-width-linebreaks.c (ulc_width_linebreaks): Update.
+       * lib/uniwbrk/ulc-wordbreaks.c (ulc_wordbreaks): Update.
+       * lib/vasnprintf.c (VASNPRINTF): Update.
+       * tests/uniconv/test-u8-conv-from-enc.c (main): Update.
+       * tests/uniconv/test-u16-conv-from-enc.c (main): Update.
+       * tests/uniconv/test-u32-conv-from-enc.c (main): Update.
+       * NEWS: Mention the change.
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       Simplify calling convention of u*_conv_to_encoding.
+       * lib/uniconv.h (u8_conv_to_encoding, u16_conv_to_encoding,
+       u32_conv_to_encoding): Expect a resultbuf argument and return the
+       result directly as a pointer.
+       * lib/uniconv/u8-conv-to-enc.c (u8_conv_to_encoding): Likewise.
+       * lib/uniconv/u-conv-to-enc.h (FUNC): Likewise. Preserve errno while
+       freeing scaled_offsets if mem_iconveha failed.
+       * lib/unicase/u-casexfrm.h (FUNC): Update.
+       * lib/uninorm/u-normxfrm.h (FUNC): Update.
+       * lib/vasnprintf.c (VASNPRINTF): Update.
+       * tests/uniconv/test-u8-conv-to-enc.c (main): Update.
+       * tests/uniconv/test-u16-conv-to-enc.c (main): Update.
+       * tests/uniconv/test-u32-conv-to-enc.c (main): Update.
+       * NEWS: Mention the change.
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test failures on AIX and OSF/1.
+       * lib/uniconv/u8-conv-from-enc.c (u8_conv_from_encoding): Avoid calling
+       malloc(0).
+       * lib/uniconv/u8-conv-to-enc.c (u8_conv_to_encoding): Likewise.
+       * lib/unilbrk/ulc-possible-linebreaks.c (ulc_possible_linebreaks):
+       Likewise.
+       * lib/unilbrk/ulc-width-linebreaks.c (ulc_width_linebreaks): Likewise.
+       * lib/uniwbrk/ulc-wordbreaks.c (ulc_wordbreaks): Likewise.
+       * lib/uniconv/u-conv-to-enc.h (FUNC): Likewise. Fix memory leak.
+       * lib/unistr/u-cpy-alloc.h (FUNC): Call malloc(1) instead of malloc(0).
+       * doc/posix-functions/malloc.texi: Document the portability problem
+       related to malloc(0).
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       * modules/unistr/u8-cpy-alloc (Depends-on): Add malloc-posix.
+       * modules/unistr/u16-cpy-alloc (Depends-on): Likewise.
+       * modules/unistr/u32-cpy-alloc (Depends-on): Likewise.
+
 2009-04-25  Bruno Haible  <bruno@clisp.org>
 
        Avoid link error when creating a namespace clean library.