summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1dc6235..fed636d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,6 +20,8 @@ AC_PROG_CC
AC_PROG_SED
AC_PATH_PROG([PROTOC_C], [protoc-c], [false])
+AC_CHECK_LIB([ncurses], [tputs],
+ [], [AC_MSG_ERROR([ncurses needed for libreadline])])
AC_CHECK_LIB([readline], [readline],
[], [AC_MSG_ERROR([libreadline not found])], [-lncurses])