summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1997-09-25 11:10:35 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:01 +0100
commit28764f40827bc3c4ef9bfe1154c66d8537568752 (patch)
tree38aa67bb606f56ed4280df4e887fd4b719a1627f /configure.ac
parent2f0647437041b9ece45fc251d7f7551f8235d04a (diff)
add -ltermcap for readline
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 86a97bb..da36f9b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -282,6 +282,7 @@ AC_ARG_WITH(editline, [ --with-editline Simmule Turner's line editing],
AC_ARG_WITH(readline, [ --with-readline Bloated GNU line editing],
AC_CHECK_LIB(readline, readline,
AC_DEFINE(READLINE) LIBS="$LIBS -lreadline -ltermcap",
- AC_MSG_WARN(readline library not found)))
+ AC_MSG_WARN(readline library not found),
+ -ltermcap))
AC_OUTPUT(Makefile)