All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] use ncurses-config to find all curses related libs
Date: Thu, 24 Nov 2011 19:49:17 +0100	[thread overview]
Message-ID: <20111124184917.GA25646@aepfle.de> (raw)
In-Reply-To: <20174.36661.814563.526570@mariner.uk.xensource.com>

On Thu, Nov 24, Ian Jackson wrote:

> Olaf Hering writes ("[Xen-devel] [PATCH] use ncurses-config to find all curses related libs"):
> > -CURSES_LIBS = -lncurses
> > +CURSES_LIBS = $(shell if ! ncurses5-config --libs 2>/dev/null ; then ncurses-config --libs ; fi)
> 
> In the case where ncurses5-config is not provided, this will fail.

It seems to work for me, with this example foo is printed:

if ! ABC 2>/dev/null ; then echo foo ; fi

Olaf

  reply	other threads:[~2011-11-24 18:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-22 11:35 [PATCH] use ncurses-config to find all curses related libs Olaf Hering
2011-11-24 18:38 ` Ian Jackson
2011-11-24 18:49   ` Olaf Hering [this message]
2011-11-24 18:53     ` Ian Jackson
2011-11-24 19:15       ` Olaf Hering
2011-11-24 19:20         ` Ian Jackson
2011-11-24 19:37           ` Olaf Hering
2011-11-29 12:50 ` [PATCH v2] " Olaf Hering

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=20111124184917.GA25646@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.