aboutsummaryrefslogtreecommitdiffstats
path: root/m4/readline.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/readline.m4')
-rw-r--r--m4/readline.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/readline.m4 b/m4/readline.m4
index 740b9c7b..5c0bb1ea 100644
--- a/m4/readline.m4
+++ b/m4/readline.m4
@@ -92,7 +92,7 @@ dnl action if not found:
if test $_found_readline = yes ; then
case $host_os in
- *bsd* ) _combo="$_combo -ltermcap"
+ *bsd* ) AC_CHECK_LIB(termcap, tgetent, _combo="$_combo -ltermcap")
;;
esac
AC_DEFINE(HAVE_LIBREADLINE,1,