zsh-workers
 help / color / mirror / code / Atom feed
From: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
To: zsh-workers@zsh.org
Subject: wcwidth autoconf bug
Date: Wed, 25 Jul 2012 09:03:41 +0000 (UTC)	[thread overview]
Message-ID: <20120725090341.7D96114A513@mail.netbsd.org> (raw)

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)


             reply	other threads:[~2012-07-25  9:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-25  9:03 YAMAMOTO Takashi [this message]
2012-07-28 20:06 ` Peter Stephenson
2012-08-06  6:32 ` YAMAMOTO Takashi
2012-08-07  3:12   ` YAMAMOTO Takashi
2012-08-07 18:38     ` Peter Stephenson
2012-08-23 14:43 Jun T.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120725090341.7D96114A513@mail.netbsd.org \
    --to=yamt@mwd.biglobe.ne.jp \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).