summaryrefslogtreecommitdiff
path: root/fdisk/Makefile.am
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2008-03-05 00:53:24 +0100
committerKarel Zak <kzak@redhat.com>2008-03-20 12:25:15 +0100
commit08d64aa23288062c926823555d85ee89a65f6f41 (patch)
tree1b43993345076c42696570578eb3e52974fae299 /fdisk/Makefile.am
parent40cc242e0204e274b012895f17dca8750001acd8 (diff)
downloadutil-linux-old-08d64aa23288062c926823555d85ee89a65f6f41.tar.gz
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.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/fdisk/Makefile.am b/fdisk/Makefile.am
index 3b9dec5d..921563f8 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