[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] use ncurses-config to find all curses related libs



On Thu, Nov 24, Ian Jackson wrote:

> Olaf Hering writes ("Re: [Xen-devel] [PATCH] use ncurses-config to find all 
> curses related libs"):
> > This should work:
> > 
> > if ! ncurses5-config --libs 2>/dev/null;then if ! ncurses-config --libs ; 
> > then echo '-lncurses' ; fi ; fi
> 
> That's an improvement, but it reruns the shell rune for every time
> CURSES_LIBS is expanded.

Right. I remember there are ways to assign a variable only once, I will
check the make documentation.

Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.