summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-07-01 13:41:40 -0400
committerKarel Zak <kzak@redhat.com>2010-07-07 09:56:16 +0200
commit30c97bb8c97e20c502b5b1d588c94059747a40a6 (patch)
treeb01adf45262b4512e295affd5bb4767477ce54a9 /configure.ac
parent541e6934e1fe6833b125c1c64f9a1108bc3d09fa (diff)
downloadutil-linux-old-30c97bb8c97e20c502b5b1d588c94059747a40a6.tar.gz
cfdisk: search for ncursesw/ncurses.h
Some distros install the wide version of ncurses side by side with the non-wide version and place the wide headers in an ncursesw/ subdir. So detect that behavior and include the right header with cfdisk. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8c5f92f4..e4f88840 100644
--- a/configure.ac
+++ b/configure.ac
@@ -442,6 +442,7 @@ if test "x$with_ncurses" != xno; then
if test "x$with_ncurses" = xauto; then
UTIL_CHECK_LIB(ncursesw, initscr, ncurses)
if test "x$have_ncurses" = xyes; then
+ AC_CHECK_HEADERS([ncursesw/ncurses.h])
NCURSES_LIBS="-lncursesw"
fi
fi