]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build-sys: support ncursesw without headers in ncursesw/ directory
authorKarel Zak <kzak@redhat.com>
Tue, 1 Aug 2017 12:36:25 +0000 (14:36 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 1 Aug 2017 12:36:25 +0000 (14:36 +0200)
commit87c26ce5b689abe1b52181f98ef3c9eb1b1a5165
treeed349fbcc8f928c8781b050e7aca43369be059c6
parentdd3b72b3e9f8188addc14fe574cd67ecdff43a51
build-sys: support ncursesw without headers in ncursesw/ directory

Let's check always for alone ncurses.h and term.h if the preferred
variant with ncursesw/ subdirectory is not available.

The patch also minimize number of HAVE_...NCURSES_H macros in
config.h. We don't need to check for ncurses.h if ncurses/ncurses.h is
available.

Reported-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac