mirror of
				https://github.com/libssh2/libssh2.git
				synced 2025-11-03 22:13:11 +03:00 
			
		
		
		
	fix again cygwin build failure unreleased regression
This commit is contained 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([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])
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user