summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-23 12:08:06 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-23 12:08:06 +0200
commit20764f6559e8307f700e71523539f5f132a0bccb (patch)
treedc6ac88b4a8fc4fb3ff3242e398a691d9de19386
parent6b62b46bd7a5e199c3d1c9b27f5d93404ddd1ccf (diff)
downloadcmumble-20764f6559e8307f700e71523539f5f132a0bccb.tar.gz
cmumble-20764f6559e8307f700e71523539f5f132a0bccb.tar.bz2
cmumble-20764f6559e8307f700e71523539f5f132a0bccb.zip
Add -lncurses for libreadline
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
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],[], [