bug-gtypist
[Top][All Lists]
Advanced

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

Re: [bug-gtypist] gtypist fails to build with ncurses[tinfo]


From: Tim Marston
Subject: Re: [bug-gtypist] gtypist fails to build with ncurses[tinfo]
Date: Sat, 25 Jan 2014 17:26:16 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Felix,

On Sat, Jan 18, 2014 at 09:25:33PM +0100, Felix Natter wrote:
> > But why not use AC_SEARCH_LIBS to find the library that the "cbreak"
> > function is in?  For example (untested):
> >
> >     AC_CHECK_HEADER(ncursesw/ncurses.h, HAVE_NCURSESW_H=1)
> >     AC_SEARCH_LIBS(ncursesw, add_wch, HAVE_LIBNCURSESW=1)
> >     AC_SEARCH_LIBS([ncursesw tinfo], cbreak, HAVE_LIBTINFO_H=1, [
> >             AC_MSG_ERROR([can't find cbreak() anywhere!])
> >     ])
> >
> >
> > Surely that will include libtinfo only as needed (e.g., on gentoo, but
> > not on distributions that include cbreak in libncursesw, like debian).
> 
> Yes, that is a very good solution!
> [..]
> Shall I test+push it tomorrow or do you want to do it?

Yes, please, if you wouldn't mind!  :o)

We should probably install Gentoo in a VM (or something) and check that
it works, as well.  Or we could ask the gentoo package maintainer (or
whoever filed the original bug report) if they would mind checking it
for us?

And I think we'll be ready for another release then.

-- 
Tim Marston
ed.am



reply via email to

[Prev in Thread] Current Thread [Next in Thread]