summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3bae8cb)
raw | patch | inline | side by side (parent: 3bae8cb)
author | Max Kellermann <max@duempel.org> | |
Tue, 16 Sep 2008 16:52:54 +0000 (18:52 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 16 Sep 2008 16:52:54 +0000 (18:52 +0200) |
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.
libncurses, ncmpc shouldn't override this manual choice if it finds
libncursesw.
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 74ea386dd1bf2971fc76b413f90ec0a80a47c8ee..8382c32cb4764b6fe1320daf425c7d4665cb044e 100644 (file)
--- a/configure.ac
+++ b/configure.ac
[ncurses=ncursesw],
[ncurses=ncurses])
fi
-
-AC_CHECK_HEADER([ncursesw/ncurses.h],
- [have_ncursesw_h=yes],
- ,)
-
-
-
AC_CHECK_LIB([$ncurses],
[initscr],
[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],