From: Chet Ramey Date: Thu, 20 Dec 2018 16:48:24 +0000 (-0500) Subject: readline-8.0-rc1 release X-Git-Tag: readline-8.0-rc1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ebbb26fda2e37f9eb0a92373c2cdcdc9b1b7b33;p=thirdparty%2Freadline.git readline-8.0-rc1 release --- diff --git a/aclocal.m4 b/aclocal.m4 index 76dc9bc..1413267 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -4223,3 +4223,40 @@ main(int c, char **v) [Define if you have a working sbrk function.]) fi ]) + +AC_DEFUN(BASH_FUNC_FNMATCH_EQUIV_FALLBACK, +[AC_MSG_CHECKING(whether fnmatch can be used to check bracket equivalence classes) +AC_CACHE_VAL(bash_cv_fnmatch_equiv_fallback, +[AC_TRY_RUN([ +#include +#include +#include +#include +#include + +char *pattern = "[[=a=]]"; + +/* char *string = "ä"; */ +unsigned char string[4] = { '\xc3', '\xa4', '\0' }; + +int +main (int c, char **v) +{ + setlocale (LC_ALL, "de_DE.UTF-8"); + if (fnmatch (pattern, (const char *)string, 0) != FNM_NOMATCH) + exit (0); + exit (1); +} + +], bash_cv_fnmatch_equiv_fallback=yes, bash_cv_fnmatch_equiv_fallback=no, + [AC_MSG_WARN(cannot check fnmatch if cross compiling -- defaulting to no) + bash_cv_fnmatch_equiv_fallback=no] +)]) +AC_MSG_RESULT($bash_cv_fnmatch_equiv_fallback) +if test "$bash_cv_fnmatch_equiv_fallback" = "yes" ; then + bash_cv_fnmatch_equiv_value=1 +else + bash_cv_fnmatch_equiv_value=0 +fi +AC_DEFINE_UNQUOTED([FNMATCH_EQUIV_FALLBACK], [$bash_cv_fnmatch_equiv_value], [Whether fnmatch can be used for bracket equivalence classes]) +]) diff --git a/doc/history.dvi b/doc/history.dvi index ee3173a..28af1c7 100644 Binary files a/doc/history.dvi and b/doc/history.dvi differ diff --git a/doc/history.html b/doc/history.html index 1ebac18..bc3ce3b 100644 --- a/doc/history.html +++ b/doc/history.html @@ -1,6 +1,6 @@ - + + +