Libreadline might depend on libcurses.

This commit is contained in:
Guus Sliepen 2012-10-01 10:42:13 +02:00
parent 3887e6dcb5
commit 20b441a6de
2 changed files with 3 additions and 2 deletions

View file

@ -33,7 +33,8 @@ AC_DEFUN([tinc_READLINE],
AC_CHECK_LIB(readline, readline,
[READLINE_LIBS="-lreadline"],
[AC_MSG_ERROR("readline library not found.")]
[AC_MSG_ERROR("readline library not found.")],
[$CURSES_LIBS]
)
])