Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -1405,11 +1405,11 @@ AC_DEFINE(OF_HAVE_NETINET_TCP_H, 1, [Whether we have netinet/tcp.h]) ]) AC_CHECK_HEADERS([arpa/inet.h netdb.h]) AC_CHECK_HEADERS([net/if.h net/if_arp.h net/if_dl.h net/if_types.h]) - AC_CHECK_FUNCS([if_indextoname if_nametoindex]) + AC_CHECK_FUNCS([if_indextoname if_nametoindex if_nameindex]) AC_CHECK_TYPES([struct sockaddr_dl], [], [], [ #ifdef HAVAE_SYS_TYPES_H # include #endif #ifdef HAVE_NET_IF_DL_H @@ -1754,13 +1754,10 @@ "OFSelectKernelEventObserver.m") ]) ;; esac - AC_CHECK_HEADERS(net/if.h) - AC_CHECK_FUNCS(if_nameindex) - AC_ARG_WITH(tls, AS_HELP_STRING([--with-tls], [ enable TLS support using the specified library (yes, openssl, gnutls, securetransport or no)])) AS_IF([test x"$with_tls" = x""], [with_tls="yes"])