From: Eugene Syromyatnikov Date: Fri, 1 Jun 2018 10:13:52 +0000 (+0200) Subject: configure.ac: check for linux/rtnetlink.h instead of linux/if_link.h for declarations X-Git-Tag: v4.23~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45049d4a4d9f364c30d1b28e2f30d24ddb9a4f81;p=strace configure.ac: check for linux/rtnetlink.h instead of linux/if_link.h for declarations Historically, type definitions and declarations related to netlink route interface attributes were in linux/rtnetlink.h, later they were moved elsewhere (first linux/if.h, then linux/if_link.h) with the inclusion of the corresponding header file in linux/rtnetlink.h. * configure.ac: Use instead of in checks for interface netlink attributes-related declarations and definitions. --- diff --git a/configure.ac b/configure.ac index 9f13fc79..46c54d52 100644 --- a/configure.ac +++ b/configure.ac @@ -504,11 +504,11 @@ AC_CHECK_TYPES(m4_normalize([ struct ifla_bridge_id, struct ifla_port_vsi, struct rtnl_link_stats64 -]),,, [#include ]) +]),,, [#include ]) AC_CHECK_MEMBERS(m4_normalize([ struct rtnl_link_stats.rx_nohandler, struct rtnl_link_stats64.rx_nohandler -]),,, [#include ]) +]),,, [#include ]) AC_CHECK_TYPES(m4_normalize([ struct gnet_stats_basic,