summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d3dc438)
raw | patch | inline | side by side (parent: d3dc438)
author | Kalle Wallin <kaw@linux.se> | |
Sun, 22 Jan 2006 20:19:00 +0000 (20:19 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Sun, 22 Jan 2006 20:19:00 +0000 (20:19 +0000) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 836fecd4c4521cea593785a68aabfbf1696f88d3..cd1dc0780df1d3bf779fc7468709f071a63d704e 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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],
[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
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])
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],