Say "guessing yes" or "guessing no" when cross-compiling.
[gnulib.git] / ChangeLog
index 9d5195f..b247bce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,84 @@
+2012-05-03  Bruno Haible  <bruno@clisp.org>
+
+       Say "guessing yes" or "guessing no" when cross-compiling.
+       * m4/dup2.m4 (gl_FUNC_DUP2): When cross-compiling, set
+       gl_cv_func_dup2_works to "guessing yes" or "guessing no".
+       * m4/getdelim.m4 (gl_FUNC_GETDELIM): When cross-compiling, set
+       gl_cv_func_working_getdelim to "guessing yes" or "guessing no".
+       * m4/getline.m4 (gl_FUNC_GETLINE): When cross-compiling, set
+       am_cv_func_working_getline to "guessing yes" or "guessing no".
+       * m4/memmem.m4 (gl_FUNC_MEMMEM_SIMPLE): When cross-compiling, set
+       gl_cv_func_memmem_works_always to "guessing yes" or "guessing no".
+       (gl_FUNC_MEMMEM): When cross-compiling, set
+       gl_cv_func_memmem_works_fast to "guessing yes" or "guessing no".
+       * m4/stpncpy.m4 (gl_FUNC_STPNCPY): When cross-compiling, set
+       gl_cv_func_stpncpy to "guessing yes" or "guessing no".
+       * m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE): When cross-compiling,
+       set gl_cv_func_strcasestr_works_always to "guessing yes" or
+       "guessing no".
+       (gl_FUNC_STRCASESTR): When cross-compiling, set
+       gl_cv_func_strcasestr_linear to "guessing yes" or "guessing no".
+       * m4/strstr.m4 (gl_FUNC_STRSTR_SIMPLE): When cross-compiling, set
+       gl_cv_func_strstr_works_always to "guessing yes" or "guessing no".
+       (gl_FUNC_STRSTR): When cross-compiling, set
+       gl_cv_func_strstr_linear to "guessing yes" or "guessing no".
+       * m4/strtod.m4 (gl_FUNC_STRTOD): When cross-compiling, set
+       gl_cv_func_strtod_works to "guessing yes" or "guessing no".
+       * m4/wctype_h.m4 (gl_WCTYPE_H): When cross-compiling, set
+       gl_cv_func_iswcntrl_works to "guessing yes" or "guessing no".
+
+2012-05-01  Bruno Haible  <bruno@clisp.org>
+
+       relocatable-prog: Enable ELF ORIGIN trick also on GNU/kFreeBSD.
+       * m4/relocatable.m4 (gl_RELOCATABLE_BODY): Treat kFreeBSD like Linux.
+       * build-aux/reloc-ldflags: Likewise.
+       Suggested by Steven Chamberlain <steven@pyro.eu.org>.
+
+2012-05-01  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool: Remove transitional code.
+       * gnulib-tool: Don't warn about --import with 0 arguments any more.
+       Reported by Dmitriy Selyutin <ghostman.sd@gmail.com>.
+
+2012-05-01  Bruno Haible  <bruno@clisp.org>
+
+       getcwd: Fix misindentation.
+       * m4/getcwd.m4 (gl_FUNC_GETCWD_NULL): Fix indentation.
+
 2012-04-29  Paul Eggert  <eggert@cs.ucla.edu>
 
+       exclude: process exclude and include directives in order
+       This restores the pre-2009 behavior, and is part of a fix of a
+       grep bug reported by Quentin Arce in
+       <http://lists.gnu.org/archive/html/bug-grep/2012-04/msg00056.html>.
+       * lib/exclude.c (struct exclude): Remove 'tail' member.
+       (new_exclude_segment): Prepend the new segment instead of appending.
+       Return void, since that's now more convenient.
+       (file_pattern_matches): Renamed from excluded_file_pattern_p.
+       (file_name_matches): Renamed from excluded_file_name_p.
+       (file_pattern_matches, file_name_matches):
+       Return true if the pattern matches, not if it excludes.
+       All callers changed.
+       (excluded_file_name): Process the list in reverse order;
+       since the list is now reversed this restores the pre-2009 behavior.
+       (add_exclude): Adjust to new reversed-order list.  Use local var
+       rather than macro, for clarity.
+       * tests/test-exclude7.sh: Adjust to corrected behavior.
+
+       exclude: handle wildcards with FNM_NOESCAPE and with trailing \
+       * lib/exclude.c (unescape_pattern): Don't worry about unescaped [;
+       it's not possible here.  Handle the case of \ at end of pattern
+       without dumping core.
+       (add_exclude): Do not unescape the pattern if FNM_NOESCAPE is used.
+
+       _Noreturn: future-proof non-GNU and non-MSVC compilers
+       * build-aux/snippet/_Noreturn.h (_Noreturn):
+       * m4/gnulib-common.m4 (gl_COMMON_BODY):
+       Do not define _Noreturn if __STDC_VERSION__ indicates this is
+       C11 or later.  This is more likely to work with random future C
+       compilers that are neither GNUish nor MSVCish.  See Vincent Lefevre in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2012-04/msg00195.html>.
+
        exclude: handle wildcards with FNM_EXTMATCH
        * lib/exclude.c (fnmatch_pattern_has_wildcards): Also treat '+(',
        '+@', '!(' as wildcards, if FNM_EXTMATCH.  Make it clear in a