about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorJoshua Rubin <joshua@rubixconsulting.com>2016-11-29 00:42:28 -0700
committerPeter Stephenson <pws@zsh.org>2016-11-29 17:19:53 +0000
commit596ba302e6f23089e58ff05d75fedfca8e79a7d2 (patch)
treebcb6eed9607546237569565b46e68fc4bff01cce /configure.ac
parent110ffae9fefa1367af4fdcc90a456de23b92436c (diff)
downloadzsh-596ba302e6f23089e58ff05d75fedfca8e79a7d2.tar.gz
zsh-596ba302e6f23089e58ff05d75fedfca8e79a7d2.tar.xz
zsh-596ba302e6f23089e58ff05d75fedfca8e79a7d2.zip
40037: Unicode 9 character width support.
Enable with --enable-unicode9.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e0eb3205e..920c2fc17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2591,6 +2591,18 @@ wmemcpy wmemmove wmemset; do
 ])
 AH_TEMPLATE([MULTIBYTE_SUPPORT],
 [Define to 1 if you want support for multibyte character sets.])
+
+dnl
+dnl unicode9 support
+dnl
+AH_TEMPLATE([ENABLE_UNICODE9],
+[Define to 1 if you want use unicode9 character widths.])
+AC_ARG_ENABLE(unicode9,
+AC_HELP_STRING([--enable-unicode9], [compile with unicode9 character widths]),
+[if test x$enableval = xyes; then
+  AC_DEFINE(ENABLE_UNICODE9)
+fi])
+
 AH_TEMPLATE([BROKEN_WCWIDTH],
 [Define to 1 if the wcwidth() function is present but broken.])
 AH_TEMPLATE([BROKEN_ISPRINT],