[llvm] r187874 - Add support for linking against a curses library when available and
Joerg Sonnenberger
joerg at britannica.bec.de
Wed Aug 7 12:23:01 PDT 2013
On Wed, Aug 07, 2013 at 08:47:36AM -0000, Chandler Carruth wrote:
> Log:
> Add support for linking against a curses library when available and
> using it to detect whether or not a terminal supports colors.
I think it would preferable to use terminfo or termcap directly for
this. The former exists at least on every system with ncurses and NetBSD
6+, the latter on another range of systems. All curses implementations I
am aware of pull one of those two libraries in, but add more junk on
top. I don't see any need for supporting termcap for optional colour
support, so just going with terminfo sounds fine.
Joerg
More information about the llvm-commits
mailing list