Prefer ncurses over curses.
This commit is contained in:
parent
b115de2199
commit
19b97e79aa
1 changed files with 6 additions and 3 deletions
|
@ -31,9 +31,12 @@ AC_DEFUN([tinc_CURSES],
|
||||||
[AC_MSG_ERROR("curses header files not found."); break]
|
[AC_MSG_ERROR("curses header files not found."); break]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_CHECK_LIB(curses, initscr,
|
AC_CHECK_LIB(ncurses, initscr,
|
||||||
[CURSES_LIBS="-lcurses"],
|
[CURSES_LIBS="-lncurses"],
|
||||||
[AC_MSG_ERROR("curses libraries not found.")]
|
[AC_CHECK_LIB(curses, initscr,
|
||||||
|
[CURSES_LIBS="-lcurses"],
|
||||||
|
[AC_MSG_ERROR("curses libraries not found.")]
|
||||||
|
)]
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue