mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 16:28:48 +00:00
Can only check for one with AC_CHECK_LIB.
This commit is contained in:
parent
fd96ccfd80
commit
a24cf4a5e1
10
configure.ac
10
configure.ac
@ -189,11 +189,19 @@ if test "x$found_ncurses" = xyes; then
|
|||||||
else
|
else
|
||||||
# pkg-config didn't work, try ncurses.
|
# pkg-config didn't work, try ncurses.
|
||||||
AC_CHECK_LIB(
|
AC_CHECK_LIB(
|
||||||
[tinfo ncurses],
|
tinfo,
|
||||||
setupterm,
|
setupterm,
|
||||||
found_ncurses=yes,
|
found_ncurses=yes,
|
||||||
found_ncurses=no
|
found_ncurses=no
|
||||||
)
|
)
|
||||||
|
if test "x$found_ncurses" = xno; then
|
||||||
|
AC_CHECK_LIB(
|
||||||
|
ncurses,
|
||||||
|
setupterm,
|
||||||
|
found_ncurses=yes,
|
||||||
|
found_ncurses=no
|
||||||
|
)
|
||||||
|
fi
|
||||||
if test "x$found_ncurses" = xyes; then
|
if test "x$found_ncurses" = xyes; then
|
||||||
AC_CHECK_HEADER(
|
AC_CHECK_HEADER(
|
||||||
ncurses.h,
|
ncurses.h,
|
||||||
|
Loading…
Reference in New Issue
Block a user