From: Ian Jackson Subject: Re: [PATCH v2] autoconf: add check for curses library Date: Mon, 12 Mar 2012 16:33:04 +0000 Message-ID: <20318.9536.778472.72943@mariner.uk.xensource.com> References: <1220a9aa16fc2b44021a.1329958231@debian.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1220a9aa16fc2b44021a.1329958231@debian.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau Monne Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Roger Pau Monne writes ("[PATCH v2] autoconf: add check for curses library"): > autoconf: add check for curses library ... > +#include This is definitely going in the right direction, thanks. > +#if defined(HAVE_NCURSES_H) > +#include > +#elif defined(HAVE_CURSES_H) > #include > +#endif How about #include INCLUDE_CURSES_H where INCLUDE_CURSES_H comes from config.h ? Ian.