Code

status_bar: remove the status bar clock (option "display-time")
[ncmpc.git] / configure.ac
index 2a78958598272c5e0c1dac6d9c585c647768b07a..675008ffb56e916ddfcd2dfc6d53c607b8903277 100644 (file)
@@ -1,8 +1,8 @@
 AC_PREREQ(2.60)
-AC_INIT(ncmpc, 0.26, max@duempel.org)
+AC_INIT(ncmpc, 0.27, max@duempel.org)
 
 VERSION_MAJOR=0
-VERSION_MINOR=26
+VERSION_MINOR=27
 VERSION_REVISION=0
 VERSION_EXTRA=0
 
@@ -227,11 +227,10 @@ AM_CONDITIONAL(ENABLE_HELP_SCREEN, test x$enable_help_screen = xyes)
 
 dnl Optional - curses getmouse support
 
-dnl AC_CHECK_LIB depends on being able to prepend a '-l', remove the '-l' from CURSES_LIB first
-AC_CHECK_LIB([$(expr substr $CURSES_LIB 3 99)],
-               [getmouse],
+MPD_WITH_LIBRARY([CURSES],
+       [AC_CHECK_FUNC([getmouse],
                [ax_cv_curses_mouse=yes],
-               [ax_cv_curses_mouse=no])
+               [ax_cv_curses_mouse=no])])
 
 AC_ARG_ENABLE([mouse], 
        AS_HELP_STRING([--enable-mouse],