about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorStephane Chazelas <stephane.chazelas@gmail.com>2018-05-16 22:02:51 +0100
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-05-17 23:42:27 +0200
commit5ac1c6f555cff38499e0a6ac80b338df4ebe3047 (patch)
tree42db6d43f75d744f9c16092f4b6a078401deb57f /configure.ac
parentafec5fb1360ea2dff19abe8ac7bfd10ccb4c5926 (diff)
downloadzsh-5ac1c6f555cff38499e0a6ac80b338df4ebe3047.tar.gz
zsh-5ac1c6f555cff38499e0a6ac80b338df4ebe3047.tar.xz
zsh-5ac1c6f555cff38499e0a6ac80b338df4ebe3047.zip
42790: make [[:blank:]] match non-ASCII blanks
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4329afb9e..00c731864 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1304,6 +1304,7 @@ AC_CHECK_FUNCS(strftime strptime mktime timelocal \
 	       memcpy memmove strstr strerror strtoul \
 	       getrlimit getrusage \
 	       setlocale \
+	       isblank iswblank \
 	       uname \
 	       signgam tgamma \
 	       scalbn \
@@ -2564,6 +2565,12 @@ AC_HELP_STRING([--enable-multibyte], [support multibyte characters]),
 [AC_CACHE_VAL(zsh_cv_c_unicode_support,
   AC_MSG_NOTICE([checking for functions supporting multibyte characters])
   [zfuncs_absent=
+dnl
+dnl Note that iswblank is not included and checked separately.
+dnl As iswblank() was added to C long after the others, we still
+dnl want to enabled unicode support even if iswblank is not available
+dnl (we then just do the SPC+TAB approximation)
+dnl
    for zfunc in iswalnum iswcntrl iswdigit iswgraph iswlower iswprint \
 iswpunct iswspace iswupper iswxdigit mbrlen mbrtowc towupper towlower \
 wcschr wcscpy wcslen wcsncmp wcsncpy wcrtomb wcwidth wmemchr wmemcmp \