aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-07-02 21:11:56 +0000
committerKalle Wallin <kaw@linux.se>2004-07-02 21:11:56 +0000
commitb268b9992faa303d6283c5a88ba460b5fd73cef6 (patch)
tree9fb9980bc7b231796b79d5abf0de6153ea8228fe /configure.ac
parent8a22ebb6b68d5696ef853f07de96553e4ae506c4 (diff)
downloadmpd-b268b9992faa303d6283c5a88ba460b5fd73cef6.tar.gz
mpd-b268b9992faa303d6283c5a88ba460b5fd73cef6.tar.xz
mpd-b268b9992faa303d6283c5a88ba460b5fd73cef6.zip
Added basic ncurses mouse support
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1770 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4aadbeb0b..4782abb64 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,6 +56,11 @@ AC_CHECK_LIB([ncurses],
[initscr],
[LIBS="$LIBS -lncurses"],
[AC_MSG_ERROR(ncurses library is required)])
+AC_CHECK_LIB([ncurses],
+ [getmouse],
+ [AC_DEFINE([HAVE_GETMOUSE], [1], [ncurses - getmouse()])],
+ [])
+
dnl Check for glib-2.4