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 /misc-utils | |
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 'misc-utils')
-rw-r--r-- | misc-utils/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc-utils/Makefile.am b/misc-utils/Makefile.am index b799462cb..5441b0157 100644 --- a/misc-utils/Makefile.am +++ b/misc-utils/Makefile.am @@ -18,10 +18,10 @@ dist_man_MANS = cal.1 chkdupexe.1 ddate.1 logger.1 look.1 mcookie.1 \ namei.1 script.1 whereis.1 scriptreplay.1 if HAVE_TINFO -cal_LDADD = -ltinfo -lncurses +cal_LDADD = -ltinfo @NCURSES_LIBS@ else if HAVE_NCURSES -cal_LDADD = -lncurses +cal_LDADD = @NCURSES_LIBS@ else if HAVE_TERMCAP cal_LDADD = -ltermcap @@ -41,7 +41,7 @@ endif if HAVE_TINFO setterm_LDADD = -ltinfo else -setterm_LDADD = -lncurses +setterm_LDADD = @NCURSES_LIBS@ endif endif |