qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: qemu-devel@nongnu.org, pbonzini@redhat.com, berrange@redhat.com,
	peter.maydell@linaro.org, mjt@tls.msk.ru
Subject: Re: [Qemu-devel] [PATCH 2/5] curses: Use cursesw when available
Date: Thu, 23 Jun 2016 09:29:21 +0200	[thread overview]
Message-ID: <1466666961.26189.24.camel@redhat.com> (raw)
In-Reply-To: <1466634202-24616-3-git-send-email-samuel.thibault@ens-lyon.org>

  Hi,

>  ##########################################
> +# cursesw probe
> +if test "$cursesw" != "no" ; then
> +  if test "$mingw32" = "yes" ; then
> +    cursesw_inc_list="$($pkg_config --cflags ncursesw 2>/dev/null):"
> +    cursesw_lib_list="$($pkg_config --libs ncursesw 2>/dev/null):-lpdcurses"
> +  else
> +    cursesw_inc_list="$($pkg_config --cflags ncursesw 2>/dev/null):"
> +    cursesw_lib_list="$($pkg_config --libs ncursesw 2>/dev/null):-lncursesw:-lcursesw:-lncurses:-lcurses"
> +  fi
> [ ... ]

Do we *really* want this mess?

Is there any curses implementation without wide char support which is
still relevant today?

Is there any curses implementation beside ncurses still relevant today?

/me boots the freebsd guest.
/me finds libcurses being symlinks to libncurses.

I'm tempted to say just require ncursesw and be done with it.
That will also avoid the #ifdef mess in the following patches.

cheers,
  Gerd

  reply	other threads:[~2016-06-23  7:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-22 22:23 [Qemu-devel] [PATCH 0/5] curses: wide character support Samuel Thibault
2016-06-22 22:23 ` [Qemu-devel] [PATCH 1/5] curses: fix left/right arrow translation Samuel Thibault
2016-06-22 22:23 ` [Qemu-devel] [PATCH 2/5] curses: Use cursesw when available Samuel Thibault
2016-06-23  7:29   ` Gerd Hoffmann [this message]
2016-06-22 22:23 ` [Qemu-devel] [PATCH 3/5] curses: use wide output functions Samuel Thibault
2016-06-22 22:23 ` [Qemu-devel] [PATCH 4/5] curses: add option to specify VGA font encoding Samuel Thibault
2016-06-23  7:34   ` Markus Armbruster
2016-06-22 22:23 ` [Qemu-devel] [PATCH 5/5] curses: support wide input Samuel Thibault

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=1466666961.26189.24.camel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=berrange@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=samuel.thibault@ens-lyon.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.
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).