fix again cygwin build failure unreleased regression

This commit is contained in:
Yang Tse 2008-11-26 18:15:09 +00:00
parent cc3a7d8e83
commit 0934c4b39d

View File

@ -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([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([sys/select.h sys/socket.h sys/ioctl.h sys/time.h])
AC_CHECK_HEADERS([arpa/inet.h netinet/in.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 case $host in
*-*-cygwin* | *-*-cegcc*) *-*-cygwin* | *-*-cegcc*)
@ -174,6 +172,8 @@ case $host in
;; ;;
esac esac
AC_CHECK_FUNCS(poll gettimeofday select strtoll)
dnl Check for select() into ws2_32 for Msys/Mingw dnl Check for select() into ws2_32 for Msys/Mingw
if test "$ac_cv_func_select" != "yes"; then if test "$ac_cv_func_select" != "yes"; then
AC_MSG_CHECKING([for select in ws2_32]) AC_MSG_CHECKING([for select in ws2_32])