From 20764f6559e8307f700e71523539f5f132a0bccb Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 23 Sep 2011 12:08:06 +0200 Subject: Add -lncurses for libreadline --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e109315..1dc6235 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,8 @@ AC_PROG_CC AC_PROG_SED AC_PATH_PROG([PROTOC_C], [protoc-c], [false]) -AC_CHECK_LIB(readline, readline) +AC_CHECK_LIB([readline], [readline], + [], [AC_MSG_ERROR([libreadline not found])], [-lncurses]) PKG_PROG_PKG_CONFIG() PKG_CHECK_MODULES(PROTOBUF, [libprotobuf-c],[], [ -- cgit