diff options
author | Karel Zak | 2017-05-30 17:01:00 +0200 |
---|---|---|
committer | Karel Zak | 2017-05-30 17:08:36 +0200 |
commit | 3cc8a9f42ad0e903d25cc927e920b59c4a10b5d3 (patch) | |
tree | 2f2473d9732beb82d4b482742ebc446837dd6d98 /lib/Makemodule.am | |
parent | tests: check for ps --ppid (diff) | |
download | kernel-qcow2-util-linux-3cc8a9f42ad0e903d25cc927e920b59c4a10b5d3.tar.gz kernel-qcow2-util-linux-3cc8a9f42ad0e903d25cc927e920b59c4a10b5d3.tar.xz kernel-qcow2-util-linux-3cc8a9f42ad0e903d25cc927e920b59c4a10b5d3.zip |
build-sys: make ncurses detection more robust
It seems Debina 8 is a little bit incompatible with us:
* ncurses-config is packaged in ncurses-bin where is *no* any
development files! It means the script returns paths to not installed
files (IMHO packaging bug)
Fixed, we need to check for header files too.
* term.h is "everywhere" on Fedora:
<term.h>
<ncurses/term.h>
<ncursesw/term.h>
Debian is more strict and uses <ncurses[w]/term.h> only.
Fixed, we need #ifdef storm to use the correct path
* libtinfo-dev does not contains any header files
Fixed, we have to always require installed ncurses devel stuff to compile,
but we can link with -ltinfo only (cal, ul, more, ...)
* we don't use termcap for more(1)
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib/Makemodule.am')
0 files changed, 0 insertions, 0 deletions