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