]> git.ipfire.org Git - thirdparty/util-linux.git/commit
cal: ncurses cleanup
authorKarel Zak <kzak@redhat.com>
Tue, 30 May 2017 15:10:40 +0000 (17:10 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 30 May 2017 15:14:46 +0000 (17:14 +0200)
commit18451b2cf47191aa5f87d8829f9de22a52eca2e1
tree9ec6103a1f6cfb7f3f5e4cdc867ab72b3d491159
parent23d47267848129b520dd187c0db02f8b5b684372
cal: 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>
misc-utils/Makemodule.am
misc-utils/cal.c