Libreadline might depend on libcurses.
This commit is contained in:
parent
3887e6dcb5
commit
20b441a6de
2 changed files with 3 additions and 2 deletions
|
@ -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]
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
|
@ -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 =
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue