diff options
author | Karel Zak | 2017-05-30 17:10:40 +0200 |
---|---|---|
committer | Karel Zak | 2017-05-30 17:14:12 +0200 |
commit | 23d47267848129b520dd187c0db02f8b5b684372 (patch) | |
tree | ffba162c22149d34f1e9e63c1a9c87db8fb60dad /term-utils/setterm.c | |
parent | build-sys: make ncurses detection more robust (diff) | |
download | kernel-qcow2-util-linux-23d47267848129b520dd187c0db02f8b5b684372.tar.gz kernel-qcow2-util-linux-23d47267848129b520dd187c0db02f8b5b684372.tar.xz kernel-qcow2-util-linux-23d47267848129b520dd187c0db02f8b5b684372.zip |
lib/colors: ncurses cleanup
* use proper paths to term.h
* keep ncurses support optional
* link with TINFO_LIBS (-ltinfo), or fallback to NCURSES_LIBS (-ltinfo -lncurses)
* don't include unnecessary ncurses.h (term.h is enough)
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/setterm.c')
0 files changed, 0 insertions, 0 deletions