configure.ac
changeset 337 7bc0c6ad11ff
parent 335 7d1d7f3885e8
child 349 3dafc8376e9b
equal deleted inserted replaced
336:6bbe269d289d 337:7bc0c6ad11ff
    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"