1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff --git a/configure.in b/configure.in
index 63172e4..6c2afcc 100644
--- a/configure.in
+++ b/configure.in
@@ -132,7 +132,7 @@ fi
AC_SUBST(ZHCON_LOCALE_DIR)
AC_CHECK_LIB(util, forkpty)
-AC_CHECK_LIB(curses, main)
+AC_SEARCH_LIBS([tgetent], [tinfow tinfo cursesw curses ncursesw ncurses], [break;])
dnl for freebsd
dnl AC_CHECK_LIB(c, i386_set_ioperm)
@@ -172,7 +172,7 @@ dnl Checks for gpm
dnl-----------------------------------------------------------------------
usegpm="yes"
AC_CHECK_HEADERS(gpm.h,,usegpm="no")
-AC_CHECK_LIB(gpm,main,,usegpm="no")
+AC_CHECK_LIB(gpm,Gpm_Open,,usegpm="no")
dnl-----------------------------------------------------------------------
dnl Checks for libggi
|