[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What does ncurses need?
From: |
Gary E. Miller |
Subject: |
Re: What does ncurses need? |
Date: |
Fri, 11 Dec 2020 12:34:48 -0800 |
Yo Greg!
On Fri, 11 Dec 2020 15:30:03 -0500
Greg Troxel <gdt@lexort.com> wrote:
> One issue with curess in BSD land is that there is "curses" which is
> really good enough for almost all things that claim to need ncurses.
>
> There is an x-open specification:
>
> https://publications.opengroup.org/c094
>
> and I haven't looked at it yet, but it may be that gpsd should be
> adjusted to first look for that in the way the standard says it has to
> be, and tehn look for ncurses.
Good idea. scons already does that.
if not config.CheckHeader(["curses.h"]):
announce('Turning off ncurses support, curses.h not found.')
config.env['ncurses'] = False
elif config.CheckPKG('ncurses'):
ncurseslibs = pkg_config('ncurses', rpath_hack=True)
if config.CheckPKG('tinfo'):
ncurseslibs += pkg_config('tinfo', rpath_hack=True)
> Do we know that gpsd needs features not in the spec?
Given that gpsd has worked in BSD's for a long time, I would think not.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpjmP3JXHvvL.pgp
Description: OpenPGP digital signature