Re: ncurses handling in util-linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 29, 2008 at 12:10:52AM -0500, Mike Frysinger wrote:
>  
> +AC_ARG_WITH([ncursesw],
> +  AS_HELP_STRING([--with-ncursesw], [build with wide ncurses]),
> +  [], with_ncursesw=auto

 I think better to use the option for non-wide version (--with-ncurses)
 when we default to the wide-version.

> +if test "x$with_ncursesw" = xauto; then
> +  UTIL_CHECK_LIB(ncursesw, tputs)

 Unfortunately, this UTIL_CHECK_LIB generates HAVE_NCURSESW and we
 needn't this AC conditional.

> +  with_ncursesw=$have_ncursesw
> +fi
> +if test "x$with_ncursesw" = xyes; then
> +  NCURSES_LIB="-lncursesw"
> +else
> +  NCURSES_LIB="-lncurses"

 We should also check for 'ncurses'.

 Well, I was a little creative and have a different version of this patch.
 Please, see my following posts.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux