@@ -1767,26 +1767,12 @@ "OFSelectKernelEventObserver.m") ]) ;; esac - AC_CHECK_HEADERS(net/if.h net/if_types.h net/if_dl.h) - AC_CHECK_HEADERS(netpacket/packet.h) + AC_CHECK_HEADERS(net/if.h) AC_CHECK_FUNCS(if_nameindex) - AC_CHECK_TYPES([struct sockaddr_dl], [], [], [ - #ifdef HAVE_SYS_TYPES_H - # include - #endif - #ifdef HAVE_NET_IF_DL_H - # include - #endif - ]) - AC_CHECK_TYPES([struct sockaddr_ll], [], [], [ - #ifdef HAVE_NETPACKET_PACKET_H - # include - #endif - ]) AC_ARG_WITH(tls, AS_HELP_STRING([--with-tls], [ enable TLS support using the specified library (yes, openssl, gnutls, securetransport or no)]))