aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
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