diff options
author | Kalle Wallin <kaw@linux.se> | 2006-01-22 20:19:00 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2006-01-22 20:19:00 +0000 |
commit | 2119520dea7d640db04d2eccecaefac9434b0af6 (patch) | |
tree | e20a2e7f1729c93838dfb0cfc0f0f054bd4dca43 | |
parent | d3dc4381331a0803e3e44bfb4570afc95c932aa5 (diff) | |
download | mpd-2119520dea7d640db04d2eccecaefac9434b0af6.tar.gz mpd-2119520dea7d640db04d2eccecaefac9434b0af6.tar.xz mpd-2119520dea7d640db04d2eccecaefac9434b0af6.zip |
Use libncursesw by default
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3856 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r-- | configure.ac | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 836fecd4c..cd1dc0780 100644 --- a/configure.ac +++ b/configure.ac @@ -52,12 +52,12 @@ dnl Check for libraries dnl dnl ncurses -ncurses=ncurses +ncurses=ncursesw AC_ARG_WITH([ncurses], - AC_HELP_STRING([--with-ncurses], [compile/link with ncurses library]), + AC_HELP_STRING([--with-ncurses], [compile/link with ncurses library] ), [ncurses=ncurses]) AC_ARG_WITH(ncursesw, - AC_HELP_STRING([--with-ncursesw], [compile/link with wide-char ncurses library]), + AC_HELP_STRING([--with-ncursesw], [compile/link with wide-char ncurses library @<:@default@:>@]), [ncurses=ncursesw]) AC_CHECK_LIB([$ncurses], @@ -66,6 +66,7 @@ AC_CHECK_LIB([$ncurses], [AC_MSG_ERROR($ncurses library is required)]) if test "x$ncurses" = "xncursesw" ; then + AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, [wide-char wget_ch()]) AC_DEFINE(USE_NCURSESW, 1, [use wide-char ncurses library]) fi @@ -187,9 +188,9 @@ dnl Optional screen - search AC_MSG_CHECKING([whether to include the search screen]) AC_ARG_ENABLE([search-screen], AC_HELP_STRING([--enable-search-screen], - [Enable search screen (EXPERIMENTAL) @<:@default=no@:>@]), + [Enable search screen (EXPERIMENTAL) @<:@default=yes@:>@]), [search_screen="$enableval"], - [search_screen=no]) + [search_screen=yes]) AC_MSG_RESULT([$search_screen]) if test "x$search_screen" != "xyes" ; then AC_DEFINE(DISABLE_SEARCH_SCREEN, 1, [Disable search screen]) @@ -240,7 +241,7 @@ AC_MSG_RESULT([$DEFAULT_PORT]) AC_DEFINE_UNQUOTED([DEFAULT_PORT], [$DEFAULT_PORT], [Default MPD port]) AC_DEFINE_UNQUOTED([DEFAULT_PORT_STR], ["$DEFAULT_PORT"], [Default MPD port]) -dnl Default host +dnl Default timedisplay type AC_MSG_CHECKING([for default timedisplay type]) AC_ARG_WITH([default-timedisplay_type], AC_HELP_STRING([--with-default-timedisplay_type=ARG], |