From 4d8453331a37c2a07ee0b80e359c4a30d52f7ecc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 16 Sep 2008 18:52:54 +0200 Subject: [PATCH] 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. --- configure.ac | 15 --------------- 1 file changed, 15 deletions(-) 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], -- 2.30.2