280 |
|
AC_HEADER_STDC |
281 |
|
AC_CHECK_HEADERS(unistd.h fcntl.h sys/types.h sys/time.h sys/mman.h mach/mach.h) |
282 |
|
AC_CHECK_HEADERS(readline.h history.h readline/readline.h readline/history.h) |
283 |
< |
AC_CHECK_HEADERS(sys/socket.h sys/ioctl.h sys/filio.h sys/bitypes.h sys/wait.h sys/select.h) |
283 |
> |
AC_CHECK_HEADERS(sys/socket.h sys/ioctl.h sys/filio.h sys/bitypes.h sys/wait.h) |
284 |
> |
AC_CHECK_HEADERS(sys/poll.h sys/select.h) |
285 |
|
AC_CHECK_HEADERS(arpa/inet.h) |
286 |
|
AC_CHECK_HEADERS(linux/if.h linux/if_tun.h net/if.h net/if_tun.h, [], [], [ |
287 |
+ |
#ifdef HAVE_SYS_TYPES_H |
288 |
+ |
#include <sys/types.h> |
289 |
+ |
#endif |
290 |
|
#ifdef HAVE_SYS_SOCKET_H |
291 |
|
#include <sys/socket.h> |
292 |
|
#endif |
336 |
|
AC_CHECK_FUNCS(sigaction signal) |
337 |
|
AC_CHECK_FUNCS(mmap mprotect munmap) |
338 |
|
AC_CHECK_FUNCS(vm_allocate vm_deallocate vm_protect) |
339 |
< |
AC_CHECK_FUNCS(inet_aton) |
339 |
> |
AC_CHECK_FUNCS(poll inet_aton) |
340 |
|
|
341 |
|
dnl Darwin seems to define mach_task_self() instead of task_self(). |
342 |
|
AC_CHECK_FUNCS(mach_task_self task_self) |