diff options
author | Micael Karlberg <bmk@erlang.org> | 2019-11-18 18:36:26 +0100 |
---|---|---|
committer | Micael Karlberg <bmk@erlang.org> | 2019-11-25 18:28:27 +0100 |
commit | d39a010596fec70b29611f32a13a274be75a0e63 (patch) | |
tree | ee04964b280dcbd0671ba5dff7001bd66680203a | |
parent | 1aae44c7e4dd3572ed9a4a08a469724c6711b0a7 (diff) | |
download | erlang-d39a010596fec70b29611f32a13a274be75a0e63.tar.gz |
[enet] Add check for include (new) file netpacket/packet.h
OTP-16212
-rw-r--r-- | erts/configure.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in index 4e88e1769a..a887f86621 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -1664,6 +1664,12 @@ dnl Check if we have timerfds to be used for high accuracy dnl epoll_wait timeouts AC_CHECK_HEADERS([sys/timerfd.h]) +dnl Check if we have the header file 'netpacket/packat.h' in which +dnl type 'struct sockaddr_ll' is defined. +AC_CHECK_HEADERS([netpacket/packet.h], + have_netpacket_packet_h=yes, + have_netpacket_packet_h=no) + dnl Check for kernel SCTP support AC_SUBST(LIBSCTP) if test "x$enable_sctp" != "xno" ; then |