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, AC_CHECK_LIB(readline, readline,
[READLINE_LIBS="-lreadline"], [READLINE_LIBS="-lreadline"],
[AC_MSG_ERROR("readline library not found.")] [AC_MSG_ERROR("readline library not found.")],
[$CURSES_LIBS]
) )
]) ])

View file

@ -37,7 +37,7 @@ if TUNEMU
tincd_SOURCES += bsd/tunemu.c tincd_SOURCES += bsd/tunemu.c
endif endif
tincctl_LDADD = $(CURSES_LIBS) $(READLINE_LIBS) tincctl_LDADD = $(READLINE_LIBS) $(CURSES_LIBS)
DEFAULT_INCLUDES = DEFAULT_INCLUDES =