equal
deleted
inserted
replaced
51 AC_SUBST([LT_AGE]) |
51 AC_SUBST([LT_AGE]) |
52 |
52 |
53 AM_PATH_GLIB_2_0 |
53 AM_PATH_GLIB_2_0 |
54 |
54 |
55 AC_CHECK_HEADERS([arpa/inet.h fcntl.h memory.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h unistd.h]) |
55 AC_CHECK_HEADERS([arpa/inet.h fcntl.h memory.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h unistd.h]) |
56 AC_CHECK_HEADERS([winsock2.h]) |
56 AC_CHECK_HEADERS([winsock2.h arpa/nameser_compat.h]) |
57 |
57 |
58 if test "$ac_cv_header_winsock2_h" = "yes"; then |
58 if test "$ac_cv_header_winsock2_h" = "yes"; then |
59 # If we have <winsock2.h>, assume we find the functions |
59 # If we have <winsock2.h>, assume we find the functions |
60 # in -lws2_32 (ws2_32 is winsock v2, wsock32 is v1.1) |
60 # in -lws2_32 (ws2_32 is winsock v2, wsock32 is v1.1) |
61 LIBS="-lws2_32 -lgdi32 $LIBS" |
61 LIBS="-lws2_32 -lgdi32 $LIBS" |