diff options
author | Karel Zak | 2008-03-05 00:53:24 +0100 |
---|---|---|
committer | Karel Zak | 2008-03-20 12:25:15 +0100 |
commit | 08d64aa23288062c926823555d85ee89a65f6f41 (patch) | |
tree | 1b43993345076c42696570578eb3e52974fae299 /fdisk/Makefile.am | |
parent | build-sys: add VARSUFFIX to UTIL_CHECK_LIB (diff) | |
download | kernel-qcow2-util-linux-08d64aa23288062c926823555d85ee89a65f6f41.tar.gz kernel-qcow2-util-linux-08d64aa23288062c926823555d85ee89a65f6f41.tar.xz kernel-qcow2-util-linux-08d64aa23288062c926823555d85ee89a65f6f41.zip |
build-sys: use ncursesw (wide version) when possibe
Detect ncursesw and use it in place of ncurses when possible
(default). Allow people to use classic (non-wide) version by
--with-ncurses or disable all ncurses/ncursesw support by
--without-ncurses.
Co-Author: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisk/Makefile.am')
-rw-r--r-- | fdisk/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fdisk/Makefile.am b/fdisk/Makefile.am index 3b9dec5d5..921563f8e 100644 --- a/fdisk/Makefile.am +++ b/fdisk/Makefile.am @@ -42,7 +42,7 @@ if HAVE_NCURSES sbin_PROGRAMS += cfdisk dist_man_MANS += cfdisk.8 cfdisk_SOURCES = cfdisk.c $(fdisk_common) -cfdisk_LDADD = -lncurses +cfdisk_LDADD = @NCURSES_LIBS@ endif endif |