SuSE 9.3 reportedly needs -lncurses for setupterm().
This commit is contained in:
parent
1fad65964f
commit
46a7a9c17f
1 changed files with 2 additions and 2 deletions
|
@ -49,12 +49,12 @@ AC_PROG_INSTALL
|
||||||
|
|
||||||
|
|
||||||
### Checks for libraries.
|
### Checks for libraries.
|
||||||
AC_SEARCH_LIBS([setupterm], [termlib termcap curses])
|
AC_SEARCH_LIBS([setupterm], [termlib termcap curses ncurses])
|
||||||
LIB_SOCKET_NSL
|
LIB_SOCKET_NSL
|
||||||
# TODO merge this into LIB_SOCKET_NSL?
|
# TODO merge this into LIB_SOCKET_NSL?
|
||||||
if test "$ac_cv_search_gethostbyname" = no; then
|
if test "$ac_cv_search_gethostbyname" = no; then
|
||||||
dnl Can't search ws2_32 for gethostbyname using AC_SEARCH_LIBS, because
|
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])
|
AC_MSG_CHECKING([for gethostbyname in -lws2_32])
|
||||||
save_LIBS=$LIBS
|
save_LIBS=$LIBS
|
||||||
LIBS="-lws2_32 $LIBS"
|
LIBS="-lws2_32 $LIBS"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue