370 |
|
AC_CHECK_HEADERS(unistd.h fcntl.h byteswap.h dirent.h) |
371 |
|
AC_CHECK_HEADERS(sys/socket.h sys/ioctl.h sys/filio.h sys/bitypes.h sys/wait.h) |
372 |
|
AC_CHECK_HEADERS(sys/time.h sys/poll.h sys/select.h arpa/inet.h) |
373 |
< |
AC_CHECK_HEADERS(linux/if.h linux/if_tun.h net/if.h net/if_tun.h, [], [], [ |
373 |
> |
AC_CHECK_HEADERS(netinet/in.h linux/if.h linux/if_tun.h net/if.h net/if_tun.h, [], [], [ |
374 |
|
#ifdef HAVE_SYS_TYPES_H |
375 |
|
#include <sys/types.h> |
376 |
|
#endif |
753 |
|
AC_CACHE_CHECK([whether TUN/TAP is supported], |
754 |
|
ac_cv_tun_tap_support, [ |
755 |
|
AC_TRY_COMPILE([ |
756 |
+ |
#if defined(HAVE_NETINET_IN_H) |
757 |
+ |
#include <netinet/in.h> |
758 |
+ |
#endif |
759 |
|
#if defined(HAVE_LINUX_IF_H) && defined(HAVE_LINUX_IF_TUN_H) |
760 |
|
#include <linux/if.h> |
761 |
|
#include <linux/if_tun.h> |
1494 |
|
powerpc:mach) |
1495 |
|
ac_cv_use_dyngen=yes |
1496 |
|
;; |
1497 |
+ |
x86_64:mach) |
1498 |
+ |
ac_cv_use_dyngen=yes |
1499 |
+ |
;; |
1500 |
|
i?86:mach) |
1501 |
|
ac_cv_use_dyngen=yes |
1502 |
|
;; |