summaryrefslogtreecommitdiff
blob: 476093c7e565b1b9d29de35280574752d6521e33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
* check ncurses first, such that we only link agains (system) termcap if
  necessary (never the case in prefix) -- grobian@gentoo.org
* check tinfo in case of ncurses[tinfo] -- jer@gentoo.org

--- a/configure.ac
+++ b/configure.ac
@@ -174,7 +174,7 @@
 AC_CHECK_LIB(kvm, kvm_open)
 # -lmld -lmach
 AC_CHECK_LIB(mach, vm_statistics)
-AC_SEARCH_LIBS(tgetent, termcap curses ncurses)
+AC_SEARCH_LIBS(tgetent, ncurses tinfo curses termcap)
 AC_CHECK_LIB(m, exp)
 
 # check for libraries required by extension