forked from mirrors/tftp-hpa-google
#include <sys/socket.h> if it exists;
Add option to control the max blksize negotiated.
This commit is contained in:
parent
b3941f251a
commit
530706aebe
6 changed files with 49 additions and 9 deletions
|
@ -77,6 +77,9 @@ AC_CHECK_HEADERS(arpa/inet.h)
|
|||
AC_HEADER_TIME
|
||||
dnl This is needed on some versions of FreeBSD...
|
||||
AC_CHECK_HEADERS(machine/param.h)
|
||||
AC_CHECK_HEADERS(sys/socket.h)
|
||||
AC_CHECK_HEADERS(winsock2.h)
|
||||
AC_CHECK_HEADERS(winsock.h)
|
||||
|
||||
AC_CHECK_TYPES(intmax_t)
|
||||
AC_CHECK_TYPES(long long)
|
||||
|
@ -89,7 +92,7 @@ AC_TYPE_PID_T
|
|||
AC_TYPE_MODE_T
|
||||
AC_TYPE_SIZE_T
|
||||
|
||||
AC_SEARCH_LIBS(socket, socket, , [AC_MSG_ERROR(socket library not found)])
|
||||
AC_SEARCH_LIBS(socket, [socket ws2_32 wsock32], , [AC_MSG_ERROR(socket library not found)])
|
||||
AC_SEARCH_LIBS(gethostbyname, [nsl resolv], , [AC_MSG_ERROR(gethostbyname not found)])
|
||||
AC_SEARCH_LIBS(inet_aton, [nsl resolv], , [AC_MSG_ERROR(inet_aton not found)])
|
||||
AC_SEARCH_LIBS(herror, [nsl resolv], , [AC_MSG_ERROR(herror not found)])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue