summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorArkadiusz Miskiewicz2008-08-08 08:21:23 +0200
committerKarel Zak2008-08-08 11:09:11 +0200
commit9ea8ac37750a0fda6a019f53f6f4bbacb6273438 (patch)
tree2edda75d19d1adb952b867e37654a5e0ffcc5998 /configure.ac
parentsfdisk: print version should end with a newline (diff)
downloadkernel-qcow2-util-linux-9ea8ac37750a0fda6a019f53f6f4bbacb6273438.tar.gz
kernel-qcow2-util-linux-9ea8ac37750a0fda6a019f53f6f4bbacb6273438.tar.xz
kernel-qcow2-util-linux-9ea8ac37750a0fda6a019f53f6f4bbacb6273438.zip
build-sys: tgets is not in ncurses but in tinfo
ncurses library can be build with terminal related functions landing in separate libtinfo library. Check for ncurses function when testing ncurses library existence. Signed-off-by: Arkadiusz Miƛkiewicz <arekm@maven.pl>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 89f0fcafe..5b357d182 100644
--- a/configure.ac
+++ b/configure.ac
@@ -207,13 +207,13 @@ if test "x$with_ncurses" != xno; then
have_ncurses=no
AC_CHECK_HEADERS([ncurses.h ncurses/ncurses.h], [
if test "x$with_ncurses" = xauto; then
- UTIL_CHECK_LIB(ncursesw, tputs, ncurses)
+ UTIL_CHECK_LIB(ncursesw, initscr, ncurses)
if test "x$have_ncurses" = xyes; then
NCURSES_LIBS="-lncursesw"
fi
fi
if test "x$have_ncurses" = xno; then
- UTIL_CHECK_LIB(ncurses, tputs)
+ UTIL_CHECK_LIB(ncurses, initscr)
if test "x$have_ncurses" = xyes; then
NCURSES_LIBS="-lncurses"
fi