[Libguestfs] [PATCH] Use -ltinfo instead of -lncurses.

Pino Toscano ptoscano at redhat.com
Thu Nov 6 12:34:24 UTC 2014


On Wednesday 05 November 2014 21:37:14 Richard W.M. Jones wrote:
> In tools except guestfish, we don't use ncurses, or even curses, just
> 2 termcap functions and a global variable.  These are provided by
> libtinfo, so just link to that.

Sounds good.

> In guestfish we use readline which needs ncurses.  Leave that alone.

Given that three AC_CHECK_LIB checking for ncurses are now gone, 
wouldn't it better to explicitly search for it prior to searching for 
readline?

-- 
Pino Toscano




More information about the Libguestfs mailing list