From: Max Kellermann Date: Tue, 16 Sep 2008 16:52:54 +0000 (+0200) Subject: don't use libncursesw if libncurses was selected X-Git-Tag: v0.12_alpha1~301 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4d8453331a37c2a07ee0b80e359c4a30d52f7ecc;p=ncmpc.git don't use libncursesw if libncurses was selected No idea what this code was intended for, but if the user chooses libncurses, ncmpc shouldn't override this manual choice if it finds libncursesw. --- diff --git a/configure.ac b/configure.ac index 74ea386..8382c32 100644 --- a/configure.ac +++ b/configure.ac @@ -81,13 +81,6 @@ if test "x$ncurses" = "xauto"; then [ncurses=ncursesw], [ncurses=ncurses]) fi - -AC_CHECK_HEADER([ncursesw/ncurses.h], - [have_ncursesw_h=yes], - ,) - - - AC_CHECK_LIB([$ncurses], [initscr], @@ -95,14 +88,6 @@ AC_CHECK_LIB([$ncurses], [AC_MSG_ERROR($ncurses library is required)]) -if test "x$ncurses" != "xncursesw" ; then - if test "x$have_ncursesw_h" = "xyes" ; then - AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, [wide-char wget_ch()]) - AC_DEFINE(USE_NCURSESW, 1, [use wide-char ncurses library]) - fi -fi - - dnl Check for glib-2.4 PKG_CHECK_MODULES([GLIB],