diff options
author | Max Kellermann <max@duempel.org> | 2008-09-16 18:52:54 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-16 18:52:54 +0200 |
commit | 4d8453331a37c2a07ee0b80e359c4a30d52f7ecc (patch) | |
tree | 8b51446d8e9f7a681822311b26f1d82fad517bd8 | |
parent | 3bae8cb15d21531b9e90dc5621a52fd90374016e (diff) | |
download | mpd-4d8453331a37c2a07ee0b80e359c4a30d52f7ecc.tar.gz mpd-4d8453331a37c2a07ee0b80e359c4a30d52f7ecc.tar.xz mpd-4d8453331a37c2a07ee0b80e359c4a30d52f7ecc.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac index 74ea386dd..8382c32cb 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], |