summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e88b3fb)
On some distributions, tinc might not be linked correctly if -ltinfo is
not explicitly specified.
)
AC_CHECK_LIB(ncurses, initscr,
)
AC_CHECK_LIB(ncurses, initscr,
- [CURSES_LIBS="-lncurses"],
+ [CURSES_LIBS="-lncurses"; AC_CHECK_LIB(tinfo, wtimeout, [CURSES_LIBS+=" -ltinfo"], [])],
[AC_CHECK_LIB(curses, initscr,
[CURSES_LIBS="-lcurses"],
[AC_MSG_ERROR("curses libraries not found.")]
[AC_CHECK_LIB(curses, initscr,
[CURSES_LIBS="-lcurses"],
[AC_MSG_ERROR("curses libraries not found.")]