diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-03-09 22:21:12 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-03-09 22:21:12 +0000 |
commit | a24cf4a5e1a6a7309649e5bc11a9d8f9d0cc241b (patch) | |
tree | 911fa193558b5b28a04cf84c9c42196a72f97ba7 | |
parent | fd96ccfd802aec27a4835f7bb2030003b9668e64 (diff) | |
download | rtmux-a24cf4a5e1a6a7309649e5bc11a9d8f9d0cc241b.tar.gz rtmux-a24cf4a5e1a6a7309649e5bc11a9d8f9d0cc241b.tar.bz2 rtmux-a24cf4a5e1a6a7309649e5bc11a9d8f9d0cc241b.zip |
Can only check for one with AC_CHECK_LIB.
-rw-r--r-- | configure.ac | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 67ff2d23..de623a67 100644 --- a/configure.ac +++ b/configure.ac @@ -189,11 +189,19 @@ if test "x$found_ncurses" = xyes; then else # pkg-config didn't work, try ncurses. AC_CHECK_LIB( - [tinfo ncurses], + tinfo, setupterm, found_ncurses=yes, 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 AC_CHECK_HEADER( ncurses.h, |