diff options
author | Joachim Wiberg <troglobit@gmail.com> | 2023-01-18 06:53:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-18 06:53:26 +0100 |
commit | 58871f3452189af54fc1ce77d4817558c8332372 (patch) | |
tree | a5049ee8ea83d7eb642171006a3aec0dcc1102fc /configure.ac | |
parent | 8e8e0f71162ef33b045bf424bb1bd83411a9ac6a (diff) | |
parent | 19979c4541ddcc817c64ea911a309ee71a8cc250 (diff) | |
download | libnet-58871f3452189af54fc1ce77d4817558c8332372.tar.gz |
Merge pull request #156 from herveboisse/remove_sock_packet
Remove support for SOCK_PACKET sockets
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index b0a5e93..f1c592e 100644 --- a/configure.ac +++ b/configure.ac @@ -77,7 +77,6 @@ AC_MSG_RESULT($have_socklen_t) # AC_LIBNET_ENDIAN_CHECK AC_SUBST(ENDIANESS) -AC_SUBST(HAVE_PACKET_SOCKET) AC_SUBST(ADDITIONAL_LIBS) AC_SUBST(PKG_CONFIG_DEFINES) AC_SUBST(PKG_CONFIG_LIBS) @@ -105,7 +104,6 @@ AS_IF([test -n "${with_link_layer}"], [ [win32], [AC_LIBOBJ([libnet_link_win32])], [none], [AC_LIBOBJ([libnet_link_none])], [linux], [AC_LIBOBJ([libnet_link_linux]) - AC_LIBNET_CHECK_PF_PACKET AC_LIBNET_LINUX_PROCFS], [AC_MSG_ERROR([Invalid link type "${with_link_layer}"])]) AC_MSG_RESULT(user selected link layer ${with_link_layer})], @@ -131,7 +129,6 @@ AS_IF([test -n "${with_link_layer}"], [ [test "${ac_cv_header_linux_socket_h}" = "yes"], [ AC_LIBOBJ([libnet_link_linux]) AC_MSG_RESULT(found link layer linux) - AC_LIBNET_CHECK_PF_PACKET AC_LIBNET_LINUX_PROCFS], [test "${cross_compiling}" != "yes" -a -c /dev/bpf0], [ # check again in case not readable |