From 45049d4a4d9f364c30d1b28e2f30d24ddb9a4f81 Mon Sep 17 00:00:00 2001 From: Eugene Syromyatnikov Date: Fri, 1 Jun 2018 12:13:52 +0200 Subject: [PATCH] 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. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.50.0