1dnl SPDX-License-Identifier: GPL-2.0-or-later 2dnl Copyright (c) 2017 Richard Palethorpe <rpalethorpe@suse.com> 3dnl 4dnl This program is free software; you can redistribute it and/or modify 5dnl it under the terms of the GNU General Public License as published by 6dnl the Free Software Foundation; either version 2 of the License, or 7dnl (at your option) any later version. 8dnl 9dnl This program is distributed in the hope that it will be useful, 10dnl but WITHOUT ANY WARRANTY; without even the implied warranty of 11dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 12dnl the GNU General Public License for more details. 13dnl 14dnl You should have received a copy of the GNU General Public License 15dnl along with this program. If not, see <http://www.gnu.org/licenses/>. 16 17AC_DEFUN([LTP_CHECK_X_TABLES],[ 18AC_CHECK_TYPES([struct xt_entry_match, struct xt_entry_target],,,[ 19#include <sys/types.h> 20#include <netinet/in.h> 21#include <net/if.h> 22#include <limits.h> 23#include <linux/netfilter_ipv4/ip_tables.h> 24]) 25]) 26