Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

wcwidth autoconf bug



hi,

the conditional broken_wcwidth seems inverted.

YAMAMOTO Takashi

diff --git a/configure.ac b/configure.ac
index 6c04597..972a8e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2530,8 +2530,8 @@ if test x$zsh_cv_c_unicode_support = xyes; then
   AC_CACHE_CHECK(if the wcwidth() function is broken,
   zsh_cv_c_broken_wcwidth,
   [AC_TRY_RUN([$locale_prog],
-  zsh_cv_c_broken_wcwidth=yes,
   zsh_cv_c_broken_wcwidth=no,
+  zsh_cv_c_broken_wcwidth=yes,
   zsh_cv_c_broken_wcwidth=no)])
   if test x$zsh_cv_c_broken_wcwidth = xyes; then
     AC_DEFINE(BROKEN_WCWIDTH)



Messages sorted by: Reverse Date, Date, Thread, Author