diff --git a/configure.in b/configure.in index 380802e5..8fe69e7f 100644 --- a/configure.in +++ b/configure.in @@ -162,8 +162,6 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]), AC_CHECK_HEADERS([errno.h fcntl.h stdio.h stdlib.h unistd.h sys/uio.h]) AC_CHECK_HEADERS([sys/select.h sys/socket.h sys/ioctl.h sys/time.h]) AC_CHECK_HEADERS([arpa/inet.h netinet/in.h]) -AC_CHECK_HEADERS([windows.h ws2tcpip.h winsock2.h]) -AC_CHECK_FUNCS(poll gettimeofday select strtoll) case $host in *-*-cygwin* | *-*-cegcc*) @@ -174,6 +172,8 @@ case $host in ;; esac +AC_CHECK_FUNCS(poll gettimeofday select strtoll) + dnl Check for select() into ws2_32 for Msys/Mingw if test "$ac_cv_func_select" != "yes"; then AC_MSG_CHECKING([for select in ws2_32])