diff options
Diffstat (limited to 'm4/readline.m4')
-rw-r--r-- | m4/readline.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/readline.m4 b/m4/readline.m4 index af2745db..03ee5aef 100644 --- a/m4/readline.m4 +++ b/m4/readline.m4 @@ -70,6 +70,10 @@ dnl action if cross compiling: LIBS=$_readline_save_libs if test $_found_readline = yes ; then + case $host_os in + *bsd* ) _combo="$_combo -ltermcap" + ;; + esac AC_DEFINE(HAVE_LIBREADLINE,1, [Define to 1 if you have a fully functional readline library.]) AC_SUBST(LIBREADLINE,$_combo) |