SuSE 9.3 reportedly needs -lncurses for setupterm().

This commit is contained in:
Markus Armbruster 2006-05-24 18:26:34 +00:00
parent 1fad65964f
commit 46a7a9c17f

View file

@ -49,12 +49,12 @@ AC_PROG_INSTALL
### Checks for libraries.
AC_SEARCH_LIBS([setupterm], [termlib termcap curses])
AC_SEARCH_LIBS([setupterm], [termlib termcap curses ncurses])
LIB_SOCKET_NSL
# TODO merge this into LIB_SOCKET_NSL?
if test "$ac_cv_search_gethostbyname" = no; then
dnl Can't search ws2_32 for gethostbyname using AC_SEARCH_LIBS, because
dnl it requires #include <winsocks2.h> to work.
dnl it requires #include <winsock2.h> to work.
AC_MSG_CHECKING([for gethostbyname in -lws2_32])
save_LIBS=$LIBS
LIBS="-lws2_32 $LIBS"