diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-07-01 13:41:40 -0400 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2010-07-07 09:56:16 +0200 |
commit | 30c97bb8c97e20c502b5b1d588c94059747a40a6 (patch) | |
tree | b01adf45262b4512e295affd5bb4767477ce54a9 /configure.ac | |
parent | 541e6934e1fe6833b125c1c64f9a1108bc3d09fa (diff) | |
download | util-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.ac | 1 |
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 |