diff -pruN 5.5-3/access.c 5.9-0ubuntu2/access.c
--- 5.5-3/access.c	2019-07-11 17:51:22.000000000 +0000
+++ 5.9-0ubuntu2/access.c	2020-08-03 08:00:00.000000000 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014-2019 The strace developers.
+ * Copyright (c) 2014-2020 The strace developers.
  * All rights reserved.
  *
  * SPDX-License-Identifier: LGPL-2.1-or-later
@@ -9,26 +9,42 @@
 
 #include <fcntl.h>
 
-#include "xlat/access_flags.h"
+#include "xlat/access_modes.h"
+#include "xlat/faccessat_flags.h"
 
-static int
+static void
 decode_access(struct tcb *tcp, int offset)
 {
 	printpath(tcp, tcp->u_arg[offset]);
 	tprints(", ");
-	printflags(access_flags, tcp->u_arg[offset + 1], "?_OK");
+	printflags(access_modes, tcp->u_arg[offset + 1], "?_OK");
+}
 
+SYS_FUNC(access)
+{
+	decode_access(tcp, 0);
 	return RVAL_DECODED;
 }
 
-SYS_FUNC(access)
+static void
+decode_faccessat(struct tcb *tcp)
 {
-	return decode_access(tcp, 0);
+	print_dirfd(tcp, tcp->u_arg[0]);
+	tprints(", ");
+	decode_access(tcp, 1);
 }
 
+
 SYS_FUNC(faccessat)
 {
-	print_dirfd(tcp, tcp->u_arg[0]);
+	decode_faccessat(tcp);
+	return RVAL_DECODED;
+}
+
+SYS_FUNC(faccessat2)
+{
+	decode_faccessat(tcp);
 	tprints(", ");
-	return decode_access(tcp, 1);
+	printflags(faccessat_flags, tcp->u_arg[3], "AT_???");
+	return RVAL_DECODED;
 }
diff -pruN 5.5-3/aclocal.m4 5.9-0ubuntu2/aclocal.m4
--- 5.5-3/aclocal.m4	2020-02-06 16:23:31.000000000 +0000
+++ 5.9-0ubuntu2/aclocal.m4	2020-09-24 09:18:55.000000000 +0000
@@ -1,6 +1,6 @@
-# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
+# generated automatically by aclocal 1.16.2 -*- Autoconf -*-
 
-# Copyright (C) 1996-2018 Free Software Foundation, Inc.
+# Copyright (C) 1996-2020 Free Software Foundation, Inc.
 
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -20,7 +20,7 @@ You have another version of autoconf.  I
 If you have problems, you may need to regenerate the build system entirely.
 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
 
-# Copyright (C) 2002-2018 Free Software Foundation, Inc.
+# Copyright (C) 2002-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -35,7 +35,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
 [am__api_version='1.16'
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 dnl require some minimum version.  Point them to the right macro.
-m4_if([$1], [1.16.1], [],
+m4_if([$1], [1.16.2], [],
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 ])
 
@@ -51,14 +51,74 @@ m4_define([_AM_AUTOCONF_VERSION], [])
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.16.1])dnl
+[AM_AUTOMAKE_VERSION([1.16.2])dnl
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
 
+# Copyright (C) 2011-2020 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_AR([ACT-IF-FAIL])
+# -------------------------
+# Try to determine the archiver interface, and trigger the ar-lib wrapper
+# if it is needed.  If the detection of archiver interface fails, run
+# ACT-IF-FAIL (default is to abort configure with a proper error message).
+AC_DEFUN([AM_PROG_AR],
+[AC_BEFORE([$0], [LT_INIT])dnl
+AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl
+AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([ar-lib])dnl
+AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false])
+: ${AR=ar}
+
+AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface],
+  [AC_LANG_PUSH([C])
+   am_cv_ar_interface=ar
+   AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])],
+     [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
+      AC_TRY_EVAL([am_ar_try])
+      if test "$ac_status" -eq 0; then
+        am_cv_ar_interface=ar
+      else
+        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
+        AC_TRY_EVAL([am_ar_try])
+        if test "$ac_status" -eq 0; then
+          am_cv_ar_interface=lib
+        else
+          am_cv_ar_interface=unknown
+        fi
+      fi
+      rm -f conftest.lib libconftest.a
+     ])
+   AC_LANG_POP([C])])
+
+case $am_cv_ar_interface in
+ar)
+  ;;
+lib)
+  # Microsoft lib, so override with the ar-lib wrapper script.
+  # FIXME: It is wrong to rewrite AR.
+  # But if we don't then we get into trouble of one sort or another.
+  # A longer-term fix would be to have automake use am__AR in this case,
+  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
+  # similar.
+  AR="$am_aux_dir/ar-lib $AR"
+  ;;
+unknown)
+  m4_default([$1],
+             [AC_MSG_ERROR([could not determine $AR interface])])
+  ;;
+esac
+AC_SUBST([AR])dnl
+])
+
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
-# Copyright (C) 2001-2018 Free Software Foundation, Inc.
+# Copyright (C) 2001-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -110,7 +170,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
 
 # AM_CONDITIONAL                                            -*- Autoconf -*-
 
-# Copyright (C) 1997-2018 Free Software Foundation, Inc.
+# Copyright (C) 1997-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -141,7 +201,7 @@ AC_CONFIG_COMMANDS_PRE(
 Usually this means the macro was only invoked conditionally.]])
 fi])])
 
-# Copyright (C) 1999-2018 Free Software Foundation, Inc.
+# Copyright (C) 1999-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -332,7 +392,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
 
 # Generate code to set up dependency tracking.              -*- Autoconf -*-
 
-# Copyright (C) 1999-2018 Free Software Foundation, Inc.
+# Copyright (C) 1999-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -371,7 +431,9 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS
   done
   if test $am_rc -ne 0; then
     AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
-    for automatic dependency tracking.  Try re-running configure with the
+    for automatic dependency tracking.  If GNU make was not used, consider
+    re-running the configure script with MAKE="gmake" (or whatever is
+    necessary).  You can also try re-running configure with the
     '--disable-dependency-tracking' option to at least be able to build
     the package (albeit without support for automatic dependency tracking).])
   fi
@@ -398,7 +460,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS]
 
 # AM_EXTRA_RECURSIVE_TARGETS                                -*- Autoconf -*-
 
-# Copyright (C) 2012-2018 Free Software Foundation, Inc.
+# Copyright (C) 2012-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -415,7 +477,7 @@ AC_DEFUN([AM_EXTRA_RECURSIVE_TARGETS], [
 
 # Do all the work for Automake.                             -*- Autoconf -*-
 
-# Copyright (C) 1996-2018 Free Software Foundation, Inc.
+# Copyright (C) 1996-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -612,7 +674,7 @@ for _am_header in $config_headers :; do
 done
 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
 
-# Copyright (C) 2001-2018 Free Software Foundation, Inc.
+# Copyright (C) 2001-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -633,7 +695,7 @@ if test x"${install_sh+set}" != xset; th
 fi
 AC_SUBST([install_sh])])
 
-# Copyright (C) 2003-2018 Free Software Foundation, Inc.
+# Copyright (C) 2003-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -655,7 +717,7 @@ AC_SUBST([am__leading_dot])])
 # Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
 # From Jim Meyering
 
-# Copyright (C) 1996-2018 Free Software Foundation, Inc.
+# Copyright (C) 1996-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -690,7 +752,7 @@ AC_MSG_CHECKING([whether to enable maint
 
 # Check to see how 'make' treats includes.	            -*- Autoconf -*-
 
-# Copyright (C) 2001-2018 Free Software Foundation, Inc.
+# Copyright (C) 2001-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -733,7 +795,7 @@ AC_SUBST([am__quote])])
 
 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
 
-# Copyright (C) 1997-2018 Free Software Foundation, Inc.
+# Copyright (C) 1997-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -772,7 +834,7 @@ fi
 
 # Helper functions for option handling.                     -*- Autoconf -*-
 
-# Copyright (C) 2001-2018 Free Software Foundation, Inc.
+# Copyright (C) 2001-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -801,7 +863,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
 AC_DEFUN([_AM_IF_OPTION],
 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
 
-# Copyright (C) 1999-2018 Free Software Foundation, Inc.
+# Copyright (C) 1999-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -848,7 +910,7 @@ AC_LANG_POP([C])])
 # For backward compatibility.
 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
 
-# Copyright (C) 2001-2018 Free Software Foundation, Inc.
+# Copyright (C) 2001-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -867,7 +929,7 @@ AC_DEFUN([AM_RUN_LOG],
 
 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
 
-# Copyright (C) 1996-2018 Free Software Foundation, Inc.
+# Copyright (C) 1996-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -948,7 +1010,7 @@ AC_CONFIG_COMMANDS_PRE(
 rm -f conftest.file
 ])
 
-# Copyright (C) 2009-2018 Free Software Foundation, Inc.
+# Copyright (C) 2009-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -1008,7 +1070,7 @@ AC_SUBST([AM_BACKSLASH])dnl
 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
 ])
 
-# Copyright (C) 2001-2018 Free Software Foundation, Inc.
+# Copyright (C) 2001-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -1036,7 +1098,7 @@ fi
 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 AC_SUBST([INSTALL_STRIP_PROGRAM])])
 
-# Copyright (C) 2006-2018 Free Software Foundation, Inc.
+# Copyright (C) 2006-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -1055,7 +1117,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_
 
 # Check how to create a tarball.                            -*- Autoconf -*-
 
-# Copyright (C) 2004-2018 Free Software Foundation, Inc.
+# Copyright (C) 2004-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -1186,13 +1248,47 @@ AC_SUBST([am__tar])
 AC_SUBST([am__untar])
 ]) # _AM_PROG_TAR
 
+m4_include([xlat/btrfs_compress_types.m4])
+m4_include([xlat/close_range_flags.m4])
+m4_include([xlat/loop_flags_options.m4])
+m4_include([xlat/rtnl_ifla_xdp_attached_mode.m4])
+m4_include([xlat/rtnl_ifla_xdp_attrs.m4])
+m4_include([xlat/rtnl_link_attrs.m4])
+m4_include([xlat/rtnl_tc_action_attrs.m4])
+m4_include([xlat/rtnl_tca_stab_attrs.m4])
+m4_include([xlat/rtnl_tca_stats_attrs.m4])
+m4_include([xlat/st_check_enums.m4])
+m4_include([xlat/sysctl_kern.m4])
+m4_include([xlat/sysctl_net.m4])
+m4_include([xlat/sysctl_net_core.m4])
+m4_include([xlat/sysctl_net_ipv4.m4])
+m4_include([xlat/sysctl_net_ipv4_conf.m4])
+m4_include([xlat/sysctl_net_ipv4_route.m4])
+m4_include([xlat/sysctl_net_ipv6.m4])
+m4_include([xlat/sysctl_net_ipv6_route.m4])
+m4_include([xlat/sysctl_net_unix.m4])
+m4_include([xlat/sysctl_root.m4])
+m4_include([xlat/sysctl_vm.m4])
+m4_include([xlat/v4l2_buf_types.m4])
+m4_include([xlat/v4l2_colorspaces.m4])
+m4_include([xlat/v4l2_control_types.m4])
+m4_include([xlat/v4l2_fields.m4])
+m4_include([xlat/v4l2_framesize_types.m4])
+m4_include([xlat/v4l2_memories.m4])
+m4_include([xlat/v4l2_tuner_types.m4])
+m4_include([xlat/waitid_types.m4])
+m4_include([types/check-btrfs.m4])
 m4_include([types/check-cryptouser.m4])
 m4_include([types/check-evdev.m4])
 m4_include([types/check-io_uring.m4])
+m4_include([types/check-loop.m4])
+m4_include([types/check-openat2.m4])
 m4_include([types/check-rtnl_link.m4])
 m4_include([types/check-rtnl_mdb.m4])
 m4_include([types/check-rtnl_neightbl.m4])
 m4_include([types/check-rtnl_route.m4])
+m4_include([types/check-tee.m4])
+m4_include([types/check-v4l2.m4])
 m4_include([types/st_check_types.m4])
 m4_include([m4/ax_code_coverage.m4])
 m4_include([m4/ax_prog_cc_for_build.m4])
diff -pruN 5.5-3/affinity.c 5.9-0ubuntu2/affinity.c
--- 5.5-3/affinity.c	2018-12-24 23:46:43.000000000 +0000
+++ 5.9-0ubuntu2/affinity.c	2020-09-23 16:29:35.000000000 +0000
@@ -1,6 +1,7 @@
 /*
  * Copyright (c) 2002-2004 Roland McGrath <roland@redhat.com>
  * Copyright (c) 2009-2018 Dmitry V. Levin <ldv@altlinux.org>
+ * Copyright (c) 2014-2020 The strace developers.
  * All rights reserved.
  *
  * SPDX-License-Identifier: LGPL-2.1-or-later
@@ -82,7 +83,8 @@ SYS_FUNC(sched_setaffinity)
 	const int pid = tcp->u_arg[0];
 	const unsigned int len = tcp->u_arg[1];
 
-	tprintf("%d, %u, ", pid, len);
+	printpid(tcp, pid, PT_TGID);
+	tprintf(", %u, ", len);
 	print_affinitylist(tcp, tcp->u_arg[2], len);
 
 	return RVAL_DECODED;
@@ -94,7 +96,8 @@ SYS_FUNC(sched_getaffinity)
 	const unsigned int len = tcp->u_arg[1];
 
 	if (entering(tcp)) {
-		tprintf("%d, %u, ", pid, len);
+		printpid(tcp, pid, PT_TGID);
+		tprintf(", %u, ", len);
 	} else {
 		print_affinitylist(tcp, tcp->u_arg[2], tcp->u_rval);
 	}
diff -pruN 5.5-3/ar-lib 5.9-0ubuntu2/ar-lib
--- 5.5-3/ar-lib	1970-01-01 00:00:00.000000000 +0000
+++ 5.9-0ubuntu2/ar-lib	2020-09-24 09:18:59.000000000 +0000
@@ -0,0 +1,271 @@
+#! /bin/sh
+# Wrapper for Microsoft lib.exe
+
+me=ar-lib
+scriptversion=2019-07-04.01; # UTC
+
+# Copyright (C) 2010-2020 Free Software Foundation, Inc.
+# Written by Peter Rosin <peda@lysator.liu.se>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
+
+
+# func_error message
+func_error ()
+{
+  echo "$me: $1" 1>&2
+  exit 1
+}
+
+file_conv=
+
+# func_file_conv build_file
+# Convert a $build file to $host form and store it in $file
+# Currently only supports Windows hosts.
+func_file_conv ()
+{
+  file=$1
+  case $file in
+    / | /[!/]*) # absolute file, and not a UNC file
+      if test -z "$file_conv"; then
+	# lazily determine how to convert abs files
+	case `uname -s` in
+	  MINGW*)
+	    file_conv=mingw
+	    ;;
+	  CYGWIN* | MSYS*)
+	    file_conv=cygwin
+	    ;;
+	  *)
+	    file_conv=wine
+	    ;;
+	esac
+      fi
+      case $file_conv in
+	mingw)
+	  file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
+	  ;;
+	cygwin | msys)
+	  file=`cygpath -m "$file" || echo "$file"`
+	  ;;
+	wine)
+	  file=`winepath -w "$file" || echo "$file"`
+	  ;;
+      esac
+      ;;
+  esac
+}
+
+# func_at_file at_file operation archive
+# Iterate over all members in AT_FILE performing OPERATION on ARCHIVE
+# for each of them.
+# When interpreting the content of the @FILE, do NOT use func_file_conv,
+# since the user would need to supply preconverted file names to
+# binutils ar, at least for MinGW.
+func_at_file ()
+{
+  operation=$2
+  archive=$3
+  at_file_contents=`cat "$1"`
+  eval set x "$at_file_contents"
+  shift
+
+  for member
+  do
+    $AR -NOLOGO $operation:"$member" "$archive" || exit $?
+  done
+}
+
+case $1 in
+  '')
+     func_error "no command.  Try '$0 --help' for more information."
+     ;;
+  -h | --h*)
+    cat <<EOF
+Usage: $me [--help] [--version] PROGRAM ACTION ARCHIVE [MEMBER...]
+
+Members may be specified in a file named with @FILE.
+EOF
+    exit $?
+    ;;
+  -v | --v*)
+    echo "$me, version $scriptversion"
+    exit $?
+    ;;
+esac
+
+if test $# -lt 3; then
+  func_error "you must specify a program, an action and an archive"
+fi
+
+AR=$1
+shift
+while :
+do
+  if test $# -lt 2; then
+    func_error "you must specify a program, an action and an archive"
+  fi
+  case $1 in
+    -lib | -LIB \
+    | -ltcg | -LTCG \
+    | -machine* | -MACHINE* \
+    | -subsystem* | -SUBSYSTEM* \
+    | -verbose | -VERBOSE \
+    | -wx* | -WX* )
+      AR="$AR $1"
+      shift
+      ;;
+    *)
+      action=$1
+      shift
+      break
+      ;;
+  esac
+done
+orig_archive=$1
+shift
+func_file_conv "$orig_archive"
+archive=$file
+
+# strip leading dash in $action
+action=${action#-}
+
+delete=
+extract=
+list=
+quick=
+replace=
+index=
+create=
+
+while test -n "$action"
+do
+  case $action in
+    d*) delete=yes  ;;
+    x*) extract=yes ;;
+    t*) list=yes    ;;
+    q*) quick=yes   ;;
+    r*) replace=yes ;;
+    s*) index=yes   ;;
+    S*)             ;; # the index is always updated implicitly
+    c*) create=yes  ;;
+    u*)             ;; # TODO: don't ignore the update modifier
+    v*)             ;; # TODO: don't ignore the verbose modifier
+    *)
+      func_error "unknown action specified"
+      ;;
+  esac
+  action=${action#?}
+done
+
+case $delete$extract$list$quick$replace,$index in
+  yes,* | ,yes)
+    ;;
+  yesyes*)
+    func_error "more than one action specified"
+    ;;
+  *)
+    func_error "no action specified"
+    ;;
+esac
+
+if test -n "$delete"; then
+  if test ! -f "$orig_archive"; then
+    func_error "archive not found"
+  fi
+  for member
+  do
+    case $1 in
+      @*)
+        func_at_file "${1#@}" -REMOVE "$archive"
+        ;;
+      *)
+        func_file_conv "$1"
+        $AR -NOLOGO -REMOVE:"$file" "$archive" || exit $?
+        ;;
+    esac
+  done
+
+elif test -n "$extract"; then
+  if test ! -f "$orig_archive"; then
+    func_error "archive not found"
+  fi
+  if test $# -gt 0; then
+    for member
+    do
+      case $1 in
+        @*)
+          func_at_file "${1#@}" -EXTRACT "$archive"
+          ;;
+        *)
+          func_file_conv "$1"
+          $AR -NOLOGO -EXTRACT:"$file" "$archive" || exit $?
+          ;;
+      esac
+    done
+  else
+    $AR -NOLOGO -LIST "$archive" | tr -d '\r' | sed -e 's/\\/\\\\/g' \
+      | while read member
+        do
+          $AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $?
+        done
+  fi
+
+elif test -n "$quick$replace"; then
+  if test ! -f "$orig_archive"; then
+    if test -z "$create"; then
+      echo "$me: creating $orig_archive"
+    fi
+    orig_archive=
+  else
+    orig_archive=$archive
+  fi
+
+  for member
+  do
+    case $1 in
+    @*)
+      func_file_conv "${1#@}"
+      set x "$@" "@$file"
+      ;;
+    *)
+      func_file_conv "$1"
+      set x "$@" "$file"
+      ;;
+    esac
+    shift
+    shift
+  done
+
+  if test -n "$orig_archive"; then
+    $AR -NOLOGO -OUT:"$archive" "$orig_archive" "$@" || exit $?
+  else
+    $AR -NOLOGO -OUT:"$archive" "$@" || exit $?
+  fi
+
+elif test -n "$list"; then
+  if test ! -f "$orig_archive"; then
+    func_error "archive not found"
+  fi
+  $AR -NOLOGO -LIST "$archive" || exit $?
+fi
diff -pruN 5.5-3/basic_filters.c 5.9-0ubuntu2/basic_filters.c
--- 5.5-3/basic_filters.c	2020-02-06 15:16:17.000000000 +0000
+++ 5.9-0ubuntu2/basic_filters.c	2020-04-17 20:43:15.000000000 +0000
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2016 Dmitry V. Levin <ldv@altlinux.org>
- * Copyright (c) 2016-2019 The strace developers.
+ * Copyright (c) 2016-2020 The strace developers.
  * All rights reserved.
  *
  * SPDX-License-Identifier: LGPL-2.1-or-later
@@ -165,6 +165,7 @@ lookup_class(const char *s)
 		{ "%fstatfs",	TRACE_FSTATFS	},
 		{ "%%statfs",	TRACE_STATFS_LIKE	},
 		{ "%pure",	TRACE_PURE	},
+		{ "%clock",	TRACE_CLOCK	},
 		/* legacy class names */
 		{ "desc",	TRACE_DESC	},
 		{ "file",	TRACE_FILE	},
diff -pruN 5.5-3/block.c 5.9-0ubuntu2/block.c
--- 5.5-3/block.c	2018-12-30 15:35:21.000000000 +0000
+++ 5.9-0ubuntu2/block.c	2020-08-25 14:29:30.000000000 +0000
@@ -1,7 +1,7 @@
 /*
  * Copyright (c) 2009, 2010 Jeff Mahoney <jeffm@suse.com>
  * Copyright (c) 2011-2016 Dmitry V. Levin <ldv@altlinux.org>
- * Copyright (c) 2011-2018 The strace developers.
+ * Copyright (c) 2011-2020 The strace developers.
  * All rights reserved.
  *
  * SPDX-License-Identifier: LGPL-2.1-or-later
@@ -179,7 +179,7 @@ MPERS_PRINTER_DECL(int, block_ioctl, str
 			PRINT_FIELD_U(", ", buts, buf_nr);
 			PRINT_FIELD_U(", ", buts, start_lba);
 			PRINT_FIELD_U(", ", buts, end_lba);
-			PRINT_FIELD_U(", ", buts, pid);
+			PRINT_FIELD_TGID(", ", buts, pid, tcp);
 			return 0;
 		} else {
 			struct_blk_user_trace_setup buts;
diff -pruN 5.5-3/bpf_attr_check.c 5.9-0ubuntu2/bpf_attr_check.c
--- 5.5-3/bpf_attr_check.c	2020-02-06 16:24:00.000000000 +0000
+++ 5.9-0ubuntu2/bpf_attr_check.c	2020-09-24 09:19:42.000000000 +0000
@@ -90,6 +90,13 @@
 		      "BPF_MAP_CREATE_struct.btf_value_type_id offset mismatch");
 # endif /* HAVE_UNION_BPF_ATTR_BTF_VALUE_TYPE_ID */
 
+# ifdef HAVE_UNION_BPF_ATTR_BTF_VMLINUX_VALUE_TYPE_ID
+	static_assert(sizeof_field(struct BPF_MAP_CREATE_struct, btf_vmlinux_value_type_id) == sizeof_field(union bpf_attr, btf_vmlinux_value_type_id),
+		      "BPF_MAP_CREATE_struct.btf_vmlinux_value_type_id size mismatch");
+	static_assert(offsetof(struct BPF_MAP_CREATE_struct, btf_vmlinux_value_type_id) == offsetof(union bpf_attr, btf_vmlinux_value_type_id),
+		      "BPF_MAP_CREATE_struct.btf_vmlinux_value_type_id offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_BTF_VMLINUX_VALUE_TYPE_ID */
+
 static_assert(BPF_MAP_CREATE_struct_size == expected_BPF_MAP_CREATE_struct_size,
 	      "BPF_MAP_CREATE_struct_size mismatch");
 
@@ -408,6 +415,13 @@ static_assert(BPF_OBJ_PIN_struct_size ==
 		      "BPF_PROG_ATTACH_struct.attach_flags offset mismatch");
 # endif /* HAVE_UNION_BPF_ATTR_ATTACH_FLAGS */
 
+# ifdef HAVE_UNION_BPF_ATTR_REPLACE_BPF_FD
+	static_assert(sizeof_field(struct BPF_PROG_ATTACH_struct, replace_bpf_fd) == sizeof_field(union bpf_attr, replace_bpf_fd),
+		      "BPF_PROG_ATTACH_struct.replace_bpf_fd size mismatch");
+	static_assert(offsetof(struct BPF_PROG_ATTACH_struct, replace_bpf_fd) == offsetof(union bpf_attr, replace_bpf_fd),
+		      "BPF_PROG_ATTACH_struct.replace_bpf_fd offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_REPLACE_BPF_FD */
+
 static_assert(BPF_PROG_ATTACH_struct_size == expected_BPF_PROG_ATTACH_struct_size,
 	      "BPF_PROG_ATTACH_struct_size mismatch");
 
@@ -850,6 +864,13 @@ static_assert(BPF_TASK_FD_QUERY_struct_s
 		      "bpf_map_info_struct.ifindex offset mismatch");
 # endif /* HAVE_STRUCT_BPF_MAP_INFO_IFINDEX */
 
+# ifdef HAVE_STRUCT_BPF_MAP_INFO_BTF_VMLINUX_VALUE_TYPE_ID
+	static_assert(sizeof_field(struct bpf_map_info_struct, btf_vmlinux_value_type_id) == sizeof_field(struct bpf_map_info, btf_vmlinux_value_type_id),
+		      "bpf_map_info_struct.btf_vmlinux_value_type_id size mismatch");
+	static_assert(offsetof(struct bpf_map_info_struct, btf_vmlinux_value_type_id) == offsetof(struct bpf_map_info, btf_vmlinux_value_type_id),
+		      "bpf_map_info_struct.btf_vmlinux_value_type_id offset mismatch");
+# endif /* HAVE_STRUCT_BPF_MAP_INFO_BTF_VMLINUX_VALUE_TYPE_ID */
+
 # ifdef HAVE_STRUCT_BPF_MAP_INFO_BTF_ID
 	static_assert(sizeof_field(struct bpf_map_info_struct, btf_id) == sizeof_field(struct bpf_map_info, btf_id),
 		      "bpf_map_info_struct.btf_id size mismatch");
@@ -1094,4 +1115,125 @@ static_assert(bpf_map_info_struct_size =
 static_assert(bpf_prog_info_struct_size == expected_bpf_prog_info_struct_size,
 	      "bpf_prog_info_struct_size mismatch");
 
+# ifdef HAVE_UNION_BPF_ATTR_BATCH_IN_BATCH
+	static_assert(sizeof_field(struct BPF_MAP_LOOKUP_BATCH_struct, in_batch) == sizeof_field(union bpf_attr, batch.in_batch),
+		      "BPF_MAP_LOOKUP_BATCH_struct.in_batch size mismatch");
+	static_assert(offsetof(struct BPF_MAP_LOOKUP_BATCH_struct, in_batch) == offsetof(union bpf_attr, batch.in_batch),
+		      "BPF_MAP_LOOKUP_BATCH_struct.in_batch offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_BATCH_IN_BATCH */
+
+# ifdef HAVE_UNION_BPF_ATTR_BATCH_OUT_BATCH
+	static_assert(sizeof_field(struct BPF_MAP_LOOKUP_BATCH_struct, out_batch) == sizeof_field(union bpf_attr, batch.out_batch),
+		      "BPF_MAP_LOOKUP_BATCH_struct.out_batch size mismatch");
+	static_assert(offsetof(struct BPF_MAP_LOOKUP_BATCH_struct, out_batch) == offsetof(union bpf_attr, batch.out_batch),
+		      "BPF_MAP_LOOKUP_BATCH_struct.out_batch offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_BATCH_OUT_BATCH */
+
+# ifdef HAVE_UNION_BPF_ATTR_BATCH_KEYS
+	static_assert(sizeof_field(struct BPF_MAP_LOOKUP_BATCH_struct, keys) == sizeof_field(union bpf_attr, batch.keys),
+		      "BPF_MAP_LOOKUP_BATCH_struct.keys size mismatch");
+	static_assert(offsetof(struct BPF_MAP_LOOKUP_BATCH_struct, keys) == offsetof(union bpf_attr, batch.keys),
+		      "BPF_MAP_LOOKUP_BATCH_struct.keys offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_BATCH_KEYS */
+
+# ifdef HAVE_UNION_BPF_ATTR_BATCH_VALUES
+	static_assert(sizeof_field(struct BPF_MAP_LOOKUP_BATCH_struct, values) == sizeof_field(union bpf_attr, batch.values),
+		      "BPF_MAP_LOOKUP_BATCH_struct.values size mismatch");
+	static_assert(offsetof(struct BPF_MAP_LOOKUP_BATCH_struct, values) == offsetof(union bpf_attr, batch.values),
+		      "BPF_MAP_LOOKUP_BATCH_struct.values offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_BATCH_VALUES */
+
+# ifdef HAVE_UNION_BPF_ATTR_BATCH_COUNT
+	static_assert(sizeof_field(struct BPF_MAP_LOOKUP_BATCH_struct, count) == sizeof_field(union bpf_attr, batch.count),
+		      "BPF_MAP_LOOKUP_BATCH_struct.count size mismatch");
+	static_assert(offsetof(struct BPF_MAP_LOOKUP_BATCH_struct, count) == offsetof(union bpf_attr, batch.count),
+		      "BPF_MAP_LOOKUP_BATCH_struct.count offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_BATCH_COUNT */
+
+# ifdef HAVE_UNION_BPF_ATTR_BATCH_MAP_FD
+	static_assert(sizeof_field(struct BPF_MAP_LOOKUP_BATCH_struct, map_fd) == sizeof_field(union bpf_attr, batch.map_fd),
+		      "BPF_MAP_LOOKUP_BATCH_struct.map_fd size mismatch");
+	static_assert(offsetof(struct BPF_MAP_LOOKUP_BATCH_struct, map_fd) == offsetof(union bpf_attr, batch.map_fd),
+		      "BPF_MAP_LOOKUP_BATCH_struct.map_fd offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_BATCH_MAP_FD */
+
+# ifdef HAVE_UNION_BPF_ATTR_BATCH_ELEM_FLAGS
+	static_assert(sizeof_field(struct BPF_MAP_LOOKUP_BATCH_struct, elem_flags) == sizeof_field(union bpf_attr, batch.elem_flags),
+		      "BPF_MAP_LOOKUP_BATCH_struct.elem_flags size mismatch");
+	static_assert(offsetof(struct BPF_MAP_LOOKUP_BATCH_struct, elem_flags) == offsetof(union bpf_attr, batch.elem_flags),
+		      "BPF_MAP_LOOKUP_BATCH_struct.elem_flags offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_BATCH_ELEM_FLAGS */
+
+# ifdef HAVE_UNION_BPF_ATTR_BATCH_FLAGS
+	static_assert(sizeof_field(struct BPF_MAP_LOOKUP_BATCH_struct, flags) == sizeof_field(union bpf_attr, batch.flags),
+		      "BPF_MAP_LOOKUP_BATCH_struct.flags size mismatch");
+	static_assert(offsetof(struct BPF_MAP_LOOKUP_BATCH_struct, flags) == offsetof(union bpf_attr, batch.flags),
+		      "BPF_MAP_LOOKUP_BATCH_struct.flags offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_BATCH_FLAGS */
+
+static_assert(BPF_MAP_LOOKUP_BATCH_struct_size == expected_BPF_MAP_LOOKUP_BATCH_struct_size,
+	      "BPF_MAP_LOOKUP_BATCH_struct_size mismatch");
+
+# ifdef HAVE_UNION_BPF_ATTR_LINK_CREATE_PROG_FD
+	static_assert(sizeof_field(struct BPF_LINK_CREATE_struct, prog_fd) == sizeof_field(union bpf_attr, link_create.prog_fd),
+		      "BPF_LINK_CREATE_struct.prog_fd size mismatch");
+	static_assert(offsetof(struct BPF_LINK_CREATE_struct, prog_fd) == offsetof(union bpf_attr, link_create.prog_fd),
+		      "BPF_LINK_CREATE_struct.prog_fd offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_PROG_FD */
+
+# ifdef HAVE_UNION_BPF_ATTR_LINK_CREATE_TARGET_FD
+	static_assert(sizeof_field(struct BPF_LINK_CREATE_struct, target_fd) == sizeof_field(union bpf_attr, link_create.target_fd),
+		      "BPF_LINK_CREATE_struct.target_fd size mismatch");
+	static_assert(offsetof(struct BPF_LINK_CREATE_struct, target_fd) == offsetof(union bpf_attr, link_create.target_fd),
+		      "BPF_LINK_CREATE_struct.target_fd offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_TARGET_FD */
+
+# ifdef HAVE_UNION_BPF_ATTR_LINK_CREATE_ATTACH_TYPE
+	static_assert(sizeof_field(struct BPF_LINK_CREATE_struct, attach_type) == sizeof_field(union bpf_attr, link_create.attach_type),
+		      "BPF_LINK_CREATE_struct.attach_type size mismatch");
+	static_assert(offsetof(struct BPF_LINK_CREATE_struct, attach_type) == offsetof(union bpf_attr, link_create.attach_type),
+		      "BPF_LINK_CREATE_struct.attach_type offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_ATTACH_TYPE */
+
+# ifdef HAVE_UNION_BPF_ATTR_LINK_CREATE_FLAGS
+	static_assert(sizeof_field(struct BPF_LINK_CREATE_struct, flags) == sizeof_field(union bpf_attr, link_create.flags),
+		      "BPF_LINK_CREATE_struct.flags size mismatch");
+	static_assert(offsetof(struct BPF_LINK_CREATE_struct, flags) == offsetof(union bpf_attr, link_create.flags),
+		      "BPF_LINK_CREATE_struct.flags offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_FLAGS */
+
+static_assert(BPF_LINK_CREATE_struct_size == expected_BPF_LINK_CREATE_struct_size,
+	      "BPF_LINK_CREATE_struct_size mismatch");
+
+# ifdef HAVE_UNION_BPF_ATTR_LINK_UPDATE_LINK_FD
+	static_assert(sizeof_field(struct BPF_LINK_UPDATE_struct, link_fd) == sizeof_field(union bpf_attr, link_update.link_fd),
+		      "BPF_LINK_UPDATE_struct.link_fd size mismatch");
+	static_assert(offsetof(struct BPF_LINK_UPDATE_struct, link_fd) == offsetof(union bpf_attr, link_update.link_fd),
+		      "BPF_LINK_UPDATE_struct.link_fd offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_LINK_UPDATE_LINK_FD */
+
+# ifdef HAVE_UNION_BPF_ATTR_LINK_UPDATE_NEW_PROG_FD
+	static_assert(sizeof_field(struct BPF_LINK_UPDATE_struct, new_prog_fd) == sizeof_field(union bpf_attr, link_update.new_prog_fd),
+		      "BPF_LINK_UPDATE_struct.new_prog_fd size mismatch");
+	static_assert(offsetof(struct BPF_LINK_UPDATE_struct, new_prog_fd) == offsetof(union bpf_attr, link_update.new_prog_fd),
+		      "BPF_LINK_UPDATE_struct.new_prog_fd offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_LINK_UPDATE_NEW_PROG_FD */
+
+# ifdef HAVE_UNION_BPF_ATTR_LINK_UPDATE_FLAGS
+	static_assert(sizeof_field(struct BPF_LINK_UPDATE_struct, flags) == sizeof_field(union bpf_attr, link_update.flags),
+		      "BPF_LINK_UPDATE_struct.flags size mismatch");
+	static_assert(offsetof(struct BPF_LINK_UPDATE_struct, flags) == offsetof(union bpf_attr, link_update.flags),
+		      "BPF_LINK_UPDATE_struct.flags offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_LINK_UPDATE_FLAGS */
+
+# ifdef HAVE_UNION_BPF_ATTR_LINK_UPDATE_OLD_PROG_FD
+	static_assert(sizeof_field(struct BPF_LINK_UPDATE_struct, old_prog_fd) == sizeof_field(union bpf_attr, link_update.old_prog_fd),
+		      "BPF_LINK_UPDATE_struct.old_prog_fd size mismatch");
+	static_assert(offsetof(struct BPF_LINK_UPDATE_struct, old_prog_fd) == offsetof(union bpf_attr, link_update.old_prog_fd),
+		      "BPF_LINK_UPDATE_struct.old_prog_fd offset mismatch");
+# endif /* HAVE_UNION_BPF_ATTR_LINK_UPDATE_OLD_PROG_FD */
+
+static_assert(BPF_LINK_UPDATE_struct_size == expected_BPF_LINK_UPDATE_struct_size,
+	      "BPF_LINK_UPDATE_struct_size mismatch");
+
 #endif /* HAVE_LINUX_BPF_H */
diff -pruN 5.5-3/bpf_attr.h 5.9-0ubuntu2/bpf_attr.h
--- 5.5-3/bpf_attr.h	2019-12-10 09:44:00.000000000 +0000
+++ 5.9-0ubuntu2/bpf_attr.h	2020-04-18 13:47:17.000000000 +0000
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2015-2018 Dmitry V. Levin <ldv@altlinux.org>
- * Copyright (c) 2018-2019 The strace developers.
+ * Copyright (c) 2018-2020 The strace developers.
  * All rights reserved.
  *
  * SPDX-License-Identifier: LGPL-2.1-or-later
@@ -49,11 +49,12 @@ struct BPF_MAP_CREATE_struct {
 	uint32_t btf_fd;
 	uint32_t btf_key_type_id;
 	uint32_t btf_value_type_id;
+	uint32_t btf_vmlinux_value_type_id;
 };
 
 # define BPF_MAP_CREATE_struct_size \
 	sizeof(struct BPF_MAP_CREATE_struct)
-# define expected_BPF_MAP_CREATE_struct_size 60
+# define expected_BPF_MAP_CREATE_struct_size 64
 
 struct BPF_MAP_LOOKUP_ELEM_struct {
 	uint32_t map_fd;
@@ -150,11 +151,12 @@ struct BPF_PROG_ATTACH_struct {
 	uint32_t attach_bpf_fd;
 	uint32_t attach_type;
 	uint32_t attach_flags;
+	uint32_t replace_bpf_fd;
 };
 
 # define BPF_PROG_ATTACH_struct_size \
 	sizeof(struct BPF_PROG_ATTACH_struct)
-# define expected_BPF_PROG_ATTACH_struct_size 16
+# define expected_BPF_PROG_ATTACH_struct_size 20
 
 struct BPF_PROG_DETACH_struct {
 	uint32_t target_fd;
@@ -298,6 +300,7 @@ struct bpf_map_info_struct {
 	uint32_t map_flags;
 	char     name[BPF_OBJ_NAME_LEN];
 	uint32_t ifindex;
+	uint32_t btf_vmlinux_value_type_id;
 	/*
 	 * The kernel UAPI is broken by Linux commit
 	 * v4.16-rc1~123^2~109^2~5^2~4 .
@@ -358,4 +361,50 @@ struct bpf_prog_info_struct {
 	sizeof(struct bpf_prog_info_struct)
 # define expected_bpf_prog_info_struct_size 208
 
+struct BPF_MAP_LOOKUP_BATCH_struct /* batch */ {
+	uint64_t ATTRIBUTE_ALIGNED(8) in_batch;
+	uint64_t ATTRIBUTE_ALIGNED(8) out_batch;
+	uint64_t ATTRIBUTE_ALIGNED(8) keys;
+	uint64_t ATTRIBUTE_ALIGNED(8) values;
+	uint32_t count;
+	uint32_t map_fd;
+	uint64_t ATTRIBUTE_ALIGNED(8) elem_flags;
+	uint64_t ATTRIBUTE_ALIGNED(8) flags;
+};
+
+# define BPF_MAP_LOOKUP_BATCH_struct_size \
+	sizeof(struct BPF_MAP_LOOKUP_BATCH_struct)
+# define expected_BPF_MAP_LOOKUP_BATCH_struct_size 56
+
+# define BPF_MAP_LOOKUP_AND_DELETE_BATCH_struct BPF_MAP_LOOKUP_BATCH_struct
+# define BPF_MAP_LOOKUP_AND_DELETE_BATCH_struct_size BPF_MAP_LOOKUP_BATCH_struct_size
+
+# define BPF_MAP_UPDATE_BATCH_struct BPF_MAP_LOOKUP_BATCH_struct
+# define BPF_MAP_UPDATE_BATCH_struct_size BPF_MAP_LOOKUP_BATCH_struct_size
+
+# define BPF_MAP_DELETE_BATCH_struct BPF_MAP_LOOKUP_BATCH_struct
+# define BPF_MAP_DELETE_BATCH_struct_size BPF_MAP_LOOKUP_BATCH_struct_size
+
+struct BPF_LINK_CREATE_struct /* link_create */ {
+	uint32_t prog_fd;
+	uint32_t target_fd;
+	uint32_t attach_type;
+	uint32_t flags;
+};
+
+# define BPF_LINK_CREATE_struct_size \
+	sizeof(struct BPF_LINK_CREATE_struct)
+# define expected_BPF_LINK_CREATE_struct_size 16
+
+struct BPF_LINK_UPDATE_struct /* link_update */ {
+	uint32_t link_fd;
+	uint32_t new_prog_fd;
+	uint32_t flags;
+	uint32_t old_prog_fd;
+};
+
+# define BPF_LINK_UPDATE_struct_size \
+	sizeof(struct BPF_LINK_UPDATE_struct)
+# define expected_BPF_LINK_UPDATE_struct_size 16
+
 #endif /* !STRACE_BPF_ATTR_H */
diff -pruN 5.5-3/bpf.c 5.9-0ubuntu2/bpf.c
--- 5.5-3/bpf.c	2019-12-10 09:44:00.000000000 +0000
+++ 5.9-0ubuntu2/bpf.c	2020-08-25 14:29:30.000000000 +0000
@@ -1,7 +1,7 @@
 /*
  * Copyright (c) 2015-2017 Dmitry V. Levin <ldv@altlinux.org>
  * Copyright (c) 2017 Quentin Monnet <quentin.monnet@6wind.com>
- * Copyright (c) 2015-2019 The strace developers.
+ * Copyright (c) 2015-2020 The strace developers.
  * All rights reserved.
  *
  * SPDX-License-Identifier: LGPL-2.1-or-later
@@ -224,6 +224,14 @@ BEGIN_BPF_CMD_DECODER(BPF_MAP_CREATE)
 	PRINT_FIELD_FD(", ", attr, btf_fd, tcp);
 	PRINT_FIELD_U(", ", attr, btf_key_type_id);
 	PRINT_FIELD_U(", ", attr, btf_value_type_id);
+
+	/*
+	 * The following field was introduced by Linux commit
+	 * v5.6-rc1~151^2~46^2~37^2~5.
+	 */
+	if (len <= offsetof(struct BPF_MAP_CREATE_struct, btf_vmlinux_value_type_id))
+		break;
+	PRINT_FIELD_U(", ", attr, btf_vmlinux_value_type_id);
 }
 END_BPF_CMD_DECODER(RVAL_DECODED | RVAL_FD)
 
@@ -281,7 +289,7 @@ BEGIN_BPF_CMD_DECODER(BPF_PROG_LOAD)
 	tprints(", insns=");
 	print_ebpf_prog(tcp, attr.insns, attr.insn_cnt);
 
-	tprintf(", license=");
+	tprints(", license=");
 	print_big_u64_addr(attr.license);
 	printstr(tcp, attr.license);
 
@@ -290,7 +298,7 @@ BEGIN_BPF_CMD_DECODER(BPF_PROG_LOAD)
 		break;
 	PRINT_FIELD_U(", ", attr, log_level);
 	PRINT_FIELD_U(", ", attr, log_size);
-	tprintf(", log_buf=");
+	tprints(", log_buf=");
 	print_big_u64_addr(attr.log_buf);
 	printstr_ex(tcp, attr.log_buf, attr.log_size, QUOTE_0_TERMINATED);
 
@@ -358,7 +366,7 @@ END_BPF_CMD_DECODER(RVAL_DECODED | RVAL_
 
 BEGIN_BPF_CMD_DECODER(BPF_OBJ_PIN)
 {
-	tprintf("{pathname=");
+	tprints("{pathname=");
 	print_big_u64_addr(attr.pathname);
 	printpath(tcp, attr.pathname);
 
@@ -381,6 +389,14 @@ BEGIN_BPF_CMD_DECODER(BPF_PROG_ATTACH)
 	PRINT_FIELD_XVAL(", ", attr, attach_type, bpf_attach_type, "BPF_???");
 	PRINT_FIELD_FLAGS(", ", attr, attach_flags, bpf_attach_flags,
 			  "BPF_F_???");
+
+	/*
+	 * The following field was introduced by Linux commit
+	 * v5.6-rc1~151^2~199^2~7^2~3.
+	 */
+	if (len <= offsetof(struct BPF_PROG_ATTACH_struct, replace_bpf_fd))
+		break;
+	PRINT_FIELD_FD(", ", attr, replace_bpf_fd, tcp);
 }
 END_BPF_CMD_DECODER(RVAL_DECODED)
 
@@ -522,6 +538,11 @@ print_bpf_map_info(struct tcb * const tc
 	if (len <= offsetof(struct bpf_map_info_struct, ifindex))
 		goto print_bpf_map_info_end;
 	PRINT_FIELD_IFINDEX(", ", info, ifindex);
+	/*
+	 * btf_vmlinux_value_type_id field was crammed in
+	 * by Linux commit v5.6-rc1~151^2~46^2~37^2~5.
+	 */
+	PRINT_FIELD_U(", ", info, btf_vmlinux_value_type_id);
 	PRINT_FIELD_DEV(", ", info, netns_dev);
 	PRINT_FIELD_U(", ", info, netns_ino);
 
@@ -823,7 +844,7 @@ BEGIN_BPF_CMD_DECODER(BPF_OBJ_GET_INFO_B
 		if (saved && (saved->info_len != attr.info_len))
 			tprintf(" => %u", attr.info_len);
 
-		tprintf(", info=");
+		tprints(", info=");
 	}
 
 	print_bpf_obj_info(tcp, attr.bpf_fd, attr.info, attr.info_len, saved);
@@ -873,7 +894,7 @@ BEGIN_BPF_CMD_DECODER(BPF_RAW_TRACEPOINT
 {
 	enum { TP_NAME_SIZE = 128 };
 
-	tprintf("{raw_tracepoint={name=");
+	tprints("{raw_tracepoint={name=");
 	print_big_u64_addr(attr.name);
 	printstr_ex(tcp, attr.name, TP_NAME_SIZE, QUOTE_0_TERMINATED);
 
@@ -906,7 +927,7 @@ BEGIN_BPF_CMD_DECODER(BPF_TASK_FD_QUERY)
 	if (entering(tcp)) {
 		set_tcb_priv_ulong(tcp, attr.buf_len);
 
-		PRINT_FIELD_U("{task_fd_query={", attr, pid);
+		PRINT_FIELD_TGID("{task_fd_query={", attr, pid, tcp);
 		PRINT_FIELD_FD(", ", attr, fd, tcp);
 		PRINT_FIELD_U(", ", attr, flags);
 		PRINT_FIELD_U(", ", attr, buf_len);
@@ -920,7 +941,7 @@ BEGIN_BPF_CMD_DECODER(BPF_TASK_FD_QUERY)
 		tprintf(" => %u", attr.buf_len);
 
 	const unsigned int buf_len = MIN(saved_buf_len, attr.buf_len);
-	tprintf(", buf=");
+	tprints(", buf=");
 	print_big_u64_addr(attr.buf);
 	printstr_ex(tcp, attr.buf, buf_len, QUOTE_0_TERMINATED);
 	PRINT_FIELD_U(", ", attr, prog_id);
@@ -933,6 +954,112 @@ BEGIN_BPF_CMD_DECODER(BPF_TASK_FD_QUERY)
 }
 END_BPF_CMD_DECODER(RVAL_DECODED)
 
+BEGIN_BPF_CMD_DECODER(BPF_MAP_LOOKUP_BATCH)
+{
+	if (entering(tcp)) {
+		set_tcb_priv_ulong(tcp, attr.count);
+
+		PRINT_FIELD_ADDR64("{batch={", attr, in_batch);
+		PRINT_FIELD_ADDR64(", ", attr, out_batch);
+		PRINT_FIELD_ADDR64(", ", attr, keys);
+		PRINT_FIELD_ADDR64(", ", attr, values);
+		PRINT_FIELD_U(", ", attr, count);
+		PRINT_FIELD_FD(", ", attr, map_fd, tcp);
+		PRINT_FIELD_FLAGS(", ", attr, elem_flags,
+				  bpf_map_lookup_elem_flags, "BPF_???");
+		PRINT_FIELD_X(", ", attr, flags);
+
+		tprints("}");
+	} else {
+		unsigned long count = get_tcb_priv_ulong(tcp);
+
+		if (count != attr.count) {
+			PRINT_FIELD_U("=> {batch={", attr, count);
+			tprints("}}");
+		}
+
+		return RVAL_DECODED;
+	}
+}
+END_BPF_CMD_DECODER(0)
+
+#define decode_BPF_MAP_LOOKUP_AND_DELETE_BATCH decode_BPF_MAP_LOOKUP_BATCH
+
+BEGIN_BPF_CMD_DECODER(BPF_MAP_UPDATE_BATCH)
+{
+	if (entering(tcp)) {
+		set_tcb_priv_ulong(tcp, attr.count);
+
+		PRINT_FIELD_ADDR64("{batch={", attr, keys);
+		PRINT_FIELD_ADDR64(", ", attr, values);
+		PRINT_FIELD_U(", ", attr, count);
+		PRINT_FIELD_FD(", ", attr, map_fd, tcp);
+		PRINT_FIELD_FLAGS(", ", attr, elem_flags,
+				  bpf_map_lookup_elem_flags, "BPF_???");
+		PRINT_FIELD_X(", ", attr, flags);
+
+		tprints("}");
+	} else {
+		unsigned long count = get_tcb_priv_ulong(tcp);
+
+		if (count != attr.count) {
+			PRINT_FIELD_U("=> {batch={", attr, count);
+			tprints("}}");
+		}
+
+		return RVAL_DECODED;
+	}
+}
+END_BPF_CMD_DECODER(0)
+
+BEGIN_BPF_CMD_DECODER(BPF_MAP_DELETE_BATCH)
+{
+	if (entering(tcp)) {
+		set_tcb_priv_ulong(tcp, attr.count);
+
+		PRINT_FIELD_ADDR64("{batch={", attr, keys);
+		PRINT_FIELD_U(", ", attr, count);
+		PRINT_FIELD_FD(", ", attr, map_fd, tcp);
+		PRINT_FIELD_FLAGS(", ", attr, elem_flags,
+				  bpf_map_lookup_elem_flags, "BPF_???");
+		PRINT_FIELD_X(", ", attr, flags);
+
+		tprints("}");
+	} else {
+		unsigned long count = get_tcb_priv_ulong(tcp);
+
+		if (count != attr.count) {
+			PRINT_FIELD_U("=> {batch={", attr, count);
+			tprints("}}");
+		}
+
+		return RVAL_DECODED;
+	}
+}
+END_BPF_CMD_DECODER(0)
+
+BEGIN_BPF_CMD_DECODER(BPF_LINK_CREATE)
+{
+	PRINT_FIELD_FD("{link_create={", attr, prog_fd, tcp);
+	PRINT_FIELD_FD(", ", attr, target_fd, tcp);
+	PRINT_FIELD_XVAL(", ", attr, attach_type, bpf_attach_type, "BPF_???");
+	PRINT_FIELD_X(", ", attr, flags);
+	tprints("}");
+}
+END_BPF_CMD_DECODER(RVAL_DECODED | RVAL_FD)
+
+BEGIN_BPF_CMD_DECODER(BPF_LINK_UPDATE)
+{
+	PRINT_FIELD_FD("{link_update={", attr, link_fd, tcp);
+	PRINT_FIELD_FD(", ", attr, new_prog_fd, tcp);
+	PRINT_FIELD_FLAGS(", ", attr, flags, bpf_attach_flags,
+			  "BPF_F_???");
+	if (attr.flags & BPF_F_REPLACE)
+		PRINT_FIELD_FD(", ", attr, old_prog_fd, tcp);
+	tprints("}");
+}
+END_BPF_CMD_DECODER(RVAL_DECODED)
+
 SYS_FUNC(bpf)
 {
 	static const bpf_cmd_decoder_t bpf_cmd_decoders[] = {
@@ -960,6 +1087,12 @@ SYS_FUNC(bpf)
 		BPF_CMD_ENTRY(BPF_MAP_LOOKUP_AND_DELETE_ELEM),
 		BPF_CMD_ENTRY(BPF_MAP_FREEZE),
 		BPF_CMD_ENTRY(BPF_BTF_GET_NEXT_ID),
+		BPF_CMD_ENTRY(BPF_MAP_LOOKUP_BATCH),
+		BPF_CMD_ENTRY(BPF_MAP_LOOKUP_AND_DELETE_BATCH),
+		BPF_CMD_ENTRY(BPF_MAP_UPDATE_BATCH),
+		BPF_CMD_ENTRY(BPF_MAP_DELETE_BATCH),
+		BPF_CMD_ENTRY(BPF_LINK_CREATE),
+		BPF_CMD_ENTRY(BPF_LINK_UPDATE),
 	};
 
 	const unsigned int cmd = tcp->u_arg[0];
diff -pruN 5.5-3/btrfs.c 5.9-0ubuntu2/btrfs.c
--- 5.5-3/btrfs.c	2019-05-21 14:53:06.000000000 +0000
+++ 5.9-0ubuntu2/btrfs.c	2020-08-03 08:00:00.000000000 +0000
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2016 Jeff Mahoney <jeffm@suse.com>
- * Copyright (c) 2016-2019 The strace developers.
+ * Copyright (c) 2016-2020 The strace developers.
  * All rights reserved.
  *
  * SPDX-License-Identifier: LGPL-2.1-or-later
@@ -33,6 +33,7 @@ typedef struct btrfs_ioctl_vol_args_v2
 #ifdef HAVE_LINUX_BTRFS_H
 
 # include "print_fields.h"
+# include "types/btrfs.h"
 # include <linux/fs.h>
 
 /*
@@ -833,7 +834,7 @@ MPERS_PRINTER_DECL(int, btrfs_ioctl,
 	}
 
 	case BTRFS_IOC_LOGICAL_INO: { /* RW */
-		struct btrfs_ioctl_logical_ino_args args;
+		struct_btrfs_ioctl_logical_ino_args args;
 
 		if (entering(tcp))
 			tprints(", ");
@@ -849,23 +850,12 @@ MPERS_PRINTER_DECL(int, btrfs_ioctl,
 			PRINT_FIELD_U("{", args, logical);
 			PRINT_FIELD_U(", ", args, size);
 
-			if (!IS_ARRAY_ZERO(args.reserved)) {
-				tprints(", reserved=[");
-				for (size_t i = 0; i < 3; ++i)
-					tprintf("%s%#" PRI__x64,
-						i ? ", " : "",
-						args.reserved[i]);
-				tprints("]");
-			}
+			if (!IS_ARRAY_ZERO(args.reserved))
+				PRINT_FIELD_X_ARRAY(", ", args, reserved);
 
-			tprintf(", flags=");
-			printflags64(btrfs_logical_ino_args_flags,
-# ifdef HAVE_STRUCT_BTRFS_IOCTL_LOGICAL_INO_ARGS_FLAGS
-				     args.flags
-# else
-				     args.reserved[3]
-# endif
-				     , "BTRFS_LOGICAL_INO_ARGS_???");
+			tprints(", flags=");
+			printflags64(btrfs_logical_ino_args_flags, args.flags,
+				     "BTRFS_LOGICAL_INO_ARGS_???");
 			PRINT_FIELD_ADDR64(", ", args, inodes);
 			tprints("}");
 			return 0;
diff -pruN 5.5-3/capability.c 5.9-0ubuntu2/capability.c
--- 5.5-3/capability.c	2018-12-24 23:46:43.000000000 +0000
+++ 5.9-0ubuntu2/capability.c	2020-09-23 16:29:35.000000000 +0000
@@ -2,7 +2,7 @@
  * Copyright (c) 2000 Wichert Akkerman <wakkerma@debian.org>
  * Copyright (c) 2011 Denys Vlasenko <dvlasenk@redhat.com>
  * Copyright (c) 2005-2015 Dmitry V. Levin <ldv@altlinux.org>
- * Copyright (c) 2014-2018 The strace developers.
+ * Copyright (c) 2014-2020 The strace developers.
  * All rights reserved.
  *
  * SPDX-License-Identifier: LGPL-2.1-or-later
@@ -70,7 +70,9 @@ print_cap_header(struct tcb *const tcp,
 	tprints("{version=");
 	printxval(cap_version, h->version,
 		  "_LINUX_CAPABILITY_VERSION_???");
-	tprintf(", pid=%d}", h->pid);
+	tprints(", pid=");
+	printpid(tcp, h->pid, PT_TGID);
+	tprints("}");
 }
 
 static void
diff -pruN 5.5-3/caps1.h 5.9-0ubuntu2/caps1.h
--- 5.5-3/caps1.h	2018-12-24 23:46:43.000000000 +0000
+++ 5.9-0ubuntu2/caps1.h	2020-09-06 08:00:00.000000000 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015-2018 Dmitry V. Levin <ldv@altlinux.org>
+ * Copyright (c) 2015-2020 Dmitry V. Levin <ldv@altlinux.org>
  * All rights reserved.
  *
  * SPDX-License-Identifier: LGPL-2.1-or-later
@@ -11,3 +11,6 @@ CAP_SYSLOG,
 CAP_WAKE_ALARM,
 CAP_BLOCK_SUSPEND,
 CAP_AUDIT_READ,
+CAP_PERFMON,
+CAP_BPF,
+CAP_CHECKPOINT_RESTORE,
diff -pruN 5.5-3/ChangeLog 5.9-0ubuntu2/ChangeLog
--- 5.5-3/ChangeLog	2020-02-06 16:24:03.000000000 +0000
+++ 5.9-0ubuntu2/ChangeLog	2020-09-24 09:19:47.000000000 +0000
@@ -1,3 +1,5247 @@
+2020-09-24  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Prepare for 5.9 release.
+	* NEWS: Update for 5.9 release.
+
+2020-09-23  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Update copyright headers.
+	Headers updated automatically using maint/update_copyright_years.sh
+	script.
+
+2020-09-23  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Fix preprocessor indentation.
+	Indent the C preprocessor directives to reflect their nesting
+	using the following script:
+
+	$ cppi -l $(git grep -El '^[[:space:]]*#[[:space:]]*(if|ifdef|ifndef|elif|else|endif|define|pragma)[[:space:]]' |grep -v '\.sh$') |while read f; do
+		cppi < "$f" > "$f".cppi; mv "$f".cppi "$f"
+	done
+
+2020-09-23  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
+
+	Update ioctl entries from linux v5.9.
+	* linux/32/ioctls_inc_align16.h: Update from linux v5.9-rc6
+	using ioctls_gen.sh.
+	* linux/32/ioctls_inc_align32.h: Likewise.
+	* linux/32/ioctls_inc_align64.h: Likewise.
+	* linux/64/ioctls_inc.h: Likewise.
+	* linux/x32/ioctls_inc0.h: Likewise.
+	* NEWS: Mention this.
+	* tests/ioctl_v4l2.c (main): Skip conflicting ioctl command
+	VBG_IOCTL_ACQUIRE_GUEST_CAPABILITIES.
+
+	maint: update for linux v5.9.
+	* maint/ioctls_gen.sh: Add arch/<arch>/include/generated/uapi and
+	arch/<arch>/include/generated directories to INCLUDES.
+	* maint/ioctls_sym.sh: Add workaround definitions of
+	__no_kasan_or_inline and __no_sanitize_or_inline macros.
+
+2020-09-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace.1.in: mention --seccomp-bpf in "A traced process runs slowly" bug
+	As it is worth mentioning here, probably.
+
+	* strace.1.in (.SH BUGS): Refer to --seccomp-bpf option description in
+	"A traced process runs slowly" bug.
+
+2020-09-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	NEWS: provide a Fedora bug number for the --pidns-translation entry.
+
+2020-09-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tee: use types/ directory for the type definitions header.
+	Also, switch ioctl_tee test to system header usage, to double-check
+	things.
+
+	* tee.h: Rename to...
+	* types/tee.h: ...this.  Remove "xlat/tee_ioctl_cmds.h",
+	"xlat/tee_ioctl_gen_caps.h", "xlat/tee_ioctl_impl_ids.h",
+	"xlat/tee_ioctl_login_types.h", "xlat/tee_ioctl_max_arg_size.h",
+	"xlat/tee_ioctl_origins.h", "xlat/tee_ioctl_optee_caps.h",
+	"xlat/tee_ioctl_param_attr_types.h", "xlat/tee_ioctl_shm_flags.h"
+	includes.  Add header guard.
+	[!HAVE_STRUCT_TEE_IOCTL_BUF_DATA, !HAVE_STRUCT_TEE_IOCTL_CANCEL_ARG,
+	!HAVE_STRUCT_TEE_IOCTL_CLOSE_SESSION_ARG,
+	!HAVE_STRUCT_TEE_IOCTL_SHM_ALLOC_DATA,
+	!HAVE_STRUCT_TEE_IOCTL_SHM_REGISTER_FD_DATA,
+	!HAVE_STRUCT_TEE_IOCTL_SHM_REGISTER_DATA,
+	!HAVE_STRUCT_TEE_IOCTL_VERSION_DATA, !HAVE_STRUCT_TEE_IOCTL_PARAM,
+	!HAVE_STRUCT_TEE_IOCTL_INVOKE_ARG, !HAVE_STRUCT_TEE_IOCL_SUPP_RECV_ARG,
+	!HAVE_STRUCT_TEE_IOCL_SUPP_SEND_ARG,
+	!HAVE_STRUCT_TEE_IOCTL_OPEN_SESSION_ARG]: Remove ifdefs.
+	(struct tee_ioctl_buf_data): Change to...
+	(typedef struct_tee_ioctl_buf_data): ...this.
+	(struct tee_ioctl_cancel_arg): Change to...
+	(typedef struct_tee_ioctl_cancel_arg): ...this.
+	(struct tee_ioctl_close_session_arg): Change to...
+	(typedef struct_tee_ioctl_close_session_arg): ...this.
+	(struct tee_ioctl_shm_alloc_data): Change to...
+	(typedef struct_tee_ioctl_shm_alloc_data): ...this.
+	(struct tee_ioctl_shm_register_fd_data): Change to...
+	(typedef struct_tee_ioctl_shm_register_fd_data): ...this.
+	(struct tee_ioctl_shm_register_data): Change to...
+	(typedef struct_tee_ioctl_shm_register_data): ...this.
+	(struct tee_ioctl_version_data): Change to...
+	(typedef struct_tee_ioctl_version_data): ...this.
+	(struct tee_ioctl_param): Change to...
+	(typedef struct_tee_ioctl_param): ...this.
+	(struct tee_ioctl_invoke_arg): Change to...
+	(typedef struct_tee_ioctl_invoke_arg): ...this.  Change params field
+	type from struct tee_ioctl_param to struct_tee_ioctl_param.
+	(struct tee_iocl_supp_recv_arg): Change to...
+	(typedef struct_tee_iocl_supp_recv_arg): ...this.  Change params field
+	type from struct tee_ioctl_param to struct_tee_ioctl_param.
+	(struct tee_iocl_supp_send_arg): Change to...
+	(typedef struct_tee_iocl_supp_send_arg): ...this.  Change params field
+	type from struct tee_ioctl_param to struct_tee_ioctl_param.
+	(struct tee_ioctl_open_session_arg): Change to...
+	(typedef struct_tee_ioctl_open_session_arg): ...this.  Change params
+	field type from struct tee_ioctl_param to struct_tee_ioctl_param.
+	[TEE_IOCTL_PARAM_SIZE]: Move to tee.c.
+	* Makefile.am (libstrace_a_SOURCES): Remove tee.h.
+	* configure.ac (AC_CHECK_HEADERS([linux/tee.h])): Remove in favour of
+	auto-generated checks courtesy of types/tee.h.
+	* tee.c: Remove "tee.h" include.  Add "types/tee.h",
+	"xlat/tee_ioctl_cmds.h" (under XLAT_MACROS_ONLY definition),
+	"xlat/tee_ioctl_gen_caps.h", "xlat/tee_ioctl_impl_ids.h",
+	"xlat/tee_ioctl_login_types.h", "xlat/tee_ioctl_max_arg_size.h",
+	"xlat/tee_ioctl_origins.h", "xlat/tee_ioctl_optee_caps.h",
+	"xlat/tee_ioctl_param_attr_types.h", "xlat/tee_ioctl_shm_flags.h"
+	includes.
+	[TEE_IOCTL_PARAM_SIZE]: Move from tee.h.
+	(tee_print_buf, tee_fetch_buf_data): Change the buf argument type
+	from struct tee_ioctl_buf_data to struct_tee_ioctl_buf_data.
+	(tee_print_param_fn): Change the param variable type from
+	struct tee_ioctl_param to struct_tee_ioctl_param.
+	(tee_print_params): Change the param_buffer variable type from
+	struct tee_ioctl_param to struct_tee_ioctl_param.
+	(tee_version): Change the version variable type from
+	struct tee_ioctl_version_data to struct_tee_ioctl_version_data.
+	(tee_open_session): Change the buf_data variable type from
+	struct_tee ioctl_buf_data to struct_tee_ioctl_buf_data.  Change
+	the open_session variable type from struct tee_ioctl_open_session_arg
+	to struct_tee_ioctl_open_session_arg.
+	(tee_invoke): Change the buf_data variable type from
+	struct_tee ioctl_buf_data to struct_tee_ioctl_buf_data.  Change
+	the invoke variable type from struct tee_ioctl_invoke_arg to
+	struct_tee_ioctl_invoke_arg.
+	(tee_cancel): Change the cancel variable type from
+	struct tee_ioctl_cancel_arg to struct_tee_ioctl_cancel_arg.
+	(tee_close_session): Change the close_session variable type from
+	struct tee_ioctl_close_session_arg to
+	struct_tee_ioctl_close_session_arg.
+	(tee_suppl_recv): Change the buf_data variable type from
+	struct_tee ioctl_buf_data to struct_tee_ioctl_buf_data.  Change
+	the supp_recv variable type from struct tee_iocl_supp_recv_arg
+	to struct_tee_iocl_supp_recv_arg.
+	(tee_suppl_send): Change the buf_data variable type from
+	struct_tee ioctl_buf_data to struct_tee_ioctl_buf_data.  Change
+	the supp_send variable type from struct tee_iocl_supp_send_arg
+	to struct_tee_iocl_supp_send_arg.
+	(tee_shm_alloc): Change the shm_alloc variable type from
+	struct tee_ioctl_shm_alloc_data to struct_tee_ioctl_shm_alloc_data.
+	(tee_shm_register_fd): Change the shm_register_fd variable type from
+	struct tee_ioctl_shm_register_fd_data to
+	struct_tee_ioctl_shm_register_fd_data.
+	(tee_shm_register): Change the shm_register variable type from
+	struct tee_ioctl_shm_register_data to
+	struct_tee_ioctl_shm_register_data.
+	* tests/ioctl_tee.c: Put the contents under HAVE_LINUX_TEE_H ifdef.
+	Remove "tee.h" include.  Add <linux/tee.h> include.
+	[!TEE_IOCTL_PARAM_ATTR_META] (TEE_IOCTL_PARAM_ATTR_META): New
+	definition.
+	[!HAVE_STRUCT_TEE_IOCTL_SHM_REGISTER_FD_DATA] (struct
+	tee_ioctl_shm_register_fd_data): New type definition.
+	[!HAVE_STRUCT_TEE_IOCTL_SHM_REGISTER_DATA] (struct
+	tee_ioctl_shm_register_data): Likewise.
+	[!TEE_IOC_SHM_REGISTER_FD] (TEE_IOC_SHM_REGISTER_FD): New definition.
+	[!TEE_IOC_SHM_REGISTER] (TEE_IOC_SHM_REGISTER): Likewise.
+	* xlat/tee_ioctl_cmds.in (TEE_IOC_VERSION): Change type in the _IOR
+	macro argument from struct tee_ioctl_version_data to
+	struct_tee_ioctl_version_data.
+	(TEE_IOC_SHM_ALLOC): Change the type in the _IOWR macro argument from
+	struct tee_ioctl_shm_alloc_data to struct_tee_ioctl_shm_alloc_data.
+	(TEE_IOC_OPEN_SESSION): Change the type in the _IOR macro argument from
+	struct tee_ioctl_buf_data to struct_tee_ioctl_buf_data.
+	(TEE_IOC_INVOKE): Change the type in the _IOR macro argument from
+	struct tee_ioctl_buf_data to struct_tee_ioctl_buf_data.
+	(TEE_IOC_CANCEL): Change the type in the _IOR macro argument from
+	struct tee_ioctl_cancel_arg to struct_tee_ioctl_cancel_arg.
+	(TEE_IOC_CLOSE_SESSION): Change the type in the _IOR macro argument
+	from struct tee_ioctl_close_session_arg
+	to struct_tee_ioctl_close_session_arg.
+	(TEE_IOC_SUPPL_RECV): Change the type in the _IOR macro argument
+	from struct tee_ioctl_buf_data to struct_tee_ioctl_buf_data.
+	(TEE_IOC_SUPPL_SEND): Change the type in the _IOR macro argument
+	from struct tee_ioctl_buf_data to struct_tee_ioctl_buf_data.
+	(TEE_IOC_SHM_REGISTER_FD): Change the type in the _IOWR macro argument
+	from struct tee_ioctl_shm_register_fd_data
+	to struct_tee_ioctl_shm_register_fd_data.
+	(TEE_IOC_SHM_REGISTER): Change the type in the _IOWR macro argument
+	from struct tee_ioctl_shm_register_data
+	to struct_tee_ioctl_shm_register_data.
+
+2020-09-23  Elvira Khabirova  <lineprinter0@gmail.com>
+
+	Implement decoding of TEE_* ioctls.
+	* tee.c: New file.
+	* tee.h: Likewise.
+	* Makefile.am (libstrace_a_SOURCES): Add them.
+	* configure.ac (AC_CHECK_HEADERS): Add linux/tee.h.
+	* defs.h (DECL_IOCTL): Add tee.
+	* ioctl.c (ioctl_decode): Add 0xa4 (tee) case.
+	* xlat/tee_ioctl_cmds.in: New file.
+	* xlat/tee_ioctl_gen_caps.in: Likewise.
+	* xlat/tee_ioctl_impl_ids.in: Likewise.
+	* xlat/tee_ioctl_login_types.in: Likewise.
+	* xlat/tee_ioctl_max_arg_size.in: Likewise.
+	* xlat/tee_ioctl_optee_caps.in: Likewise.
+	* xlat/tee_ioctl_origins.in: Likewise.
+	* xlat/tee_ioctl_param_attr_types.in: Likewise.
+	* xlat/tee_ioctl_shm_flags.in: Likewise.
+	* tests/gen_tests.in (ioctl_tee): New entry.
+	* tests/ioctl_tee.c: New file.
+	* tests/.gitignore: Add ioctl_tee.
+	* tests/pure_executables.list: Likewise.
+	* NEWS: Mention the change.
+
+2020-09-20  Dmitry V. Levin  <ldv@altlinux.org>
+
+	xlat: update KVM_* constants.
+	* xlat/kvm_cap.in (KVM_CAP_STEAL_TIME): New constant introduced by Linux
+	kernel commit v5.9-rc5~6^2~16^2~3.
+
+2020-09-19  Dmitry V. Levin  <ldv@altlinux.org>
+
+	semctl: decode struct arguments of IPC_* and SEM_* commands.
+	* ipc_semctl.c: New file.
+	* Makefile.am (libstrace_a_SOURCES): Add it.
+	* ipc_defs.h (NAME_OF_STRUCT_SEMID_DS): New macro.
+	* ipc_sem.c: Stop including "xlat/semctl_flags.h".
+	(SYS_FUNC(semctl)): Remove.
+	* tests/ipc_sem.c (str_ipc_info): New macro.
+	(print_semid_ds, print_sem_info): New functions.
+	(main): Use them to check decoding IPC_INFO, SEM_INFO, IPC_SET,
+	IPC_STAT, SEM_STAT, and SEM_STAT_ANY semctl syscall commands.
+	* NEWS: Mention this change.
+
+2020-09-19  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: disable shmctl IPC_STAT test with a bogus address on glibc >= 2.32
+	Starting with commit glibc-2.32~80, on every 32-bit architecture where
+	32-bit time_t support is enabled, glibc tries to retrieve the data
+	provided in the third argument of shmctl call.  This results to
+	segfaults inside glibc when shmctl is called with a bogus address.
+
+	* tests/ipc_shm.c [GLIBC_PREREQ_GE(2, 32) && __TIMESIZE != 64]
+	(TEST_SHMCTL_BOGUS_ADDR): Define to 0.
+	(main): Conditionalize on TEST_SHMCTL_BOGUS_ADDR the shmctl IPC_STAT
+	invocation with a bogus address.
+
+2020-09-19  Dmitry V. Levin  <ldv@altlinux.org>
+
+	shmctl: decode some commands on entering syscall.
+	* ipc_shmctl.c (SYS_FUNC(shmctl)): Handle all commands except IPC_INFO,
+	IPC_STAT, SHM_INFO, SHM_STAT, and SHM_STAT_ANY on entering syscall.
+
+	shmctl: decode struct shminfo argument of IPC_INFO command.
+	* ipc_defs.h (NAME_OF_STRUCT_SHMINFO): New macro.
+	* ipc_shmctl.c (struct_shm_ipc_info_t): New typedef.  Mpersify it.
+	(print_ipc_info): New function.
+	(SYS_FUNC(shmctl)): Use it to decode struct shminfo argument
+	of IPC_INFO command.
+	* tests/ipc_shm.c (str_ipc_info): New macro.
+	(print_ipc_info): New function.
+	(main): Use it to check decoding of IPC_INFO command.
+	* NEWS: Mention this change.
+
+	shmctl: decode struct shm_info argument of SHM_INFO command.
+	* ipc_shmctl.c (struct_shm_info_t): New typedef.  Mpersify it.
+	(print_shm_info): New function.
+	(SYS_FUNC(shmctl)): Use it to decode struct shm_info argument
+	of SHM_INFO command.
+	* tests/ipc_shm.c (print_shm_info): New function.
+	(main): Use it to check decoding of SHM_INFO command.
+	* NEWS: Mention this change.
+
+	shmctl: fix printing of struct shmid_ds argument of IPC_SET command.
+	* ipc_shmctl.c (print_shmid_ds) <cmd == IPC_SET>: Do not print
+	misleading ellipsis.
+	* tests/ipc_shm.c (main): Update expected output.
+
+	shmctl: decode struct shmid_ds argument of SHM_STAT and SHM_STAT_ANY commands
+	* ipc_shmctl.c (print_shmid_ds): Handle SHM_STAT and SHM_STAT_ANY.
+	* tests/ipc_shm.c (print_shmid_ds): New function.
+	(main): Use it to update expected output.
+	* NEWS: Mention this change.
+
+	shmctl: consistently use macros from print_fields.h.
+	* ipc_shmctl.c (key): Define.
+	(print_shmid_ds): Use PRINT_FIELD_U instead of tprintf.
+
+	msgctl: decode some commands on entering syscall.
+	* ipc_msgctl.c (SYS_FUNC(msgctl)): Handle all commands except IPC_INFO,
+	IPC_STAT, MSG_INFO, MSG_STAT, and MSG_STAT_ANY on entering syscall.
+
+	msgctl: decode struct msginfo argument of IPC_INFO and MSG_INFO commands
+	* ipc_msgctl.c (print_msginfo): New function.
+	(SYS_FUNC(msgctl)): Use it to decode struct msginfo argument of IPC_INFO
+	and MSG_INFO commands.
+	* tests/ipc_msg.c (print_msginfo): New function.
+	(main): Use it to check decoding of IPC_INFO and MSG_INFO commands.
+	* NEWS: Mention this change.
+
+	msgctl: print struct msqid_ds.msg_qbytes of IPC_SET command.
+	* ipc_msgctl.c (print_msqid_ds) <cmd == IPC_SET>: Print
+	struct msqid_ds.msg_qbytes.
+	* tests/ipc_msg.c (main): Update expected output.
+
+	msgctl: decode struct msqid_ds argument of MSG_STAT and MSG_STAT_ANY commands
+	* ipc_msgctl.c (print_msqid_ds): Handle MSG_STAT and MSG_STAT_ANY.
+	* tests/ipc_msg.c (print_msqid_ds): New function.
+	(main): Use it to update expected output.
+	* NEWS: Mention this change.
+
+	msgctl: consistently use macros from print_fields.h.
+	* ipc_msgctl.c (key): Define.
+	(print_msqid_ds): Use PRINT_FIELD_U instead of tprintf.
+
+2020-09-18  Dmitry V. Levin  <ldv@altlinux.org>
+
+	ci: add a git status check.
+	* ci/run-build-and-tests.sh: Check that "git status" does not report
+	any differences or untracked files.
+	[$CHECK == coverage]: Remove ./codecov.bash after use.
+	* .gitignore: Add "/travis_wait_*.log".
+
+	.gitignore: ignore files generated by gcov.
+	* .gitignore: Add *.gcov.
+
+2020-09-18  Elvira Khabirova  <lineprinter0@gmail.com>
+
+	xlat: fix file descriptor closing typo.
+	* xlat/gen.sh (gen_header): Replace 3>- with 3>&-.
+
+	Fixes: v5.7~28 "xlat: generate m4 checks for enumerations"
+
+2020-09-14  Elvira Khabirova  <lineprinter0@gmail.com>
+
+	.gitignore: add missing files that should be ignored.
+	ar-lib is an autotools helper script.
+	tags, TAGS, cscope.* and ncscope.* are files generated by ctags and cscope,
+	source code analysers and navigation tools.
+
+	* .gitignore: Add /ar-lib, /cscope.*, /ncscope.*, /tags and /TAGS.
+
+2020-09-12  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests/ipc_msg.c: disable TEST_MSGCTL_BOGUS_ADDR on glibc >= 2.32.
+	Starting with commit glibc-2.32~83, on every 32-bit architecture where
+	32-bit time_t support is enabled, glibc tries to retrieve the data
+	provided in the third argument of msgctl call.  This results to
+	segfaults inside glibc if TEST_MSGCTL_BOGUS_ADDR is enabled.
+
+	* tests/ipc_msg.c [GLIBC_PREREQ_GE(2, 32) && __TIMESIZE != 64]
+	(TEST_MSGCTL_BOGUS_ADDR): Define to 0.
+
+	Reported-by: Ruinland ChuanTzu Tsai <ruinland@andestech.com>
+
+2020-09-12  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Introduce GLIBC_PREREQ_GE and GLIBC_PREREQ_LT macros.
+	* gcc_compat.h (GLIBC_PREREQ_GE, GLIBC_PREREQ_LT): New macros.
+	* tests/ipc_msg.c: Use GLIBC_PREREQ_LT instead of manual checking
+	for __GLIBC__ and __GLIBC_MINOR__.
+	* tests/readahead.c: Likewise.
+
+2020-09-06  Dmitry V. Levin  <ldv@altlinux.org>
+
+	ci: re-enable testing with the latest mainline kernel headers.
+	There should be no issues with v5.9-rc4.
+	This reverts commit 1c84f0b04d0fd8d37afd29a4c959fb8c863bcfdb.
+
+	* .github/workflows/ci.yml (env): Remove KBRANCH.
+	* .gitlab-ci.yml (variables): Likewise.
+	* .travis.yml (env:global): Likewise.
+
+2020-09-06  Dmitry V. Levin  <ldv@altlinux.org>
+
+	types/v4l2.h: update definition of struct_v4l2_create_buffers.
+	* types/v4l2.h (struct_v4l2_create_buffers): Add "flags" field and
+	update "reserved" field to sync with changes introduced by Linux kernel
+	commit v5.9-rc1~94^2~295.
+
+	xlat: update V4L2_FMT_FLAG_* constants.
+	* xlat/v4l2_format_description_flags.in
+	(V4L2_FMT_FLAG_ENC_CAP_FRAME_INTERVAL): New constant introduced by Linux
+	kernel commit v5.9-rc1~94^2~283.
+	* NEWS: Mention this change.
+	* tests/ioctl_v4l2-success.c (fmtdesc_flags): Update expected output.
+
+	xlat: update RTPROT_* constants.
+	* xlat/routing_protocols.in (RTPROT_KEEPALIVED): New constant introduced
+	by Linux kernel commit v5.9-rc1~133^2~449.
+	* NEWS: Mention this change.
+
+	xlat: update PTP_PEROUT_* constants.
+	* xlat/rtnl_neigh_attrs.in (PTP_PEROUT_DUTY_CYCLE): New constant
+	introduced by Linux kernel commit v5.9-rc1~133^2~199^2~2.
+	(PTP_PEROUT_PHASE): New constant introduced by Linux kernel commit
+	v5.9-rc1~133^2~199^2~1.
+	* NEWS: Mention this change.
+
+	xlat: update NDA_* constants.
+	* xlat/rtnl_neigh_attrs.in (NDA_FDB_EXT_ATTRS): New constant introduced
+	by Linux kernel commit v5.9-rc1~133^2~430^2~2.
+	* NEWS: Mention this change.
+
+	xlat: update KVM_* constants.
+	* xlat/kvm_cap.in (KVM_CAP_LAST_CPU): New constant introduced by Linux
+	kernel commit v5.9-rc1~121^2~108.
+	(KVM_CAP_SMALLER_MAXPHYADDR): New constant introduced by Linux kernel
+	commit v5.9-rc1~121^2~15.
+	(KVM_CAP_S390_DIAG318): New constant introduced by Linux kernel commit
+	v5.9-rc1~121^2^2.
+	* NEWS: Mention this change.
+
+	xlat: update IORING_FEAT_* constants.
+	* xlat/uring_setup_features.in (IORING_FEAT_POLL_32BITS): New constant
+	introduced by Linux kernel commit v5.9-rc1~212^2~116.
+	* NEWS: Mention this change.
+
+	xlat: update INET_DIAG_REQ_* constants.
+	* linux/inet_diag.h (INET_DIAG_REQ_SK_BPF_STORAGES): New constant
+	introduced by Linux kernel commit v5.7-rc1~146^2~287^2^2.
+	(INET_DIAG_REQ_PROTOCOL): New constant introduced by Linux kernel commit
+	v5.9-rc1~133^2~292^2~3.
+	* xlat/inet_diag_req_attrs.in: Likewise.
+	* NEWS: Mention this change.
+
+	xlat: update IFLA_* constants.
+	* xlat/rtnl_link_attrs.in (IFLA_PROTO_DOWN_REASON): New constant
+	introduced by Linux kernel commit v5.9-rc1~133^2~77.
+	* NEWS: Mention this change.
+
+	xlat: update IPV6_* constants.
+	* xlat/sock_ip_options.in (IPV6_RECVERR_RFC4884): New constant
+	introduced by Linux kernel commit v5.9-rc1~133^2~130^2.
+	* NEWS: Mention this change.
+
+	xlat: update IP_* constants.
+	* xlat/sock_ip_options.in (IP_RECVERR_RFC4884): New constant introduced
+	by Linux kernel commit v5.9-rc1~133^2~200.
+	* NEWS: Mention this change.
+
+	xlat: update FAN_* constants.
+	* xlat/fan_init_flags.in (FAN_REPORT_DIR_FID): New constant introduced
+	by Linux kernel commit v5.9-rc1~110^2~6.
+	(FAN_REPORT_NAME): New constant introduced by Linux kernel commit
+	v5.9-rc1~110^2~4.
+	* NEWS: Mention this change.
+	* tests/fanotify_init.c (main): Update expected output.
+
+	xlat: update CAP_* constants.
+	* caps1.h (CAP_CHECKPOINT_RESTORE): New constant introduced
+	by Linux kernel commit v5.9-rc1~161^2~6.
+	* xlat/cap.in (CAP_CHECKPOINT_RESTORE): Likewise.
+	* xlat/cap_mask1.in (1<<CAP_CHECKPOINT_RESTORE): Likewise.
+	* NEWS: Mention this change.
+	* tests/caps.awk: Update expected output.
+	* tests/caps-abbrev.awk: Likewise.
+
+	xlat: update BPF_* constants.
+	* xlat/bpf_attach_type.in (BPF_CGROUP_INET_SOCK_RELEASE): New constant
+	introduced by Linux kernel commit v5.9-rc1~133^2~259^2~18.
+	(BPF_XDP_CPUMAP): New constant introduced by Linux kernel commit
+	v5.9-rc1~133^2~164^2~22.
+	(BPF_SK_LOOKUP): New constant introduced by Linux kernel commit
+	v5.9-rc1~133^2~164^2~14^2~13.
+	(BPF_XDP): New constant introduced by Linux kernel commit
+	v5.9-rc1~133^2~23^2~28^2~5.
+	* xlat/bpf_commands.in (BPF_LINK_DETACH): New constant introduced
+	by Linux kernel commit v5.9-rc1~133^2~23^2~6^2~4.
+	* xlat/bpf_prog_types.in (BPF_PROG_TYPE_SK_LOOKUP): New constant
+	introduced by Linux kernel commit v5.9-rc1~133^2~164^2~14^2~13.
+	* NEWS: Mention this change.
+	* tests/bpf.c (BPF_PROG_LOAD_checks, BPF_PROG_QUERY_checks): Update.
+	* tests/kernel_version.c (print_bpf_attr, main): Likewise.
+
+2020-09-06  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Implement decoding of close_range syscall.
+	Introduced by Linux kernel commit v5.9-rc1~160.
+
+	* close_range.c: New file.
+	* Makefile.am (libstrace_a_SOURCES): Add it.
+	* configure.ac (AC_CHECK_HEADERS): Add linux/close_range.h.
+	* xlat/close_range_flags.in: New file.
+	* pathtrace.c (pathtrace_match_set): Handle SEN_close_range.
+	* linux/syscallent-common.h [BASE_NR + 436]: Wire up close_range.
+	* NEWS: Mention this change.
+	* tests/close_range.c: New file.
+	* tests/close_range-P.c: Likewise.
+	* tests/close_range-y.c: Likewise.
+	* tests/close_range-yy.c: Likewise.
+	* tests/gen_tests.in (close_range. close_range-P, close_range-y,
+	close_range-yy): New entries.
+	* tests/pure_executables.list: Add close_range, close_range-P,
+	close_range-y, and close_range-yy.
+	* tests/.gitignore: Likewise.
+
+2020-09-03  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests: reduce looping_threads iteration duration to 1/16th of TIMEOUT_DURATION
+	* tests/looping_threads.test (timeout_8): Rename to...
+	(timeout_16): ...this, reduce value by half.
+	Use $timeout_16 instead of $timeout_8.
+
+	Complements: v5.7~4 "tests: increase default TIMEOUT_DURATION"
+
+2020-09-03  Eugene Syromyatnikov  <evgsyr@gmail.com>
+	    Tom Stellard  <tstellar@redhat.com>
+
+	strace.spec.in: use %make_build/%make_install macros.
+	As suggested in [1][2].
+
+	[1] https://src.fedoraproject.org/fork/tstellar/rpms/strace/c/c7358b588cb5f2893dec3b7daa84e63d9389773a.patch
+	[2] https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
+
+	* strace.spec.in [?!__make] (%__make): New definition.
+	[?!__install] (%__install): Likewise.
+	[?!make_build] (%make_build): Likewise.
+	[?!make_install] (%make_install): Likewise.
+	(%build, %check): Use %make_build.
+	(%install): Use %make_install.
+
+2020-09-03  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	mpers_test.sh: check proper handling of sized integer types.
+	The commit v5.6~62 ("v4l2: always decode VIDIOC_*_EXT_CTRLS ioctl
+	commands") unraveled a possibility of buggy handling of sized integer
+	types in some libc implementations[1][2].  Add checks for these types
+	to mpers_test.sh to catch such issues early.
+
+	[1] https://strace.io/logs/strace/2020-04-22#17477;
+	[2] https://lists.strace.io/pipermail/strace-devel/2020-August/010213.html
+
+	* mpers_test.sh: Add checks for (u)int{8,16,32,64}_t types.
+
+	Complements: v5.6~62 "v4l2: always decode VIDIOC_*_EXT_CTRLS ioctl commands"
+
+2020-08-25  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	Add tests for PID namespace translation.
+	* Makefile.am (CODE_COVERAGE_IGNORE_PATTERN): Add test directories.
+	* tests/.gitignore: Add new test executables.
+	* tests/Makefile.am (check_PROGRAMS): Add new test executables.
+	(DECODER_TESTS) Add new test files.
+	(libtests_a_SOURCES): Add trie_for_tests.c, xmalloc_for_tests.c.
+	* tests/gen_tests.in: Add new tests.
+	* tests/trie_test.c: New file.
+	* tests/trie_for_tests.c: New file.
+	* tests/xmalloc_for_tests.c: New file.
+	* tests/pidns-cache.c: New file.
+	* tests/pidns-cache.test: New file.
+	* tests/fcntl--pidns-translation.c: New file.
+	* tests/fcntl64--pidns-translation.c: New file.
+	* tests/fork--pidns-translation.awk: New file.
+	* tests/fork--pidns-translation.c: New file.
+	* tests/fork--pidns-translation.test: New file.
+	* tests/getpgrp--pidns-translation.c: New file.
+	* tests/getpid--pidns-translation.c: New file.
+	* tests/getsid--pidns-translation.c: New file.
+	* tests/gettid--pidns-translation.c: New file.
+	* tests/gettid--pidns-translation.test: New file.
+	* tests/ioctl_block--pidns-translation.c: New file.
+	* tests/ioctl_block--pidns-translation.test: New file.
+	* tests/ioprio--pidns-translation.c: New file.
+	* tests/kill--pidns-translation.c: New file.
+	* tests/migrate_pages--pidns-translation.c: New file.
+	* tests/move_pages--pidns-translation.c: New file.
+	* tests/net-sockaddr--pidns-translation.c: New file.
+	* tests/netlink_audit--pidns-translation.c: New file.
+	* tests/netlink_audit--pidns-translation.test: New file.
+	* tests/pidfd_open--pidns-translation.c: New file.
+	* tests/pidfd_send_signal--pidns-translation.c: New file.
+	* tests/prlimit64--pidns-translation.c: New file.
+	* tests/process_vm_readv--pidns-translation.c: New file.
+	* tests/process_vm_writev--pidns-translation.c: New file.
+	* tests/rt_sigqueueinfo--pidns-translation.c: New file.
+	* tests/rt_tgsigqueueinfo--pidns-translation.c: New file.
+	* tests/sched_xetaffinity--pidns-translation.c: New file.
+	* tests/sched_xetattr--pidns-translation.c: New file.
+	* tests/sched_xetparam--pidns-translation.c: New file.
+	* tests/sched_xetscheduler--pidns-translation.c: New file.
+	* tests/signal_receive--pidns-translation.c: New file.
+	* tests/so_peercred--pidns-translation.c: New file.
+	* tests/tkill--pidns-translation.c: New file.
+	* tests/tgkill--pidns-translation.c: New file.
+	* tests/xet_robust_list--pidns-translation.c: New file.
+	* tests/xetpgid--pidns-translation.c: New file.
+	* tests/xetpriority--pidns-translation.c: New file.
+	* tests/fcntl-common.c: Print PID translation string after PIDs.
+	* tests/fcntl.c: Likewise.
+	* tests/fcntl64.c: Likewise.
+	* tests/getpgrp.c: Likewise.
+	* tests/getpid.c: Likewise.
+	* tests/getsid.c: Likewise.
+	* tests/gettid.c: Likewise.
+	* tests/ioctl_block.c: Likewise.
+	* tests/ioprio.c: Likewise.
+	* tests/kcmp.c: Likewise.
+	* tests/kill.c: Likewise.
+	* tests/migrate_pages.c: Likewise.
+	* tests/move_pages.c: Likewise.
+	* tests/net-sockaddr.c: Likewise.
+	* tests/netlink_audit.c: Likewise.
+	* tests/pidfd_open.c: Likewise.
+	* tests/pidfd_send_signal.c: Likewise.
+	* tests/prlimit64.c: Likewise.
+	* tests/process_vm_readv_writev.c: Likewise.
+	* tests/rt_sigqueueinfo.c: Likewise.
+	* tests/rt_tgsigqueueinfo.c: Likewise.
+	* tests/sched_xetaffinity.c: Likewise.
+	* tests/sched_xetattr.c: Likewise.
+	* tests/sched_xetparam.c: Likewise.
+	* tests/sched_xetscheduler.c: Likewise.
+	* tests/signal_receive.c: Likewise.
+	* tests/so_peercred.c: Likewise.
+	* tests/tgkill.c: Likewise.
+	* tests/tkill.c: Likewise.
+	* tests/xet_robust_list.c: Likewise.
+	* tests/xetpgid.c: Likewise.
+	* tests/xetpriority.c: Likewise.
+
+	Implement testing framework for pidns.
+	* tests/pidns.c: New file.
+	* tests/pidns.h: New file.
+	* tests/Makefile.am (libtests_a_SOURCES): Add pidns.c, pidns.h.
+	* tests/init.sh (test_pidns, test_pidns_run_strace): New functions.
+
+	Use get_proc_pid for /proc paths.
+	* mmap_cache.c (mmap_cache_rebuild_if_invalid): Use proc pid instead of
+	tcp->pid for /proc path.
+	* util.c (getfdproto): Likewise.
+	(pidfd_get_pid): Likewise.
+	* pathtrace.c (getfdpath_pid): Likewise.
+	* strace.c (attach_tcb): Likewise.
+
+	Use printpid in decoders.
+	* getpid.c: New file.
+	* Makefile.am (libstrace_a_SOURCES): Add it.
+	* linux/dummy.h (sys_getpid, sys_getppid, sys_gettid,
+	sys_setpgid, sys_setpgrp): Remove.
+	* util.c (printfd_pid_tracee_ns): Implement using translate_pid.
+	* defs.h (printnum_pid): New function definition.
+	(printfd_pid_tracee_ns): Update documentation
+	* util.c: (printnum_pid): New function.
+	* print_fields.h (PRINT_FIELD_TID): New macro.
+	(PRINT_FIELD_TGID): Likewise.
+	(PRINT_FIELD_PGID): Likewise.
+	(PRINT_FIELD_SID): Likewise.
+	* affinity.c: Print PIDs with printpid.
+	* block.c: Likewise.
+	* bpf.c: Likewise.
+	* capability.c: Likewise.
+	* clone.c: Likewise.
+	* fcntl.c: Likewise.
+	* get_robust_list.c: Likewise.
+	* ioprio.c: Likewise.
+	* kcmp.c: Likewise.
+	* msghdr.c: Likewise.
+	* net.c: Likewise.
+	* netlink.c: Likewise.
+	* numa.c: Likewise.
+	* pidfd_open.c: Likewise.
+	* printsiginfo.c: Likewise.
+	* process.c: Likewise.
+	* process_vm.c: Likewise.
+	* resource.c: Likewise.
+	* sched.c: Likewise.
+	* signal.c: Likewise.
+	* sockaddr.c: Likewise.
+	* wait.c: Likewise.
+	* kcmp.c (SYS_FUNC(kcmp)): Fix KCMP_FILE pid arguments.
+	* tests/kcmp.c (printpidfd): Print path if VERBOSE_FD.
+	(main): Use our real pid if real fds are used.
+
+2020-08-25  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	PID namespace translation support.
+	* defs.h (pidns_translation): New variable.
+	(tcb): Add pid_ns field.
+	(RVAL_MASK): Change value from 013 to 017.
+	(RVAL_TID, RVAL_SID, RVAL_TGID, RVAL_PGID): New definitions.
+	(pid_type): New enum.
+	(pidns_init, translate_pid, get_proc_pid, printpid, printpid_tgid_pgid):
+	New function declarations.
+	* largefile_wrappers.h (fstat_fd): New macro.
+	* pidns.c: New file.
+	* trie.c: New file.
+	* trie.h: New file.
+	* Makefile.am (libstrace_a_SOURCES): Add trie.c, trie.h, pidns.c.
+	* strace.c (pidns_translation): New variable.
+	(init): Add --pidns-translation option.
+	* syscall.c (syscall_exiting_trace): Handle RVAL_* return values.
+	* NEWS: Mention this.
+	* strace.1.in: Add description for new option.
+
+	Co-Authored-by: Eugene Syromyatnikov <evgsyr@gmail.com>
+
+2020-08-25  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	tests/mknod.c: add workaround for ppc bug in travis.
+	On ppc travis builds syscall(mknod) sometimes does not fail with EEXISTS
+	as expected, but returns successfully. This commit uses sprintrc for
+	errno printing, which handles successful return values too.
+
+	* tests/mknod.c (main): Use sprintrc for printing errno.
+
+2020-08-21  Elvira Khabirova  <lineprinter0@gmail.com>
+
+	tests: check -n/--syscall-number option.
+	* tests/strace-n.c: New file.
+	* tests/gen_tests.in (strace-n): New entry.
+	* tests/pure_executables.list: Add strace-n.
+	* tests/.gitignore: Likewise.
+
+	strace: add an option for printing syscall numbers.
+	* print_syscall_number.c: New file.
+	* Makefile.am (libstrace_a_SOURCES): Add it.
+	* defs.h (struct tcb): Add true_scno field.
+	(print_syscall_number): New function declaration.
+	* strace.c: Add -n/--syscall-number option.
+	(printleader): Call print_syscall_number.
+	* syscall.c (get_scno): Assign tcp->true_scno.
+	* tests/options-syntax.test: Check with -c/--summary-only.
+	* strace.1.in: Document new option.
+	* NEWS: Mention the new option.
+
+2020-08-06  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Post-release administrivia.
+	* NEWS: Add a header line for the next release.
+	* debian/changelog.in: Add a changelog entry for 5.8-1.
+	* strace.spec.in: Likewise.
+
+	Prepare for 5.8 release.
+	* NEWS: Update for 5.8 release.
+
+2020-08-04  Dmitry V. Levin  <ldv@altlinux.org>
+
+	ci: use kernel headers from Linux kernel v5.8.
+	When Linux kernel merge window opens, changes of all sorts start to pour
+	down, breaking UAPI in various ways.  This does not work for strace,
+	we need a stable UAPI.
+
+	* .github/workflows/ci.yml (env): Add KBRANCH.
+	* .gitlab-ci.yml (variables): Likewise.
+	* .travis.yml (env:global): Likewise.
+
+2020-08-03  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Update copyright headers.
+	Headers updated automatically using maint/update_copyright_years.sh
+	script.
+
+2020-08-01  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: check decoding of tgkill syscall.
+	* tests/tgkill.c: New file.
+	* tests/gen_tests.in (tgkill): New entry.
+	* tests/pure_executables.list: Add tgkill.
+	* tests/.gitignore: Likewise.
+
+	tests: check decoding of tkill syscall.
+	* tests/tkill.c: New file.
+	* tests/gen_tests.in (tkill): New entry.
+	* tests/pure_executables.list: Add tkill.
+	* tests/.gitignore: Likewise.
+
+2020-08-01  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	Introduce SYS_FUNC(tkill)
+	This is going to be needed to implement pidns support
+	in tkill syscall decoder.
+
+	syscallent*.h files are updated automatically by:
+	  git grep -l 'SEN(kill).*"tkill"' |
+	  xargs sed -i '/"tkill"/ s/SEN(kill)/SEN(tkill)/'
+
+	* signal.c (SYS_FUNC(tkill)): New syscall decoder.
+	* linux/32/syscallent.h: Use SEN(tkill) for "tkill" syscall.
+	* linux/64/syscallent.h: Likewise.
+	* linux/alpha/syscallent.h: Likewise.
+	* linux/arm/syscallent.h: Likewise.
+	* linux/avr32/syscallent.h: Likewise.
+	* linux/bfin/syscallent.h: Likewise.
+	* linux/hppa/syscallent.h: Likewise.
+	* linux/i386/syscallent.h: Likewise.
+	* linux/ia64/syscallent.h: Likewise.
+	* linux/m68k/syscallent.h: Likewise.
+	* linux/microblaze/syscallent.h: Likewise.
+	* linux/mips/syscallent-n32.h: Likewise.
+	* linux/mips/syscallent-n64.h: Likewise.
+	* linux/mips/syscallent-o32.h: Likewise.
+	* linux/powerpc/syscallent.h: Likewise.
+	* linux/powerpc64/syscallent.h: Likewise.
+	* linux/s390/syscallent.h: Likewise.
+	* linux/s390x/syscallent.h: Likewise.
+	* linux/sh/syscallent.h: Likewise.
+	* linux/sh64/syscallent.h: Likewise.
+	* linux/sparc/syscallent.h: Likewise.
+	* linux/sparc64/syscallent.h: Likewise.
+	* linux/x32/syscallent.h: Likewise.
+	* linux/x86_64/syscallent.h: Likewise.
+	* linux/xtensa/syscallent.h: Likewise.
+
+2020-08-01  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	Add "struct tcb *" parameters to various functions.
+	This is going to be needed to implement pidns support.
+
+	* defs.h (print_sockaddr): Add a "struct tcb *" parameter.
+	* printsiginfo.h (printsiginfo): Likewise.
+	* fcntl.c (print_struct_flock64): Likewise.  All callers updated.
+	* print_fields.h (PRINT_FIELD_SOCKADDR): Likewise.   All callers updated.
+	* printsiginfo.c (printsigsource, print_si_info, printsiginfo): Likewise.
+	All callers updated.
+	* sockaddr.c (print_sockaddr_data_un, print_sockaddr_data_in,
+	print_sockaddr_data_in6, print_sockaddr_data_ax25,
+	print_sockaddr_data_ipx, print_sockaddr_data_x25,
+	print_sockaddr_data_nl, print_sockaddr_data_ll,
+	print_sockaddr_data_bt, sockaddr_printer, print_sockaddr): Likewise.
+	All callers updated.
+
+2020-07-30  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Use tprints instead of tprintf in a few more places.
+	* bpf.c (BPF_PROG_LOAD, BPF_OBJ_PIN, BPF_OBJ_GET_INFO_BY_FD,
+	BPF_RAW_TRACEPOINT_OPEN, BPF_TASK_FD_QUERY, BPF_MAP_LOOKUP_BATCH,
+	BPF_MAP_UPDATE_BATCH, BPF_MAP_DELETE_BATCH): Replace tprintf
+	with tprints for printing strings without format specifiers.
+	* btrfs.c (btrfs_ioctl): Likewise.
+	* ioctl.c (evdev_decode_number): Likewise.
+	* perf_ioctl.c (perf_ioctl): Likewise.
+	* rtnl_addr.c (decode_ifa_cacheinfo): Likewise.
+	* v4l2.c (print_v4l2_capability, print_v4l2_requestbuffers,
+	print_v4l2_streamparm): Likewise.
+
+2020-07-24  Janosch Frank  <frankja@linux.ibm.com>
+
+	s390x: sthyi: Fix section size requirement and error.
+	Some old z/VM instances report only 40 bytes for the partition
+	section, as they don't report the last three struct members.
+
+	Let's lower the size check of that section to 40 to accommodate them.
+
+	Also we expect a section to be at least x bytes, so we should make
+	that clear in the error message.
+
+	Reviewed-by: Eugene Syromyatnikov <evgsyr@gmail.com>
+
+2020-07-21  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	Remove tcb parameter of read_int_from_file.
+	* defs.h (read_int_from_file): Remove tcb parameter.
+	* util.c (read_int_from_file): Likewise.
+	* msghdr.c (get_optmem_max): Remove tcb parameter of read_int_from_file.
+
+2020-07-18  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Consistently print process ids as signed integers.
+	* block.c (block_ioctl): Print struct_blk_user_trace_setup.pid using
+	PRINT_FIELD_D instead of PRINT_FIELD_U.
+	* bpf.c (BPF_TASK_FD_QUERY): Print task_fd_query.pid using PRINT_FIELD_D
+	instead of PRINT_FIELD_U.
+	* ipc_msgctl.c (print_msqid_ds): Print msqid_ds.msg_lspid
+	and msqid_ds.msg_lrpid using PRINT_FIELD_D.
+	* ipc_shmctl.c (print_shmid_ds): Print shmid_ds.shm_cpid and shm_lpid
+	using PRINT_FIELD_D.
+	* msghdr.c (print_scm_creds): Print ucred.pid using PRINT_FIELD_D
+	instead of PRINT_FIELD_U.
+	* netlink.c (print_nlmsghdr): Print nlmsghdr.nlmsg_pid using %d format
+	instead of %u.
+	* tests/bpf.c (BPF_TASK_FD_QUERY_checks): Update expected output.
+	* tests/ioctl_block.c (main): Update expected output.
+	* tests/ipc_msg.c (main): Likewise.
+	* tests/ipc_shm.c (main): Likewise.
+	* tests/net-yy-netlink.c (main): Likewise.
+	* tests/netlink_protocol.c (test_nlmsgerr): Likewise.
+
+	Introduce PRINT_FIELD_NUMERIC_UMODE_T.
+	* print_fields.h (PRINT_FIELD_NUMERIC_UMODE_T): New macro.
+	* ipc_msgctl.c (print_msqid_ds): Use it instead of print_numeric_umode_t.
+	* ipc_shmctl.c (print_shmid_ds): Likewise.
+	* open.c (print_open_how): Use it instead of print_numeric_ll_umode_t.
+
+	Fix printing of syscall return value in octal mode.
+	* defs.h (print_numeric_long_umask): Remove.
+	* printmode.c (print_numeric_long_umask): Likewise.
+	* syscall.c (syscall_exiting_trace) <case RVAL_OCTAL>: Fix printing
+	of tcp->u_rval when sizeof(tcp->u_rval) > sizeof(long) or when
+	sizeof(tcp->u_rval) > current_klongsize.
+
+	Rename print_numeric_umode_t_64 to print_numeric_ll_umode_t.
+	* printmode.c (print_numeric_umode_t_64): Rename
+	to print_numeric_ll_umode_t, change the type of its argument
+	to unsigned long long.
+	* defs.h: Likewise.
+	* open.c (print_open_how): Use print_numeric_ll_umode_t instead of
+	print_numeric_umode_t_64.
+
+2020-07-17  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Use PRINT_FIELD_UID instead of printuid where appropriate.
+	* ipc_msgctl.c: Include "print_fields.h".
+	(print_msqid_ds): Use PRINT_FIELD_UID instead of printuid.
+	* ipc_shmctl.c: Include "print_fields.h".
+	(print_shmid_ds): Use PRINT_FIELD_UID instead of printuid.
+	* statx.c (SYS_FUNC(statx)): Use PRINT_FIELD_UID instead of printuid.
+
+	printsiginfo: fix printing of siginfo_t.si_pid and siginfo_t.si_uid.
+	* printsiginfo.c (printsigsource): Print siginfo_t.si_pid using
+	PRINT_FIELD_D, print siginfo_t.si_uid using PRINT_FIELD_UID.
+	* tests/clone_ptrace.c (main): Update expected output.
+	* tests/orphaned_process_group.c (main): Likewise.
+	* tests/pidfd_send_signal.c (main): Likewise.
+	* tests/ptrace.c (test_peeksiginfo): Likewise.
+	* tests/rt_sigqueueinfo.c (main): Likewise.
+	* tests/rt_tgsigqueueinfo.c (main): Likewise.
+	* tests/siginfo.c (main): Likewise.
+	* tests/waitid.c (sprint_siginfo): Likewise.
+
+	statx: use PRINT_FIELD_FLAGS.
+	* statx.c (SYS_FUNC(statx)): Use PRINT_FIELD_FLAGS instead of
+	printflags.
+
+2020-07-17  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	kcmp: fix KCMP_FILE decoding.
+	* kcmp.c (SYS_FUNC(kcmp)): Fix KCMP_FILE pid arguments.
+
+	Fixes: v4.20~66 ("kcmp: output fds using a separate function")
+
+2020-07-13  Dmitry V. Levin  <ldv@altlinux.org>
+
+	fcntl: use print_fields.h macros.
+	* fcntl.c: Include "print_fields.h".
+	(print_struct_flock64, print_f_owner_ex): Use PRINT_FIELD_* macros
+	from print_fields.h.
+
+	evdev_mpers: use print_fields.h macros.
+	* evdev_mpers.c: Include "print_fields.h".
+	(decode_envelope, ff_effect_ioctl): Use PRINT_FIELD_* macros
+	from print_fields.h.
+	* tests/ioctl_evdev.c (print_ffe_common): Update expected output.
+
+2020-07-12  Dmitry V. Levin  <ldv@altlinux.org>
+
+	ustat: use print_fields.h macros.
+	* ustat.c: Include "print_fields.h".
+	(SYS_FUNC(ustat)): Use PRINT_FIELD_* macros from print_fields.h.
+
+	file_ioctl: use print_fields.h macros.
+	* file_ioctl.c: Include "print_fields.h".
+	(print_file_dedupe_range_info, print_fiemap_extent, file_ioctl): Use
+	PRINT_FIELD_* macros from print_fields.h.
+
+	evdev: use print_fields.h macros.
+	* evdev.c (abs_ioctl, keycode_V2_ioctl): Use PRINT_FIELD_* macros
+	from print_fields.h.
+
+	evdev: fix formatting of struct input_id.
+	* evdev.c (getid_ioctl): Use PRINT_FIELD_U.
+	* tests/ioctl_evdev.c (main): Update expected output.
+
+	btrfs: use PRINT_FIELD_X_ARRAY.
+	* types/btrfs.h: New file.
+	* btrfs.c: Include "types/btrfs.h".
+	(btrfs_ioctl): Use struct_btrfs_ioctl_logical_ino_args and
+	PRINT_FIELD_X_ARRAY.
+	* configure.ac (AC_CHECK_MEMBERS): Remove
+	struct btrfs_ioctl_search_args_v2.buf_size and
+	struct btrfs_ioctl_logical_ino_args.flags.
+
+2020-07-10  Dmitry V. Levin  <ldv@altlinux.org>
+
+	travis: reintroduce ppc64le and s390x builds.
+	Let's give travis another chance.
+	This reverts commits 86a53f791ad34a825b8633eb0272d954647ce705
+	and 36f32a255db09886f7f9ba08ec712b8742f0c312.
+
+	* .travis.yml (arch: ppc64le, arch: s390x): New entries.
+
+2020-07-10  Dmitry V. Levin  <ldv@altlinux.org>
+
+	README.md: migrate from travis-ci.org to travis-ci.com.
+
+2020-07-08  Dmitry V. Levin  <ldv@altlinux.org>
+
+	evdev: fix formatting of struct input_keymap_entry.scancode.
+	* evdev.c (keycode_V2_ioctl): Use PRINT_FIELD_X_ARRAY.
+	* tests/ioctl_evdev.c (main): Update expected output.
+
+	x86_64/arch_kvm: use PRINT_FIELD_X_ARRAY.
+	* linux/x86_64/arch_kvm.c (arch_print_kvm_sregs): Use PRINT_FIELD_X_ARRAY.
+
+	loop: implement decoding of LOOP_CONFIGURE ioctl command.
+	* types/loop.h: New file.
+	* loop.c: Include it instead of <linux/ioctl.h> and <linux/loop.h>.
+	(ecode_loop_config): New function.
+	(loop_ioctl): Use it to decode LOOP_CONFIGURE ioctl command.
+	* NEWS: Mention this change.
+	* tests/ioctl_loop.c: Check it.
+
+2020-07-08  Dmitry V. Levin  <ldv@altlinux.org>
+
+	loop: factor out print_loop_info64.
+	It is going to be used to implement LOOP_CONFIGURE decoding.
+
+	* loop.c (print_loop_info64): New function.
+	(decode_loop_info64): Use it.
+
+2020-07-08  Dmitry V. Levin  <ldv@altlinux.org>
+
+	loop: use print_fields.h macros.
+	* loop.c (decode_loop_info, decode_loop_info64): Use PRINT_FIELD_*
+	macros from print_fields.h.
+
+	print_fields: introduce PRINT_FIELD_U_ARRAY and PRINT_FIELD_X_ARRAY.
+	* print_fields.h: Include "static_assert.h".
+	(PRINT_FIELD_UINT_ARRAY, PRINT_FIELD_U_ARRAY, PRINT_FIELD_X_ARRAY):
+	New macros.
+	(PRINT_FIELD_COOKIE): Rewrite using PRINT_FIELD_U_ARRAY.
+
+2020-07-06  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
+
+	Update ioctl entries from linux v5.8.
+	* linux/32/ioctls_inc_align16.h: Update from linux v5.8-rc4
+	using ioctls_gen.sh.
+	* linux/32/ioctls_inc_align32.h: Likewise.
+	* linux/32/ioctls_inc_align64.h: Likewise.
+	* linux/64/ioctls_inc.h: Likewise.
+	* linux/x32/ioctls_inc0.h: Likewise.
+	* linux/powerpc/ioctls_arch0.h: Likewise.
+	* NEWS: Mention this.
+	* tests/ioctl_loop.c (main): Update.
+
+2020-07-04  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Implement decoding of faccessat2 syscall.
+	Introduced by Linux kernel commit v5.8-rc1~203^2.
+
+	* xlat/faccessat_flags.in: New file.
+	* access.c: Include "xlat/faccessat_flags.h".
+	(decode_access): Change return type to void.
+	(SYS_FUNC(access)): Return RVAL_DECODED.
+	(decode_faccessat): New function.
+	(SYS_FUNC(faccessat)): Use it.
+	(SYS_FUNC(faccessat2)): New function.
+	* pathtrace.c (pathtrace_match_set): Handle SEN_faccessat2.
+	* linux/syscallent-common.h [BASE_NR + 439]: Wire up faccessat2.
+	* NEWS: Mention this change.
+	* tests/faccessat2.c: New file.
+	* tests/faccessat2-P.c: Likewise.
+	* tests/faccessat2-y.c: Likewise.
+	* tests/faccessat2-yy.c: Likewise.
+	* tests/faccessat2.test: New test.
+	* tests/Makefile.am (DECODER_TESTS): Add faccessat2.test.
+	* tests/gen_tests.in (faccessat2-P, faccessat2-y, faccessat2-yy): New
+	entries.
+	* tests/pure_executables.list: Add faccessat2, faccessat2-P,
+	faccessat2-y, and faccessat2-yy.
+	* tests/.gitignore: Likewise.
+
+2020-07-04  Dmitry V. Levin  <ldv@altlinux.org>
+
+	xlat: rename access_flags to access_modes.
+	Since faccessat2 syscall has both "mode" and "flags" arguments,
+	rename access_flags to access_modes to avoid confusion.
+
+	* xlat/access_flags.in: Rename to ...
+	* xlat/access_modes.in: ... this file, add fallback definitions.
+	(EFF_ONLY_OK, EX_OK): Remove non-Linux constants.
+	* access.c: Include "xlat/access_modes.h" instead of
+	"xlat/access_flags.h".
+	(decode_access): Replace access_flags woth access_modes.
+
+2020-07-04  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: check decoding of faccessat syscall in -P, -y, and -yy modes.
+	* tests/faccessat.c: Rewrite.
+	* tests/faccessat-P.c: New file.
+	* tests/faccessat-y.c: Likewise.
+	* tests/faccessat-yy.c: Likewise.
+	* tests/faccessat.test: New test.
+	* tests/Makefile.am (DECODER_TESTS): Add faccessat.test.
+	* tests/gen_tests.in (faccessat): Remove.
+	(faccessat-P, faccessat-y, faccessat-yy): New entries.
+	* tests/pure_executables.list: Add faccessat-P, faccessat-y,
+	and faccessat-yy.
+	* tests/.gitignore: Likewise.
+
+2020-06-30  Dmitry V. Levin  <ldv@altlinux.org>
+
+	xlat: update BPF_* constants.
+	* xlat/bpf_attach_type.in (BPF_TRACE_ITER): New constant introduced
+	by Linux kernel commit v5.8-rc1~165^2~185^2~16^2~19.
+	(BPF_CGROUP_INET4_GETPEERNAME, BPF_CGROUP_INET6_GETPEERNAME,
+	BPF_CGROUP_INET4_GETSOCKNAME, BPF_CGROUP_INET6_GETSOCKNAME): New
+	constants introduced by Linux kernel commit v5.8-rc1~165^2~130^2~8^2~3.`
+	(BPF_XDP_DEVMAP): New constant introduced by Linux kernel commit
+	v5.8-rc1~165^2~6^2~9^2~3.
+	* xlat/bpf_commands.in (BPF_LINK_GET_FD_BY_ID, BPF_LINK_GET_NEXT_ID):
+	New constants introduced by Linux kernel commit
+	v5.8-rc1~165^2~343^2~16^2~7.
+	(BPF_ENABLE_STATS): New constant introduced by Linux kernel commit
+	v5.8-rc1~165^2~343^2~3^2~2.
+	(BPF_ITER_CREATE): New constant introduced by Linux kernel commit
+	v5.8-rc1~165^2~185^2~16^2~15.
+	* xlat/bpf_map_types.in (BPF_MAP_TYPE_RINGBUF): New constant introduced
+	by Linux kernel commit v5.8-rc1~165^2~6^2~12^2~4.
+	* NEWS: Mention this change.
+	* tests/bpf.c: Update.
+
+2020-06-29  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	.gitignore: add missing files that should be ignored.
+	* .gitignore: Add .dirstamp.
+	* tests/.gitignore: Add setpgrp-exec and stack-fcall-attach.
+
+2020-06-29  Dmitry V. Levin  <ldv@altlinux.org>
+
+	xlat: update STATX_* constants.
+	* xlat/statx_attrs.in (STATX_ATTR_MOUNT_ROOT): New constant introduced
+	by Linux kernel commit v5.8-rc1~203^2~4.
+	* xlat/statx_masks.in (STATX_MNT_ID): New constant introduced by Linux
+	kernel commit v5.8-rc1~203^2~5.
+	* NEWS: Mention this change.
+	* tests/xstatx.c (main): Update expected output.
+
+	xlat: update TCA_* constants.
+	* xlat/rtnl_tc_attrs.in (TCA_DUMP_FLAGS): New constant introduced
+	by Linux kernel commit v5.8-rc1~165^2~183^2~3.
+	* rtnl_tc.c (tcmsg_nla_decoders): Add TCA_DUMP_FLAGS.
+	* NEWS: Mention this change.
+
+	xlat: update RTC_* constants.
+	* xlat/rtc_vl_flags.in (RTC_VL_BACKUP_SWITCH): New constant introduced
+	by Linux kernel commit v5.8-rc1~100^2~23.
+	* NEWS: Mention this change.
+
+2020-06-28  Dmitry V. Levin  <ldv@altlinux.org>
+
+	xlat: update NDA_* constants.
+	* xlat/rtnl_neigh_attrs.in (NDA_NH_ID): New constant introduced by Linux
+	kernel commit v5.8-rc1~165^2~141^2~3.
+	* rtnl_neigh.c (ndmsg_nla_decoders): Add NDA_NH_ID.
+	* NEWS: Mention this change.
+
+	xlat: update *_MAGIC constants.
+	* xlat/fsmagic.in (DEVMEM_MAGIC): New constant introduced by Linux
+	kernel commit v5.8-rc1~104^2~8.
+	* NEWS: Mention this change.
+
+	xlat: update LOOP_* constants.
+	* xlat/loop_cmds.in (LOOP_CONFIGURE): New constant introduced by Linux
+	kernel commit v5.8-rc1~191^2~11.
+	* NEWS: Mention this change.
+
+	xlat: update KVM_* constants.
+	* xlat/kvm_cap.in (KVM_CAP_HALT_POLL): New constant introduced by Linux
+	kernel commit v5.8-rc1~168^2~136.
+	(KVM_CAP_ASYNC_PF_INT): New constant introduced by Linux kernel commit
+	v5.8-rc1~168^2~14.
+	* NEWS: Mention this change.
+
+	xlat: update KEYCTL_* constants.
+	* xlat/keyctl_commands.in (KEYCTL_WATCH_KEY): New constant introduced
+	by Linux kernel commit v5.8-rc1~22^2~6.
+	* xlat/keyctl_caps1.in (KEYCTL_CAPS1_NOTIFICATIONS): Likewise.
+	* NEWS: Mention this change.
+
+	xlat: update IORING_* constants.
+	* xlat/uring_ops.in (IORING_OP_TEE): New constant introduced by Linux
+	kernel commit v5.8-rc1~190^2~14.
+	* tests/io_uring_register.c: Update expected output.
+
+	xlat: update INET_DIAG_* constants.
+	* linux/inet_diag.h (INET_DIAG_MD5SIG): New constant introduced
+	by Linux kernel commit v4.14-rc1~130^2~39^2.
+	(INET_DIAG_ULP_INFO): New constant introduced by Linux kernel commit
+	v5.4-rc1~131^2~103^2~1.
+	(INET_DIAG_SK_BPF_STORAGES): New constant introduced by Linux kernel
+	commit v5.7-rc1~146^2~287^2^2.
+	(INET_DIAG_CGROUP_ID): New constant introduced by Linux kernel commit
+	v5.8-rc1~165^2~383^2~1.
+	(INET_DIAG_BC_CGROUP_COND): New constant introduced by Linux kernel
+	commit v5.8-rc1~165^2~383^2.
+	* xlat/inet_diag_attrs.in (INET_DIAG_MD5SIG, INET_DIAG_ULP_INFO,
+	INET_DIAG_SK_BPF_STORAGES, INET_DIAG_CGROUP_ID): Likewise.
+	* xlat/inet_diag_bytecodes.in (INET_DIAG_BC_CGROUP_COND): Likewise.
+	* xlat/inet_diag_extended_flags.in (1<<(INET_DIAG_MD5SIG-1),
+	1<<(INET_DIAG_ULP_INFO-1), 1<<(INET_DIAG_SK_BPF_STORAGES-1),
+	1<<(INET_DIAG_CGROUP_ID-1)): Likewise.
+	* NEWS: Mention this change.
+
+	xlat: update ETH_* constants.
+	* xlat/ethernet_protocols.in (ETH_P_MRP): New constant introduced
+	by Linux kernel commit v5.8-rc1~165^2~412^2~10.
+	* NEWS: Mention this change.
+
+	xlat: update CAP_* constants.
+	* caps1.h (CAP_PERFMON): New constant introduced by Linux kernel commit
+	v5.8-rc1~224^2~14^2~55.
+	(CAP_BPF): New constant introduced by Linux kernel commit
+	v5.8-rc1~165^2~181^2^2~2.
+	* xlat/cap.in (CAP_PERFMON, CAP_BPF): Likewise.
+	* xlat/cap_mask1.in (1<<CAP_PERFMON, 1<<CAP_BPF): Likewise.
+	* NEWS: Mention this change.
+	* tests/caps.awk: Update expected output.
+	* tests/caps-abbrev.awk: Likewise.
+
+	xlat: update AUDIT_* constants.
+	* xlat/nl_audit_types.in (AUDIT_EVENT_LISTENER): New constant introduced
+	by Linux kernel commit v5.8-rc1~188^2~5.
+	* NEWS: Mention this change.
+
+2020-06-27  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: workaround LTO in strace -k tests.
+	Link time optimization in gcc 10 became too smart, resulting to most
+	of function calls in strace -k tests being optimized out,
+	subsequently breaking these tests.
+
+	Make the functions more complex to bypass unwanted side effects
+	of link time optimization in strace -k tests.
+
+	* tests/stack-fcall.h: Include <unistd.h> and "scno.h".
+	(COMPLEX_BODY): New macro.
+	* tests/stack-fcall-0.c (f0): Use it.
+	* tests/stack-fcall-1.c (f1): Likewise.
+	* tests/stack-fcall-2.c (f2): Likewise.
+	* tests/stack-fcall-3.c (f3): Likewise.  Rewrite switch.
+	* tests/stack-fcall.c (main): Call f0 in a loop.
+
+2020-06-16  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	Modify %process class: trace syscalls associated with process lifecycle.
+	The description is rephrased as:
+	"Trace system calls associated with process lifecycle
+	(creation, exec, termination)."
+
+	kill, tkill, tgkill, pidfd_send_signal and rt_sigqueueinfo are added,
+	arch_prctl and unshare are removed from the %process class.
+
+	syscallent*.h files are updated automatically by:
+	find linux -name syscallent*.h -exec \
+	sed -i -r -e '
+	    /(arch_prctl|unshare)/ {
+	        s/(\{[^,]*,\t[^,]*)TP\|/\1/
+	        s/(\{[^,]*,\t[^,]*)\|TP/\1/
+	        s/(\{[^,]*,\t[^,]*)TP,/\10,/
+	    }
+	' -e '
+	    /(kill|pidfd_send_signal|rt_sigqueueinfo)/ {
+	        s/(\{[^,]*,\t[^0][^,]*)/\1|TP/
+	        s/(\{[^,]*,\s*)0/\1TP/
+	    }
+	' {} +
+
+	[ldv: document this change in NEWS.]
+
+	* strace.1.in: Rephrase %process description.
+	* linux/32/syscallent.h: Add TP flag to *kill, pidfd_send_signal and
+	rt_sigqueueinfo; remove TP flag from arch_prctl and unshare.
+	* linux/64/syscallent.h: Likewise.
+	* linux/alpha/syscallent.h: Likewise.
+	* linux/arm/syscallent.h: Likewise.
+	* linux/avr32/syscallent.h: Likewise.
+	* linux/bfin/syscallent.h: Likewise.
+	* linux/hppa/syscallent.h: Likewise.
+	* linux/i386/syscallent.h: Likewise.
+	* linux/ia64/syscallent.h: Likewise.
+	* linux/m68k/syscallent.h: Likewise.
+	* linux/microblaze/syscallent.h: Likewise.
+	* linux/mips/syscallent-compat.h: Likewise.
+	* linux/mips/syscallent-n32.h: Likewise.
+	* linux/mips/syscallent-n64.h: Likewise.
+	* linux/mips/syscallent-o32.h: Likewise.
+	* linux/powerpc/syscallent.h: Likewise.
+	* linux/powerpc64/syscallent.h: Likewise.
+	* linux/s390/syscallent.h: Likewise.
+	* linux/s390x/syscallent.h: Likewise.
+	* linux/sh/syscallent.h: Likewise.
+	* linux/sh64/syscallent.h: Likewise.
+	* linux/sparc/syscallent.h: Likewise.
+	* linux/sparc64/syscallent.h: Likewise.
+	* linux/syscallent-common.h: Likewise.
+	* linux/x32/syscallent.h: Likewise.
+	* linux/x86_64/syscallent.h: Likewise.
+	* linux/xtensa/syscallent.h: Likewise.
+	* NEWS: Mention this change.
+
+2020-06-16  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	tests/inject-nf.test: replace getpid with geteuid.
+	Since we treat PIDs as signed integers, large values (>=2^31) will
+	cause overflow when we use printpid.
+	UIDs are treated as unsigned integers, so geteuid is a good alternative.
+	(getuid would be problematic, as it does not exists on alpha).
+	Also, on systems where geteuid32 exists, geteuid returns maximum 16 bit
+	values, so we have to use geteuid32 in this case.
+
+	[ldv: geteuid syscall was introduced on Alpha by Linux kernel commit
+	v5.1-rc1~160^2~3^2~1, so this test will not work on old Alpha kernels.]
+
+	* tests/inject-nf.c: Replace getpid with either geteuid32 or geteuid.
+	[__alpha__]: Remove.
+	[__NR_geteuid32]: New condition.
+	* tests/inject-nf.test (SYSCALL): Replace getpid with '/^geteuid(32)?$'.
+	Remove alpha workaround.
+
+2020-06-16  Dmitry V. Levin  <ldv@altlinux.org>
+
+	travis: remove s390x builds.
+	They are currently unusable, permanently failing without any reason
+	whatsoever.
+
+	* .travis.yml (arch: s390x): Remove.
+
+2020-06-16  Dmitry V. Levin  <ldv@altlinux.org>
+
+	ci: re-enable testing with the latest mainline kernel headers.
+	There should be no issues with v5.8-rc1.
+	This reverts commit 734066585ba865740ab45651bc6e3e8ab249927f.
+
+	* .github/workflows/ci.yml (env): Remove KBRANCH.
+	* .gitlab-ci.yml (variables): Likewise.
+	* .travis.yml (env:global): Likewise.
+
+2020-06-16  Chris Packham  <chris.packham@alliedtelesis.co.nz>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	io_uring: Add io_cqring_offset flags.
+	Add support for displaying struct io_cqring_offsets.flags introduced
+	by Linux kernel commits v5.8-rc1~190^2~22 and v5.8-rc1~190^2~21.
+
+	* types/io_uring.h (struct_io_cqring_offsets): Replace resv array
+	with flags, resv1, and resv2 fields.
+	* xlat/uring_cqring_flags.in: New file.
+	* configure.ac (AC_CHECK_MEMBERS): Check struct io_cqring_offsets.flags.
+	* io_uring.c: Include "xlat/uring_cqring_flags.h".
+	(SYS_FUNC(io_uring_setup)): Replace printing of the resv array
+	of struct io_cqring_offsets with flags, resv1, and resv2 fields.
+	* tests/io_uring_setup.c: Check it.
+
+	Resolves: https://github.com/strace/strace/issues/138
+
+2020-06-16  Chris Packham  <chris.packham@alliedtelesis.co.nz>
+
+	io_uring: Remove struct io_cqring_offsets compile time asserts.
+	The generated types/check-io_uring.c already checks the kernel's struct
+	io_cqring_offsets for compatibility with the strace definition so
+	there's no need for manual checks.
+
+	* io_uring.c [HAVE_STRUCT_IO_CQRING_OFFSETS]: Remove static_asserts.
+
+2020-06-16  Dmitry V. Levin  <ldv@altlinux.org>
+
+	types: skip field lines that start with comments.
+	This allows to exclude certain fields from type checks by placing
+	comments at the beginning of the corresponding lines.
+
+	* types/find_last_type_fields.awk: Skip lines starting with spaces
+	followed by "/".
+
+2020-06-14  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Add statx syscall to %fstat trace class.
+	statx syscall with AT_EMPTY_PATH flag is similar to newfstatat/fstatat64
+	syscall with AT_EMPTY_PATH flag.
+
+	* linux/32/syscallent.h (statx): Add TFST flag.
+	* linux/64/syscallent.h: Likewise.
+	* linux/alpha/syscallent.h: Likewise.
+	* linux/arm/syscallent.h: Likewise.
+	* linux/hppa/syscallent.h: Likewise.
+	* linux/i386/syscallent.h: Likewise.
+	* linux/ia64/syscallent.h: Likewise.
+	* linux/m68k/syscallent.h: Likewise.
+	* linux/microblaze/syscallent.h: Likewise.
+	* linux/mips/syscallent-n32.h: Likewise.
+	* linux/mips/syscallent-n64.h: Likewise.
+	* linux/mips/syscallent-o32.h: Likewise.
+	* linux/powerpc/syscallent.h: Likewise.
+	* linux/powerpc64/syscallent.h: Likewise.
+	* linux/s390/syscallent.h: Likewise.
+	* linux/s390x/syscallent.h: Likewise.
+	* linux/sh/syscallent.h: Likewise.
+	* linux/sparc/syscallent.h: Likewise.
+	* linux/sparc64/syscallent.h: Likewise.
+	* linux/x32/syscallent.h: Likewise.
+	* linux/x86_64/syscallent.h: Likewise.
+	* linux/xtensa/syscallent.h: Likewise.
+	* strace.1.in (.SS Filtering): Document it.
+	* NEWS: Mention this fix.
+	* tests/trace_fstat.in (statx): New entry.
+
+2020-06-13  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	Move ilog* functions from util.c to defs.h.
+	* util.c (ILOG2_ITER_, ilog2_klong, ilog2_64, ilog2_32): Move ...
+	* defs.h: ... here.
+
+	print_fields.h: add PRINT_FIELD_LEN macro.
+	* print_fields.h (PRINT_FIELD_LEN): New macro.
+	* net.c: (print_get_linger, print_get_ucred, print_tpacket_stats):
+	Rewrite using PRINT_FIELD_LEN.
+
+2020-06-10  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Move make-dist and make-dsc scripts to maint/
+	* make-dsc: Rename to maint/make-dsc.
+	* make-dist: Rename to maint/make-dist.
+	* maint/README-release: Update.
+	* dist/INSTALL: Likewise.
+
+2020-06-07  Sven Schnelle  <svens@stackframe.org>
+
+	tests: clone3 might return EBADF with invalid cgroup.
+	Both on s390 and x86 linux-5.7 return EBADF when an invalid cgroup
+	is supplied, so add that to the list of possible return values.
+
+
+	* tests/clone3.c (main): Add EBADF to the list of possible
+	CLONE_INTO_CGROUP return values.
+
+2020-06-03  Dmitry V. Levin  <ldv@altlinux.org>
+
+	ci: use kernel headers from Linux kernel v5.7.
+	When Linux kernel merge window opens, changes of all sorts start to pour
+	down, breaking UAPI in various ways.  This does not work for strace,
+	we need a stable UAPI.
+
+	* .github/workflows/ci.yml (env): Add KBRANCH.
+	* .gitlab-ci.yml (variables): Likewise.
+	* .travis.yml (env:global): Likewise.
+
+2020-06-02  Dmitry V. Levin  <ldv@altlinux.org>
+
+	s390: use a more appropriate regset type.
+	* linux/s390/arch_regs.c (s390_regset): Change the type from
+	struct user_regs_struct to s390_regs, the latter is the subset of
+	struct user_regs_struct used by the kernel, it's also the type
+	used on s390x.
+
+2020-06-02  Steve Langasek  <steve.langasek@ubuntu.com>
+
+	tests/perf_event_open: avoid unaligned access on ARM.
+	The test suite already handles alignment requirements on POWER and
+	Sparc, add ARM to the list as well.  Not all ARM environments raise
+	SIGBUS on unaligned access, but some do.
+
+	* tests/perf_event_open.c (ATTR_REC) [ARM]: Use aligned access.
+
+2020-06-02  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests/wait4: invoke wait4 syscall directly instead of using libc wait4.
+	glibc-2.31.9000-312-g600f00b747ff42eb0aa778536d3ef602e8bcd550 introduced
+	a change in its wait4 implementation that makes it unsuitable for the
+	wait4 test.
+
+	* tests/wait4.c: Include "kernel_rusage.h" instead of <sys/resource.h>.
+	(sprint_rusage): Replace struct rusage with kernel_rusage_t,
+	cast member values from kernel_long_t to unsigned long long
+	using zero_extend_signed_to_ull, update format strings.
+	(k_wait4): New function.
+	(do_wait4, main): Use it instead of wait4.
+
+2020-06-02  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Post-release administrivia.
+	* NEWS: Add a header line for the next release.
+	* debian/changelog.in: Add a changelog entry for 5.7-1.
+	* strace.spec.in: Likewise.
+
+2020-06-01  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Prepare for 5.7 release.
+	* NEWS: Update for 5.7 release.
+
+	.mailmap: add more entries to avoid duplication in CREDITS.
+
+	Update copyright headers.
+	Headers updated automatically using maint/update_copyright_years.sh
+	script.
+
+2020-06-01  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
+
+	Update ioctl entries from linux v5.7.
+	* linux/32/ioctls_inc_align16.h: Update from linux v5.7
+	using ioctls_gen.sh.
+	* linux/32/ioctls_inc_align32.h: Likewise.
+	* linux/32/ioctls_inc_align64.h: Likewise.
+	* linux/64/ioctls_inc.h: Likewise.
+	* linux/s390/ioctls_arch0.h: Likewise.
+	* linux/s390x/ioctls_arch0.h: Likewise.
+	* linux/x32/ioctls_inc0.h: Likewise.
+	* NEWS: Mention this.
+
+2020-05-31  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: increase default TIMEOUT_DURATION.
+	* tests/init.sh (TIMEOUT_DURATION): Increase from 600 to 1500.
+	* .travis.yml (matrix): Remove TIMEOUT_DURATION.
+
+2020-05-31  Dmitry V. Levin  <ldv@altlinux.org>
+
+	configure.ac: robustify linux headers checks.
+	Some linux headers used to require other headers to be included
+	beforehand.  While these linux headers are no longer insufficient
+	nowadays, configure checks need to handle old headers properly.
+
+	* configure.ac (AC_CHECK_TYPES): Include <sys/socket.h> before
+	<linux/fib_rules.h>.
+	(AC_CHECK_HEADERS): Include <sys/socket.h> and <linux/types.h>
+	before linux/if_addr.h, linux/if_link.h, linux/neighbour.h.
+	Include <linux/types.h> before other linux headers.
+
+2020-05-31  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Include <linux/types.h> before <linux/fiemap.h> and <linux/hiddev.h>
+	<linux/fiemap.h> and <linux/hiddev.h> used to require <linux/types.h>
+	to be included beforehand.
+
+	* file_ioctl.c [HAVE_LINUX_FIEMAP_H]: Include <linux/types.h>
+	before <linux/fiemap.h>.
+	* tests/file_ioctl.c: Likewise.
+	* tests/ioctl.c: Include <linux/types.h> before <linux/hiddev.h>.
+
+2020-05-31  Dmitry V. Levin  <ldv@altlinux.org>
+
+	debian/rules: fix build-udeb/Makefile target.
+	* debian/rules (build-udeb/Makefile): Rename --without-stacktrace
+	to --disable-stacktrace.
+
+2020-05-30  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Turn getfdpath and printfd functions into static inline wrappers.
+	* defs.h (printfd): Copy here from util.c, turn into an inline wrapper.
+	(getfdpath): Copy here from pathtrace.c, turn into an inline wrapper.
+	* pathtrace.c (getfdpath): Remove.
+	* util.c (printfd): Remove.
+
+2020-05-30  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	tests/pidfd_getfd.c: test decoding of targetfd.
+	* tests/pidfd_getfd.c (k_pidfd_getfd): Rename pid argument to pidfd.
+	(main): Test decoding of targetfd.
+	* tests/gen_tests.in: Add "-e signal=none" argument to pidfd_getfd
+	tests.
+
+2020-05-30  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	pidfd_getfd: fix decoder.
+	The decoder incorrectly assumed the first argument being a pid,
+	but actually it is a pidfd.
+
+	The patch also makes the decoder be able to decode the targetfd
+	(-y and -yy options).
+
+	* pidfd_getfd.c: Include "number_set.h".
+	(SYS_FUNC(pidfd_getfd)): Rewrite using pidfd_get_pid.
+
+	Fixes: v5.6~46 "Implement pidfd_getfd syscall decoding"
+
+2020-05-30  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	util.c: add pidfd_get_pid.
+	* defs.h (pidfd_get_pid): New function declaration.
+	* utils.c (pidfd_get_pid): New function, returns the pid of a pidfd.
+	(printpidfd): Rewrite using pidfd_get_pid.
+	(printfd_pid): Change printpidfd arguments.
+
+2020-05-30  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	Rename print_pid_fd to printfd_pid_tracee_ns.
+	To avoid confusion with the new printfd_pid fucntion.
+
+	defs.h (print_pid_fd): Rename to printfd_pid_tracee_ns.
+	util.c: Likewise.  All users updated.
+
+2020-05-30  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	util.c: add printfd_pid.
+	defs.h (printfd_pid): New function definition.
+	util.c (printfd_pid): New function printing the fd of an other process.
+	(printfd): Rewritten using printfd_pid.
+
+	pathtrace.c: add getfdpath_pid.
+	* defs.h (getfdpath_pid): New function definition.
+	* pathtrace.c (getfdpath_pid): New function, returns the path
+	associated with fd of the process with pid.
+	(getfdpath): Rewrite using getfdpath_pid.
+
+2020-05-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	xlat: annotate btrfs_compress_types with #enum.
+	* xlat/btrfs_compress_types.in: Add #enum, #include <stdio.h>,
+	and #include <linux/btrfs.h>
+	* configure.ac (AC_CHECK_DECL(BTRFS_COMPRESS_*)): Remove.
+
+2020-05-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	xlat: annotate rtnl_ifla_xdp_attached_mode with #enum.
+	And use proper checks in tests/nlattr_ifla_xdp.c.
+
+	* xlat/rtnl_ifla_xdp_attached_mode.in: Add #enum, #include <netinet/in.h>,
+	and #include <linux/rtnetlink.h> annotations.
+	* tests/nlattr_ifla_xdp.c [!XDP_ATTACHED_NONE] (XDP_ATTACHED_NONE):
+	Remove.
+	[!XDP_ATTACHED_MULTI] (XDP_ATTACHED_MULTI): Remove.
+	[!HAVE_DECL_XDP_ATTACHED_NONE] (XDP_ATTACHED_NONE): New enum definition.
+	[!HAVE_DECL_XDP_ATTACHED_MULTI] (XDP_ATTACHED_MULTI): Likewise.
+
+2020-05-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	rtnl_link: support IFLA_XDP_EXPECTED_FD attribute decoding.
+	Introduced by Linux commit v5.7-rc1~146^2~10^2~13^2~3.
+
+	* xlat/rtnl_ifla_xdp_attrs.in: Add #enum, #include <netlink/in.h>,
+	and #include <linux/rtnetlink.h> annotations.
+	(IFLA_XDP_EXPECTED_FD): New constant.
+	* rtnl_link.c (ifla_xdp_nla_decoders): Add [IFLA_XDP_EXPECTED_FD], set
+	value to decode_nla_fd.
+	* tests/nlattr_ifla_xdp-y.c: New file.
+	* tests/.gitignore: Add nlattr_ifla_xdp-y.
+	* tests/Makefile.am (check_PROGRAMS): Likewise.
+	* tests/gen_tests.in: Add nlattr_ifla_xdp-y test.
+	* tests/nlattr_ifla_xdp.c: Include "xlat/rtnl_ifla_xdp_attrs.h" under
+	XLAT_MACROS_ONLY definition.
+	(IFLA_XDP_FD, IFLA_XDP_ATTACHED, IFLA_XDP_PROG_ID, IFLA_XDP_DRV_PROG_ID,
+	IFLA_XDP_SKB_PROG_ID, IFLA_XDP_HW_PROG_ID): Remove.
+	[!FD9_PATH] (FD9_PATH): New macro, define to empty string.
+	(main): Add checks for IFLA_XDP_EXPECTED_FD.
+
+2020-05-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests: support -y mode for sockfd printing.
+	* tests/test_nlattr.h [!PRINT_SOCK] (PRINT_SOCK): New macro, define to 0.
+	(print_sockfd): New function.
+	(TEST_NLATTR_EX_): Call print_sockfd for sock fd printing.
+
+	rtnl_tc_action: implement TCA_ACT_HW_STATS and TCA_ACT_USED_HW_STATS decoding
+	* xlat/rtnl_tca_act_hw_stats.in: New file.
+	* rtnl_tc_action.c: Include "xlat/rtnl_tca_act_hw_stats.h".
+	(decode_tca_act_hw_stats): New function.
+	(tcamsg_nla_decoders): Add [TCA_ACT_HW_STATS]
+	and [TCA_ACT_USED_HW_STATS], set them to decode_tca_act_hw_stats.
+	* tests/nlattr_tcamsg.c: Add checks, update expected output.
+	* xlat/rtnl_tc_action_attrs.in (TCA_ACT_HW_STATS): New constant,
+	introduced by Linux commit v5.7-rc1~146^2~230^2 and renamed in Linux
+	commit v5.7-rc1~146^2~101.
+	(TCA_ACT_USED_HW_STATS): New constant, introduced by Linux commit
+	v5.7-rc1~146^2~25^2.
+
+	xlat: annotate rtnl_tca_stab_attrs with #enum.
+	* xlat/rtnl_tca_stab_attrs.in: Add #enum, #include <linux/types.h>,
+	 #include <linux/pkt_sched.h>.
+	* configure.ac (AC_CHECK_DECLS(TCA_STAB_DATA)): Remove.
+
+	xlat: annotate rtnl_tca_stats_attrs with #enum.
+	* xlat/rtnl_tca_stats_attrs.in: Add #enum, #include <linux/gen_stats.h>.
+	* configure.ac (AC_CHECK_DECL(TCA_STATS_PKT64)): Remove.
+
+	xlat: add #enum to v4l2 xlats.
+	* xlat/v4l2_buf_types.in: Add #enum, #include <sys/time.h>, #include
+	<linux/ioctl.h>, #include <linux/types.h>, and #include
+	<linux/videodev2.h>.
+	* xlat/v4l2_colorspaces.in: Likewise.
+	* xlat/v4l2_control_types.in: Likewise.
+	* xlat/v4l2_fields.in: Likewise.
+	* xlat/v4l2_framesize_types.in: Likewise.
+	* xlat/v4l2_memories.in: Likewise.
+	* xlat/v4l2_tuner_types.in: Likewise.
+	* configure.ac (AC_CHECK_DECL(V4L2_*)): Remove.
+
+	xlat: annotate rtnl_link_attrs with #enum.
+	* xlat/rtnl_link_attrs.in: Add #enum, #include <sys/socket.h>, #include
+	<linux/rtnetlink.h>.
+	* configure.ac (AC_CHECK_DECL(IFLA_*)): Remove.
+
+	xlat: annotate rtnl_tc_action_attrs with #enum.
+	* xlat/rtnl_tc_action_attrs.in: Add #enum, #include <linux/pkt_cls.h>
+	* configure.ac (AC_CHECK_DECL(TCA_ACT_*)): Remove.
+
+	xlat: annotate sysctl xlats with #enum.
+	* configure.ac (AC_CHECK_DECL(CTL_* KERN_* NET_* VM_*)): Remove.
+	* xlat/sysctl_kern.in: Add #enum, #include <sys/types.h>, #include
+	<linux/sysctl.h> descriptors.
+	* xlat/sysctl_net.in: Likewise.
+	* xlat/sysctl_net_core.in: Likewise.
+	* xlat/sysctl_net_ipv4.in: Likewise.
+	* xlat/sysctl_net_ipv4_conf.in: Likewise.
+	* xlat/sysctl_net_ipv4_route.in: Likewise.
+	* xlat/sysctl_net_ipv6.in: Likewise.
+	* xlat/sysctl_net_ipv6_route.in: Likewise.
+	* xlat/sysctl_net_unix.in: Likewise.
+	* xlat/sysctl_root.in: Likewise.
+	* xlat/sysctl_vm.in: Likewise.
+
+2020-05-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	configure: annotate waitid_types with #enum.
+	This also syncs up the configure checks with the actual list of xlat
+	values.
+
+	* xlat/waitid_types.in: Add #enum, #include <sys/types.h>, and #include
+	<sys/wait.h>.
+	* configure.ac (AC_CHECK_DECL(P_*)): Remove.
+
+	Complements: v5.4~82 "xlat: update waitid_types"
+
+2020-05-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	xlat: mark loop_flags_options as #enum.
+	* xlat/loop_flags_options.in: Add #enum and #include <linux/loop.h>
+	descriptors.
+	* configure.ac (AC_CHECK_DECLS(LO_FLAGS_*)): Remove.
+
+	xlat: generate m4 checks for enumerations.
+	* xlat/gen.sh (print_m4_record, gen_m4_entry): New functions.
+	(print_xlat_pair): Accept macro name in the third argument.
+	(print_xlat, print_xlat_pair): Call print_m4_record.
+	(cond_xlat): Pass $m to print_xlat_pair call. Set first_enum to 0.
+	(gen_header, gen_make, gen_git): Output the "generating ..." line
+	to stderr.
+	(gen_header): Get output_m4 as the fourth parameter, redirect fd 3
+	to stdout, set enum to 1 if #enum is present and $output_m4 is set,
+	append #include argument to includes, generate $output_m4 is $enum
+	is set to 1, pass macro name to print_xlat_pair call, close fd 3.
+	(gen_git): Add st_check_enums.m4 and "/*.m4".
+	(main): Allow passing $output_m4 as the third argument, pass m4 file
+	name as the fourth argument to gen_header calls, pipe gen_header output
+	to gen_m4_entry in case of no-argument invocation, redirect gen_header
+	output to /dev/null in case of single-file invocation.
+	* Makefile.am (ACLOCAL_AMFLAGS): Add "-I xlat".
+	* configure.ac: Add st_CHECK_ENUMS.
+
+2020-05-30  Pierre Marsais  <pierre.marsais@lse.epita.fr>
+
+	configure.ac: remove unused checks.
+	Those unused configure.ac checks were found with the following commands:
+
+	$ ./bootstrap
+	$ ./configure
+	$ grep '^#undef HAVE' config.h.in | cut -d' ' -f2 | sort >in_configure
+	$ find -iname '*.[ch]' -exec ifnames \{\} + | grep ^HAVE | \
+	  cut -d' ' -f1 | sort >in_source
+	$ comm -23 in_configure in_source | grep -vE '^HAVE_(UNION|STRUCT)'
+
+	* configure.ac (AC_CHECK_FUNCS): Remove utimensat, the last user was
+	removed by commit 589cff6.  Remove strsignal, the last user was
+	removed by commit 2c4fb90.
+	(AC_CHECK_HEADERS): Remove sys/conf.h, the last user was removed by
+	commit 811bda6.  Remove inttypes.h, the last user was removed by commit
+	a6d91de.  Remove stropts.h, the last user was removed by commit a56a81c.
+	(AC_CHECK_DECLS): remove P_PPID, P_PGID, P_SID, P_CID, P_UID, P_GID,
+	P_ALL, and P_LWPID, the last user was removed by commit 7da9d19.
+
+2020-05-29  Dmitry V. Levin  <ldv@altlinux.org>
+
+	maint: remove ioctl duplicates generated from linux/dma-buf.h.
+	Starting with commit v5.7-rc4~13^2~2^2~7, linux/dma-buf.h defines
+	DMA_BUF_SET_NAME_A and DMA_BUF_SET_NAME_B constants, and
+	DMA_BUF_SET_NAME equals to one of them.
+
+	* maint/ioctls_sym.sh: Edit linux/dma-buf.h to omit DMA_BUF_SET_NAME.
+
+2020-05-29  Dmitry V. Levin  <ldv@altlinux.org>
+
+	maint: force time64 based definitions in linux/videodev2.h.
+	Starting with commit v5.6-rc1~93^2~103, linux/videodev2.h provides either
+	time32 or time64 based definitions depending on the flavour provided by
+	libc headers.  While media/v4l2-ioctl.h already provides time32 based
+	definitions, linux/videodev2.h has to be twisted to force time64 based
+	definitions.
+
+	* maint/ioctls_sym.sh: Edit linux/videodev2.h to force time64 based API.
+
+2020-05-29  Dmitry V. Levin  <ldv@altlinux.org>
+
+	xlat: add 1<<_UFFDIO_WRITEPROTECT to uffd_register_ioctl_flags.
+	* xlat/uffd_register_ioctl_flags.in (1<<_UFFDIO_WRITEPROTECT): New
+	constant introduced by Linux kernel commit v5.7-rc1~58^2~113.
+
+2020-05-28  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Replace struct v4l2_event with a reliable alternative definition.
+	Since the definition of struct v4l2_event provided by the kernel depends
+	on the flavour of struct timespec provided by libc, we cannot use the
+	definition provided by the kernel, neither in the decoder nor in tests.
+
+	* kernel_v4l2_types.h: Include "kernel_timespec.h".
+	(kernel_v4l2_event_t): New type.
+	* linux/32/ioctls_inc_align16.h (VIDIOC_DQEVENT): Update.
+	* linux/32/ioctls_inc_align32.h: Likewise.
+	* linux/32/ioctls_inc_align64.h: Likewise.
+	* xlat/v4l2_ioctl_cmds.in (VIDIOC_DQEVENT): Redefine.
+	* v4l2.c (kernel_v4l2_event_t): Mpersify.
+
+2020-05-28  Dmitry V. Levin  <ldv@altlinux.org>
+
+	v4l2: move redefinitions of v4l2_buffer based constants to xlat.
+	* kernel_v4l2_types.h: Include "types/v4l2.h".
+	* v4l2.c (VIDIOC_QUERYBUF, VIDIOC_QBUF, VIDIOC_DQBUF,
+	VIDIOC_PREPARE_BUF): Move redefinitions ...
+	* xlat/v4l2_ioctl_cmds.in: ... here.
+	* tests/ioctl_v4l2.c: Include "xlat/v4l2_ioctl_cmds.h"
+	in XLAT_MACROS_ONLY mode.
+	(VIDIOC_QUERYBUF, VIDIOC_QBUF, VIDIOC_DQBUF, VIDIOC_PREPARE_BUF): Remove.
+	(main): Check for HAVE_STRUCT_V4L2_FRMSIZEENUM,
+	HAVE_STRUCT_V4L2_FRMIVALENUM, and HAVE_STRUCT_V4L2_CREATE_BUFFERS
+	instead of VIDIOC_ENUM_FRAMESIZES, VIDIOC_ENUM_FRAMEINTERVALS, and
+	VIDIOC_CREATE_BUFS as the latter are always defined now.
+	* tests/ioctl_v4l2-success.c: Likewise.
+
+2020-05-27  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Update NEWS.
+
+	tests: robustify strace-D.test against personality mismatch issues.
+	* tests/print_ppid_tracerpid.c: New file.
+	* tests/.gitignore: Add print_ppid_tracerpid.
+	* tests/Makefile.am (check_PROGRAMS): Likewise.
+	* tests/strace-D.test: Use print_ppid_tracerpid instead of
+	"sed -r -n '/^(P|Tracer)Pid:/p' /proc/self/status" to avoid
+	unrelated issues caused by potential personality mismatch.
+
+	tests: robustify pc.test against personality mismatch issues.
+	* tests/pc.test: Pass --quiet=attach,personality option to strace
+	to suppress some unrelated diagnostics that can confuse scripts
+	that parse strace output.
+
+2020-05-27  Dmitry V. Levin  <ldv@altlinux.org>
+
+	ci: re-enable testing with the latest mainline kernel headers.
+	There should be no issues with v5.7-rc7.
+	This reverts commit dc6a196f3a83103e8ba21b6809246d37356ffd3d.
+
+	* .github/workflows/ci.yml (env): Remove KBRANCH.
+	* .gitlab-ci.yml (variables): Likewise.
+	* .travis.yml (env:global): Likewise.
+
+2020-05-27  Dmitry V. Levin  <ldv@altlinux.org>
+
+	clone: implement decoding of cgroup field in struct clone_args.
+	* configure.ac (AC_CHECK_MEMBERS): Check for struct clone_args.cgroup
+	instead of struct clone_args.set_tid_size.
+	* clone.c (struct strace_clone_args): Add cgroup field.
+	(SYS_FUNC(clone3)): Decode cgroup field of struct clone_args introduced
+	by Linux kernel commit v5.7-rc1~107^2~9.
+	* NEWS: Mention this change.
+	* tests/clone3.c: Check HAVE_STRUCT_CLONE_ARGS_CGROUP instead of
+	HAVE_STRUCT_CLONE_ARGS_SET_TID_SIZE.
+	(struct test_clone_args): Add cgroup field.
+	(main): Check decoding of cgroup field.
+
+	xlat: update CLONE_* constants.
+	* xlat/clone3_flags.in (CLONE_INTO_CGROUP): New constant, introduced
+	by Linux kernel commit v5.7-rc1~107^2~9.
+	* NEWS: Mention this.
+	* tests/clone3.c (main): Update the expected output.
+
+	x32: workaround syscall(2) limitations in PTRACE_GET_SYSCALL_INFO check.
+	* ptrace_syscall_info.c (test_ptrace_get_syscall_info)
+	[SIZEOF_KERNEL_LONG_T > SIZEOF_LONG]: Cast elements of info.entry.args
+	array to (unsigned long).
+	* tests/ptrace_syscall_info.c (test_entry): Likewise.
+
+2020-05-27  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: silence compilation warnings in pc.test.
+	Silence the following compilation warnings produced by fresh gcc+glibc:
+
+	In file included from pc.c:9:
+	pc.c: In function 'main':
+	pc.c:30:9: warning: argument 2 is null but the corresponding size argument 3 value is 16 [-Wnonnull]
+	   30 |  assert(write(-1, NULL, 2 * sizeof(void *)) < 0);
+	      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+	In file included from pc.c:12:
+	/usr/include/unistd.h:367:16: note: in a call to function 'write' declared with attribute 'read_only (2, 3)'
+	  367 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
+	      |                ^~~~~
+
+	* tests/pc.c (main): Use 8UL instead of NULL as a marker.
+	* tests/pc.test: Update expected output.
+
+2020-05-26  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Replace struct v4l2_buffer with a reliable alternative definition.
+	Starting with Linux kernel commit v5.6-rc1~93^2~102, the definition
+	of struct v4l2_buffer provided by the kernel depends on the flavour
+	of struct timeval provided by libc.  This effectively means that we
+	cannot use the definition provided by the kernel, neither in the decoder
+	nor in tests.
+
+	* kernel_v4l2_types.h: New file.
+	* Makefile.am (libstrace_a_SOURCES): Add it.
+	* types/v4l2.h (struct_v4l2_buffer): Remove.
+	* v4l2.c: Include "kernel_v4l2_types.h".
+	Replace struct_v4l2_buffer with kernel_v4l2_buffer_t.
+	(VIDIOC_QUERYBUF, VIDIOC_QBUF, VIDIOC_DQBUF, VIDIOC_PREPARE_BUF):
+	Redefine.
+	(print_v4l2_buffer): Use print_timeval64_data_size to print timestamp
+	field.
+	* linux/32/ioctls_inc_align16.h (VIDIOC_QUERYBUF, VIDIOC_QBUF,
+	VIDIOC_DQBUF, VIDIOC_PREPARE_BUF): Update.
+	* linux/32/ioctls_inc_align32.h: Likewise.
+	* linux/32/ioctls_inc_align64.h: Likewise.
+	* xlat/v4l2_ioctl_cmds.in (VIDIOC_QUERYBUF, VIDIOC_QBUF,
+	VIDIOC_DQBUF, VIDIOC_PREPARE_BUF): Comment out.
+	* tests/ioctl_v4l2.c: Include "kernel_v4l2_types.h".
+	(main): Replace struct_v4l2_buffer with kernel_v4l2_buffer_t.
+	(VIDIOC_QUERYBUF, VIDIOC_QBUF, VIDIOC_DQBUF, VIDIOC_PREPARE_BUF):
+	Redefine.
+	* tests/ioctl_v4l2-success.c: Likewise.
+
+	Resolves: https://github.com/strace/strace/issues/133
+
+2020-05-26  Dmitry V. Levin  <ldv@altlinux.org>
+
+	configure: move AM_PROG_AR after AC_USE_SYSTEM_EXTENSIONS.
+	This fixes the following autoreconf warning:
+	configure.ac:41: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
+
+	* configure.ac: Move AM_PROG_AR after AC_USE_SYSTEM_EXTENSIONS.
+
+	Fixes: v5.6-65-g81e11a9b8 "configure: check AR variable for 'ar' tool"
+
+2020-05-02  Mike Gilbert  <floppym@gentoo.org>
+
+	configure: check AR variable for 'ar' tool.
+	Without this, automake always hardcodes 'AR = ar' in Makefile.in
+
+	Bug: https://bugs.gentoo.org/720712
+
+2020-05-02  Dmitry V. Levin  <ldv@altlinux.org>
+
+	configure.ac: do not check for perl.
+	The last user of this check was removed by commit v4.7~160.
+
+	* configure.ac (AC_PATH_PROG): Remove perl.
+
+	Complements: v4.7~160 "Manual removal of non-Linux source, documentation, etc."
+
+2020-04-27  Dmitry V. Levin  <ldv@altlinux.org>
+
+	configure.ac: fix dladdr check.
+	* configure.ac: Check for the library providing dladdr using
+	AC_SEARCH_LIBS instead of AC_CHECK_LIB to handle the case when dladdr
+	is a part of libc.
+
+2020-04-24  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Rewrite decoders of dup, dup2, and dup3 syscalls.
+	* dup.c: New file.
+	* Makefile.am (libstrace_a_SOURCES): Add it.
+	* desc.c (do_dup2, SYS_FUNC(dup), SYS_FUNC(dup2), SYS_FUNC(dup3)):
+	Remove.
+
+	tests: check decoding of dup3 syscall in -y, -yy, and -P modes.
+	* tests/dup3.c: Rewrite.
+	* tests/dup3-P.c: New file.
+	* tests/dup3-y.c: Likewise.
+	* tests/dup3-yy.c: Likewise.
+	* tests/gen_tests.in (dup3): Add 7>>/dev/full.
+	(dup3-P, dup3-y, dup3-yy): New entries.
+	* tests/pure_executables.list: Add dup3-P, dup3-y, and dup3-yy.
+	* tests/.gitignore: Likewise.
+
+	tests: check decoding of dup2 syscall in -y, -yy, and -P modes.
+	* tests/dup2.c: Rewrite.
+	* tests/dup2-P.c: New file.
+	* tests/dup2-y.c: Likewise.
+	* tests/dup2-yy.c: Likewise.
+	* tests/gen_tests.in (dup2): Add 9>>/dev/full.
+	(dup2-P, dup2-y, dup2-yy): New entries.
+	* tests/pure_executables.list: Add dup2-P, dup2-y, and dup2-yy.
+	* tests/.gitignore: Likewise.
+
+	tests: check decoding of dup syscall in -y, -yy, and -P modes.
+	* tests/dup.c: Rewrite.
+	* tests/dup-P.c: New file.
+	* tests/dup-y.c: Likewise.
+	* tests/dup-yy.c: Likewise.
+	* tests/gen_tests.in (dup): Add 9>>/dev/full.
+	(dup-P, dup-y, dup-yy): New entries.
+	* tests/pure_executables.list: Add dup-P, dup-y, and dup-yy.
+	* tests/.gitignore: Likewise.
+
+2020-04-24  Niklas Cathor  <niklas.cathor@gmx.de>
+
+	strace.1: fix description of "open" example.
+	* strace.1.in (DESCRIPTION): In the example of "open" syscall with three
+	arguments, the rest of the sentence talks about the `flag` and the
+	`mode` arguments, not just about the `mode`.
+
+	Resolves: https://gitlab.com/strace/strace/merge_requests/1
+
+2020-04-24  Dmitry V. Levin  <ldv@altlinux.org>
+
+	github: add gcc-10 jobs.
+	* .github/workflows/ci.yml (gcc10-x86_64-kheaders, gcc10-x86_64-dw,
+	gcc10-x86_64-unwind, gcc10-x32-kheaders, gcc10-x32-nostacktrace,
+	gcc10-x86-kheaders, gcc10-x86-nostacktrace): New jobs.
+
+2020-04-23  Maxim Akhmedov  <max42@yandex-team.ru>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	Implement interval specification in syscall tampering expressions.
+	Before this change, strace allows syscall tampering only for syscalls
+	with 1) fixed invocation index or 2) all invocations starting from n-th
+	(possibly with some step).
+
+	These two options do not cover a useful scenario of testing
+	retrying/backoffing policy of traced program, which may be done by
+	introducing delays/errors on first n invocations, and then stopping
+	tampering.
+
+	This change adds possibility to invoke strace like the following:
+
+	  strace -e inject=recvfrom:delay_exit=100000:when=3,100 ./bin
+
+	which results in invocations from third to hundredth (inclusive) being
+	tampered.  Formally, syntax now looks like `when=first[..last][+step]`.
+
+	This change does not affect the existing behavior.
+
+	* defs.h (INJECT_LAST_INF): New macro.
+	(struct inject_opts): Add "last" field.
+	* filter_qualify.c (parse_inject_token) <when>: Add interval support.
+	(qualify_inject_common): Initialize struct inject_opts.last.
+	* syscall.c (tamper_with_syscall_entering): Handle
+	struct inject_opts.last.
+	* strace.1.in (Tampering): Document the new feature.
+	* strace.c (usage): Likewise.
+	* NEWS: Mention this change.
+	* tests/qual_fault-syntax.test: Check handling of invalid "when"
+	intervals.
+	* tests/qual_inject-syntax.test: Likewise.
+	* tests/qual_fault.c (last): New variable.
+	(main): Take "last" argument, handle it.
+	* tests/qual_fault.test: Check handling of valid "when" intervals.
+
+	Resolves: https://github.com/strace/strace/pull/136
+
+2020-04-21  Dmitry V. Levin  <ldv@altlinux.org>
+
+	pathtrace: fix matching of openat2 syscall.
+	* pathtrace.c (pathtrace_match_set): Handle SEN_openat2.
+
+	Fixes: v5.6~48 "open: implement openat2 syscall decoding"
+
+2020-04-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	xlat: add BTRFS_COMPRESS_ZSTD to btrfs_compress_types.
+	* xlat/btrfs_compress_types.in (BTRFS_COMPRESS_ZSTD): New constant,
+	introduced by Linux commit v4.14-rc1~22^2~1.
+	* tests/btrfs.c (BTRFS_COMPRESS_TYPES): Change value to 3.
+
+2020-04-19  Alistair Francis  <alistair.francis@wdc.com>
+
+	tests/xetitimer: Use syscalls instead of libc functions.
+	The new glibc implementation for y2038 safe arches (32-bit arch with
+	64-bit time_t) will set the itimerval struct inside libc instead of
+	inside the kernel. This is because the kernel expects a 32-bit version
+	of timeval while libc exposes a 64-bit version. As libc sets this, when
+	we pass a faulting pointer we will get a segfault instead of the kernel
+	reporint EFAULT back.
+
+	To avoid a seg fault let's use the kernel's equivalent of struct
+	__kernel_old_itimerval in the tests and call the syscall directly
+	instead of using libc. This way we can trigger the kernels EFAULT
+	response correctly.
+
+
+	* tests/xetitimer.c: Include "kernel_timeval.h"
+	(kernel_old_itimerval_t): New type.
+	(main): Use it instead of struct itimerval, replace getitimer with
+	syscall(__NR_getitimer), replace setitimer with syscall(__NR_setitimer).
+
+2020-04-19  Alistair Francis  <alistair.francis@wdc.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests/semtimedop: Skip tests if semtimedop syscall is not available.
+	New y2038 safe 32-bit architectures don't have the __NR_semtimedop
+	syscall, so let's skip the test.
+
+
+	* tests/semtimedop.c: Include "scno.h".
+	[!(__NR_semtimedop || __NR_socketcall)]: Skip the test.
+
+2020-04-19  Alistair Francis  <alistair.francis@wdc.com>
+
+	tests/xettimeofday: Skip tests if __NR_gettimeofday syscall is not defined
+	New y2038 safe 32-bit architectures don't have the
+	__NR_gettimeofday/__NR_settimeofday syscalls, so let's skip the test.
+
+
+	* tests/xettimeofday.c: Include "scno.h".
+	[!__NR_gettimeofday]: Skip the test.
+
+2020-04-19  Alistair Francis  <alistair.francis@wdc.com>
+
+	tests/wait4: Skip tests if __NR_wait4 syscall is not defined.
+	New y2038 safe 32-bit architectures don't have the __NR_wait4 syscall,
+	so let's skip the test.
+
+
+	* tests/wait4.c: Include "scno.h".
+	[!__NR_wait4]: Skip the test.
+
+2020-04-19  Alistair Francis  <alistair.francis@wdc.com>
+
+	tests/msg_control: Use old time structures for old timestamps.
+	The SO_TIMESTAMP_OLD returns a timeval that matches the struct
+	kernel_old_timeval_t instead of the struct timeval. This is different
+	on new 32-bit architectures (like RV32) where timeval uses 64-bit time_t
+	while kernel_old_timeval_t uses 32-bit.
+
+	To fix overflow errors let's use kernel_old_timeval_t instead of
+	the libc struct timeval.
+
+
+	Likewise, SO_TIMESTAMPNS_OLD and SO_TIMESTAMPING_OLD return
+	kernel_old_timespec_t.
+
+	* tests/msg_control.c: Include "kernel_timeval.h" and
+	"kernel_old_timespec.h".
+	(test_scm_timestamp_old): Replace struct timeval with
+	kernel_old_timeval_t.
+	(test_scm_timestampns_old, test_scm_timestamping_old): Replace
+	struct timespec with kernel_old_timespec_t.
+
+2020-04-19  Alistair Francis  <alistair.francis@wdc.com>
+
+	tests/sockopt-timestamp: Use old time structures for old timestamps.
+	The SO_TIMESTAMP_OLD returns a timeval that matches the struct
+	kernel_old_timeval_t instead of the struct timeval. This is different
+	on new 32-bit architectures (like RV32) where timeval uses 64-bit time_t
+	while kernel_old_timeval_t uses 32-bit.
+
+	To fix overflow errors let's use kernel_old_timeval_t instead of
+	the libc struct timeval.
+
+
+	Likewise, SO_TIMESTAMPNS_OLD returns kernel_old_timespec_t.
+
+	* tests/sockopt-timestamp.c: Include "kernel_timeval.h" and
+	"kernel_old_timespec.h".
+	(print_timestamp_old): Replace struct timeval with kernel_old_timeval_t.
+	(print_timestampns_old): Replace struct timespec with
+	kernel_old_timespec_t.
+
+2020-04-19  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Rework printing of SO_TIMESTAMPNS_OLD and SO_TIMESTAMPING_OLD timestamps
+	On architectures with 32-bit kernel_long_t the kernel sends 32-bit
+	timespecs in SO_TIMESTAMPNS_OLD and SO_TIMESTAMPING_OLD messages.
+	Unfortunately, this applies to all 32-bit architectures including
+	those (like RV32) that do not define __ARCH_WANT_TIME32_SYSCALLS.
+
+	* print_timespec.c: Remove.
+	* Makefile.am (libstrace_a_SOURCES): Remove it.
+	* linux/arch_defs_.h (ARCH_TIMESIZE): Remove.
+	(MIN_KLONGSIZE, HAVE_ARCH_TIMESPEC32): New macros.
+	* linux/x32/arch_defs_.h (ARCH_TIMESIZE): Remove.
+	* defs.h (print_timespec32_data_size, print_timespec32_array_data_size):
+	Declare for [HAVE_ARCH_TIMESPEC32].
+	* kernel_timespec.h (kernel_timespec32_t): Define for
+	[HAVE_ARCH_TIMESPEC32].
+	* print_timespec32.c (TIMESPEC_T, PRINT_TIMESPEC_DATA_SIZE,
+	PRINT_TIMESPEC_ARRAY_DATA_SIZE): Define for [HAVE_ARCH_TIMESPEC32].
+	* msghdr.c (PRINT_TIMESPEC_DATA_SIZE, PRINT_TIMESPEC_ARRAY_DATA_SIZE):
+	Define.
+	(print_scm_timestampns_old): Use PRINT_TIMESPEC_DATA_SIZE
+	instead of print_struct_timespec_data_size.
+	(print_scm_timestamping_old): Use PRINT_TIMESPEC_ARRAY_DATA_SIZE
+	instead of print_struct_timespec_array_data_size.
+
+2020-04-19  Alistair Francis  <alistair.francis@wdc.com>
+
+	tests/waitid: Correctly use the long types from the rusage struct.
+	The kernel's rusage struct uses the kernel's __kernel_old_timeval which
+	means that even for 32-bit archs with 64-bit time_t (like RV32) the time
+	values are 32-bit.
+
+	We can fix this by making sure we don't use libc's rusage struct and
+	instead use our own with the kernel's old timeval.
+
+
+	* configure.ac (AC_CHECK_MEMBERS): Do not check for members of struct
+	rusage.
+	* tests/waitid.c: Include "kernel_rusage.h" instead of <sys/resource.h>.
+	(RU_MAXRSS, RU_IXRSS, RU_IDRSS, RU_ISRSS, RU_MINFLT, RU_MAJFLT,
+	RU_NSWAP, RU_INBLOCK, RU_OUBLOCK, RU_MSGSND, RU_MSGRCV, RU_NSIGNALS,
+	RU_NVCSW, RU_NIVCSW): Remove.
+	(sprint_rusage): Replace struct rusage with kernel_rusage_t.
+	Use the respective ru_* field names instead of removed macros.
+	(do_waitid, main): Replace struct rusage with kernel_rusage_t.
+
+	This partially reverts commit v5.6~192.
+
+2020-04-19  Alistair Francis  <alistair.francis@wdc.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests/getrusage: Correctly use the long types from the rusage struct.
+	The kernel's rusage struct uses the kernel's __kernel_old_timeval which
+	means that even for 32-bit archs with 64-bit time_t (like RV32) the time
+	values are 32-bit.
+
+	We can fix this by making sure we don't use libc's rusage struct and
+	instead use our own with the kernel's old timeval.
+
+
+	* tests/getrusage.c: Include "kernel_rusage.h".
+	(invoke_print): Replace struct rusage with kernel_rusage_t,
+	cast member values from kernel_long_t to unsigned long long
+	using zero_extend_signed_to_ull, update format strings.
+
+2020-04-19  Alistair Francis  <alistair.francis@wdc.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	kernel_rusage.h: introduce kernel_rusage_t.
+
+	* printrusage.c: Include "kernel_rusage.h" instead of "kernel_timeval.h".
+	(rusage_t): Rename to kernel_rusage_t, move the definition to ...
+	* kernel_rusage.h: ... new file.
+	* Makefile.am (libstrace_a_SOURCES): Add it.
+
+2020-04-19  Alistair Francis  <alistair.francis@wdc.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	time: Protect the print_timezone() function.
+	To avoid the following error:
+	time.c:17:1: error: 'print_timezone' defined but not used [-Werror=unused-function]
+
+	ensure that print_timezone is only defined if we are going to use it.
+
+
+	* time.c (print_timezone): Place under
+	[HAVE_ARCH_TIME32_SYSCALLS || HAVE_ARCH_OLD_TIME64_SYSCALLS] guard.
+
+	Complements: v5.6~28 "linux/32: move wait4 and [gs]ettimeofday from syscallent.h to syscallent-time32.h"
+
+2020-04-18  Kemeng Shi  <shikemeng@huawei.com>
+
+	tests: correct error message in io_uring_register test.
+	* tests/io_uring_register.c (main): If path_full failed to open,
+	print its name instead of mistakenly used path_null.
+
+2020-04-18  Paul Chaignon  <paul@cilium.io>
+
+	bpf: support new commands BPF_LINK_{CREATE,UPDATE}
+	* xlat/bpf_commands.in (BPF_LINK_CREATE): New constant introduced by Linux
+	commit v5.7-rc1~146^2~10^2^2~3.
+	(BPF_LINK_UPDATE): New constant introduced by Linux commit
+	v5.7-rc1~146^2~10^2^2~2.
+	* bpf.c (BEGIN_BPF_CMD_DECODER(BPF_LINK_CREATE),
+	BEGIN_BPF_CMD_DECODER(BPF_LINK_UPDATE)): Decode the new commands.
+	(SYS_FUNC(bpf)): Decode the new commands.
+	* bpf_attr.h (BPF_LINK_CREATE_struct): New structure introduced by Linux
+	commit v5.7-rc1~146^2~10^2^2~3.
+	(BPF_LINK_UPDATE_struct): New structure introduced by Linux commit
+	v5.7-rc1~146^2~10^2^2~2.
+	(BPF_LINK_CREATE_struct_size, BPF_LINK_UPDATE_struct_size): New macros.
+	* NEWS: Mention this.
+	* tests/bpf.c (BPF_LINK_CREATE_checks, BPF_LINK_UPDATE_checks): Tests for
+	the new commands.
+
+2020-04-18  Dmitry V. Levin  <ldv@altlinux.org>
+
+	types: do not generate TYPES_M4_FILES variable.
+	* types/gen.sh (gen_makefile): Do not generate TYPES_M4_FILES variable,
+	it isn't used anywhere.
+
+2020-04-17  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	Add test for %clock trace class.
+	* tests/Makefile.am (EXTRA_DIST): Add trace_clock.in.
+	* tests/gen_tests.in (trace_clock): New entry.
+	* tests/trace_clock.in: New file.
+
+2020-04-17  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	Add %clock trace class.
+	The %clock class includes the syscalls that read or modify system clock.
+
+	linux/*/syscallent*.h part is updated automatically by:
+	sed -i -r '
+	    /"(.*adjtime.*|.*clock_([gs]et|adj).*|.*[gs]ettimeofday.*|time)"/ {
+	        s/(\{[^,]*,\t[^0][^,]*)/\1|TCL/
+	        s/(\{[^,]*,\s*)0/\1TCL/
+	    }
+	' linux/*/syscallent*.h
+
+	* basic_filters.c (loopup_class): Add %clock member to syscall_class[].
+	* linux/32/syscallent-time32.h: Add TCL flag to clock related syscalls.
+	* linux/64/syscallent.h: Likewise.
+	* linux/alpha/syscallent.h: Likewise.
+	* linux/arm/syscallent.h: Likewise.
+	* linux/avr32/syscallent.h: Likewise.
+	* linux/bfin/syscallent.h: Likewise.
+	* linux/hppa/syscallent.h: Likewise.
+	* linux/i386/syscallent.h: Likewise.
+	* linux/ia64/syscallent.h: Likewise.
+	* linux/m68k/syscallent.h: Likewise.
+	* linux/microblaze/syscallent.h: Likewise.
+	* linux/mips/syscallent-compat.h: Likewise.
+	* linux/mips/syscallent-n32.h: Likewise.
+	* linux/mips/syscallent-n64.h: Likewise.
+	* linux/mips/syscallent-o32.h: Likewise.
+	* linux/powerpc/syscallent.h: Likewise.
+	* linux/powerpc64/syscallent.h: Likewise.
+	* linux/s390/syscallent.h: Likewise.
+	* linux/s390x/syscallent.h: Likewise.
+	* linux/sh/syscallent.h: Likewise.
+	* linux/sh64/syscallent.h: Likewise.
+	* linux/sparc/syscallent.h: Likewise.
+	* linux/sparc64/syscallent.h: Likewise.
+	* linux/x32/syscallent.h: Likewise.
+	* linux/x86_64/syscallent.h: Likewise.
+	* linux/xtensa/syscallent.h: Likewise.
+	* strace.1.in: Add %clock description.
+	* strace.c (usage): Add %clock group to help message.
+	* sysent.h (TRACE_CLOCK): New definition.
+	* sysent_shorthand_defs.h (TC): Likewise.
+	* sysent_shorthand_undefs.h (TC): Add undef.
+	* NEWS: Mention this.
+
+2020-04-17  Ákos Uzonyi  <uzonyi.akos@gmail.com>
+
+	sysent_shorthand_undefs.h: add missing undefs.
+	Add undefs that were missing from sysent_shorthand_undefs.h
+	(mirroring defs in sysent_shorthand_defs.h).
+
+	* sysent_shorthand_undefs.h (PU): Add undef.
+	(TSD): Likewise.
+	(TC): Likewise.
+
+	Fixes: v4.21~29 "Add pure syscall flag"
+	Fixes: v5.3~36 "Add seccomp filter syscall flag"
+	Fixes: v5.5~100 "Implement %creds trace class"
+
+2020-04-17  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: use create_tmpfile.
+	* tests/fchmod.c (main): Use create_tmpfile instead of open+unlink.
+	* tests/preadv.c: Likewise.
+	* tests/sendfile.c: Likewise.
+	* tests/sendfile64.c: Likewise.
+	* tests/fcntl-common.c (create_sample): Use create_tmpfile instead of
+	mkstemp.
+
+2020-04-17  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: introduce create_tmpfile function.
+	There are few cases in tests where a file is created and immediately
+	unlinked.  Add a function to perform this action in a more systematic
+	way.
+
+	* tests/tests.h (create_tmpfile): New prototype.
+	* tests/create_tmpfile.c: New file.
+	* tests/Makefile.am (libtests_a_SOURCES): Add create_tmpfile.c.
+
+2020-04-16  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Extend memory caching of umove* functions.
+	* ucopy.c (cached_raddr): Double the size.
+	(get_next_unused_idx, lookup_cached_raddr_idx, set_cached_raddr_idx):
+	New functions.
+	(vm_read_mem): Use them.  When the data to be fetched resides in
+	up to 4 adjacent memory pages, fetch these pages and cache them.
+	* tests/umovestr_cached_adjacent.c: New file.
+	* tests/pure_executables.list: Add umovestr_cached_adjacent.
+	* tests/.gitignore: Likewise.
+	* tests/umovestr_cached.test: Handle the first argument.
+	* tests/gen_tests.in (umovestr_cached_adjacent): New test.
+
+2020-04-15  Dmitry V. Levin  <ldv@altlinux.org>
+
+	filter_seccomp: implement on systems without <linux/seccomp.h>
+	Provide fallback definitions required to implement seccomp-assisted
+	syscall filtering.
+
+	* filter_seccomp.c [!HAVE_LINUX_SECCOMP_H]: Include
+	"xlat/prctl_options.h", "xlat/seccomp_mode.h" and
+	"xlat/seccomp_ret_action.h" in XLAT_MACROS_ONLY mode, remove #warning.
+	[!HAVE_LINUX_SECCOMP_H] (struct seccomp_data): Define.
+	[!HAVE_LINUX_SECCOMP_H] (check_seccomp_filter_properties,
+	init_seccomp_filter, seccomp_filter_restart_operator): Remove stubs.
+
+	Complements: v5.3~7 "Introduce seccomp-assisted syscall filtering"
+
+2020-04-15  Dmitry V. Levin  <ldv@altlinux.org>
+
+	x86_64: provide a fallback definition of __X32_SYSCALL_BIT.
+	Make sure __X32_SYSCALL_BIT is defined on __x86_64__,
+	move fallback definitions from various files to x86_64/arch_defs_.h.
+
+	* linux/x86_64/arch_defs_.h [!__X32_SYSCALL_BIT] (__X32_SYSCALL_BIT):
+	Define.
+	* linux/x86_64/arch_get_personality.c [!__X32_SYSCALL_BIT]
+	(__X32_SYSCALL_BIT): Remove.
+	* linux/x86_64/get_scno.c: Likewise.
+	* tests/filter_seccomp-flag.c [__x86_64__]: Likewise.
+
+	Complements: v5.3~7 "Introduce seccomp-assisted syscall filtering"
+
+2020-04-15  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	xlat: add UFFDIO_COPY_MODE_WP to uffd_copy_flags.
+	* xlat/uffd_copy_flags.in (UFFDIO_COPY_MODE_WP): New constant,
+	introduced by Linux commit v5.7-rc1~58^2~121.
+	(UFFDIO_COPY_MODE_DONTWAKE): Add fall-back value.
+	* tests/ioctl_uffdio.c: Add a check for the new flag.
+
+	xlat: update mremap_flags.
+	* xlat/mremap_flags.in: Add fallback values.
+	(MREMAP_DONTUNMAP): New constant, introduced by Linux commit
+	v5.7-rc1~124^2~49.
+
+	xlat: update lwtunnel_encap_types.
+	* xlat/lwtunnel_encap_types.in (LWTUNNEL_ENCAP_SEG6_LOCAL): New
+	constant, introduced by Linux commit v4.14-rc1~130^2~348^2~2.
+	(LWTUNNEL_ENCAP_RPL): New constant, introduced by Linux commit
+	v5.7-rc1~146^2~38^2.
+
+	xlat: add XDP_FLAGS_REPLACE to xdp_flags.
+	* xlat/xdp_flags.in: Add leading zeroes to fallback values.
+	(XDP_FLAGS_REPLACE): New constant, introduced by Linux commit
+	v5.7-rc1~146^2~10^2~13^2~3.
+
+	xlat: add FAN_DIR_MODIFY to fan_event_flags.
+	* xlat/fan_event_flags.in (FAN_DIR_MODIFY): New constant, introduced
+	by Linux commit v5.7-rc1~72^2~5.
+	* tests/fanotify_mark.c: Update expected output.
+
+	xlat: update v4l2_pix_fmts.
+	* xlat/v4l2_pix_fmts.in (V4L2_PIX_FMT_SBGGR14, V4L2_PIX_FMT_SGBRG14,
+	V4L2_PIX_FMT_SGRBG14, V4L2_PIX_FMT_SRGGB14): New constants, introduced
+	by Linux commit v5.7-rc1~193^2~35.
+	(V4L2_PIX_FMT_Y14): New constant, introduced by Linux commit
+	v5.7-rc1~193^2~34.
+
+	xlat: update uring_ops.
+	* xlat/uring_ops.in (IORING_OP_SPLICE): New constant, introduced
+	by Linux commit v5.7-rc1~201^2~46.
+	(IORING_OP_PROVIDE_BUFFERS): New constant, introduced by Linux commit
+	v5.7-rc1~201^2~23.
+	(IORING_OP_REMOVE_BUFFERS): New constant, introduced by Linux commit
+	v5.7-rc1~201^2~18.
+	* tests/io_uring_register.c: Update expected output.
+
+	xlat: add SECCOMP_FILTER_FLAG_TSYNC_ESRCH to seccomp_filter_flags.
+	* xlat/seccomp_filter_flags.in: Use (1<<BIT) syntax.
+	(SECCOMP_FILTER_FLAG_TSYNC_ESRCH): New constant, introduced by Linux
+	commit v5.7-rc1~198^2~1.
+	* tests/seccomp-filter.c: Update expected output.
+	* tests/seccomp-filter-v.c: Likewise.
+
+	xlat: add IORING_FEAT_FAST_POLL to uring_setup_features.
+	* xlat/uring_setup_features.in (IORING_FEAT_FAST_POLL): New constant,
+	introduced by Linux commit v5.7-rc1~201^2~36.
+
+	xlat: add V4L2_CID_USER_ATMEL_ISC_BASE to v4l2_control_id_bases.
+	* xlat/v4l2_control_id_bases.in (V4L2_CID_USER_ATMEL_ISC_BASE): New
+	constant, introdued by Linux commit v5.7-rc1~193^2~219.
+
+	xlat: add KVM_CAP_S390_PROTECTED and KVM_CAP_PPC_SECURE_GUEST to kvm_cap
+	* xlat/kvm_cap.in (KVM_CAP_S390_PROTECTED): New constant, introduced
+	by Linux commit v5.7-rc1~121^2~15^2~4.
+	(KVM_CAP_PPC_SECURE_GUEST): New constant, introduced by Linux commit
+	v5.7-rc1~121^2~12^2.
+
+	xlat: add PERF_SAMPLE_BRANCH_HW_INDEX to perf_branch_sample_type.
+	* xlat/perf_branch_sample_type.in (PERF_SAMPLE_BRANCH_HW_INDEX): New
+	constant, introduced by Linux commit v5.7-rc1~180^2~23.
+	* tests/perf_event_open.c: Update expected output.
+
+2020-04-15  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests: allow passing arguments to netlink_sock_diag.test.
+	And remove netlink_sock_diag-v.sh, since it is no longer needed.
+
+	* tests/netlink_sock_diag.test: Pass script's arguments to
+	run_strace_match_diff call.
+	* tests/gen_tests.in (nlattr_packet_diag_msg): Call
+	netlink_sock_diag.test with -v instead of netlink_sock_diag-v.sh..
+	* tests/netlink_sock_diag-v.sh: Remove.
+	* tests/Makefile.am (EXTRA_DIST): Remove netlink_sock_diag-v.sh.
+
+2020-04-15  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests: use the FLAG macro instead of a locally defined one in clone3 test
+	* tests/clone3.c (_): Remove.
+	(enum validity_flags): Use FLAG() instead of _().
+
+2020-04-15  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	clone: add more elaborate comments for struct strace_clone_args field.
+	Try to capture field semantics and type.
+
+	* clone.c (struct strace_clone_args): Add/extend comments for the
+	fields.
+
+2020-04-14  Fabrice Fontaine  <fontaine.fabrice@gmail.com>
+
+	ptrace_syscall_info.c: fix build without fork.
+	Build without fork fails on:
+
+	ptrace_syscall_info.c:33:27: error: 'expected_entry_size' defined but not used [-Werror=unused-const-variable=]
+	 static const unsigned int expected_entry_size =
+	                           ^~~~~~~~~~~~~~~~~~~
+	ptrace_syscall_info.c:31:27: error: 'expected_none_size' defined but not used [-Werror=unused-const-variable=]
+	 static const unsigned int expected_none_size =
+	                           ^~~~~~~~~~~~~~~~~~
+	ptrace_syscall_info.c:24:1: error: 'kill_tracee' defined but not used [-Werror=unused-function]
+	 kill_tracee(pid_t pid)
+	 ^~~~~~~~~~~
+
+	Fixes:
+	 - http://autobuild.buildroot.org/results/ffc81d3798379a9c34c7a708ebbdea27409f755d
+
+
+	* ptrace_syscall_info.c (kill_tracee, expected_none_size,
+	expected_entry_size): Move definitions under [HAVE_FORK] guard.
+
+	Resolves: https://github.com/strace/strace/pull/135
+
+2020-04-13  Paul Chaignon  <paul@cilium.io>
+
+	bpf: update BPF_* constants.
+	* xlat/bpf_attach_types.in (BPF_MODIFY_RETURN): New constant introduced by
+	Linux kernel commit v5.7-rc1~146^2~174^2~45^2~4.
+	(BPF_LSM_MAC): New constant introduced by Linux kernel commit
+	v5.7-rc1~146^2~10^2~9^2~7.
+	* xlat/bpf_prog_types.in (BPF_PROG_TYPE_LSM): New constant introduced by
+	Linux kernel commit v5.7-rc1~146^2~10^2~9^2~7.
+	* NEWS: Mention this.
+	* tests/bpf.c (BPF_PROG_LOAD_checks, BPF_PROG_QUERY_checks): Update checks
+	and their expected output.
+	* tests/kernel_version.c (print_bpf_attr, main): Likewise.
+
+2020-04-12  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Makefile.am: move almost all of strace_SOURCES to libstrace_a_SOURCES.
+	There is no need to track files that are used conditionally.
+
+	* Makefile.am (strace_SOURCES): Move all except strace.c ...
+	(libstrace_a_SOURCES): ... here.
+
+2020-04-12  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Rewrite decoders of getdents, getdents64, and readdir syscalls.
+	The old approach of allocating memory for all dentries returned by
+	getdents/getdents64 was problematic, fix it by fetching and printing
+	dentries sequentially.
+
+	* dirent_types.c: New file.
+	* xgetdents.c: Likewise.
+	* xgetdents.h: Likewise.
+	* Makefile.am (strace_SOURCES): Add them.
+	* dirent.c: Include "xgetdents.h" and "print_fields.h".
+	(header_size): New variable.
+	(print_dentry_head, decode_dentry_head, decode_dentry_tail): New
+	functions.
+	(print_old_dirent): Rewrite using print_dentry_head.
+	(SYS_FUNC(getdents)): Rewrite using xgetdents, decode_dentry_head,
+	and decode_dentry_tail.
+	* dirent64.c: Include "xgetdents.h", "kernel_dirent.h"
+	and "print_fields.h" instead of "defs.h", <dirent.h>
+	and "xlat/dirent_types.h".
+	(decode_dentry_head, decode_dentry_tail): New functions.
+	(SYS_FUNC(getdents64)): Rewrite using xgetdents, decode_dentry_head,
+	and decode_dentry_tail.
+
+	Resolves: https://github.com/strace/strace/issues/19
+	Resolves: https://github.com/strace/strace/pull/20
+
+2020-04-11  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Guard against invalid return values of getdents/getdents64 syscalls.
+	The kernel is not expected to return more bytes than requested.
+	If this ever happens, treat it as an error.
+
+	* dirent.c (SYS_FUNC(getdents)): Treat the return value greater than
+	the third argument of syscall as an error.
+	* dirent64.c (SYS_FUNC(getdents64)): Likewise.
+
+2020-04-11  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Print the second argument of getdents/getdents64 syscalls in abbrev mode
+	* dirent.c (SYS_FUNC(getdents)) [!abbrev(tcp)]: Print u_arg[1] along
+	with the number of entries.
+	* dirent64.c (SYS_FUNC(getdents64)) [!abbrev(tcp)]: Likewise.
+	* tests/xgetdents.c (ls): Update expected output.
+
+	tests: check abbreviated decoding of getdents and getdents64 syscalls.
+	* tests/getdents-v.c: New file.
+	* tests/getdents64-v.c: Likewise.
+	* tests/pure_executables.list: Add getdents-v and getdents64-v.
+	* tests/.gitignore: Likewise.
+	* tests/gen_tests.in (getdents-v, getdents64-v): New entries.
+	(getdents, getdents64): Update.
+	* tests/getdents.c (print_dirent): Define only if [VERBOSE].
+	* tests/getdents64.c (print_dirent): Likewise.
+	* tests/xgetdents.c (str_d_type): Likewise.
+	(ls): Handle [!VERBOSE] case.
+	(main) [VERBOSE]: Add "-v" to dname.
+
+	tests: refactor getdents and getdents64 tests.
+	* tests/xgetdents.c: New file.
+	* tests/Makefile.am (EXTRA_DIST): Add xgetdents.c.
+	* tests/getdents.c: Rewrite using xgetdents.c.
+	* tests/getdents64.c: Likewise.
+
+2020-04-11  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Move kernel_dirent64 definition to kernel_dirent.h.
+	... and rename kernel_dirent64 type to kernel_dirent64_t
+
+	* tests/getdents64.c: Include "kernel_dirent.h", rename kernel_dirent64
+	to kernel_dirent64_t.
+	(kernel_dirent64_t): Move ...
+	* kernel_dirent.h: ... here.
+
+2020-04-11  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Move kernel_dirent definition from kernel_types.h to a separate header.
+	... and rename kernel_dirent type to kernel_dirent_t
+
+	* kernel_types.h (kernel_dirent): Rename to kernel_dirent_t, move ...
+	* kernel_dirent.h: ... to new file.
+	* Makefile.am (strace_SOURCES): Add it.
+	* dirent.c: Include "kernel_dirent.h", rename kernel_dirent
+	to kernel_dirent_t.
+	* tests/getdents.c: Likewise.
+
+2020-04-09  Eugene Syromyatnikov  <evgsyr@gmail.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	strace: fix -E/--env options affecting strace environment.
+	The current approach with putenv() during parsing has a problem:
+	it changes strace's own environment which may affect its behaviour
+	in an unacceptable way.
+
+	As a solution, let's apply an approach similar to path tracing option
+	parsing: collect the provided optarg's in an array, then construct
+	a new environment and pass it to startup_child().
+
+	* strace.c (struct exec_params): Add env field.
+	(exec_or_die): Call execve() instead of execv(); pass params->env
+	as the third argument.
+	(startup_child): Add env parameter, set params_for_tracee.env to it.
+	(remove_from_env, add_to_env, update_env, make_env): New functions.
+	(init): Add env_changes, env_change_size, env_change_count local
+	variables; store optarg in env_changes array on -E option occurrence;
+	construct new environment using make_env and pass it to startup_child
+	in the second argument.
+	* tests/strace-E-override.test: New test.
+	* tests/Makefile.am (MISC_TESTS): Add strace-E-override.test.
+
+2020-04-09  Eugene Syromyatnikov  <evgsyr@gmail.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	xmalloc: add xallocarray.
+	Add a wrapper around malloc with calloc interface.
+
+	* xmalloc.h (xallocarray): New function declaration.
+	* xmalloc.c (xallocarray): New function.
+
+2020-04-09  Eugene Syromiatnikov  <esyr@redhat.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	strace: move pathtrace_select calls to a later initialisation stage.
+	Since path name resolution is specific to the tracing backend
+	(especially when tracees are remote), let's first collect the list
+	of paths to trace in a temporary array and add it later during the
+	initialisation.
+
+	* strace.c (init): Add pathtrace_paths temporary array, with its
+	element count stored in pathtrace_count and size in pathtrace_size.
+	(init) <case 'P'>: Store argument in pathtrace_paths, grow it if needed.
+	(init): Iterate over pathtrace_paths and call pathtrace_select for each
+	element.  Free the array.
+	* tests/options-syntax.test: Check that path name resolution happens
+	but not too early.
+
+2020-04-09  Eugene Syromyatnikov  <evgsyr@gmail.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: check -E/--env unset behaviour.
+	* tests/strace-E-unset.test: Likewise.
+	* tests/strace-E-unset.expected: New file.
+	* tests/Makefile.am (MISC_TESTS): Add strace-E-unset.test.
+	(EXTRA_DIST): Add strace-E-unset.expected.
+
+2020-04-09  Eugene Syromyatnikov  <evgsyr@gmail.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: add support for negative match patterns to match_grep.
+	For the cases when we want that some patterns do not appear in the
+	output.
+
+	* tests/init.sh (match_grep): Add rc and negated local variables; set
+	negated to 1 if pattern starts with "!", otherwise to 0; fail if negated
+	pattern has been matched.
+
+2020-04-09  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Post-release administrivia.
+	* NEWS: Add a header line for the next release.
+	* debian/changelog.in: Add a changelog entry for 5.6-1.
+	* strace.spec.in: Likewise.
+
+2020-04-07  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Prepare for 5.6 release.
+	* NEWS: Update for 5.6 release.
+
+	.mailmap: add more entries to avoid duplication in CREDITS.
+
+2020-04-07  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: cleanup temporary files left by read-write test executable.
+	This test executable is invoked by 19 tests, leaving about 100M
+	of data in temporary files.
+
+	In each of these tests read-write is invoked twice: the first time by
+	run_prog and the second time by run_strace.  Since the temporary file
+	created during the first invocation is used by strace during the second
+	invocation, this file can only be cleaned up at the end of the second
+	invocation.
+
+	* tests/read-write.c (main): If the temporary file was not created,
+	unlink it before the exit.
+
+2020-04-07  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: rewrite redirect.test without a busy loop.
+	* tests/redirect.test: Invoke $SLEEP_A_BIT while waiting
+	for synchronization with the tracer.
+
+2020-04-06  Dmitry V. Levin  <ldv@altlinux.org>
+
+	README.md: add github CI status badge.
+
+2020-04-06  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: make -yy equivalent to --decode-fds=all.
+	With inclusion of device file and, later, pidfd decoding into -yy
+	semantics, it is clear that one cannot rely on stability of set
+	of file descriptor decoding features enabled by -yy.  State that
+	formally by aliasing -yy to --decode-fds=all.  Those who want only
+	specific FD decoding capabilities being enabled know that they need
+	it and can resort to --decode-fds=SET syntax.
+
+	* strace.1.in (.SS Output formatting): Change -yy alias
+	to --decode-fds=all, update the -yy option description.
+	* strace.c (usage): Likewise; expand --decode-fds description.
+	(init): Change yyflag_qual value to "all".
+
+2020-04-06  Dmitry V. Levin  <ldv@altlinux.org>
+
+	travis: remove build jobs covered by github actions.
+	* .travis.yml: Remove all bionic build jobs on x86_64, x86, and x32 except
+	the first one which is probably the fasted and is kept for reference.
+	Remove all gcc-8 and gcc-9 jobs since the corresponding repositories
+	are broken.
+
+2020-04-06  Dmitry V. Levin  <ldv@altlinux.org>
+
+	github: add CI action.
+	Somewhat similar to Travis CI, this runs "make distcheck" on Ubuntu
+	18.04 using gcc-9, gcc-7, clang-9, and clang-6 on x86_64, x86, and x32
+	architectures.
+
+	Compared with Travis CI, GitHub Actions service currently provides
+	a significantly better parallelism as well as (unsurprisingly)
+	better integration with github.
+
+	However, GitHub Actions cannot replace Travis CI completely as
+	the latter can build on aarch64, s390x, and ppc64le architectures.
+
+	* .github/workflows/source-code-check.yml: Remove.
+	* .github/workflows/ci.yml: New file.
+
+2020-04-06  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: fix poll-P.test.
+	All invocations of poll-P executable must have a properly created
+	descriptor 9.
+
+	* tests/poll-P.test: Fix run_prog invocations.
+
+	Fixes: v4.21~122 "tests: check path tracing of poll syscall"
+
+2020-04-06  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: remove poll-P and ppoll-P from pure_executables.list.
+	Since these executables have to be invoked in a special way,
+	it was not correct to include them into pure_executables.list.
+
+	* tests/pure_executables.list: Move poll-P and ppoll-P ...
+	* tests/Makefile.am (check_PROGRAMS): ... here.
+
+	Fixes: v4.21~122 "tests: check path tracing of poll syscall"
+	Fixes: v4.21~121 "tests: check path tracing of ppoll syscall"
+
+2020-04-06  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: workaround clang compilation warning.
+	Silence the following incorrect compilation warning produced by clang:
+
+	tests/io_uring_register.c:271:10: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
+	                        probe->ops[i].flags & (typeof(probe->ops[i].flags)) ~1,
+	                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+	* tests/io_uring_register.c (main): Cast the whole
+	struct io_uring_probe_op.flags based expression
+	to the type of the first operand.
+
+	Complements: v5.5-183-g8b6487f9a "tests: fix clang compilation warning"
+
+2020-04-05  Dmitry V. Levin  <ldv@altlinux.org>
+
+	travis: update coverage configuration.
+	* .travis.yml [$CHECK == coverage]: Change dist from trusty to bionic,
+	change the compiler from gcc to gcc-9, change STACKTRACE from libunwind
+	to libdw.
+	* ci/run-build-and-tests.sh [$CHECK == coverage] (GCOV): New variable,
+	pass its value to ./codecov.bash.
+
+2020-04-05  Dmitry V. Levin  <ldv@altlinux.org>
+
+	ci: workaround unusable codecov-python.
+	As codecov-python, starting with commit
+	v2.0.15-44-g9f50cca7e5c5e0bb5e2859db238da08e3195e105 released almost
+	a month ago, became an utterly unusable pile of garbage, switch to
+	codecov-bash that still works.
+
+	* ci/install-dependencies.sh [$CHECK == coverage]: Do not install
+	lcov, python-pip, python-setuptools, and codecov.  Download
+	https://codecov.io/bash and save it as codecov.bash.
+	* ci/run-build-and-tests.sh [$CHECK == coverage] (ac_cv_prog_LCOV,
+	ac_cv_prog_GENHTML): New variables, export them.
+	[[$CHECK == coverage]: Invoke codecov.bash instead of codecov.
+
+2020-04-05  Dmitry V. Levin  <ldv@altlinux.org>
+
+	ci: use twice as many cpus for tests.
+	Since many tests sleep a lot, running more of them in parallel
+	increases overall performance.
+
+	* ci/run-build-and-tests.sh (j2): New variable.
+	Use it instead of $j for "make check" and "make distcheck".
+
+2020-04-05  Dmitry V. Levin  <ldv@altlinux.org>
+
+	ci: use -Og instead of -O0 for coverage builds.
+	Also, do not apply this debugging optimization level to tests.
+
+	* ci/run-build-and-tests.sh [$CHECK == coverage] (CFLAGS,
+	CFLAGS_FOR_BUILD): Remove.
+	[$CHECK == coverage]: Specify CFLAGS='-g -Og' to "make all".
+
+2020-04-05  Dmitry V. Levin  <ldv@altlinux.org>
+
+	travis: switch from clang 7 to clang-9.
+	* .travis.yml (matrix): Switch all clang 7 builds to clang-9.
+
+2020-04-05  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	NEWS: mention libdw symbol-to-address cache introduction.
+	Complements: v5.5-178-g2101456 "unwind-libdw: add caching"
+
+2020-04-05  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: fix clang compilation warning.
+	Silence the following compilation warning produced by clang:
+
+	tests/io_uring_register.c:271:10: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
+	                        probe->ops[i].flags & ~1,
+	                        ^~~~~~~~~~~~~~~~~~~~~~~~
+
+	* tests/io_uring_register.c (main): Cast the second operand
+	of struct io_uring_probe_op.flags based expression to the type
+	of the first operand.
+
+2020-04-05  Paul Chaignon  <paul.chaignon@gmail.com>
+
+	bpf: support new commands BPF_MAP_*_BATCH.
+	* xlat/bpf_commands.in (BPF_MAP_LOOKUP_BATCH): New constant introduced
+	by Linux commit v5.6-rc1~151^2~46^2~23^2~7.
+	(BPF_MAP_LOOKUP_AND_DELETE_BATCH): New constant introduced by Linux
+	commit v5.6-rc1~151^2~46^2~23^2~4.
+	(BPF_MAP_UPDATE_BATCH, BPF_MAP_DELETE_BATCH): New constants introduced
+	by Linux commit v5.6-rc1~151^2~46^2~23^2~6.
+	* bpf.c (BEGIN_BPF_CMD_DECODER(BPF_MAP_LOOKUP_BATCH),
+	BEGIN_BPF_CMD_DECODER(BPF_MAP_UPDATE_BATCH),
+	BEGIN_BPF_CMD_DECODER(BPF_MAP_DELETE_BATCH)): Decode the new commands.
+	(decode_BPF_MAP_LOOKUP_AND_DELETE_BATCH): New macro.
+	(SYS_FUNC(bpf)): Decode the new commands.
+	* bpf_attr.h (BPF_MAP_LOOKUP_BATCH_struct,
+	BPF_MAP_LOOKUP_AND_DELETE_BATCH_struct, BPF_MAP_UPDATE_BATCH_struct,
+	BPF_MAP_DELETE_BATCH_struct): New structs introduced by Linux commit
+	v5.6-rc1~151^2~46^2~23^2~7.
+	(BPF_MAP_LOOKUP_BATCH_struct_size,
+	BPF_MAP_LOOKUP_AND_DELETE_BATCH_struct_size,
+	BPF_MAP_UPDATE_BATCH_struct_size, BPF_MAP_DELETE_BATCH_struct_size): New
+	macros.
+	* NEWS: Mention this.
+	* tests/bpf.c (BPF_MAP_LOOKUP_BATCH_checks, BPF_MAP_UPDATE_BATCH_checks,
+	BPF_MAP_DELETE_BATCH_checks): Tests for the new commands.
+
+2020-04-05  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	Print PIDs associated with pidfds.
+	* number_set.h (decode_fd_bits): Add DECODE_FD_PIDFD to enum.
+	* filter_qualify.c (decode_fd_str_to_uint) <decode_fd_strs>: Add pidfd
+	argument name and value.
+	* util.c (printpidfd): New function.
+	(printfd): Call printpidfd if DECODE_FD_PIDFD is set.
+	* strace.c (init) <yyflag_qual>: Add pidfd.
+	(usage): Document pidfd option argument.
+	* strace.1.in (.SS Output format): Likewise.
+	* tests/pidfd_getfd-yy.c: New file.
+	* tests/pidfd_open--decode-fd-pidfd.c: Likewise.
+	* tests/pidfd_open--decode-fd-socket.c: Likewise.
+	* tests/pidfd_open-yy.c: Likewise.
+	* tests/.gitignore: Add pidfd_getfd-yy, pidfd_open--decode-fd-pidfd,
+	pidfd_open--decode-fd-socket, and pidfd_open-yy.
+	* tests/pure_executables.list: Likewise.
+	* tests/gen_tests.in: Add pidfd_getfd-yy, pidfd_open--decode-fd-pidfd,
+	pidfd_open--decode-fd-socket, and pidfd_open-yy tests.
+	* tests/pidfd_getfd.c [!PRINT_PIDFD] (PRINT_PIDFD): New macro, define
+	to 0.
+	(main) [PRINT_PIDFD]: New variable pidfd_str, print expected pidfd
+	string to it.
+	(main) [!PRINT_PIDFD]: New variable pidfd_str, set it to PIDFD_PATH.
+	(main): Print pidfd_str instead of PIDFD_PATH.
+	* tests/pidfd_open.c (main) [PRINT_PIDFD]: Print pidfd using "<pid:%d>"
+	format.
+	* NEWS: Mention the change.
+
+2020-04-03  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Update copyright headers.
+	Headers updated automatically using maint/update_copyright_years.sh
+	script.
+
+2020-04-03  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Fix preprocessor indentation.
+	Indent the C preprocessor directives to reflect their nesting
+	using the following script:
+
+	$ cppi -l $(git grep -El '^[[:space:]]*#[[:space:]]*(if|ifdef|ifndef|elif|else|endif|define|pragma)[[:space:]]' |grep -v '\.sh$') |while read f; do
+		cppi < "$f" > "$f".cppi; mv "$f".cppi "$f"
+	done
+
+2020-04-03  Jann Horn  <jannh@google.com>
+
+	unwind-libdw: add caching.
+	libdw's address-to-symbol logic is quite slow. Since when stracing a
+	process, it is normal to see the same call sites over and over again,
+	let's address that by adding a straightforward N-way associative cache
+	in front of libdw.
+
+	The cache parameters could probably use some fine-tuning,
+	but ought to be good enough for now.
+
+	The resulting performance improvement:
+
+	$ time ./strace-orig -o /dev/null -k bash -c 'for i in {0..10000}; do echo; done' >/dev/null
+
+	real	0m12,014s
+	user	0m11,512s
+	sys	0m0,575s
+	$ time ./strace-cache -o /dev/null -k bash -c 'for i in {0..10000}; do echo; done' >/dev/null
+
+	real	0m0,765s
+	user	0m0,451s
+	sys	0m0,371s
+
+	Reviewed-By: Masatake YAMATO <yamato@redhat.com>
+
+	* unwind-libdw.c: Include "static_assert.h".
+	(STRACE_UW_CACHE_SIZE, STRACE_UW_CACHE_ASSOC): New macros.
+	(struct cache_entry): New type.
+	(struct ctx): Add "cache" field, extend the type of "last_proc_updating"
+	field.
+	(mapping_generation): Extend the type, initialize to 1.
+	(uwcache_clock): New variable.
+	(tcb_init): Initialize struct ctx.cache.
+	(truct frame_user_data): Add "ctx" field.
+	(find_bucket): New function.
+	(frame_callback): Use it.
+	(tcb_walk): Initialize user_data.ctx.
+
+2020-04-02  Dmitry V. Levin  <ldv@altlinux.org>
+
+	sparc, sparc64: wire up former vserver syscall.
+	... because Linux kernel arch/sparc/kernel/syscalls/syscall.tbl
+	still lists it.
+
+	* linux/sparc/syscallent.h [267]: Add vserver entry.
+	* linux/sparc64/syscallent.h [267]: Add vserver entry.
+
+2020-04-02  Dmitry V. Levin  <ldv@altlinux.org>
+
+	hppa: wire up kexec_file_load syscall.
+	... introduced on hppa by Linux kernel commit v5.4-rc1~188^2~3.
+
+	* linux/hppa/syscallent.h [355]: Add kexec_file_load entry.
+	* NEWS: Mention this.
+
+2020-04-02  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	hdio: implement HDIO_DRIVE_CMD ioctl command decoding.
+	* xlat/hdio_drive_cmds.in: New file.
+	* hdio.c: Include "xlat/hdio_drive_cmds.h".
+	(print_hdio_drive_cmd): New function.
+	(hdio_ioctl): Call print_hdio_drive_cmd if code is HDIO_DRIVE_CMD.
+	* tests/ioctl_hdio.c (main) <unsupp_cmds>: Remove HDIO_DRIVE_CMD.
+	(main): Add HDIO_DRIVE_CMD checks.
+
+	Closes: https://github.com/strace/strace/issues/83
+
+2020-04-02  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	hdio: factor out the HDIO_GETGEO handler into a separate function.
+	And update it up to the current coding style.
+
+	* hdio.c: Include "print_fields.h".
+	(print_hdio_getgeo): New function.
+	(hdio_ioctl) <case HDIO_GETGEO>: Call print_hdio_getgeo instead
+	of decoding in place.
+
+2020-04-02  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests: check decoding of HDIO_* ioctls.
+	* tests/.gitignore: Add ioctl_hdio, ioctl_hdio-success,
+	ioctl_hdio-success-Xabbrev, ioctl_hdio-success-Xraw,
+	ioctl_hdio-success-Xverbose, ioctl_hdio-success-v,
+	ioctl_hdio-success-v-Xabbrev, ioctl_hdio-success-v-Xraw,
+	ioctl_hdio-success-v-Xverbose, ioctl_hdio-Xabbrev,
+	ioctl_hdio-Xraw, ioctl_hdio-Xverbose, ioctl_hdio-v,
+	ioctl_hdio-v-Xabbrev, ioctl_hdio-v-Xraw, and ioctl_hdio-v-Xverbose.
+	* tests/Makefile.am (check_PROGRAMS): Add ioctl_hdio-success,
+	ioctl_hdio-success-Xabbrev, ioctl_hdio-success-Xraw,
+	ioctl_hdio-success-Xverbose, ioctl_hdio-success-v,
+	ioctl_hdio-success-v-Xabbrev, ioctl_hdio-success-v-Xraw,
+	and ioctl_hdio-success-v-Xverbose.
+	* tests/gen_tests.in (ioctl_hdio, ioctl_hdio-Xabbrev, ioctl_hdio-Xraw,
+	ioctl_hdio-Xverbose, ioctl_hdio-v, ioctl_hdio-v-Xabbrev,
+	ioctl_hdio-v-Xraw, ioctl_hdio-v-Xverbose, ioctl_hdio-success,
+	ioctl_hdio-success-Xabbrev, ioctl_hdio-success-Xraw,
+	ioctl_hdio-success-Xverbose, ioctl_hdio-success-v,
+	ioctl_hdio-success-v-Xabbrev, ioctl_hdio-success-v-Xraw,
+	ioctl_hdio-success-v-Xverbose): New tests.
+	* tests/ioctl_hdio.c: New file.
+	* tests/ioctl_hdio-Xabbrev.c: Likewise.
+	* tests/ioctl_hdio-Xraw.c: Likewise.
+	* tests/ioctl_hdio-Xverbose.c: Likewise.
+	* tests/ioctl_hdio-success.c: Likewise.
+	* tests/ioctl_hdio-success-Xabbrev.c: Likewise.
+	* tests/ioctl_hdio-success-Xraw.c: Likewise.
+	* tests/ioctl_hdio-success-Xverbose.c: Likewise.
+	* tests/ioctl_hdio-success-v.c: Likewise.
+	* tests/ioctl_hdio-success-v-Xabbrev.c: Likewise.
+	* tests/ioctl_hdio-success-v-Xraw.c: Likewise.
+	* tests/ioctl_hdio-success-v-Xverbose.c: Likewise.
+	* tests/ioctl_hdio-v.c: Likewise.
+	* tests/ioctl_hdio-v-Xabbrev.c: Likewise.
+	* tests/ioctl_hdio-v-Xraw.c: Likewise.
+	* tests/ioctl_hdio-v-Xverbose.c: Likewise.
+	* tests/pure_executables.list: Add ioctl_hdio, ioctl_hdio-Xabbrev,
+	ioctl_hdio-Xraw, ioctl_hdio-Xverbose, ioctl_hdio-v,
+	ioctl_hdio-v-Xabbrev, ioctl_hdio-v-Xraw, and ioctl_hdio-v-Xverbose.
+
+2020-04-02  Dmitry V. Levin  <ldv@altlinux.org>
+
+	linux/32: move wait4 and [gs]ettimeofday from syscallent.h to syscallent-time32.h
+	According to Linux kernel include/uapi/asm-generic/unistd.h, starting
+	with commit v5.1-rc1~160^2~1^2~3 __NR_wait4, __NR_gettimeofday, and
+	__NR_settimeofday are placed under __ARCH_WANT_TIME32_SYSCALLS and
+	therefore should belong to syscallent-time32.h along with other 32-bit
+	time_t based syscalls.
+
+	* linux/32/syscallent.h [169, 170, 260]: Move entries ...
+	* linux/32/syscallent-time32.h: ... here.
+	* time.c (SYS_FUNC(gettimeofday), SYS_FUNC(settimeofday)): Place under
+	[HAVE_ARCH_TIME32_SYSCALLS || HAVE_ARCH_OLD_TIME64_SYSCALLS] guard.
+	* wait.c (SYS_FUNC(wait4)): Likewise.
+
+	Complements: v5.5-39-gcc7e89011 "linux/32: Split 32-bit time_t based syscalls into a separate header"
+
+2020-04-02  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: fix another race condition in strace-DD.test.
+	Apparently, timeout(1) utility first sends its signal to the child
+	process, then installs a signal handler, and finally sends its signal to
+	the process group.  This creates a race between timeout(1) and strace,
+	the latter can manage to handle tracee syscall exit trap before a signal
+	to the process group is delivered.
+
+	* tests/setpgrp-exec.c: New file.
+	* tests/strace-DD.test: Rewrite without use of timeout(1).
+	* tests/strace-DD.expected: Remove.
+	* tests/Makefile.am (check_PROGRAMS): Add setpgrp-exec.
+	(EXTRA_DIST): Remove strace-DD.expected.
+
+	Fixes: v5.4~106 "tests: check -DD and -DDD options"
+
+2020-04-01  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: add a workaround for trace_creds test on mips o32.
+	Since every mips o32 executable used by trace_creds test invokes
+	prctl(PR_GET_FP_MODE) on their own and these calls are not filtered out
+	by %creds, they have to be filtered out manually before comparison.
+
+	* tests/init.sh (test_pure_prog_set) [$STRACE_ARCH == mips &&
+	$MIPS_ABI == o32 && $NAME == *creds]: Filter out prctl(PR_GET_FP_MODE)
+	from the strace log before comparison.
+
+2020-04-01  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Lift experimental status from --seccomp-bpf feature.
+	* strace.1.in (.SH OPTIONS) <--seccomp-bpf>: Remove " (experimental)".
+
+	strace.1: enhance --seccomp-bpf description.
+	* strace.1.in (.SH OPTIONS) <--seccomp-bpf>: Reword for clarity.
+
+2020-04-01  Dmitry V. Levin  <ldv@altlinux.org>
+
+	strace.1: fix --seccomp-bpf description.
+	* strace.1.in (.SH OPTIONS) <--seccomp-bpf>: Remove the claim that this
+	option implies -f, document that --seccomp-bpf has no effect unless
+	-f/--follow-forks is also specified.
+
+	Complements: v5.5-38-g2a7ba2a97 "strace: disable seccomp-bpf instead of enabling following forks"
+
+2020-04-01  Dmitry V. Levin  <ldv@altlinux.org>
+
+	ci: use kernel headers from Linux kernel v5.6.
+	When Linux kernel merge window opens, changes of all sorts start to pour
+	down, breaking UAPI in various ways.  This does not work for strace,
+	we need a stable UAPI.
+
+	* .gitlab-ci.yml (variables): Add KBRANCH.
+	* .travis.yml (env:global): Likewise.
+
+2020-03-31  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: fix get*id-creds tests on mips.
+	Apparently, mips executables may invoke prctl(PR_GET_FP_MODE) on their
+	own.  Since these calls are not filtered out by %creds, they have to be
+	dealt with before comparison.
+
+	* tests/getuid.test [$STRACE_ARCH == mips]: Filter out
+	prctl(PR_GET_FP_MODE) from the log of %creds tests.
+
+2020-03-31  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
+
+	Update ioctl entries from linux v5.6.
+	* linux/32/ioctls_inc_align16.h: Update from linux v5.6
+	using ioctls_gen.sh.
+	* linux/32/ioctls_inc_align32.h: Likewise.
+	* linux/32/ioctls_inc_align64.h: Likewise.
+	* linux/64/ioctls_inc.h: Likewise.
+	* linux/x32/ioctls_inc0.h: Likewise.
+	* linux/s390/ioctls_arch0.h: Likewise.
+	* linux/s390x/ioctls_arch0.h: Likewise.
+	* NEWS: Mention this.
+
+	maint: update for linux v5.6.
+	* maint/ioctls_sym.sh: Add workarounds for media/v4l2-ioctl.h and
+	sound/pcm.h headers.
+
+2020-03-31  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	Update NEWS.
+
+2020-03-31  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: fix race condition in strace-D.test.
+	* tests/strace-D.test (test_parent_tracer_pid): Wait for the tracer
+	completion before checking its log.
+
+	Fixes: v5.4~110 "tests: check -D option"
+
+2020-03-31  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: fix race condition in strace-DDD.test.
+	* tests/tracer_ppid_pgid_sid.c (main): Print tracer pid.
+	* tests/strace-DDD.test: Check tracer pid, wait for the tracer
+	completion before checking its log.
+
+	Reported-by: Eugene Syromyatnikov <evgsyr@gmail.com>
+	Fixes: v5.4~106 "tests: check -DD and -DDD options"
+
+2020-03-31  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: fix race condition in strace-DD.test.
+	Apparently, $SLEEP_A_BIT might be insufficient for the tracer
+	to complete.
+
+	* tests/strace-DD.test: Find out the tracer pid and wait for the tracer
+	completion before checking its log.
+
+	Suggested-by: Eugene Syromyatnikov <evgsyr@gmail.com>
+	Fixes: v5.4~106 "tests: check -DD and -DDD options"
+
+2020-03-31  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: split getxxid test.
+	getxxid used to test alpha-specific getxgid, getxuid, and getxgid
+	syscalls.  Now each of these syscalls has its own test.
+	This hopefully fixes trace_creds test on alpha.
+
+	* tests/getxxid.c: Split into getxpid.c, getxuid.c, and getxgid.c.
+	* tests/gen_tests.in (getxxid): Remove.
+	(getxgid, getxpid, getxuid): New tests.
+	* tests/pure_executables.list: Replace getxxid with getxgid, getxpid,
+	and getxuid.
+	* tests/.gitignore: Likewise.
+
+2020-03-30  Dmitry V. Levin  <ldv@altlinux.org>
+
+	ia64: rename getpagesize syscall entry to old_getpagesize.
+	... to match the Linux kernel that introduced __NR_old_getpagesize
+	by commit v5.0-rc1~164^2~4.
+
+	* linux/ia64/syscallent.h [BASE_NR + 147]: Rename "getpagesize"
+	to "old_getpagesize".
+
+2020-03-30  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: disable umovestr_cached.test on mips o32 unless PTRACE_GET_SYSCALL_INFO works
+	If PTRACE_GET_SYSCALL_INFO does not work, then the test has to be
+	skipped on mips o32 because only the first four syscall arguments are
+	obtained from registers on that architecture, remaining syscall
+	arguments have to be fetched from the tracee memory.
+
+	* tests/umovestr_cached.test [$STRACE_ARCH == mips && $MIPS_ABI == o32]:
+	Skip the test if PTRACE_GET_SYSCALL_INFO does not work.
+
+2020-03-30  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: re-enable umovestr_cached.test on ia64 if PTRACE_GET_SYSCALL_INFO works
+	If PTRACE_GET_SYSCALL_INFO works, then the exception made for ia64
+	earlier is not relevant.
+
+	* tests/umovestr_cached.test [$STRACE_ARCH == ia64]: Do not skip
+	the test if PTRACE_GET_SYSCALL_INFO works.
+
+	Complements: v5.3~23 "tests: disable umovestr_cached.test on ia64"
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	Implement pidfd_getfd syscall decoding.
+	Introduced by Linux commit v5.6-rc1~122^2~4 and wired up in Linux commit
+	v5.6-rc1~122^2~3.
+
+	* pidfd_getfd.c: New file.
+	* Makefile.am (strace_SOURCES): Add it.
+	* linux/syscallent-common.h ([BASE_NR + 438]): Wire up pidfd_getfd.
+	* tests/pidfd_getfd.c: New file.
+	* tests/pidfd_getfd-y.c: Likewise.
+	* tests/.gitignore: Add pidfd_getfd and pidfd_getfd-y.
+	* tests/pure_executables.list: Likewise.
+	* tests/gen_tests.in: Add pidfd_getfd and pidfd_getfd-y tests.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	Move printpidfd from kcmp.c to util.c.
+	And rename it to print_pid_fd in an attempt to minimise confusion with
+	the kernel's pidfd concept.
+
+	* kcmp (PRINT_FIELD_PIDFD, SYS_FUNC(kcmp)): Change printpidfd calls to
+	print_pid_fd.
+	(printpidfd): Move it...
+	* util.c (print_pid_fd): ...here. Drop the static qualifier, update
+	the comment describing why this is a stub.
+	* defs.h (print_pid_fd): New declaration.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	open: implement openat2 syscall decoding.
+	Introduced by Linux commit v5.6-rc1~133^2~2.
+
+	* configure.ac (AC_CHECK_HEADERS): Check for linux/openat2.h.
+	* defs.h (print_numeric_umode_t_64): New declaration.
+	* linux/syscallent-common.h ([BASE_NR + 437]): Wire up openat2.
+	* types/openat2.h: New file.
+	* open.c: Include "print_fields.h", "types/openat2.h",
+	and "xlat/open_resolve_flags.h".
+	(sprint_open_modes64): Rename from sprint_open_modes, change argument
+	type to uint64_t.
+	(sprint_open_modes): New function, a wrapper for sprint_open_modes64
+	with argument type of unsigned int.
+	(tprint_open_modes64): Rename from tprint_open_modes, change argument
+	type to uint64_t, call sprint_open_modes64 instead of sprint_open_modes.
+	(tprint_open_modes): New function, a wrapper for tprint_open_modes64
+	with an argument of type unsigned int.
+	(print_open_how): New function.
+	(SYS_FUNC(openat2)): New decoder.
+	* printmode.c (print_numeric_umode_t_64): New function.
+	* tests/openat2.c: New file.
+	* tests/openat2-Xabbrev.c: Likewise.
+	* tests/openat2-Xraw.c: Likewise.
+	* tests/openat2-Xverbose.c: Likewise.
+	* tests/openat2-v.c: Likewise.
+	* tests/openat2-v-y.c: Likewise.
+	* tests/openat2-v-y-Xabbrev.c: Likewise.
+	* tests/openat2-v-y-Xraw.c: Likewise.
+	* tests/openat2-v-y-Xverbose.c: Likewise.
+	* tests/openat2-y.c: Likewise.
+	* tests/.gitignore: Add openat2, openat2-Xabbrev, openat2-Xraw,
+	openat2-Xverbose, openat2-v, openat2-v-y, openat2-v-y-Xabbrev,
+	openat2-v-y-Xraw, openat2-v-y-Xverbose, openat2-y.
+	* tests/pure_executables.list: Likewise.
+	* tests/gen_tests.in: Add openat2, openat2-Xabbrev, openat2-Xraw,
+	openat2-Xverbose, openat2-v, openat2-v-y, openat2-v-y-Xabbrev,
+	openat2-v-y-Xraw, openat2-v-y-Xverbose, openat2-y tests.
+	* xlat/open_resolve_flags.in: New file.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	Move print_nonzero_bytes from clone.c to util.c.
+	As it is to be used elsewhere.
+
+	* clone.c (print_nonzero_bytes): Move it...
+	* util.c (print_nonzero_bytes): ...here.  Remove static qualifier.
+	* defs.h (print_nonzero_bytes): New declaration.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	travis: remove ppc64le builds.
+	They are currently unusable, permanently failing with
+	"Disk quota exceeded" error diagnostics.
+
+	* .travis.yml (arch: ppc64le): Remove.
+
+2020-03-30  Dmitry V. Levin  <ldv@altlinux.org>
+
+	xtensa: switch to PTRACE_GETREGS API.
+	Implement PTRACE_GETREGS API introduced on xtensa by Linux kernel commit
+	v2.6.13-rc1~68^2~366.
+
+	* configure.ac [xtensa]: Remove arch_enable_Werror=no.
+	* linux/xtensa/get_syscall_result.c: Remove.
+	* Makefile.am (EXTRA_DIST): Remove it.
+	* linux/xtensa/arch_regs.c (xtensa_regs): New variable.
+	(ARCH_REGS_FOR_GETREGS, ARCH_PC_REG, ARCH_SP_REG): New macros.
+	(xtensa_a2, ARCH_PC_PEEK_ADDR, ARCH_SP_PEEK_ADDR): Remove.
+	* linux/xtensa/get_error.c (arch_get_error): Use xtensa_regs.a[2].
+	* linux/xtensa/get_syscall_args.c (arch_get_syscall_args): Use
+	xtensa_regs.a.
+	* linux/xtensa/set_error.c (arch_set_error, arch_set_success): Use
+	xtensa_regs.a[2].
+	* NEWS: Mention this change.
+
+2020-03-30  Dmitry V. Levin  <ldv@altlinux.org>
+
+	sh64: switch to PTRACE_GETREGS API.
+	Implement PTRACE_GETREGS API introduced on sh64 by Linux kernel commit
+	v2.6.28-rc1~99^2~56.
+
+	* configure.ac [sh64]: Remove arch_enable_Werror=no.
+	* linux/sh64/arch_regs.h: Remove.
+	* linux/sh64/get_syscall_result.c: Likewise.
+	* Makefile.am (EXTRA_DIST): Remove them.
+	* linux/sh64/arch_regs.c (sh64_regs): New variable.
+	(ARCH_REGS_FOR_GETREGS, ARCH_PC_REG, ARCH_SP_REG): New macros.
+	(sh64_r9, ARCH_PC_PEEK_ADDR, ARCH_SP_PEEK_ADDR): Remove.
+	* linux/sh64/get_error.c (arch_get_error): Use sh64_regs.regs[9].
+	* linux/sh64/get_scno.c (arch_get_scno): Use sh64_regs.regs[9].
+	* linux/sh64/get_syscall_args.c (arch_get_syscall_args): Use sh64_regs.regs.
+	* linux/sh64/set_error.c (arch_set_error, arch_set_success): Use
+	sh64_regs.gr[9].
+	* linux/sh64/set_scno.c (arch_set_scno): Use sh64_regs.regs[9].
+	* NEWS: Mention this change.
+
+2020-03-30  Dmitry V. Levin  <ldv@altlinux.org>
+
+	sh: switch to PTRACE_GETREGS API.
+	Implement PTRACE_GETREGS API introduced on sh by Linux kernel commit
+	v2.6.28-rc1~99^2~56.
+
+	* configure.ac [sh]: Remove arch_enable_Werror=no.
+	* linux/sh/get_syscall_result.c: Remove.
+	* Makefile.am (EXTRA_DIST): Remove it.
+	* linux/sh/arch_regs.c (sh_regs): New variable.
+	(ARCH_REGS_FOR_GETREGS, ARCH_PC_REG, ARCH_SP_REG): New macros.
+	(sh_r0, ARCH_PC_PEEK_ADDR, ARCH_SP_PEEK_ADDR): Remove.
+	* linux/sh/arch_getrval2.c (getrval2): Use sh_regs.regs[1].
+	* linux/sh/get_error.c (arch_get_error): Use sh_regs.regs[0].
+	* linux/sh/get_scno.c (arch_get_scno): Use sh_regs.regs[3].
+	* linux/sh/get_syscall_args.c (arch_get_syscall_args): Use sh_regs.regs.
+	* linux/sh/set_error.c (arch_set_error, arch_set_success): Use
+	sh_regs.gr[0].
+	* linux/sh/set_scno.c (arch_set_scno): Use sh_regs.regs[3].
+	* NEWS: Mention this change.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: use PRINT_FIELD_* macros, add abbreviating in print_v4l2_queryctrl
+	* v4l2.c (print_v4l2_queryctrl): Use PRINT_FIELD_XVAL for the type field
+	printing; use PRINT_FIELD_D for minimum, maximum, step, and
+	default_value fields printing; use PRINT_FIELD_FLAGS for the flags field
+	printing; print minimum, maximum, step, default_value, and flags fields
+	only if abbrev(tcp) is not set.
+	* tests/ioctl_v4l2-success.c: Update expected output.
+
+	Suggested-by: Philippe De Muyter <phdm@macqel.be>
+	References: https://github.com/strace/strace/issues/63
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: simplify print_v4l2_queryctrl and use print_v4l2_cid.
+	Instead of fragile hacks aroung V4L2_CTRL_FLAG_NEXT_CTRL flag, (always)
+	save the id field on entering, restore it later on exiting, and print it
+	second time only if it has changed.  That also simplifies the flow
+	with clear entering/exiting code parts separation.
+
+	The usage of print_v4l2_cid for id field printing has introduced several
+	(anticipated) output formatting changes, hence the changes in expected
+	output.
+
+	* v4l2.c (print_v4l2_queryctrl): Save c.id on entering, print it using
+	print_v4l2_cid with next_flags set to true, and return 0; remove
+	"entering(tcp) || get_tcb_priv_ulong(tcp)" logic; restore the entering
+	id value  into entry_id variable on exiting, compare it to the exiting
+	c.id value and print c.id again if it is different; do not check if tcp
+	is exiting; always return RVAL_IOCTL_DECODED at the end of the function.
+	* tests/ioctl_v4l2.c: Update expected output.
+	* tests/ioctl_v4l2-success.c: Likewise.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: add support for V4L2_CTRL_FLAG_NEXT_* flags printing to print_v4l2_cid
+	* v4l2.c: Move "xlat/v4l2_control_query_flags.h" inclusion before
+	print_v4l2_cid.
+	(print_v4l2_cid): Remove const qualifier from cid, add bool next_flags
+	argument; print v4l2_control_query_flags and NAND them from cid if they
+	are present.
+	(print_v4l2_control): Pass false as next_flags to the print_v4l2_cid
+	call.
+
+	References: https://github.com/strace/strace/issues/63
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	xlat: add generation of flags-related fields.
+	Generate known flags mask and maximum string length.
+
+	* xlat.h (struct xlat): Add fields flags_strsz and flags_mask.
+	* xlat/gen.sh (print_xlat, print_xlat_pair): Add generation of
+	XLAT_VAL_n and XLAT_STR_n macros.
+	(gen_header): Generate flags_strsz and flags_mask fields' values using
+	the generated XLAT_VAL_n and XLAT_STR_n macros, undefine them
+	afterwards.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: handle -Xraw in print_v4l2_cid.
+	Print class ID as simple hex value in that case.
+
+	* v4l2.c (print_v4l2_cid): Print cid as hex and return if
+	xlat_verbose(xlat_verbosity) == XLAT_STYLE_RAW.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: use xsprintf instead of asprintf in print_v4l2_cid.
+	Avoid an allocation and steamline code a bit.
+
+	* v4l2.c (print_v4l2_cid): Change tmp_str to a stack-allocated char array,
+	print to it with xsprintf, eliminate no longer needed free() call.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: provide V4L2_CTRL_FLAG_NEXT_CTRL in an xlat.
+	* xlat/v4l2_control_query_flags.in: New file.
+	* v4l2.c: Include "xlat/v4l2_control_query_flags.h".
+	(print_v4l2_queryctrl): Remove "ifdef V4L2_CTRL_FLAG_NEXT_CTRL" guard.
+	* tests/ioctl_v4l2.c [!V4L2_CTRL_FLAG_NEXT_CTRL]
+	(V4L2_CTRL_FLAG_NEXT_CTRL): New macro.
+	(main) [!V4L2_CTRL_FLAG_NEXT_CTRL]: Remove.
+
+	References: https://bugzilla.redhat.com/show_bug.cgi?id=1758201
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: decode frame intervals/sizes unconditionally.
+	* configure.ac (AC_CHECK_TYPES): Check for struct v4l2_frmsizeenum
+	and struct v4l2_frmivalenum.
+	* types/v4l2.h (struct_v4l2_frmsize_discrete, struct_v4l2_frmsize_stepwise,
+	struct_v4l2_frmsizeenum, struct_v4l2_frmival_stepwise,
+	struct_v4l2_frmivalenum): New type definitions.
+	v4l2.c: Remove "ifdef VIDIOC_ENUM_FRAMESIZES" guards.
+	* xlat/v4l2_ioctl_cmds.in (VIDIOC_ENUM_FRAMESIZES,
+	VIDIOC_ENUM_FRAMEINTERVALS): Uncomment.
+
+	References: https://bugzilla.redhat.com/show_bug.cgi?id=1758201
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: always decode VIDIOC_*_EXT_CTRLS ioctl commands.
+	* types/v4l2.h (struct_v4l2_area, struct_v4l2_ext_control,
+	struct_v4l2_ext_controls): New type definitions.
+	* v4l2.c (print_v4l2_ext_control, print_v4l2_ext_controls): Do not guard
+	with VIDIOC_S_EXT_CTRLS anymore.
+	(v4l2_ioctl) <case VIDIOC_S_EXT_CTRLS, case VIDIOC_TRY_EXT_CTRLS, case
+	VIDIOC_G_EXT_CTRLS>: Likewise.
+	(print_v4l2_ext_control): Do not guard size and string field printing
+	with HAVE_STRUCT_V4L2_EXT_CONTROL_STRING.
+	* xlat/v4l2_ioctl_cmds.in (VIDIOC_G_EXT_CTRLS, VIDIOC_S_EXT_CTRLS,
+	VIDIOC_TRY_EXT_CTRLS): Uncomment.
+
+	References: https://bugzilla.redhat.com/show_bug.cgi?id=1758201
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: bundle struct v4l2_format and related types.
+	* configure.ac (AC_CHECK_TYPES): Check for struct v4l2_meta_format,
+	struct v4l2_pix_format_mplane, struct v4l2_plane_pix_format,
+	and struct v4l2_sdr_format.
+	* types/v4l2.h (struct_v4l2_clip, struct_v4l2_format): Typedef to an anonymous
+	type definition.
+	(struct_v4l2_pix_format, struct_v4l2_plane_pix_format,
+	struct_v4l2_pix_format_mplane, struct_v4l2_window,
+	struct_v4l2_vbi_format, struct_v4l2_sliced_vbi_format,
+	struct_v4l2_sliced_vbi_cap, struct_v4l2_sdr_format,
+	struct_v4l2_meta_format): New typedefs.
+	* v4l2.c (print_v4l2_format_fmt): Remove guard macros, decode
+	fmt.win.global_alpha and fmt.sdr.buffersize only when they are non-zero.
+
+	References: https://bugzilla.redhat.com/show_bug.cgi?id=1758201
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: provide struct v4l2_capability definition.
+	* types/v4l2.h (struct_v4l2_capability): New typedef.
+	* v4l2.c: Check struct v4l2_capability
+	with CHECK_V4L2_STRUCT_RESERVED_SIZE.
+	(print_v4l2_capability): Change type of caps variable
+	to struct_v4l2_capability; drop HAVE_STRUCT_V4L2_CAPABILITY_DEVICE_CAPS
+	guard; print device_caps field only if it's non-zero.
+
+	References: https://bugzilla.redhat.com/show_bug.cgi?id=1758201
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: bundle struct v4l2_create_buffers definition.
+	* configure.ac (AC_CHECK_TYPES): Add a check for
+	struct v4l2_create_buffers definition.
+	* types/v4l2.h: New file.
+	* v4l2.c (DEF_MPERS_TYPE(struct_v4l2_create_buffers)): Remove
+	VIDIOC_CREATE_BUFS guard.
+	(struct_v4l2_create_buffers): Remove typedef.
+	(struct_v4l2_buffer, struct_v4l2_clip, struct_v4l2_ext_control,
+	struct_v4l2_ext_controls, struct_v4l2_format, struct_v4l2_framebuffer,
+	struct_v4l2_input, struct_v4l2_standard): Move to types/v4l2.h.
+	[HAVE_STRUCT_V4L2_CREATE_BUFFERS]: Check struct v4l2_create_buffers
+	with CHECK_V4L2_STRUCT_RESERVED_SIZE.
+	* xlat/v4l2_ioctl_cmds.in (VIDIOC_CREATE_BUFS): Uncomment.
+
+	References: https://bugzilla.redhat.com/show_bug.cgi?id=1758201
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: add V4L2 ioctl command constant macros.
+	For now, only those that we support, and only for those we don't
+	conditionalise in code, since the fall-back definitions require
+	the relevant type definitions, and not all of them are always
+	available.
+
+	* xlat/v4l2_ioctl_cmds.in: New file.
+	* v4l2.c: Include "xlat/v4l2_ioctl_cmds.h" under XLAT_MACRO_ONLY
+	definition.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: add shorthand macros for v4l2 type checks.
+	Some wrappers for common static_assert checks.
+
+	* v4l2.c (CHECK_V4L2_STRUCT_SIZE, CHECK_V4L2_RESERVED_SIZE.
+	CHECK_V4L2_STRUCT_RESERVED_SIZE): New macros.
+
+	References: https://bugzilla.redhat.com/show_bug.cgi?id=1758201
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: improve buffer flag decoding.
+	* xlat/v4l2_buf_flags.in: Add fallback values.
+	* xlat/v4l2_buf_flags_masks.in: New file.
+	* xlat/v4l2_buf_flags_ts_src.in: Likewise.
+	* xlat/v4l2_buf_flags_ts_type.in: Likewise.
+	* v4l2.c: Include xlat/v4l2_buf_flags_ts_type.h,
+	xlat/v4l2_buf_flags_ts_src.h, xlat/v4l2_buf_flags_masks.h.
+	(print_v4l2_buffer_flags): New function.
+	(print_v4l2_buffer): Call print_v4l2_buffer_flags for printing flags field.
+	* tests/ioctl_v4l2-success.c: Update expected output.
+
+	References: https://github.com/strace/strace/issues/63
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: use standard kernel version printing routine.
+	The way kernel version is printed in print_v4l2_capability was
+	non-standard, didn't respect xlat styles, and was incorrect for major
+	values 256 and greater.  Moreover, there is a routine that exists
+	specifically for this purpose now.  Let's use it and solve all
+	the aforementioned issues.
+
+	* v4l2.c (print_v4l2_capability): Use print_kernel_version for the
+	kernel version printing.
+	* tests/ioctl_v4l2-success.c: Update the expected output.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests: add v4l2 ioctl success injection-based tests.
+	* tests/ioctl_v4l2-success.c: New file.
+	* tests/ioctl_v4l2-success-Xabbrev.c: Likewise.
+	* tests/ioctl_v4l2-success-Xraw.c: Likewise.
+	* tests/ioctl_v4l2-success-Xverbose.c: Likewise.
+	* tests/ioctl_v4l2-success-v.c: Likewise.
+	* tests/ioctl_v4l2-success-v-Xabbrev.c: Likewise.
+	* tests/ioctl_v4l2-success-v-Xraw.c: Likewise.
+	* tests/ioctl_v4l2-success-v-Xverbose.c: Likewise.
+	* tests/.gitignore: Add ioctl_v4l2-success,
+	ioctl_v4l2-success-Xabbrev, ioctl_v4l2-success-Xraw,
+	ioctl_v4l2-success-Xverbose, ioctl_v4l2-success-v,
+	ioctl_v4l2-success-v-Xabbrev, ioctl_v4l2-success-v-Xraw,
+	ioctl_v4l2-success-v-Xverbose.
+	* tests/Makefile.am (check_PROGRAMS): Likewise.
+	* tests/gen_tests.in: Add ioctl_v4l2-success,
+	ioctl_v4l2-success-Xabbrev, ioctl_v4l2-success-Xraw,
+	ioctl_v4l2-success-Xverbose, ioctl_v4l2-success-v,
+	ioctl_v4l2-success-v-Xabbrev, ioctl_v4l2-success-v-Xraw tests,
+	* tests/tests.h (struct strval32): New type, similar to struct strval64.
+
+	tests: use ioctl-success.sh for ioctl_perf-success test.
+	* tests/ioctl_perf-success.test: Remove.
+	* tests/Makefile.am (DECODER_TESTS): Remove it.
+	* tests/gen_tests.in: Add ioctl_perf-success test.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests: always check ioctl_perf-success.
+	It makes little sense to conditionalise this test, since it bundles
+	all the required definitions and types in case of absense of them
+	in the kernel headers.
+
+	* tests/ioctl_perf-success.c: Remove HAVE_LINUX_PERF_EVENT_H guard,
+	update directives' indentation.
+	(include <linux/perf_event.h>): Put under HAVE_LINUX_PERF_EVENT_H guard.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests: add a runner for ioctl decoder tests that use success injection.
+	* tests/ioctl-success.sh: New file.
+	* tests/Makefile.am (EXTRA_DIST): Add it.
+
+	v4l2: print capability and rxsubchans fields of struct v4l2_tuner as flags
+	* v4l2.c (print_v4l2_tuner): Use printflags instead of printxval
+	for printing capability and rxsubchans fields of struct v4l2_tuner.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: comment unknown tuner types with "V4L2_TUNER_???" and not "V4L2_TUNER_TYPE_???"
+	All the xlat constants include only "V4L2_TUNER_" part.
+
+	* v4l2.c (print_v4l2_tuner) <printxval(v4l2_tuner_types, ...)>: Change
+	the last argument from V4L2_TUNER_TYPE_???" to "V4L2_TUNER_???"
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: do not print struct v4l2_control.value field name second time on exiting
+	To conform the output formatting in other places.
+
+	* v4l2.c (print_v4l2_control): Do not print "value=" on exiting to
+	prefix the changed value.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: print exiting structure fields as a separate structure.
+	To conform with the output formatting in other places.
+
+	* v4l2.c (print_v4l2_format, print_v4l2_streamparm): Close the structure
+	with "}" before the arrow and open it again with "{".
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: print struct v4l2_standard.framelines as unsigned.
+	Since it is defined that way.
+
+	* v4l2.c (print_v4l2_standard): Print framelines as unsigned.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: print struct v4l2_outputparm.outputmode using v4l2_capture_modes flags
+	As it is treated the same way as struct v4l2_captureparm.capturemode.
+
+	* v4l2.c (print_v4l2_streamparm): Print struct
+	v4l2_outputparm.outputmode using v4l2_capture_modes flags.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: print struct v4l2_{capture,output}parm.extendedmode as hex.
+	As it is likely to be treated similarly to capturemode/outputmode, which
+	are bit sets.
+
+	* v4l2.c (print_v4l2_streamparm): Print extendedmode field as hex.
+	* tests/ioctl_v4l2.c: Update expected output.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests/fill_memory: add 16-bit-wide and 32-bit-wide memory-filling routines
+	* tests/tests.h (fill_memory16_ex, fill_memory16, fill_memory32_ex,
+	fill_memory32): New declarations.
+	* tests/fill_memory.c (fill_memory16_ex, fill_memory16,
+	fill_memory32_ex, fill_memory32): New functions.
+
+	tests: move struct strval64 definition to tests.h.
+	* tests/fanotify_mark.c (struct strval64): Move it...
+	* tests/tests.h: ...here. Include <stdint.h>.
+
+	v4l2: remove spaces around "=" in struct v4l2_buffer.timestamp output.
+	* v4l2.c (print_v4l2_buffer): Remove spaces around equality sign
+	in ", timestamp = ".
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: print struct v4l2_vbi_format.flags as flags.
+	Since V4L2_VBI_UNSYNC and V4L2_VBI_INTERLACED are treated as independent
+	bits in code.
+
+	* v4l2.c (print_v4l2_format_fmt): Use printflags instead of printxval
+	for f->fmt.vbi.flags printing.
+
+	Fixes: v4.17~103 "v4l2: Implement decoding of the remaining V4L2_BUF_TYPE_* types"
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: print struct v4l2_vbi_format.start elements as signed integers.
+	Since they are defined in videodev2.h that way.
+
+	* v4l2.c (dprint_ioctl_v4l2): Print struct v4l2_vbi_format.start
+	elements using %d and not %u.
+	* tests/ioctl_v4l2.c (print_v4l2_format_fmt): Likewise.
+
+	Fixes: v4.17~103 "v4l2: Implement decoding of the remaining V4L2_BUF_TYPE_* types"
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests/ioctl_v4l2: add checks for decoding unknown/unsupported commands.
+	* tests/ioctl_v4l2.c: Include <stdint.h>.
+	(main): Add checks for decoding of unknown and unsupported ioctl
+	commands that have 'V' command type.
+
+2020-03-30  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	ioctl: re-define broken _IOC_SIZE on sparc.
+	_IOC_SIZE macro definition on sparc breaks the invariant
+
+	     _IOC_SIZE(_IOC(dir, type, nr, size)) == size
+
+	for _IOC_DIR(val) that contains neither _IOC_READ nor _IOC_WRITE,
+	so it is unsuitable for strace's purposes. Re-define it in a way
+	that preserves the aforementioned invariant.
+
+	* ioctl.c [SPARC || SPARC64] (_IOC_SIZE): Re-define.
+
+2020-03-29  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	v4l2: short-circuit handling of unknown buffer types.
+	We do not need to call print_v4l2_format_fmt on exiting to get empty
+	output again.
+
+	* v4l2.c (print_v4l2_format_fmt): Add a default branch that returns
+	false.
+
+2020-03-29  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests/ioctl_v4l2: increase coverage a bit.
+	Try to hit some previously missed branches.
+
+	* tests/ioctl_v4l2.c (init_v4l2_format): Set num_planes to 1 if buffer
+	type is V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; set clipcount to 3 if
+	buffer type is V4L2_BUF_TYPE_VIDEO_OVERLAY.
+	(dprint_ioctl_v4l2): Update expected output.
+
+2020-03-29  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	xlat: add KEY_SELECTIVE_SCREENSHOT to evdev_keycode.
+	* xlat/evdev_keycode.in (KEY_SELECTIVE_SCREENSHOT): New constant,
+	introduced by Linux commit v5.5-rc5-51-g3b059da9835c and updated
+	in Linux commit v5.5-rc5-55-gfbf66796a0ae.
+
+2020-03-29  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	debian/control: remove ppc64el from gcc-multilib architectures.
+	Little-endian POWER ISA has no 32-bit compat on Linux (and strace has
+	no mpers support on ppc64le), so gcc-multilib package is not needed
+	there.
+
+	* debian/control (Build-Depends): Remove ppc64el from the list
+	of gcc-multilib architectures.
+
+	Suggested-by: Dmitry V. Levin <ldv@altlinux.org>
+	Fixes: v4.23~364 "debian: enable mpers support for ppc64el and s390x"
+
+2020-03-29  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: warn about -S option uselessness in absence of -c/-C.
+	* strace.c (init): Add sortby_set local variable.
+	(init) <case 'S'>: Set sortby_set to true.
+	(init): Warn if sortby_set is set and cflag is not.
+	* tests/options-syntax.test: Add a check.
+
+2020-03-28  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	io_uring: add support for IORING_{UN,}REGISTER_PERSONALITY commands.
+	Introduced by Linux commit v5.6-rc1~123^2~5.
+
+	* xlat/uring_register_opcodes.in (IORING_REGISTER_PERSONALITY,
+	IORING_UNREGISTER_PERSONALITY): New constants.
+	* tests/io_uring_register.c: Update expected output.
+
+2020-03-28  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	io_uring: support IORING_REGISTER_PROBE io_uring_register command.
+	Introduced by Linux commit v5.6-rc1~123^2~22.
+
+	* xlat/uring_op_flags.in: New file.
+	* xlat/uring_ops.in: Likewise.
+	* xlat/uring_register_opcodes.in (IORING_REGISTER_PROBE): New constant.
+	* types/io_uring.h (struct_io_uring_probe_op, struct_io_uring_probe):
+	New type definitions.
+	* io_uring.c: Include "xlat/uring_op_flags.h", "xlat/uring_ops.h".
+	(print_io_uring_probe_op, print_io_uring_probe): New functions.
+	(SYS_FUNC(io_uring_register)): Add rc variable; print fd and opcode
+	on entering only, call print_io_uring_probe if opcode
+	is IORING_REGISTER_PROBE; print nargs if rc is non-zero or if it is
+	exiting; return rc in the end.
+	* tests/io_uring_register.c [HAVE_STRUCT_IO_URING_PROBE]: Add checks.
+
+2020-03-28  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	io_uring: de-indent some code in io_uring_setup decoder.
+	* io_uring.c (SYS_FUNC(io_uring_setup)): De-indent code in the exiting
+	path.
+
+2020-03-28  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Fix various typos found using codespell tool.
+	* NEWS: Replace "Enchanced" with "Enhanced".
+	* list.h: Replace "embedded withing" with "embedded within".
+	* maint/gen-contributors-list.sh: Replace "contributer"
+	with "contributor".
+	* tests/futex.c: Replace "succeedes" with "succeeds".
+	* tests/nsyscalls-d.test: Replace "debug ouput" with "debug output".
+	* tests/s390_sthyi.c: Replace "descriptior" with "descriptor".
+
+2020-03-28  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: fix strace-DDD.test for the case when strace has a process subreaper
+	The test used to assume that the process reaper has pid 1, which is not
+	necessarily the case, e.g. there might be a process subreaper different
+	from pid 1.
+
+	* tests/get_process_reaper.c: New file.
+	* tests/Makefile.am (check_PROGRAMS): Add get_process_reaper.
+	* tests/.gitignore: Likewise.
+	* tests/strace-DDD.test: Invoke get_process_reaper to find out
+	the process reaper id, use the latter in subsequent checks
+	instead of pid 1.
+
+	References: https://bugs.debian.org/947396
+	Resolves: https://github.com/strace/strace/issues/129
+
+2020-03-28  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests/ioctl_v4l2.c: whitespace fix.
+
+2020-03-28  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests: add ARG_XLAT_KNOWN and ARG_XLAT_UNKNOWN macros.
+	An amalgam of ARG_STR and XLAT_KNOWN/XLAT_UNKNOWN.
+
+	* tests/tests.h (ARG_XLAT_KNOWN, ARG_XLAT_UNKNOWN): New macros.
+
+2020-03-28  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests: add v4l2 ioctl -v tests.
+	* tests/ioctl_v4l2-v.c: New file.
+	* tests/ioctl_v4l2-v-Xabbrev.c: Likewise.
+	* tests/ioctl_v4l2-v-Xraw.c: Likewise.
+	* tests/ioctl_v4l2-v-Xverbose.c: Likewise.
+	* tests/.gitignore: Add ioctl_v4l2-v, ioctl_v4l2-v-Xabbrev,
+	ioctl_v4l2-v-Xraw, ioctl_v4l2-v-Xverbose.
+	* tests/pure_executables.list: Likewise.
+	* tests/gen_tests.in (ioctl_v4l2-v, ioctl_v4l2-v-Xabbrev,
+	ioctl_v4l2-v-Xraw, ioctl_v4l2-v-Xverbose): New tests.
+
+	v4l2: do not fancy-print fourcc if -Xraw is set.
+	* v4l2.c (print_pixelformat): Print fourcc as a hexadecimal value and
+	return.
+	* tests/ioctl_v4l2.c (dprint_ioctl_v4l2, main): Update expected output.
+
+	tests: add ioctl_v4l2 xlat style tests.
+	* tests/ioctl_v4l2-Xabbrev.c: New file.
+	* tests/ioctl_v4l2-Xraw.c: Likewise.
+	* tests/ioctl_v4l2-Xverbose.c: Likewise.
+	* tests/.gitignore: Add ioctl_v4l2-Xabbrev, ioctl_v4l2-Xraw,
+	ioctl_v4l2-Xverbose.
+	* tests/pure_executables.list: Likewise.
+	* tests/gen_tests.in (ioctl_v4l2-Xabbrev, ioctl_v4l2-Xraw,
+	ioctl_v4l2-Xverbose): New tests.
+	* tests/tests.h: (XLAT_SEL, ABBR, RAW, VERB, NABBR, NRAW, NVERB): New
+	macros.
+	* tests/ioctl_v4l2.c (dprint_ioctl_v4l2): Change request
+	to XLAT_SEL(reqval, reqstr); use XLAT_SEL(buf_type, buf_type_string)
+	in printed strings.
+	(print_ioctl_v4l2): Pass XLAT_SEL(request, #request) instead of the
+	second argument.
+	(main): Update expected output.
+
+2020-03-28  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests: move XLAT_FMT and XLAT_ARGS macros from sock_filter-v.c to tests.h
+	In preparation of using elsewhere.
+
+	* tests/sock_filter-v.c (XLAT_FMT, XLAT_ARGS): Move ...
+	* tests/tests.h: ... here, replacing HEX_FMT with "%#x".
+
+2020-03-27  Dmitry V. Levin  <ldv@altlinux.org>
+
+	hppa: switch to PTRACE_GETREGS API.
+	Implement PTRACE_GETREGS API introduced on hppa by Linux kernel commit
+	v4.7-rc1~58^2~10.
+
+	* configure.ac [hppa]: Remove arch_enable_Werror=no.
+	* linux/hppa/get_syscall_result.c: Remove.
+	* Makefile.am (EXTRA_DIST): Remove it.
+	* linux/hppa/arch_regs.c (hppa_regs): New variable.
+	(ARCH_REGS_FOR_GETREGS, ARCH_PC_REG, ARCH_SP_REG): New macros.
+	(hppa_r28, PT_GR20, PT_GR28, ARCH_PC_PEEK_ADDR, ARCH_SP_PEEK_ADDR):
+	Remove.
+	* linux/hppa/get_error.c (arch_get_error): Use hppa_regs.gr[28].
+	* linux/hppa/get_scno.c (arch_get_scno): Use hppa_regs.gr[20].
+	* linux/hppa/get_syscall_args.c (arch_get_syscall_args): Use
+	hppa_regs.gr.
+	* linux/hppa/set_error.c (arch_set_error, arch_set_success): Use
+	hppa_regs.gr[28].
+	* linux/hppa/set_scno.c (arch_set_scno): Use hppa_regs.gr[20].
+	* NEWS: Mention this change.
+
+2020-03-26  Dmitry V. Levin  <ldv@altlinux.org>
+
+	build: enable compiler -Werror option by default.
+	If gcc is 4.8+ or clang is 6.0+, and the architecture implements either
+	PTRACE_GETREGS or PTRACE_GETREGSET, enable compiler -Werror option
+	by default.
+
+	* configure.ac: Call st_WARN_CFLAGS and AX_PROG_CC_FOR_BUILD after
+	architecture checks.
+	(arch_enable_Werror): New variable, defined to "yes" on all architectures
+	except alpha, bfin, hppa, microblaze, sh, sh64, and xtensa.
+	* m4/st_warn_cflags.m4 (st_cv_cc_enable_Werror, st_cv_enable_Werror):
+	Compute new cached variables.
+	(AC_ARG_ENABLE(gcc-Werror)): Default to $st_cv_enable_Werror
+	if no option was given, do not add -Werror to WARN_CFLAGS.
+	[enable_gcc_Werror == yes]: Add -Werror to WARN_CFLAGS.
+	* m4/ax_prog_cc_for_build.m4 (AX_PROG_CC_FOR_BUILD): Redirect
+	st_cv_enable_Werror and st_cv_cc_enable_Werror using pushdef/popdef.
+	* ci/run-build-and-tests.sh (DISTCHECK_CONFIGURE_FLAGS): Add
+	--enable-gcc-Werror unconditionally.
+
+2020-03-26  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: workaround clang compilation warnings.
+	Silence the following incorrect compilation warnings produced by clang:
+
+	tests/filter_seccomp-flag.c:39:28: warning: variable 'sysent1' is not needed and will not be emitted [-Wunneeded-internal-declaration]
+	static const struct_sysent sysent1[] = {
+	tests/filter_seccomp-flag.c:45:28: warning: variable 'sysent2' is not needed and will not be emitted [-Wunneeded-internal-declaration]
+	static const struct_sysent sysent2[] = {
+
+	* tests/filter_seccomp-flag.c (sysent1, sysent2): Remove static
+	qualifier.
+
+2020-03-26  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: fix musl compilation warnings.
+	Silence the following types of compilation warnings generated by gcc
+	with musl system headers:
+
+	tests/net-sockaddr.c: In function 'check_x25':
+	tests/net-sockaddr.c:430:19: warning: passing argument 2 of 'connect' from incompatible pointer type [-Wincompatible-pointer-types]
+	  rc = connect(-1, x25, sizeof(c_x25) - 1);
+	                   ^~~
+	In file included from tests/net-sockaddr.c:16:0:
+	/opt/musl/include/sys/socket.h:332:5: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_x25 *'
+	 int connect (int, const struct sockaddr *, socklen_t);
+	     ^~~~~~~
+
+	tests/so_error.c: In function 'reserve_ephemeral_port':
+	tests/so_error.c:40:16: warning: passing argument 2 of 'bind' from incompatible pointer type [-Wincompatible-pointer-types]
+	   if (bind(sd, &addr, sizeof(addr)) == 0)
+	                ^
+	In file included from /opt/musl/include/netinet/in.h:10:0,
+	                 from tests/so_error.c:14:
+	/opt/musl/include/sys/socket.h:331:5: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_in *'
+	 int bind (int, const struct sockaddr *, socklen_t);
+	     ^~~~
+
+	* tests/net-sockaddr.c (check_x25): Pass a pointer of type 'void *' as
+	the second argument of connect() call.
+	* tests/so_error.c (main): Likewise.
+	(reserve_ephemeral_port): Pass a pointer of type 'void *' as the second
+	argument of bind() call.
+
+2020-03-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	count: store average time as struct timespec.
+	* count.c (struct call_counts): Change the type of time_avg field
+	to struct timespec, all users updated.
+
+	util: change the integer type in ts_mul and ts_div to uint64_t.
+	* defs.h (ts_mul, ts_div): Change the type of the last argument
+	to uint64_t.
+	* util.c (ts_mul, ts_div): Likewise.
+
+2020-03-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	count: use dashes in option argument names.
+	Dashes are more common among long optiona arguments, so let's support
+	(and prefer) them.
+
+	* count.c (column_aliases): Add variants with dashes for aliases with
+	underscores.
+	* strace.1.in (.SS Statistics): Use dashes in column names in -S and -U
+	option descriptions.
+	* strace.c (usage): Likewise.
+	* tests/options-syntax.test: Add checks.
+	* tests/strace-S.test: Use dashes in some column names.
+
+2020-03-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	count: add information about minimum and maximum call duration.
+	* count.c (struct call_counts): Add time_min, time_max fields.
+	(max_ts): New constant.
+	(enum count_summary_columns): Add CSC_TIME_MIN, CSC_TIME_MAX.
+	(count_syscall): Fill time_min field with max_ts in counts
+	initialisation, update time_min and time_max.
+	(min_time_cmp, max_time_cmp): New functions.
+	(set_sortby): Add keys for them.
+	(set_count_summary_columns): Add support for time_min and time_max
+	fields printing.
+	* strace.1.in (.SH OPTIONS) <-S, -U>: Document it.
+	* strace.c (usage): Likewise.
+	* tests/strace-S.test: Add checks.
+	* tests/options-syntax.test: Likewise.
+
+	Closes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=240945
+	Closes: https://github.com/strace/strace/issues/32
+
+2020-03-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	count: add ability to select columns being shown.
+	* count.c (set_count_summary_columns): New function.
+	* defs.h (set_count_summary_columns): New declaration.
+	* strace.c (init) <columns_set>: New local variable.
+	(init) <optstring>: Add "U:".
+	(init) <longopts>: Add "summary-columns" long option.
+	(init) <case 'U'>: Pass option argument to set_count_summary_columns.
+	(usage): Document it. Add missing -O/-S options to synopsis.
+	* strace.1.in (.SS Statistics): Likewise.
+	* strace.c (usage): Likewise.
+	* tests/options-syntax.test: Add option syntax checks.
+
+2020-03-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	count: factor out column alias names.
+	Since any column can be sorted now, we can maintain just an alias
+	to column mapping, which is also going to be used for column selection
+	functionality.
+
+	* count.c (column_aliases): New static constant array.
+	(sort_func): New typedef.
+	(sortfun): Change type to sort_func.
+	(set_sortby): Replace alias to sort function mapping with an
+	column-indexed array of sorting functions in sort_fns, ajust the code
+	accordingly.
+	* tests/options-syntax.test: Add checks.
+
+2020-03-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	count: add ability to sort on avg_time field.
+	For completeness.
+
+	* count.c (avg_time_cmp): New function.
+	(set_sortby): Add sort keys for avg_time sorting.
+	* strace.1.in (.SH OPTIONS) <-S>: Document it.
+	* strace.c (usage): Likewise.
+	* tests/strace-S.test: Add check.
+
+2020-03-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	count: refactor statistics calculation/output.
+	In preparation to extension.
+
+	* count.c (enum count_summary_columns): New enumeration type.
+	(struct call_counts): Add time_avg field.
+	(DEF_COLUMNS): New macro.
+	(columns, visible): New variables.
+	(num_chars): New function.
+	(call_summary_pers): Calculate aggregate data first, then output table
+	based on columns configuration.
+
+2020-03-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	xlat: wire up PR_SET_IO_FLUSHER and PR_GET_IO_FLUSHER prctl options.
+	* xlat/prctl_options.in (PR_SET_IO_FLUSHER, PR_GET_IO_FLUSHER): New
+	constants, introduced by Linux kernel commit v5.6-rc1~122^2.
+	* prctl.c (SYS_FUNC(prctl)): Wire up PR_SET_IO_FLUSHER
+	and PR_GET_IO_FLUSHER options.
+
+	xlat: sort prctl_options entries, add #sorted.
+	* xlat/prctl_options.in: Sort the entries, align the values, add #sorted,
+	add comments about PR_SET_VMA and PR_SET_PTRACER.
+
+2020-03-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	rtc: decode RTC Voltage Low value as flags.
+	Introduced by Linux kernel commit v5.6-rc1~71^2~57
+
+	* xlat/rtc_vl_flags.in: New file.
+	* rtc.c (decode_rtc_vl): New function.
+	(rtc_ioctl) <case RTC_VL_READ>: Call it instead of printnum_int.
+
+2020-03-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	rtc: bundle ioctl number definitions.
+	This makes decoding more reliable as it no longer depends
+	on definitions of these ioctl commands the kernel headers.
+
+	* xlat/rtc_ioctl_cmds.in: New file.
+	* rtc.c: Include <xlat/rtc_ioctl_cmds.h>.
+	(rtc_ioctl): Remove RTC_VL_READ and RTC_VL_CLR guards.
+
+2020-03-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	sched: implement utilisation clamping fields decoding.
+	And also handle the piggybacked SCHED_FLAG_KEEP_PARAMS flag
+	introduced by Linux kernel commit v5.3-rc1~201^2~5.
+
+	* xlat/sched_flags.in (SCHED_FLAG_KEEP_PARAMS,
+	SCHED_FLAG_UTIL_CLAMP_MIN, SCHED_FLAG_UTIL_CLAMP_MAX): New constants.
+	* sched_attr.h (struct sched_attr): Add sched_util_min and
+	sched_util_max fields.
+	(SCHED_ATTR_SIZE_VER1): New macro.
+	* sched.c (print_sched_attr): Do not print sched_policy field if
+	SCHED_FLAG_KEEP_PARAMS flag is set in sched_setattr; do not print
+	sched_nice, sched_priority, sched_runtime, sched_deadline,
+	and sched_period fields if SCHED_FLAG_KEEP_PARAMS flag is set
+	in sched_setattr; print sched_util_min and sched_util_max field if
+	size is at least PRINT_FIELD_U; use attr.size instead of usize in
+	sched_getattr for determining whether ellipsis is needed to be printed.
+	* tests/sched_xetattr.c: Update expected output, add checks.
+
+2020-03-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	sched: add SCHED_FLAG_KEEP_POLICY flag support.
+	Introduced by Linux kernel commit v5.3-rc1~201^2~6.
+
+	* xlat/sched_flags.in (SCHED_FLAG_KEEP_POLICY): New constant.
+	* sched.c (print_sched_attr): Add is_set variable, set it to true
+	if passed usize is zero, print policy if it is sched_getattr,
+	it is negative, or if SCHED_FLAG_KEEP_POLICY is not set.
+	* tests/sched_xetattr.c: Update expected output, add a check.
+
+2020-03-23  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	sched: refactor print_sched_attr.
+	Steamline it a bit and convert to PRINT_FIELD_* macros usage,
+	in anticipation of the upcoming changes.
+
+	* sched.c: Include "print_fields.h".
+	(PRINT_SCHED_FIELD): Remove macro.
+	(print_sched_attr): Use PRINT_FIELD_* macros for printing fields, use
+	goto instead of size-checking condition block.
+
+2020-03-20  Dmitry V. Levin  <ldv@altlinux.org>
+
+	github: check source code for whitespace errors on every push and pull request
+	* .github/workflows/source-code-check.yml: New file.
+
+2020-03-20  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	rtnl_link: decode IFLA_PERM_ADDRESS attribute.
+	Introduced by Linux commit v5.6-rc1~151^2~262^2~4.
+
+	* configure.ac (AC_CHECK_DECLS): Check for IFLA_PERM_ADDRESS.
+	* rtnl_link.c (ifinfomsg_nla_decoders): Wire up IFLA_PERM_ADDRESS
+	attribute using decode_nla_hwaddr.
+	* xlat/rtnl_link_attrs.in (IFLA_PERM_ADDRESS): New constant.
+
+2020-03-20  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	rtnl_link: use the family from ifinfomsg.
+	* rtnl_link.c (decode_ifla_hwaddr): New function,
+	decode_nla_hwaddr_family wrapper that passes the value from
+	struct ifinfomsg (passed in opaque data) to it.
+	(ifinfomsg_nla_decoders) <IFLA_ADDRESS, IFLA_BROADCAST>: Use
+	decode_ifla_hwaddr as decoder.
+	(decode_ifinfomsg): Pass ifinfo as opaque_data in decode_nlattr call.
+
+	nlattr: implement generic hardware address nlattr decoder.
+	* nlattr.c (decode_nla_hwaddr): New function.
+	* nlattr.h (DECL_NLA(hwaddr)): New declaration.
+	(NLA_HWADDR_FAMILY_OFFSET): New macro.
+	(decode_nla_hwaddr_family, decode_nla_hwaddr_nofamily): New functions.
+	* rtnl_link.c (ifla_info_data_bridge_nla_decoders) <IFLA_BR_GROUP_ADDR>:
+	Use nlattr_hwaddr_nofamily.
+	* rtnl_neigh.c (decode_neigh_lladdr): Remove.
+	(ndmsg_nla_decoders) <NDA_LLADDR>: Change decoder
+	from decode_neigh_lladdr to decode_nla_hwaddr_nofamily.
+	* tests/nlattr_ifla_linkinfo.c: Update expected output.
+	* tests/nlattr_ndmsg.c: Likewise.
+
+2020-03-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	print_mac: avoid passing sizes greater than MAX_ADDR_LEN to sprint_mac_addr
+	As sprint_mac_addr (rightfully) bails out on those, simply print those
+	as strings.
+
+	* print_mac.c (print_mac_addr, print_hwaddr): Print address raw and
+	avoid calling sprint_mac_addr if the size is greater than MAX_ADDR_LEN.
+
+2020-03-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	print_mac: do not limit address length for hwaddr families 806..819.
+	It seems that it has been overlooked.
+
+	* print_mac.c (hwaddr_sizes): Initialise array with default value of 255
+	up to ARPHRD_VSOCKMON.
+
+	Fixes: v4.23~129 "sock: guess ifr_hwaddr size in SIOCSIFHWADDR/SIOCGIFHWADDR"
+
+2020-03-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	rtnl_link: add IFLA_PROP_LIST and IFLA_ALT_IFNAME attribute type support
+	Introduced by Linux commit v5.5-rc1~174^2~448^2~4.
+
+	* configure.ac (AC_CHECK_DECLS): Check for IFLA_PROP_LIST
+	and IFLA_ALT_IFNAME.
+	* rtnl_link.c (decode_ifla_prop_list_attr, decode_ifla_prop_list): New
+	functions.
+	(ifinfomsg_nla_decoders): Decode IFLA_PROP_LIST with
+	decode_ifla_prop_list, decode IFLA_ALT_IFNAME with decode_nla_str.
+	* tests/nlattr_ifinfomsg.c: Add checks.
+	* xlat/rtnl_link_attrs.in (IFLA_PROP_LIST, IFLA_ALT_IFNAME): New
+	constants.
+
+2020-03-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	nlattr: use QUOTE_EXPECT_TRAILING_0 in decode_nla_str.
+	In order to signify the absence of the trailing \0 in string
+	and print embedded \0 at the same time.
+
+	* nlattr.c (decode_nla_str): Provide
+	QUOTE_OMIT_TRAILING_0 | QUOTE_EXPECT_TRAILING_0 flags instead
+	of QUOTE_0_TERMINATED flag to printstr_ex call.
+
+2020-03-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	util: add a separate flag for printing ellipsis in absence of \0 in strings
+	In cases where we know the size of the string to be printed
+	(for example, in decode_nla_str and likely somewhere else),
+	it is probably better to print embedded \0's (so, do not pass
+	QUOTE_0_TERMINATED).  Unfortunately, printstr_ex doesn't have a separate
+	flag for printing ellipsis in case no \0 occurred at all, so let's
+	introduce it.
+
+	* defs.h (QUOTE_EXPECT_TRAILING_0): New macro.
+	(QUOTE_0_TERMINATED, QUOTE_OMIT_LEADING_TRAILING_QUOTES,
+	QUOTE_OMIT_TRAILING_0): Document.
+	(QUOTE_FORCE_HEX, QUOTE_EMIT_COMMENT): Update values, document.
+	* util.c (printstr_ex): Print ellipsis not only on QUOTE_0_TERMINATED,
+	but also on QUOTE_EXPECT_TRAILING_0.
+
+2020-03-16  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	xlat: add IPPROTO_ETHERNET to inet_protocols.
+	* xlat/inet_protocols.in (IPPROTO_ETHERNET): New constant, introduced
+	by Linux commit v5.6-rc6~23^2~9.
+
+2020-03-15  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: robustify read-write test.
+	* tests/read-write.c (main): Explicitly close descriptors 4 and 5 that
+	might be inherited from the parent process.
+
+2020-03-10  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Robustify <linux/if_bridge.h> configure checks.
+	Prior to Linux kernel commit v3.18-rc5~22^2~32 <linux/if_bridge.h> was
+	incomplete: it used struct in6_addr but didn't include a header with a
+	definition.  Apply the same workaround in configure checks as in other
+	parts of strace: include <netinet/in.h> before <linux/if_bridge.h>.
+
+	* configure.ac: Include <netinet/in.h> before <linux/if_bridge.h>.
+	* types/gen.sh (gen_m4_check): Specify INCLUDES parameter in the
+	generated AC_CHECK_HEADERS invocation.
+
+2020-03-10  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	xlat: change style argument type of print_xlat_ex to uint32_t.
+	...and add some documentation. Otherwise, clang complains about it:
+
+	    warning: implicit conversion from enumeration type
+	    'enum xlat_style_private_flags' to different enumeration type
+	    'enum xlat_style' [-Wenum-conversion]
+	                    print_xlat_ex(cid, "V4L2_CID_???", PXF_DEFAULT_STR);
+	                    ~~~~~~~~~~~~~                      ^~~~~~~~~~~~~~~
+
+	* defs.h (print_xlat_ex): Change the type of style argument to uint32_t,
+	add doxydoc.
+	* xlat.c (print_xlat_ex): Change the type of style argument to uint32_t.
+
+2020-03-09  Dmitry V. Levin  <ldv@altlinux.org>
+
+	util: define either ilog2_64 or ilog2_32.
+	Depending on the value of SIZEOF_KERNEL_LONG_T, either ilog2_64 or
+	ilog2_32 is used as an implementation of ilog2_klong.  Do not define
+	the other one to pacify clang that otherwise complains with either
+
+	  util.c:1060:1: warning: unused function 'ilog2_32' [-Wunused-function]
+	  ilog2_32(uint32_t val)
+
+	or
+
+	  util.c:1038:1: warning: unused function 'ilog2_64' [-Wunused-function]
+	  ilog2_64(uint64_t val)
+
+	* util.c (ilog2_64): Define only for [SIZEOF_KERNEL_LONG_T > 4].
+	(ilog2_32): Define only for [SIZEOF_KERNEL_LONG_T == 4].
+
+2020-03-09  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: include <signal.h> instead of <sys/signal.h>
+	<sys/signal.h> is an old stub that exists for compatibility with some
+	ancient systems, it just includes <signal.h>.
+
+	* tests/prctl-pdeathsig.c: Include <signal.h> instead of <sys/signal.h>.
+
+2020-03-09  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Assume that prctl() and <sys/prctl.h> are always available.
+	They were introduced in the GNU libc back in 1997,
+	so we can safely use them without further checks.
+
+	* configure.ac (AC_CHECK_FUNCS): Remove prctl.
+	* strace.c: Include <sys/prctl.h> unconditionally.
+	(startup_child): Do not test for HAVE_PRCTL.
+	* tests/prctl-name.c: Include <sys/prctl.h> unconditionally, do not test
+	for HAVE_PRCTL.
+	* tests/prctl-seccomp-filter-v.c: Likewise.
+	* tests/prctl-seccomp-strict.c: Likewise.
+	* tests/printpath-umovestr-undumpable.c: Likewise.
+	* tests/printstrn-umoven-undumpable.c: Likewise.
+	* tests/set_ptracer_any.c: Likewise.
+	* tests/seccomp-filter-v.c: Include <sys/prctl.h> unconditionally.
+
+2020-03-09  Dmitry V. Levin  <ldv@altlinux.org>
+
+	strace.1: fix typo.
+	* strace.1.in (.SH HISTORY): Fix spelling of OpenRISC.
+
+	Resolves: https://github.com/strace/strace/issues/128
+
+2020-03-06  Dmitry V. Levin  <ldv@altlinux.org>
+
+	print_timeval: do not use struct timeval provided by libc.
+	Use kernel_old_timeval_t provided by our kernel_timeval.h instead of
+	struct timeval provided by libc to avoid potential issues if libc
+	changes the definition of struct timeval to use 64-bit types on 32-bit
+	systems.
+
+	* print_timeval.c: Include "kernel_timeval.h".
+	(timeval_t): Change from struct timeval to kernel_old_timeval_t.
+
+	Complements: v5.5-8-g94d56c9c3 "printrusage: bundle rusage_t definition"
+
+2020-03-06  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Move kernel_old_timeval definition to kernel_timeval.h.
+	It's going to be used later in print_timeval.c
+
+	* kernel_timeval.h: Include "kernel_types.h".
+	(kernel_old_timeval_t): New type.
+	* printrusage.c: Include "kernel_timeval.h".
+	(struct kernel_old_timeval): Remove.
+	(rusage_t): Replace struct kernel_old_timeval with kernel_old_timeval_t.
+
+2020-03-06  Dmitry V. Levin  <ldv@altlinux.org>
+
+	printrusage: fix kernel_old_timeval definition to match the kernel.
+	The type of struct kernel_old_timeval.tv_usec field is the same
+	kernel_long_t as the type of tv_sec field, with one notable exception:
+	sparc64 is the only 64-bit architecture where tv_usec field is 32-bit.
+
+	* printrusage.c (struct kernel_old_timeval) [__sparc__ && __arch64__]:
+	Change the type of tv_usec field from long to int.
+	[!(__sparc__ && __arch64__)]: Change the type of tv_usec field
+	from long to kernel_long_t.
+
+	Fixes: v5.5-8-g94d56c9c3 "printrusage: bundle rusage_t definition"
+
+2020-03-06  Alistair Francis  <alistair.francis@wdc.com>
+
+	printrusage: fix kernel_old_timeval typo.
+	The timeval struct should contain a tv_sec and tv_usec type,
+	fix the typo to indicate that it's usec and not nsec.
+
+	This member is never directly accessed here so there are no other
+	changes required.
+
+
+	* printrusage.c (struct kernel_old_timeval): Rename tv_nsec to tv_usec.
+
+	Fixes: v5.5-8-g94d56c9c3 "printrusage: bundle rusage_t definition"
+
+2020-03-02  Paul Chaignon  <paul.chaignon@gmail.com>
+	    Eugene Syromyatnikov  <evgsyr@gmail.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	bpf: implement decoding of BPF_PROG_ATTACH replace_bpf_fd field.
+	* bpf_attr.h (BPF_PROG_ATTACH_struct): Add replace_bpf_fd field
+	introduced by Linux kernel commit v5.6-rc1~151^2~199^2~7^2~3.
+	(expected_BPF_PROG_ATTACH_struct_size): Update.
+	* bpf.c (BEGIN_BPF_CMD_DECODER(BPF_PROG_ATTACH)): Decode the new field.
+	* NEWS: Mention this.
+	* tests/bpf.c (BPF_PROG_ATTACH_checks): Check it.
+
+	bpf: update BPF_* constants.
+	* xlat/bpf_attach_flags.in (BPF_F_REPLACE): New constant introduced
+	by Linux kernel commit v5.6-rc1~151^2~199^2~7^2~3.
+	* xlat/bpf_map_types.in (BPF_MAP_TYPE_STRUCT_OPS): New constant
+	introduced by Linux kernel commit v5.6-rc1~151^2~46^2~37^2~5.
+	* xlat/bpf_prog_types.in (BPF_PROG_TYPE_STRUCT_OPS): New constant
+	introduced by Linux kernel commit v5.6-rc1~151^2~46^2~37^2~6.
+	(BPF_PROG_TYPE_EXT): New constant introduced by Linux kernel commit
+	v5.6-rc1~151^2~46^2~1^2~2.
+	* NEWS: Mention this.
+	* tests/bpf.c (BPF_MAP_CREATE_checks, BPF_PROG_LOAD_checks,
+	BPF_PROG_QUERY_checks): Update checks and their expected output.
+	* tests/kernel_version.c (print_bpf_attr, main): Likewise.
+
+2020-03-02  Eugene Syromyatnikov  <evgsyr@gmail.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests/bpf: add a guard against untested bpf_map_types updates.
+	* tests/bpf.c: Include "xlat/bpf_map_types.h", add a static_assert
+	for bpf_map_types_xdata.
+	(BPF_MAP_CREATE_checks): Update the first check.
+
+	bpf: implement decoding of struct bpf_map_info.btf_vmlinux_value_type_id field
+	* bpf_attr.h (struct bpf_map_info_struct): Insert
+	btf_vmlinux_value_type_id field between ifindex and netns_dev fields
+	introduced by Linux kernel commit v5.6-rc1~151^2~46^2~37^2~5.
+	* bpf.c (print_bpf_map_info): Print btf_vmlinux_value_type_id field.
+	* tests/bpf-obj_get_info_by_fd.c [VERBOSE] (main): Print
+	btf_vmlinux_value_type_id field if the structure is big enough.
+
+2020-03-02  Paul Chaignon  <paul.chaignon@gmail.com>
+	    Eugene Syromyatnikov  <evgsyr@gmail.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	bpf: implement decoding of BPF_MAP_CREATE btf_vmlinux_value_type_id field
+	* bpf_attr.h (BPF_MAP_CREATE_struct): Add btf_vmlinux_value_type_id
+	field introduced by Linux kernel commit v5.6-rc1~151^2~46^2~37^2~5.
+	(expected_BPF_MAP_CREATE_struct_size): Update.
+	* bpf.c (BEGIN_BPF_CMD_DECODER(BPF_MAP_CREATE)): Decode the new field.
+	* NEWS: Mention this.
+	* tests/bpf-obj_get_info_by_fd.c (print_map_create): Update expected
+	output.
+	* tests/bpf.c (BPF_MAP_CREATE_checks): Add a check that includes
+	btf_vmlinux_value_type_id field.
+
+2020-03-01  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	ioctl: add HIDIOCGRAWUNIQ ioctl number decoding.
+	* ioctl.c (hiddev_decode_number): Decode HIDIOCGRAWUNIQ introduced
+	by Linux kernel commit v5.6-rc1~198^2~1^2.
+
+	ioctl: fix indentation in switch clauses.
+	* ioctl.c: Fix indentation in switch clauses, no code changes.
+
+	xlat: update AUDIT_* constants.
+	* xlat/nl_audit_types.in: Add #sorted.
+	(AUDIT_BPF): New constant, introduced by Linux kernel commit
+	v5.6-rc1~151^2~199^2~47.
+
+	xlat: update CLONE_* constants.
+	* xlat/clone3_flags.in (CLONE_NEWTIME): New constant, introduced
+	by Linux kernel commit v5.6-rc1~177^2~41.
+	* xlat/setns_types.in (CLONE_NEWTIME): Likewise.
+	* xlat/unshare_flags.in (CLONE_NEWTIME): Likewise.
+	* tests/clone3.c (main): Update the expected output.
+	* tests/unshare.c (main): Likewise.
+
+	xlat/unshare_flags: reorder and provide fallback definitions for constants
+	* xlat/unshare_flags.in: Provide fallback definitions for constants,
+	reorder in the ascending order, add #sorted.
+	* tests/unshare.c (main): Update the expected output.
+
+	xlat: update GRND_* constants.
+	* xlat/getrandom_flags.in (GRND_INSECURE): New constant, introduced
+	by Linux kernel commit v5.6-rc1~91^2~20.
+
+	xlat: update IPPROTO_* constants.
+	* xlat/inet_protocols.in (IPPROTO_MPTCP): New constant, introduced
+	by Linux kernel commit v5.6-rc1~151^2~118^2~8.
+
+	xlat: update RTM_F_* constants.
+	* xlat/routing_flags.in: Add #sorted.
+	(RTM_F_NOTIFY, RTM_F_CLONED, RTM_F_EQUALIZE, RTM_F_PREFIX,
+	RTM_F_LOOKUP_TABLE): Add fallback definitions.
+	(RTM_F_FIB_MATCH): New constant, introduced by Linux kernel commit
+	v4.13-rc1~157^2~364^2~2.
+	(RTM_F_OFFLOAD, RTM_F_TRAP): New constants, introduced by Linux kernel
+	commit v5.6-rc1~151^2~91^2~7.
+
+	io_uring: decode IORING_REGISTER_EVENTFD_ASYNC io_uring_reginster command
+	* xlat/uring_register_opcodes.in (IORING_REGISTER_EVENTFD_ASYNC): New
+	constant introduced by Linux kernel commit v5.6-rc1~123^2~28.
+	* io_uring.c (io_uring_register): Handle IORING_REGISTER_EVENTFD_ASYNC
+	along with IORING_REGISTER_FILES and IORING_REGISTER_EVENTFD.
+	* tests/io_uring_register.c (main): Check it, update expected output.
+
+	xlat: update KVM_* constants.
+	* xlat/kvm_cap.in (KVM_CAP_S390_VCPU_RESETS): New constant, introduced
+	by Linux kernel commit v5.6-rc1~39^2~3^2~3.
+
+	xlat: add ZONEFS_MAGIC to fsmagic.
+	* xlat/fsmagic.in (ZONEFS_MAGIC): New constant, introduced by Linux
+	kernel commit v5.6-rc1~2^2~1.
+
+2020-02-26  Alistair Francis  <alistair.francis@wdc.com>
+
+	tests/clock_nanosleep: Skip test if __NR_clock_nanosleep isn't defined.
+	Modern (added since Linux kernel 5.1+) 32-bit architectures don't have
+	the __NR_clock_nanosleep syscall, if we don't have the syscall let's
+	skip the test.
+
+
+	* tests/clock_nanosleep.c [!__NR_clock_nanosleep]: Skip the test.
+
+2020-02-26  Alistair Francis  <alistair.francis@wdc.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	linux/32: Split 32-bit time_t based syscalls into a separate header.
+
+	Starting with Linux kernel v5.1, new 32-bit architectures
+	do not implement old 32-bit time_t based system calls, so
+	they should not have the corresponding syscallent records.
+
+	* linux/32/syscallent-time32.h: New file, generated using the following
+	command: grep 'timex\?32)' linux/32/syscallent.h
+	* Makefile.am (EXTRA_DIST): Add it.
+	* linux/32/syscallent.h: Replace entries for 32-bit time_t based
+	syscalls with stub comments using the following command:
+	sed -i '/timex\?32)/ s/\(^\[[^]]\+\]\)[^"]*"\([^"]\+\)".*/\/\* \1 \2 \*\//'
+	[HAVE_ARCH_TIME32_SYSCALLS]: Include "32/syscallent-time32.h".
+
+2020-02-24  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: disable seccomp-bpf instead of enabling following forks.
+	It is in line with the rest of the checks that disable seccomp-bpf
+	usage if it is impossible.
+
+	* strace.c (init) <if (seccomp_filtering)>: Rephrase the error
+	if followfork is not set; set seccomp_filtering to false; do not set
+	followfork to true.
+	* tests/options-syntax.test: Update the expected output.
+
+2020-02-24  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: warn about uselessness of -A/--output-separately in absence of -o
+	* strace.c (init) <if (!outfname)>: Print warnings if output_separately
+	and/or open_append.
+	* tests/options-syntax.test: Check this.
+
+	Update NEWS.
+
+	strace: add a long option alias for -t.
+	* strace.c (tflag): Remove.
+	(tflag_scale, tflag_width, tflag_format): New static variables.
+	(printleader): Rewrite time stamp printing to allow custom format
+	and precision.
+	(printleader) <if (rflag)>: Use tflag_format instead of tflag
+	as an indicator for presence of absolute timestamps.
+	(parse_ts_arg): New function.
+	(init) <tflag_str, ttflag_str, tttflag_str>: New static constants.
+	(init) <tflag_long_set, tflag_short>: New variables.
+	(init) <enum>: Add GETOPT_TS.
+	(init) <longopts>: Add "absolute-timestamps" and "timestamps" long
+	options.
+	(init) <case 't'>: Increment tflag_short instead of tflag.
+	(init) <case GETOPT_TS>: Handle the new option using parse_ts_arg.
+	(init): Check if tflag_short is set; if tflag_long_set is set as well,
+	then bail out, otherwise call parse_ts_arg with the appropriate
+	argument; update the message that mentions -t.
+	(usage): Document it.
+	* strace.1.in (.SS Output format): Likewise.
+	* tests/gen_tests.in (strace--absolute-timestamps,
+	strace--absolute-timestamps-format-time,
+	strace--absolute-timestamps-format-time-precision-s,
+	strace--absolute-timestamps-format-time-precision-ms,
+	strace--absolute-timestamps-format-time-precision-us,
+	strace--absolute-timestamps-format-time-precision-ns,
+	strace--absolute-timestamps-format-unix-precision-s,
+	strace--absolute-timestamps-format-unix-precision-ms,
+	strace--absolute-timestamps-format-unix-precision-us,
+	strace--absolute-timestamps-format-unix-precision-ns,
+	strace--relative-timestamps, strace--relative-timestamps-s,
+	strace--relative-timestamps-ms, strace--relative-timestamps-us,
+	strace--relative-timestamps-ns, strace--timestamps,
+	strace--timestamps-time, strace--timestamps-time-s,
+	strace--timestamps-time-ms, strace--timestamps-time-us,
+	strace--timestamps-time-ns, strace--timestamps-unix-s,
+	strace--timestamps-unix-ms, strace--timestamps-unix-us,
+	strace--timestamps-unix-ns): New tests.
+	* tests/options-syntax.test: Add new checks.
+	* tests/strace-t.test: Get the option to check via command-line
+	arguments.
+	* tests/strace-tt.test: Get the precision and option to check
+	via command-line arguments.
+	* tests/strace-ttt.test: Get the precision and option to check
+	via command-line arguments, generate subsec_re appropriately.
+
+2020-02-24  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: establish -qqq as an alias for --quiet=all.
+	Addition of thread-execve and path-resolution quiet flags introduced
+	discrepancy between the -qq and --quiet=all settings; let's establish
+	that -qqq is the ultimate quietness setting and leave the more
+	fine-grained control to the -e quiet/--quiet option.
+
+	* strace.c (init) <qqqflag_qual>: New static constant.
+	(init) Supply qqqflag_qual to qualify_quiet if qflag_short is set to 3
+	or higher.
+	(usage): Document it.
+	* strace.1.in: Likewise.
+	* tests/threads-execve--quiet-thread-execve.c: New file.
+	* tests/threads-execve-q.c: Likewise.
+	* tests/threads-execve-qq.c: Likewise.
+	* tests/threads-execve-qqq.c: Likewise.
+	* tests/.gitignore: Add threads-execve--quiet-thread-execve,
+	threads-execve-q, threads-execve-qq, threads-execve-qqq.
+	* tests/Makefile.am (check_PROGRAMS): Likewise.
+	(threads_execve__quiet_thread_execve_LDADD, threads_execve_q_LDADD,
+	threads_execve_qq_LDADD, threads_execve_qqq_LDADD): New variables.
+	* tests/gen_tests.in (threads-execve--quiet-thread-execve,
+	threads-execve-q, threads-execve-qq, threads-execve-qqq): New tests.
+	* tests/threads-execve.c [!PRINT_EXITED] (PRINT_EXITED): New macro.
+	[!PRINT_SUPERSEDED] (PRINT_SUPERSEDED): Likewise.
+	(thread): Put "superseded by execve in pid"... message printing under
+	PRINT_SUPERSEDED.
+	(main): Put "+++ exited with 0 +++" message printing under PRINT_EXITED.
+	* tests/threads-execve.test: Inject the arguments supplied to the tests
+	into the strace's arguments.
+
+2020-02-24  Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: fix require_min_nproc on systems without nproc.
+	* tests/init.sh (require_min_nproc): Fix typo in the check for nproc
+	that manifests itself in "set -e" mode.
+
+	Fixes: v5.4~59 "tests: skip a few tests on systems with nproc == 1"
+
+2020-02-24  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: add a long option alias for -y.
+	Provide a new qualifier, decode-fds, and add (hopefully) sensible
+	handling for it.
+
+	* defs.h (show_fd_path): Remove declaration.
+	(qualify_decode_fd): New declaration.
+	* filter_qualify.c (decode_fd_set, decode_fd_set_updated): New
+	variables.
+	(decode_fd_str_to_uint, qualify_decode_fd): New functions.
+	(qual_options): Add "decode-fd" and "decode-fds" that are handled
+	by qualify_decode_fd.
+	* number_set.h (enum decode_fd_bits): New enumeration.
+	(decode_fd_set_updated, decode_fd_set): New declarations.
+	* strace.c (show_fd_path): Remove.
+	(init) <yflag_qual, yyflag_qual>: New static constants.
+	(init) <yflag_short>: New local variable.
+	(init) <enum>: Add GETOPT_QUAL_FD.
+	(init) <longopts>: Add "decode-fds" long option.
+	(init) <case 'y'>: Increment yflag_short instead of show_fd_path.
+	(init) <case GETOPT_QUAL_FD>: Call qualify_decode_fd with either optarg
+	or yflag_qual is the former is NULL.
+	(init): Check if yflag_short is set, if decode_fd_set_updated is set
+	as well, bail out, call qualify_decode_fd with the appropriate set
+	otherwise; update the message that mentions -y.
+	(usage): Document it.
+	* strace.1.in (.SS Output format): Likewise.
+	* util.c: Include "number_set.h".
+	(printfd): Rewrite using appropriate is_number_in_set checks.
+	* tests/dev--decode-fds-dev.c: New file.
+	* tests/dev--decode-fds-path.c: Likewise.
+	* tests/dev--decode-fds-socket.c: Likewise.
+	* tests/net--decode-fds-dev-netlink.c: Likewise.
+	* tests/net--decode-fds-none-netlink.c: Likewise.
+	* tests/net--decode-fds-path-netlink.c: Likewise.
+	* tests/net--decode-fds-socket-netlink.c: Likewise.
+	* tests/pidfd_open--decode-fd-path.c: Likewise.
+	* tests/.gitignore: Add dev--decode-fds-dev, dev--decode-fds-path,
+	dev--decode-fds-socket, net--decode-fds-dev-netlink,
+	net--decode-fds-none-netlink, net--decode-fds-path-netlink,
+	net--decode-fds-socket-netlink, and pidfd_open--decode-fd-path.
+	* tests/pure_executables.list: Likewise.
+	* tests/dev-yy.c [!PRINT_DEVNUM] (PRINT_DEVNUM): New macro, define to 1.
+	(DEV_FMT): New macro.
+	(main): Parametrize the output using DEV_FMT in accordance with
+	PRINT_DEVNUM value.
+	* tests/gen_tests.in (dev--decode-fds-dev, dev--decode-fds-path,
+	dev--decode-fds-socket, net--decode-fds-dev-netlink,
+	net--decode-fds-none-netlink, net--decode-fds-path-netlink,
+	net--decode-fds-socket-netlink, pidfd_open--decode-fd-path): New tests.
+	(open_tree-P): Use the long option.
+	* tests/net-yy-netlink.c [!PRINT_SOCK] (PRINT_SOCK): New macro, define
+	to 2.
+	(FMT_UNBOUND, FMT_BOUND, ARG_UNBOUND, ARG_BOUND): New macros, defined
+	based on PRINT_SOCK value.
+	(main): Parametrize the output using FMT_UNBOUND, FMT_BOUND,
+	ARG_UNBOUND, and ARG_BOUND.
+	* tests/net-yy-netlink.test: Append options passed to the test instead
+	of "-yy".
+	* tests/options-syntax.test: Add checks, update expected output.
+
+2020-02-24  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: add a long option aliases for -f and -ff.
+	Introduce a new option, --output-separately, and make -ff an alias
+	for a combination of -f and this new option.
+
+	* defs.h (followfork): Change type to bool.
+	(output_separately): New declaration.
+	* strace.c (followfork): Change type to bool.
+	(output_separately): New variable.
+	(outf_perror, printleader, after_successful_attach, droptcb, init,
+	print_event_exit, print_syscall_resume): Use output_separately
+	instead of followfork check.
+	(init) <followfork_short>: New local variable.
+	(init) <enum>: Add GETOPT_FOLLOWFORKS and GETOPT_OUTPUT_SEPARATELY.
+	(init) <longopts>: Add "follow-forks" and "output-separately" long
+	options.
+	(init) <case 'f'>: Increase followfork_short instead of followfork.
+	(init) <case GETOPT_FOLLOWFORKS>: Set followfork to true.
+	(init) <case GETOPT_OUTPUT_SEPARATELY>: Set output_separately to true.
+	(init): Fail if either both followfork_short and followfork are set,
+	or followfork_short >= 2 and output_separately is set;
+	set followfork/output_separately appropriately otherwise;
+	update the error messages that mention -f/-ff options with the aliases.
+	(init) <if (seccomp_filtering)>: Set followfork to true and not 1.
+	(usage): Document it.
+	* strace.1.in (.SS Tracing): Likewise.
+	* tests/strace--follow-forks-output-separately.expected: New file.
+	* tests/Makefile.am (EXTRA_DIST): Add it.
+	* tests/delay.test: Use --follow-forks instead of -f.
+	* tests/gen_tests.in: Add strace--follow-forks-output-separately test.
+	* tests/looping_threads.test: Use --follow-forks instead of -f.
+	* tests/options-syntax.test: Add --follow-forks-related syntax checks,
+	update the expected output.
+	* tests/strace-ff.test: Add -efu as the interpreter argument; set the
+	arguments to ff_opt variable ("-ff" being the default) and use it
+	instead of -ff in the strace call; put set +f before "set -- "$LOG".*".
+
+2020-02-24  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests/syntax: add suffixes to produced log/exp files.
+	In order to enable inspection of them.
+
+	* tests/syntax.sh (log_sfx): New functions.
+	(check_exit_status_and_stderr, check_exit_status_and_stderr_using_grep):
+	Get suffix from the first argument, append it to LOG/EXP usage instances;
+	open-code dump_log_and_fail_with in order to print the file with the
+	suffix.
+	check_e, check_e_using_grep, check_h): Assign log_sfx result to sfx,
+	append it to LOG/EXP usage instances, pass it to
+	check_exit_status_and_stderr/check_exit_status_and_stderr_using_grep.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: add arguments to --syscall-times and --relative-timestamps.
+	* defs.h (Tflag_scale, Tflag_width): New declarations.
+	* strace.c (Tflag_scale, Tflag_width, rflag_scale, rflag_width): New
+	variables.
+	(printleader): Parametrise relative timestamp printing with rflag_width
+	and rflag_scale.
+	(init) <longopts>: Change second field of "relative-timestamps" and
+	"syscall-times" from no_argument to optional_argument.
+	(init) <case 'r', case 'T'>: Handle optarg, fail if the scale variable
+	is set to -1.
+	(usage): Document it.
+	* strace.1.in (.SS Output format): Likewise.
+	* syscall.c (syscall_exiting_trace): Parametrise syscall time printing
+	* with Tflag_width and Tflag_scale.
+	* tests/gen_tests.in (strace--relative-timestamps-s,
+	strace--relative-timestamps-ms, strace--relative-timestamps-us,
+	strace--relative-timestamps-ns): New tests.
+	* tests/options-syntax.test: New checks for --relative-timestamps and
+	--syscall-times option syntax.
+	* tests/strace--relative-timestamps-ms.expected: New file.
+	* tests/strace--relative-timestamps-ns.expected: Likewise.
+	* tests/strace--relative-timestamps-s.expected: Likewise.
+	* tests/strace--relative-timestamps-us.expected: Likewise.
+	* tests/strace--syscall-times-ms.expected: Likewise.
+	* tests/strace--syscall-times-ns.expected: Likewise.
+	* tests/strace--syscall-times-s.expected: Likewise.
+	* tests/strace--syscall-times-us.expected: Likewise.
+	* tests/Makefile.am (EXTRA_DIST): Add them.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	util: factor out time scale parsing.
+	In preparation of using elsewhere.
+
+	* defs.h (str2timescale_ex): New declaration.
+	(str2timescale_optarg, str2timescale_sfx): New macros.
+	* util.c (str2timescale_ex): New function.
+	(parse_ts): Remove units, unit, assign str2timescale_sfx result to a new
+	variable scale and use it instead of unit->val.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	pathtrace: add a quiet flag for path resolution messages.
+	And also quote the paths.
+
+	* number_set.h (enum quiet_bits): Add QUIET_PATH_RESOLVE.
+	* filter_qualify.c (quietstr_to_uint) <quiet_strs>: Add a string
+	representation for QUIET_PATH_RESOLVE.
+	* pathtrace.c (pathtrace_select_set): Put "Requested path"... message
+	under QUIET_PATH_RESOLVE flag check; process path and rpath with
+	string_quote.
+	* strace.c (usage): Document it.
+	* strace.1.in (.SS Output format) <-e quiet>: Likewise.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: add a quiet flag for "superseded by execve" messages.
+	* filter_qualify.c (quietstr_to_uint) <quiet_strs>: Add
+	a string representation for QUIET_THREAD_EXECVE,
+	* number_set.h (enum quiet_bits): Add QUIET_THREAD_EXECVE.
+	* strace.c (maybe_switch_tcbs): Put message printing under
+	QUIET_THREAD_EXECVE flag check.
+	(usage): Document it.
+	* strace.1.in (.SS Output format) <-e quiet>: Likewise.
+	* tests/maybe_switch_current_tcp--quiet-thread-execve.c: New file.
+	* tests/.gitignore: Add maybe_switch_current_tcp--quiet-thread-execve.
+	* tests/pure_executables.list: Likewise.
+	* tests/Makefile.am (maybe_switch_current_tcp__quiet_thread_execve_LDADD):
+	New variable.
+	* tests/gen_tests.in (maybe_switch_current_tcp--quiet-thread-execve):
+	New test.
+	* tests/maybe_switch_current_tcp.c [!QUIET_MSG] (QUIET_MSG): New macro.
+	(thread): Print "superseded"... message only is QUIET_MSG is 0.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	syscall: print personality switch messages in tcb's output.
+	Personality switch is a rather normal event, it's unclear why it has
+	been always treated as a diagnostics/error information.  Having it under
+	qflag makes even less sense, as it was impossible to get
+	this information when the -o option was used.  With this change,
+	it is at least possible to get it with something like
+
+	    strace -f -o out --quiet=none PROG
+
+	One caveat, though, is its rather odd format, with square brackets,
+	"PID=", and a dot, but it seems that we're stuck with it forever, as it
+	traces back for decades, albeit with a prefix change in commit
+	v4.11~509 ("Consistently use error_msg instead of fprintf(stderr)").
+
+	* syscall.c (update_personality): Use printleader/tprintf/line_ended
+	instead of error_msg.
+	* tests/bexecve.test: Add --quiet=personality to strace invocations.
+	* tests/strace-ff.test: Likewise.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: respect quietness setting when reporting unknown tracees.
+	Since the situations where these processes can appear are relatively
+	normal, it makes little sense to print them irrespective of quietness
+	setting.
+
+	* strace.c (maybe_allocate_tcb): Put the message about exit of unknown
+	process under QUIET_EXIT check; put message about detach of unknown
+	process under QUIET_ATTACH check.
+	* tests/clone_parent--quiet-exit.c: New file.
+	* tests/clone_parent-q.c: Likewise.
+	* tests/clone_parent-qq.c: Likewise.
+	* tests/clone_ptrace--quiet-attach.c: Likewise.
+	* tests/clone_ptrace--quiet-exit.c: Likewise.
+	* tests/clone_ptrace-q.c: Likewise.
+	* tests/clone_ptrace-qq.c: Likewise.
+	* tests/.gitignore: Add clone_parent--quiet-exit, clone_parent-q,
+	clone_parent-qq, clone_ptrace--quiet-attach, clone_ptrace--quiet-exit,
+	clone_ptrace-q, and clone_ptrace-qq.
+	* tests/Makefile.am (check_PROGRAMS): Likewise.
+	* tests/gen_tests.in: Add clone_parent--quiet-exit, clone_parent-q,
+	clone_parent-qq, clone_ptrace--quiet-attach, clone_ptrace--quiet-exit,
+	clone_ptrace-q, and clone_ptrace-qq tests.
+	* tests/clone_parent.c [!QUIET_MSG] (QUIET_MSG): New macro.
+	(main): Print exit messages only if QUIET_MSG set to zero.
+	* tests/clone_ptrace.c [!QUIET_ATTACH] (QUIET_ATTACH): New macro.
+	[!QUIET_EXIT] (QUIET_EXIT): Likewise.
+	(main): Print information about unknown pid detach only if QUIET_ATTACH
+	is 0; print information about process exiting only if QUIET_EXIT is 0.
+	* tests/clone_ptrace.test: Add the first argument to args, add
+	"--quiet=personality" if it is empty.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: add long option aliases for -r, -T, and -O.
+	The last trivial ones.
+
+	* strace.c (init) <longopts>: Add "summary-syscall-overhead" as an alias
+	for 'O', "relative-timestamps" as an alias for 'r', and "syscall-times"
+	as an alias for 'T'.
+	(usage): Document it.
+	* strace.1.in: Likewise.
+	* tests/count.test: Add --summary-syscall-overhead checks.
+	* tests/gen_tests.in: Add strace--relative-timestamps and
+	strace--syscall-times tests.
+	* tests/strace-T.test: Allow passing option to check as the first
+	* argument.
+	* tests/strace-r.test: Likewise.
+	* tests/strace--relative-timestamps.expected: New file.
+	* tests/strace--syscall-times.expected: Likewise.
+	* tests/Makefile.am (EXTRA_DIST): Add them.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace.1: document possible quialifier aliases.
+	* strace.1.in (.SS General) <-e expr>: Document possible aliases
+	for quialifiers.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: add long option aliases for -q.
+	Provide a new qualifier, quiet, and add a (hopefully) sensible handling
+	for it.
+
+	* defs.h (qflag): Remove declaration.
+	(qualify_quiet): New declaration.
+	* filter_qualify.c (quiet_set, quiet_set_updated): New variables.
+	(quietstr_to_uint, qualify_quiet): New functions.
+	(qual_options): Add "quiet", "silence", "silent", "q" that are handled
+	by qualify_quiet.
+	* number_set.h (enum quiet_bits): New enumeration.
+	(quiet_set_updated, quiet_set): New declarations.
+	* strace.c (qflag): Remove.
+	(detach, attach_tcb, maybe_allocate_tcb): Change qflag check to
+	is_number_in_set(QUIET_ATTACH, quiet_set).
+	(init) <qflag_qual, qqflag_qual>: New static constants.
+	(init) <enum>: Add GETOPT_QUAL_QUIET.
+	(init) <longopts>: Add "quiet", "silent", "silence".
+	(init) <case 'q'>: Increment qflag_short instead of qflag.
+	(init) <case GETOPT_QUAL_QUIET>: Call qualify_quiet with either optarg
+	or qflag_qual is the former is NULL.
+	(init) <if (outfname && argc)>: Check qflag_short and quiet_set_updated
+	instead of qflag for changing the default quietness setting.
+	(init): Check if qflag_short is set, if quiet_set_updated is set as well,
+	bail out, call qualify_quiet with the appropriate set otherwise.
+	(print_exited): Change qflag check to
+	is_number_in_set(QUIET_EXIT, quiet_set).
+	(usage): Document it.
+	* strace.1.in: Likewise.
+	* syscall.c (update_personality): Change qflag check to
+	is_number_in_set(QUIET_PERSONALITY, quiet_set).
+	* tests/clone-flags.test: Use --silence=exits instead of -qq.
+	* tests/count-f.test: Use -e silent=attach instead of -q.
+	* tests/options-syntax.test: Add checks.
+	* tests/strace-D.test: Use -e q=attach instead of -q.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: add long option aliases for -x.
+	* defs.h (enum xflag_opts): New enumeration.
+	* strace.c (xflag_str): New static variable.
+	(init) <xflag_long>: New variable.
+	(init) <enum>: Add GETOPT_HEX_STR.
+	(init) <longopts>: Add "string-in-hex" long option.
+	(init) <case GETOPT_HEX_STR>: Parse the argument using find_arg_val.
+	(init): Fail if both xflag_long and xflag are set; copy xflag_long
+	to xflag if only the former is set.
+	(usage): Document it.
+	* strace.1.in: Likewise.
+	* tests/gen_tests.in (strace--strings-in-hex,
+	strace--strings-in-hex-all, strace--strings-in-hex-non-ascii, strace-x,
+	strace-xx): New tests.
+	* tests/pure_executables.list: Add them.
+	* tests/.gitignore: Likewise.
+	* tests/options-syntax.test: Add checks.
+	* tests/strace--strings-in-hex-all.c: New file.
+	* tests/strace--strings-in-hex-non-ascii.c: Likewise.
+	* tests/strace--strings-in-hex.c: Likewise.
+	* tests/strace-x.c: Likewise.
+	* tests/strace-xx.c: Likewise.
+
+	strace: add long option aliases for -z and -Z.
+	* strace.c (init) <longopts>: Add "successful-only" and "failed-only"
+	long options for -z and -Z, respectively.
+	(init): Update the related error message.
+	(usage): Document it.
+	* strace.1.in: Likewise.
+	* tests/options-syntax.test: Add checks, update expected output.
+	* tests/status-failed-long.c: New file.
+	* tests/status-failed-status.c: Likewise.
+	* tests/status-successful-long.c: Likewise.
+	* tests/status-successful-status.c: Likewise.
+	* tests/.gitignore: Add them.
+	* tests/pure_executables.list: Likewise
+	* tests/gen_tests.in (status-failed-long, status-failed-status,
+	status-successful-long, status-successful-status): New tests.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: add --daemonize long option alias for -D.
+	Don't fail those who provide --daemonise or --daemonized as well.
+
+	Since multiple -D instances change behaviour and with long options
+	the last instance wins, it is better just to forbid the simultaneous
+	usage of the short and long option variants.
+
+	* strace.c (daemonize_str): New static constant.
+	(init) <daemonized_tracer_long>: New variable.
+	(init) <enum>: Add GETOPT_DAEMONIZE.
+	(init) <longopts>: Add "daemonize" long option variants.
+	(init) <case GETOPT_DAEMONIZE>: Use find_arg_val for argument parsing.
+	(init): Fail if both daemonized_tracer_long and daemonized_tracer are
+	set; copy daemonized_tracer_long to daemonized_tracer if only the former
+	is set; update the error messages that mention -D option with the alias.
+	(usage): Document it.
+	* strace.1.in: Likewise.
+	* tests/options-syntax.test: Add checks, update existing ones.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: mention long option aliases in error messages.
+	If a user has provided a long option alias, current error messages could
+	be confusing otherwise.
+
+	* strace.c (init): Augment error messages with long option aliases where
+	appropriate.
+	* tests/options-syntax.test: Update expected output.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: print long options in the option error message.
+	If a long option alias is used with incorrect argument, it's better show it
+	in the error message instead of the short option equivalent.
+
+	* strace.c (error_opt_arg): Add lopt argument, print its name
+	if it is non-NULL.
+	(init): Add lopt_idx variable, pass it to getopt_long, set loop-local
+	lopt variable to an option pointer based on lopt_idx; pass lopt
+	in error_opt_arg calls.
+	* tests/options-syntax.test: Update expected output.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: add a long option alias for -I.
+	And add more human-comprehensible values for it.
+
+	* strace.c (parse_interruptible_arg): New function.
+	(init) <longopts>: Add "interruptible" long option alias for 'I'.
+	(init) <case 'I'>: Call parse_interruptible_arg.
+	(usage): Document new long option alias and values.
+	* strace.1.in (parse_interruptible_arg): Likewise.
+	* tests/options-syntax.test: Add checks for the new syntax.
+	* tests/sigblock.test: Introduce -I syntax variety.
+	* tests/sigign.test: Likewise.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	filter_qualify: rewrite statusstr_to_uint using find_xlat_val.
+	* filter_qualify.c (*statuses): Move inside statusstr_to_uint, change
+	the type to const struct xlat_data[], change the initialisation
+	accordingly.
+	(statusstr_to_uint): Call find_arg_val instead of open-coding search
+	in a string array.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	util: rewrite parse_ts suffix matching using find_xlat_val.
+	A known behavioural change is that suffix can have any case, which
+	matches other places of option argument parsing.
+
+	* util.c (parse_ts): Change type of units to struct xlat_data[]; move
+	definition of units variable to its first usage, change its type
+	to const struct xlat_data *; use find_xlat_val instead of open-coding
+	search in units array.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	util: introduce find_xlat_val and find_arg_val.
+	The commonly open-coded snippet throughout the code, especially in the
+	argument parsing code, is searching in a string-value pair array of
+	string, so let's provide a function (or, more precisely, two functions,
+	one generic and another one that targets specifically argument parsing)
+	that does precisely that, on top of existing string-value pair
+	struct xlat_data type.
+
+	* defs.h (enum find_xlat_flag_bits, enum find_xlat_flags): New
+	enumerations.
+	(find_xlat_val_ex, find_arg_val_): New declarations.
+	(find_xlat_val, find_xlat_val_case, find_arg_val): New macros.
+	* util.c (find_xlat_val_ex, find_arg_val_): New functions.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	syscall: handle fd printing regardless of show_fd_path setting.
+	As of now, the way the higher 32 bits of the syscall return value
+	are printed depends on the show_fd_path (-y) setting: if it is set,
+	they are trimmed, which is pretty inconsistent.
+
+	* syscall.c (syscall_exiting_trace) <case RVAL_FD>: Check if tcp->u_rval
+	fits in int before passing it to printfd instead of a (redundant) show_fd_path
+	check (that is also done inside printfd itself).
+	* tests/bpf-success-long-y.c: New file.
+	* tests/bpf-success-long-y.test: New test.
+	* tests/.gitignore: Add bpf-success-long-y.
+	* tests/Makefile.am (check_PROGRAMS): Likewise.
+	(DECODER_TESTS): Add bpf-success-long-y.test.
+	* tests/bpf.c [!FD0_PATH] (FD0_PATH): New macro.
+	[INJECT_RETVAL] (sys_bpf): Print INJECT_RETVAL as long.
+	(BPF_MAP_CREATE_checks, BPF_OBJ_PIN_checks, BPF_OBJ_PIN_checks,
+	BPF_PROG_ATTACH_checks, BPF_RAW_TRACEPOINT_OPEN_checks,
+	BPF_TASK_FD_QUERY_checks): Append FD0_PATH to places where fd 0
+	is printed.
+	(print_BPF_PROG_QUERY_attr4, print_BPF_PROG_QUERY_attr5): Do not
+	conditionalise part of the strings with INJECT_RETVAL > 0, as we always
+	inject positive values so far.
+
+2020-02-19  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests/io_uring_register: properly handle big endian architectures.
+	tests/io_uring_register.c (BE_LE): New macro.
+	(main): Use BE_LE to select the address to print based on endianness.
+
+	Fixes: v5.5~41 "io_uring: add support for IORING_REGISTER_FILES_UPDATE"
+
+2020-02-12  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace: typo in usage (s/milliseconds/microseconds/)
+	* strace.c (usage): s/milliseconds/microseconds/
+
+	Fixes: v5.5~14 "strace: describe -e options in the help message"
+
+2020-02-12  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	printrusage: bundle rusage_t definition.
+	* printrusage.c (struct kernel_old_timeval, rusage_t): New type
+	definitions.
+	* configure.ac (AC_CHECK_MEMBERS): Check for __ru_maxrss_word,
+	__ru_ixrss_word, __ru_idrss_word, __ru_isrss_word, __ru_minflt_word,
+	__ru_majflt_word, __ru_nswap_word, __ru_inblock_word, __ru_oublock_word,
+	__ru_msgsnd_word, __ru_msgrcv_word, __ru_nsignals_word, __ru_nvcsw_word,
+	and __ru_nivcsw_word members of struct rusage.
+	* tests/waitid.c (RU_MAXRSS, RU_IXRSS, RU_IDRSS, RU_ISRSS, RU_MINFLT,
+	RU_MAJFLT, RU_NSWAP, RU_INBLOCK, RU_OUBLOCK, RU_MSGSND, RU_MSGRCV,
+	RU_NSIGNALS, RU_NVCSW, RU_NIVCSW): New macros.
+	(sprint_rusage): Use them instead of the respective ru_* field names.
+
+	Resolves: https://github.com/strace/strace/issues/122
+
+2020-02-10  Eugene Syromyatnikov  <evgsyr@gmail.com>
+	    Dmitry V. Levin  <ldv@altlinux.org>
+
+	tests: fail if patterns file is not readable in match_grep.
+	Otherwise, the test will not fail if the patterns file is missing.
+
+	* tests/init.sh (match_grep): Fail in case of non-zero exit status
+	of the read loop.
+
+2020-02-10  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests: turn clone_parent into a generated test.
+	clone_parent.tests does nothing, only sources clone_ptrace.
+
+	* tests/clone_parent.test: Remove.
+	* tests/Makefile.am (MISC_TESTS): Remove clone_parent.test.
+	* tests/gen_tests.in (clone_parent): New entry.
+
+2020-02-10  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	tests: support --trace syntax in run_strace_match_{diff,grep}
+	* tests/init.sh (run_strace_match_diff, run_strace_match_grep): Do not
+	add -e trace option if --trace is provided already.
+
+2020-02-10  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace --help: document long option aliases of -w and -X options.
+	* strace.c (usage): Document --summary-wall-clock as the long option
+	alias of -w option; document --const-print-style as the long option
+	alias of -X option.
+
+	Fixes: v5.5~11 "Add long option aliases to some options"
+
+2020-02-10  Eugene Syromyatnikov  <evgsyr@gmail.com>
+
+	strace --help: add missing newline before "Miscellaneous:"
+	* strace (usage): Add newline before "Miscellaneous:".
+
+	Fixes: v5.5~14 "strace: describe -e options in the help message"
+
+2020-02-10  MaJun  <majun258@linux.alibaba.com>
+
+	csky abiv1: fix compilation error.
+	struct pt_regs has no member r1, only a1.
+
+	* linux/csky/get_scno.c (arch_get_scno) [!__CSKYABIV2__]: Replace
+	csky_regs.r1 with csky_regs.a1.
+	* linux/csky/set_scno.c (arch_set_scno) [!__CSKYABIV2__]: Likewise.
+	* NEWS: Mention this fix.
+
+	Fixes: v5.1~99 "Add C-SKY architecture support"
+
+2020-02-10  Dmitry V. Levin  <ldv@altlinux.org>
+
+	Post-release administrivia.
+	* NEWS: Add a header line for the next release.
+	* debian/changelog.in: Add a changelog entry for 5.5-1.
+	* strace.spec.in: Likewise.
+
 2020-02-06  Dmitry V. Levin  <ldv@altlinux.org>
 
 	Prepare for 5.5 release.
diff -pruN 5.5-3/clone.c 5.9-0ubuntu2/clone.c
--- 5.5-3/clone.c	2020-02-06 15:16:17.000000000 +0000
+++ 5.9-0ubuntu2/clone.c	2020-08-25 14:29:30.000000000 +0000
@@ -114,14 +114,14 @@ SYS_FUNC(clone)
 		 */
 		if ((flags & (CLONE_PARENT_SETTID|CLONE_PIDFD|CLONE_CHILD_SETTID
 			      |CLONE_CHILD_CLEARTID|CLONE_SETTLS)) == 0)
-			return RVAL_DECODED;
+			return RVAL_DECODED | RVAL_TID;
 	} else {
 		if (flags & (CLONE_PARENT_SETTID|CLONE_PIDFD)) {
 			kernel_ulong_t addr = tcp->u_arg[ARG_PTID];
 
 			tprints(", parent_tid=");
 			if (flags & CLONE_PARENT_SETTID)
-				printnum_int(tcp, addr, "%u");
+				printnum_pid(tcp, addr, PT_TID);
 			else
 				printnum_fd(tcp, addr);
 		}
@@ -134,89 +134,24 @@ SYS_FUNC(clone)
 			printaddr(tcp->u_arg[ARG_CTID]);
 		}
 	}
-	return 0;
+	return RVAL_TID;
 }
 
 
 struct strace_clone_args {
 	uint64_t flags;
-	uint64_t /* int * */ pidfd;
-	uint64_t /* int * */ child_tid;
-	uint64_t /* int * */ parent_tid;
-	uint64_t /* int */   exit_signal;
-	uint64_t stack;
+	uint64_t /* fd * */    pidfd;
+	uint64_t /* pid_t * */ child_tid;
+	uint64_t /* pid_t * */ parent_tid;
+	uint64_t /* int */     exit_signal;
+	uint64_t /* void * */  stack;
 	uint64_t stack_size;
-	uint64_t tls;
-	uint64_t set_tid;
+	uint64_t /* struct user_desc * / void * */ tls;
+	uint64_t /* pid_t * */ set_tid;
 	uint64_t set_tid_size;
+	uint64_t cgroup;
 };
 
-/**
- * Print a region of tracee memory only in case non-zero bytes are present
- * there.  It almost fits into printstr_ex, but it has some pretty specific
- * behaviour peculiarities (like printing of ellipsis on error) to readily
- * integrate it there.
- *
- * Since it is expected to be used for printing tail of a structure in tracee's
- * memory, it accepts a combination of start_addr/start_offs/total_len and does
- * the relevant calculations itself.
- *
- * @param prefix     A string printed in cases something is going to be printed.
- * @param start_addr Address of the beginning of a structure (whose tail
- *                   is supposedly to be printed) in tracee's memory.
- * @param start_offs Offset from the beginning of the structure where the tail
- *                   data starts.
- * @param total_len  Total size of the tracee's memory region containing
- *                   the structure and the tail data.
- *                   Caller is responsible for imposing a sensible (usually
- *                   mandated by the kernel interface, like get_pagesize())
- *                   limit here.
- * @param style      Passed to string_quote as "style" parameter.
- * @return           Returns true is anything was printed, false otherwise.
- */
-static bool
-print_nonzero_bytes(struct tcb *const tcp, const char *prefix,
-		    const kernel_ulong_t start_addr,
-		    const unsigned int start_offs,
-		    const unsigned int total_len,
-		    const unsigned int style)
-{
-	if (start_offs >= total_len)
-		return false;
-
-	const kernel_ulong_t addr = start_addr + start_offs;
-	const unsigned int len = total_len - start_offs;
-	const unsigned int size = MIN(len, max_strlen);
-
-	char *str = malloc(len);
-
-	if (!str) {
-		error_func_msg("memory exhausted when tried to allocate"
-                               " %u bytes", len);
-		tprintf("%s???", prefix);
-		return true;
-	}
-
-	bool ret = true;
-
-	if (umoven(tcp, addr, len, str)) {
-		tprintf("%s???", prefix);
-	} else if (is_filled(str, 0, len)) {
-		ret = false;
-	} else {
-		tprints(prefix);
-		tprintf("/* bytes %u..%u */ ", start_offs, total_len - 1);
-
-		print_quoted_string(str, size, style);
-
-		if (size < len)
-			tprints("...");
-	}
-
-	free(str);
-	return ret;
-}
-
 SYS_FUNC(clone3)
 {
 	static const size_t minsz = offsetofend(struct strace_clone_args, tls);
@@ -281,6 +216,10 @@ SYS_FUNC(clone3)
 			PRINT_FIELD_U(", ", arg, set_tid_size);
 		}
 
+		if (fetch_size > offsetof(struct strace_clone_args, cgroup)
+		    && (arg.cgroup || arg.flags & CLONE_INTO_CGROUP))
+			PRINT_FIELD_U(", ", arg, cgroup);
+
 		if (size > fetch_size)
 			print_nonzero_bytes(tcp, ", ", addr, fetch_size,
 					    MIN(size, get_pagesize()),
@@ -290,7 +229,7 @@ SYS_FUNC(clone3)
 
 		if ((arg.flags & (CLONE_PIDFD | CLONE_PARENT_SETTID)) ||
 		    (size > fetch_size))
-			return 0;
+			return RVAL_TID;
 
 		goto out;
 	}
@@ -317,7 +256,7 @@ SYS_FUNC(clone3)
 
 	if (arg.flags & CLONE_PARENT_SETTID) {
 		tprintf("%sparent_tid=", pfx);
-		printnum_int(tcp, arg.parent_tid, "%d"); /* TID */
+		printnum_pid(tcp, arg.parent_tid, PT_TID);
 		pfx = ", ";
 	}
 
@@ -340,7 +279,7 @@ SYS_FUNC(clone3)
 out:
 	tprintf(", %" PRI_klu, size);
 
-	return RVAL_DECODED;
+	return RVAL_DECODED | RVAL_TID;
 }
 
 
@@ -361,5 +300,5 @@ SYS_FUNC(unshare)
 
 SYS_FUNC(fork)
 {
-	return RVAL_DECODED;
+	return RVAL_DECODED | RVAL_TGID;
 }
diff -pruN 5.5-3/close_range.c 5.9-0ubuntu2/close_range.c
--- 5.5-3/close_range.c	1970-01-01 00:00:00.000000000 +0000
+++ 5.9-0ubuntu2/close_range.c	2020-09-06 08:00:00.000000000 +0000
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2020 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
+#include "defs.h"
+#ifdef HAVE_LINUX_CLOSE_RANGE_H
+# include <linux/close_range.h>
+#endif
+#include "xlat/close_range_flags.h"
+
+SYS_FUNC(close_range)
+{
+	printfd(tcp, tcp->u_arg[0]);
+	tprints(", ");
+	printfd(tcp, tcp->u_arg[1]);
+	tprints(", ");
+	printflags(close_range_flags, tcp->u_arg[2], "CLOSE_RANGE_???");
+	return RVAL_DECODED;
+}
diff -pruN 5.5-3/compile 5.9-0ubuntu2/compile
--- 5.5-3/compile	2020-02-06 16:23:34.000000000 +0000
+++ 5.9-0ubuntu2/compile	2020-09-24 09:18:59.000000000 +0000
@@ -3,7 +3,7 @@
 
 scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1999-2018 Free Software Foundation, Inc.
+# Copyright (C) 1999-2020 Free Software Foundation, Inc.
 # Written by Tom Tromey <tromey@cygnus.com>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -53,7 +53,7 @@ func_file_conv ()
 	  MINGW*)
 	    file_conv=mingw
 	    ;;
-	  CYGWIN*)
+	  CYGWIN* | MSYS*)
 	    file_conv=cygwin
 	    ;;
 	  *)
@@ -67,7 +67,7 @@ func_file_conv ()
 	mingw/*)
 	  file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
 	  ;;
-	cygwin/*)
+	cygwin/* | msys/*)
 	  file=`cygpath -m "$file" || echo "$file"`
 	  ;;
 	wine/*)
diff -pruN 5.5-3/config.h.in 5.9-0ubuntu2/config.h.in
--- 5.5-3/config.h.in	2020-02-06 16:23:34.000000000 +0000
+++ 5.9-0ubuntu2/config.h.in	2020-09-24 09:18:59.000000000 +0000
@@ -72,14 +72,54 @@
    if you don't. */
 #undef HAVE_DECL_BTRFS_COMPRESS_ZLIB
 
+/* Define to 1 if you have the declaration of `BTRFS_COMPRESS_ZSTD', and to 0
+   if you don't. */
+#undef HAVE_DECL_BTRFS_COMPRESS_ZSTD
+
+/* Define to 1 if you have the declaration of `CLOSE_RANGE_UNSHARE', and to 0
+   if you don't. */
+#undef HAVE_DECL_CLOSE_RANGE_UNSHARE
+
+/* Define to 1 if you have the declaration of `CTL_ABI', and to 0 if you
+   don't. */
+#undef HAVE_DECL_CTL_ABI
+
 /* Define to 1 if you have the declaration of `CTL_ARLAN', and to 0 if you
    don't. */
 #undef HAVE_DECL_CTL_ARLAN
 
+/* Define to 1 if you have the declaration of `CTL_BUS', and to 0 if you
+   don't. */
+#undef HAVE_DECL_CTL_BUS
+
+/* Define to 1 if you have the declaration of `CTL_CPU', and to 0 if you
+   don't. */
+#undef HAVE_DECL_CTL_CPU
+
+/* Define to 1 if you have the declaration of `CTL_DEBUG', and to 0 if you
+   don't. */
+#undef HAVE_DECL_CTL_DEBUG
+
+/* Define to 1 if you have the declaration of `CTL_DEV', and to 0 if you
+   don't. */
+#undef HAVE_DECL_CTL_DEV
+
 /* Define to 1 if you have the declaration of `CTL_FRV', and to 0 if you
    don't. */
 #undef HAVE_DECL_CTL_FRV
 
+/* Define to 1 if you have the declaration of `CTL_FS', and to 0 if you don't.
+   */
+#undef HAVE_DECL_CTL_FS
+
+/* Define to 1 if you have the declaration of `CTL_KERN', and to 0 if you
+   don't. */
+#undef HAVE_DECL_CTL_KERN
+
+/* Define to 1 if you have the declaration of `CTL_NET', and to 0 if you
+   don't. */
+#undef HAVE_DECL_CTL_NET
+
 /* Define to 1 if you have the declaration of `CTL_PM', and to 0 if you don't.
    */
 #undef HAVE_DECL_CTL_PM
@@ -96,22 +136,274 @@
    don't. */
 #undef HAVE_DECL_CTL_SUNRPC
 
+/* Define to 1 if you have the declaration of `CTL_VM', and to 0 if you don't.
+   */
+#undef HAVE_DECL_CTL_VM
+
+/* Define to 1 if you have the declaration of `IFLA_ADDRESS', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_ADDRESS
+
 /* Define to 1 if you have the declaration of `IFLA_AF_SPEC', and to 0 if you
    don't. */
 #undef HAVE_DECL_IFLA_AF_SPEC
 
+/* Define to 1 if you have the declaration of `IFLA_ALT_IFNAME', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_ALT_IFNAME
+
+/* Define to 1 if you have the declaration of `IFLA_BROADCAST', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_BROADCAST
+
+/* Define to 1 if you have the declaration of `IFLA_CARRIER', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_CARRIER
+
+/* Define to 1 if you have the declaration of `IFLA_CARRIER_CHANGES', and to 0
+   if you don't. */
+#undef HAVE_DECL_IFLA_CARRIER_CHANGES
+
+/* Define to 1 if you have the declaration of `IFLA_CARRIER_DOWN_COUNT', and
+   to 0 if you don't. */
+#undef HAVE_DECL_IFLA_CARRIER_DOWN_COUNT
+
+/* Define to 1 if you have the declaration of `IFLA_CARRIER_UP_COUNT', and to
+   0 if you don't. */
+#undef HAVE_DECL_IFLA_CARRIER_UP_COUNT
+
+/* Define to 1 if you have the declaration of `IFLA_COST', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_COST
+
+/* Define to 1 if you have the declaration of `IFLA_EVENT', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_EVENT
+
+/* Define to 1 if you have the declaration of `IFLA_EXT_MASK', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_EXT_MASK
+
+/* Define to 1 if you have the declaration of `IFLA_GROUP', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_GROUP
+
+/* Define to 1 if you have the declaration of `IFLA_GSO_MAX_SEGS', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_GSO_MAX_SEGS
+
+/* Define to 1 if you have the declaration of `IFLA_GSO_MAX_SIZE', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_GSO_MAX_SIZE
+
+/* Define to 1 if you have the declaration of `IFLA_IFALIAS', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_IFALIAS
+
+/* Define to 1 if you have the declaration of `IFLA_IFNAME', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_IFNAME
+
+/* Define to 1 if you have the declaration of `IFLA_IF_NETNSID', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_IF_NETNSID
+
+/* Define to 1 if you have the declaration of `IFLA_LINK', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_LINK
+
+/* Define to 1 if you have the declaration of `IFLA_LINKINFO', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_LINKINFO
+
+/* Define to 1 if you have the declaration of `IFLA_LINKMODE', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_LINKMODE
+
+/* Define to 1 if you have the declaration of `IFLA_LINK_NETNSID', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_LINK_NETNSID
+
+/* Define to 1 if you have the declaration of `IFLA_MAP', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_MAP
+
+/* Define to 1 if you have the declaration of `IFLA_MASTER', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_MASTER
+
+/* Define to 1 if you have the declaration of `IFLA_MAX_MTU', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_MAX_MTU
+
+/* Define to 1 if you have the declaration of `IFLA_MIN_MTU', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_MIN_MTU
+
+/* Define to 1 if you have the declaration of `IFLA_MTU', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_MTU
+
+/* Define to 1 if you have the declaration of `IFLA_NET_NS_FD', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_NET_NS_FD
+
+/* Define to 1 if you have the declaration of `IFLA_NET_NS_PID', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_NET_NS_PID
+
+/* Define to 1 if you have the declaration of `IFLA_NEW_IFINDEX', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_NEW_IFINDEX
+
+/* Define to 1 if you have the declaration of `IFLA_NEW_NETNSID', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_NEW_NETNSID
+
+/* Define to 1 if you have the declaration of `IFLA_NUM_RX_QUEUES', and to 0
+   if you don't. */
+#undef HAVE_DECL_IFLA_NUM_RX_QUEUES
+
+/* Define to 1 if you have the declaration of `IFLA_NUM_TX_QUEUES', and to 0
+   if you don't. */
+#undef HAVE_DECL_IFLA_NUM_TX_QUEUES
+
+/* Define to 1 if you have the declaration of `IFLA_NUM_VF', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_NUM_VF
+
+/* Define to 1 if you have the declaration of `IFLA_OPERSTATE', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_OPERSTATE
+
+/* Define to 1 if you have the declaration of `IFLA_PAD', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_PAD
+
+/* Define to 1 if you have the declaration of `IFLA_PERM_ADDRESS', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_PERM_ADDRESS
+
+/* Define to 1 if you have the declaration of `IFLA_PHYS_PORT_ID', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_PHYS_PORT_ID
+
+/* Define to 1 if you have the declaration of `IFLA_PHYS_PORT_NAME', and to 0
+   if you don't. */
+#undef HAVE_DECL_IFLA_PHYS_PORT_NAME
+
+/* Define to 1 if you have the declaration of `IFLA_PHYS_SWITCH_ID', and to 0
+   if you don't. */
+#undef HAVE_DECL_IFLA_PHYS_SWITCH_ID
+
 /* Define to 1 if you have the declaration of `IFLA_PORT_SELF', and to 0 if
    you don't. */
 #undef HAVE_DECL_IFLA_PORT_SELF
 
+/* Define to 1 if you have the declaration of `IFLA_PRIORITY', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_PRIORITY
+
+/* Define to 1 if you have the declaration of `IFLA_PROMISCUITY', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_PROMISCUITY
+
+/* Define to 1 if you have the declaration of `IFLA_PROP_LIST', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_PROP_LIST
+
 /* Define to 1 if you have the declaration of `IFLA_PROTINFO', and to 0 if you
    don't. */
 #undef HAVE_DECL_IFLA_PROTINFO
 
+/* Define to 1 if you have the declaration of `IFLA_PROTO_DOWN', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_PROTO_DOWN
+
+/* Define to 1 if you have the declaration of `IFLA_PROTO_DOWN_REASON', and to
+   0 if you don't. */
+#undef HAVE_DECL_IFLA_PROTO_DOWN_REASON
+
+/* Define to 1 if you have the declaration of `IFLA_QDISC', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_QDISC
+
+/* Define to 1 if you have the declaration of `IFLA_STATS', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_STATS
+
+/* Define to 1 if you have the declaration of `IFLA_STATS64', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_STATS64
+
+/* Define to 1 if you have the declaration of `IFLA_TXQLEN', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_TXQLEN
+
+/* Define to 1 if you have the declaration of `IFLA_UNSPEC', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_UNSPEC
+
+/* Define to 1 if you have the declaration of `IFLA_VFINFO_LIST', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_VFINFO_LIST
+
+/* Define to 1 if you have the declaration of `IFLA_VF_PORTS', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_VF_PORTS
+
+/* Define to 1 if you have the declaration of `IFLA_WEIGHT', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_WEIGHT
+
+/* Define to 1 if you have the declaration of `IFLA_WIRELESS', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_WIRELESS
+
 /* Define to 1 if you have the declaration of `IFLA_XDP', and to 0 if you
    don't. */
 #undef HAVE_DECL_IFLA_XDP
 
+/* Define to 1 if you have the declaration of `IFLA_XDP_ATTACHED', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_XDP_ATTACHED
+
+/* Define to 1 if you have the declaration of `IFLA_XDP_DRV_PROG_ID', and to 0
+   if you don't. */
+#undef HAVE_DECL_IFLA_XDP_DRV_PROG_ID
+
+/* Define to 1 if you have the declaration of `IFLA_XDP_EXPECTED_FD', and to 0
+   if you don't. */
+#undef HAVE_DECL_IFLA_XDP_EXPECTED_FD
+
+/* Define to 1 if you have the declaration of `IFLA_XDP_FD', and to 0 if you
+   don't. */
+#undef HAVE_DECL_IFLA_XDP_FD
+
+/* Define to 1 if you have the declaration of `IFLA_XDP_FLAGS', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_XDP_FLAGS
+
+/* Define to 1 if you have the declaration of `IFLA_XDP_HW_PROG_ID', and to 0
+   if you don't. */
+#undef HAVE_DECL_IFLA_XDP_HW_PROG_ID
+
+/* Define to 1 if you have the declaration of `IFLA_XDP_PROG_ID', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_XDP_PROG_ID
+
+/* Define to 1 if you have the declaration of `IFLA_XDP_SKB_PROG_ID', and to 0
+   if you don't. */
+#undef HAVE_DECL_IFLA_XDP_SKB_PROG_ID
+
+/* Define to 1 if you have the declaration of `IFLA_XDP_UNSPEC', and to 0 if
+   you don't. */
+#undef HAVE_DECL_IFLA_XDP_UNSPEC
+
+/* Define to 1 if you have the declaration of `KERN_ACCT', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_ACCT
+
 /* Define to 1 if you have the declaration of `KERN_ACPI_VIDEO_FLAGS', and to
    0 if you don't. */
 #undef HAVE_DECL_KERN_ACPI_VIDEO_FLAGS
@@ -120,10 +412,42 @@
    if you don't. */
 #undef HAVE_DECL_KERN_BOOTLOADER_TYPE
 
+/* Define to 1 if you have the declaration of `KERN_CADPID', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_CADPID
+
 /* Define to 1 if you have the declaration of `KERN_COMPAT_LOG', and to 0 if
    you don't. */
 #undef HAVE_DECL_KERN_COMPAT_LOG
 
+/* Define to 1 if you have the declaration of `KERN_CORE_PATTERN', and to 0 if
+   you don't. */
+#undef HAVE_DECL_KERN_CORE_PATTERN
+
+/* Define to 1 if you have the declaration of `KERN_CORE_USES_PID', and to 0
+   if you don't. */
+#undef HAVE_DECL_KERN_CORE_USES_PID
+
+/* Define to 1 if you have the declaration of `KERN_CTLALTDEL', and to 0 if
+   you don't. */
+#undef HAVE_DECL_KERN_CTLALTDEL
+
+/* Define to 1 if you have the declaration of `KERN_DOMAINNAME', and to 0 if
+   you don't. */
+#undef HAVE_DECL_KERN_DOMAINNAME
+
+/* Define to 1 if you have the declaration of `KERN_HOTPLUG', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_HOTPLUG
+
+/* Define to 1 if you have the declaration of `KERN_HPPA_PWRSW', and to 0 if
+   you don't. */
+#undef HAVE_DECL_KERN_HPPA_PWRSW
+
+/* Define to 1 if you have the declaration of `KERN_HPPA_UNALIGNED', and to 0
+   if you don't. */
+#undef HAVE_DECL_KERN_HPPA_UNALIGNED
+
 /* Define to 1 if you have the declaration of `KERN_HZ_TIMER', and to 0 if you
    don't. */
 #undef HAVE_DECL_KERN_HZ_TIMER
@@ -132,10 +456,42 @@
    if you don't. */
 #undef HAVE_DECL_KERN_IA64_UNALIGNED
 
+/* Define to 1 if you have the declaration of `KERN_IEEE_EMULATION_WARNINGS',
+   and to 0 if you don't. */
+#undef HAVE_DECL_KERN_IEEE_EMULATION_WARNINGS
+
 /* Define to 1 if you have the declaration of `KERN_MAX_LOCK_DEPTH', and to 0
    if you don't. */
 #undef HAVE_DECL_KERN_MAX_LOCK_DEPTH
 
+/* Define to 1 if you have the declaration of `KERN_MAX_THREADS', and to 0 if
+   you don't. */
+#undef HAVE_DECL_KERN_MAX_THREADS
+
+/* Define to 1 if you have the declaration of `KERN_MODPROBE', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_MODPROBE
+
+/* Define to 1 if you have the declaration of `KERN_MSGMAX', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_MSGMAX
+
+/* Define to 1 if you have the declaration of `KERN_MSGMNB', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_MSGMNB
+
+/* Define to 1 if you have the declaration of `KERN_MSGMNI', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_MSGMNI
+
+/* Define to 1 if you have the declaration of `KERN_MSGPOOL', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_MSGPOOL
+
+/* Define to 1 if you have the declaration of `KERN_NAMETRANS', and to 0 if
+   you don't. */
+#undef HAVE_DECL_KERN_NAMETRANS
+
 /* Define to 1 if you have the declaration of `KERN_NGROUPS_MAX', and to 0 if
    you don't. */
 #undef HAVE_DECL_KERN_NGROUPS_MAX
@@ -144,10 +500,42 @@
    you don't. */
 #undef HAVE_DECL_KERN_NMI_WATCHDOG
 
+/* Define to 1 if you have the declaration of `KERN_NODENAME', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_NODENAME
+
+/* Define to 1 if you have the declaration of `KERN_OSRELEASE', and to 0 if
+   you don't. */
+#undef HAVE_DECL_KERN_OSRELEASE
+
+/* Define to 1 if you have the declaration of `KERN_OSREV', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_OSREV
+
+/* Define to 1 if you have the declaration of `KERN_OSTYPE', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_OSTYPE
+
+/* Define to 1 if you have the declaration of `KERN_OVERFLOWGID', and to 0 if
+   you don't. */
+#undef HAVE_DECL_KERN_OVERFLOWGID
+
+/* Define to 1 if you have the declaration of `KERN_OVERFLOWUID', and to 0 if
+   you don't. */
+#undef HAVE_DECL_KERN_OVERFLOWUID
+
+/* Define to 1 if you have the declaration of `KERN_PANIC', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_PANIC
+
 /* Define to 1 if you have the declaration of `KERN_PANIC_ON_NMI', and to 0 if
    you don't. */
 #undef HAVE_DECL_KERN_PANIC_ON_NMI
 
+/* Define to 1 if you have the declaration of `KERN_PANIC_ON_OOPS', and to 0
+   if you don't. */
+#undef HAVE_DECL_KERN_PANIC_ON_OOPS
+
 /* Define to 1 if you have the declaration of `KERN_PANIC_ON_WARN', and to 0
    if you don't. */
 #undef HAVE_DECL_KERN_PANIC_ON_WARN
@@ -156,6 +544,30 @@
    you don't. */
 #undef HAVE_DECL_KERN_PANIC_PRINT
 
+/* Define to 1 if you have the declaration of `KERN_PIDMAX', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_PIDMAX
+
+/* Define to 1 if you have the declaration of `KERN_PPC_HTABRECLAIM', and to 0
+   if you don't. */
+#undef HAVE_DECL_KERN_PPC_HTABRECLAIM
+
+/* Define to 1 if you have the declaration of `KERN_PPC_L2CR', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_PPC_L2CR
+
+/* Define to 1 if you have the declaration of `KERN_PPC_POWERSAVE_NAP', and to
+   0 if you don't. */
+#undef HAVE_DECL_KERN_PPC_POWERSAVE_NAP
+
+/* Define to 1 if you have the declaration of `KERN_PPC_ZEROPAGED', and to 0
+   if you don't. */
+#undef HAVE_DECL_KERN_PPC_ZEROPAGED
+
+/* Define to 1 if you have the declaration of `KERN_PRINTK', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_PRINTK
+
 /* Define to 1 if you have the declaration of `KERN_PRINTK_RATELIMIT', and to
    0 if you don't. */
 #undef HAVE_DECL_KERN_PRINTK_RATELIMIT
@@ -164,30 +576,102 @@
    and to 0 if you don't. */
 #undef HAVE_DECL_KERN_PRINTK_RATELIMIT_BURST
 
+/* Define to 1 if you have the declaration of `KERN_PROF', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_PROF
+
 /* Define to 1 if you have the declaration of `KERN_PTY', and to 0 if you
    don't. */
 #undef HAVE_DECL_KERN_PTY
 
+/* Define to 1 if you have the declaration of `KERN_RANDOM', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_RANDOM
+
 /* Define to 1 if you have the declaration of `KERN_RANDOMIZE', and to 0 if
    you don't. */
 #undef HAVE_DECL_KERN_RANDOMIZE
 
+/* Define to 1 if you have the declaration of `KERN_REALROOTDEV', and to 0 if
+   you don't. */
+#undef HAVE_DECL_KERN_REALROOTDEV
+
+/* Define to 1 if you have the declaration of `KERN_RTSIGMAX', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_RTSIGMAX
+
+/* Define to 1 if you have the declaration of `KERN_RTSIGNR', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_RTSIGNR
+
+/* Define to 1 if you have the declaration of `KERN_S390_USER_DEBUG_LOGGING',
+   and to 0 if you don't. */
+#undef HAVE_DECL_KERN_S390_USER_DEBUG_LOGGING
+
+/* Define to 1 if you have the declaration of `KERN_SECUREMASK', and to 0 if
+   you don't. */
+#undef HAVE_DECL_KERN_SECUREMASK
+
+/* Define to 1 if you have the declaration of `KERN_SEM', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_SEM
+
 /* Define to 1 if you have the declaration of `KERN_SETUID_DUMPABLE', and to 0
    if you don't. */
 #undef HAVE_DECL_KERN_SETUID_DUMPABLE
 
+/* Define to 1 if you have the declaration of `KERN_SG_BIG_BUFF', and to 0 if
+   you don't. */
+#undef HAVE_DECL_KERN_SG_BIG_BUFF
+
+/* Define to 1 if you have the declaration of `KERN_SHMALL', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_SHMALL
+
+/* Define to 1 if you have the declaration of `KERN_SHMMAX', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_SHMMAX
+
+/* Define to 1 if you have the declaration of `KERN_SHMMNI', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_SHMMNI
+
+/* Define to 1 if you have the declaration of `KERN_SHMPATH', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_SHMPATH
+
+/* Define to 1 if you have the declaration of `KERN_SPARC_REBOOT', and to 0 if
+   you don't. */
+#undef HAVE_DECL_KERN_SPARC_REBOOT
+
 /* Define to 1 if you have the declaration of `KERN_SPARC_SCONS_PWROFF', and
    to 0 if you don't. */
 #undef HAVE_DECL_KERN_SPARC_SCONS_PWROFF
 
+/* Define to 1 if you have the declaration of `KERN_SPARC_STOP_A', and to 0 if
+   you don't. */
+#undef HAVE_DECL_KERN_SPARC_STOP_A
+
 /* Define to 1 if you have the declaration of `KERN_SPIN_RETRY', and to 0 if
    you don't. */
 #undef HAVE_DECL_KERN_SPIN_RETRY
 
+/* Define to 1 if you have the declaration of `KERN_SYSRQ', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_SYSRQ
+
+/* Define to 1 if you have the declaration of `KERN_TAINTED', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_TAINTED
+
 /* Define to 1 if you have the declaration of `KERN_UNKNOWN_NMI_PANIC', and to
    0 if you don't. */
 #undef HAVE_DECL_KERN_UNKNOWN_NMI_PANIC
 
+/* Define to 1 if you have the declaration of `KERN_VERSION', and to 0 if you
+   don't. */
+#undef HAVE_DECL_KERN_VERSION
+
 /* Define to 1 if you have the declaration of `LO_FLAGS_AUTOCLEAR', and to 0
    if you don't. */
 #undef HAVE_DECL_LO_FLAGS_AUTOCLEAR
@@ -208,6 +692,22 @@
    you don't. */
 #undef HAVE_DECL_LO_FLAGS_USE_AOPS
 
+/* Define to 1 if you have the declaration of `NET_802', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_802
+
+/* Define to 1 if you have the declaration of `NET_ATALK', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_ATALK
+
+/* Define to 1 if you have the declaration of `NET_AX25', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_AX25
+
+/* Define to 1 if you have the declaration of `NET_BRIDGE', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_BRIDGE
+
 /* Define to 1 if you have the declaration of `NET_CIPSOV4_CACHE_BUCKET_SIZE',
    and to 0 if you don't. */
 #undef HAVE_DECL_NET_CIPSOV4_CACHE_BUCKET_SIZE
@@ -224,6 +724,10 @@
    and to 0 if you don't. */
 #undef HAVE_DECL_NET_CIPSOV4_RBM_STRICTVALID
 
+/* Define to 1 if you have the declaration of `NET_CORE', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_CORE
+
 /* Define to 1 if you have the declaration of `NET_CORE_AEVENT_ETIME', and to
    0 if you don't. */
 #undef HAVE_DECL_NET_CORE_AEVENT_ETIME
@@ -240,14 +744,122 @@
    0 if you don't. */
 #undef HAVE_DECL_NET_CORE_DESTROY_DELAY
 
-/* Define to 1 if you have the declaration of `NET_CORE_WARNINGS', and to 0 if
-   you don't. */
-#undef HAVE_DECL_NET_CORE_WARNINGS
+/* Define to 1 if you have the declaration of `NET_CORE_DEV_WEIGHT', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_CORE_DEV_WEIGHT
+
+/* Define to 1 if you have the declaration of `NET_CORE_DIVERT_VERSION', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_CORE_DIVERT_VERSION
+
+/* Define to 1 if you have the declaration of `NET_CORE_FASTROUTE', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_CORE_FASTROUTE
+
+/* Define to 1 if you have the declaration of `NET_CORE_HOT_LIST_LENGTH', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_CORE_HOT_LIST_LENGTH
+
+/* Define to 1 if you have the declaration of `NET_CORE_LO_CONG', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_CORE_LO_CONG
+
+/* Define to 1 if you have the declaration of `NET_CORE_MAX_BACKLOG', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_CORE_MAX_BACKLOG
+
+/* Define to 1 if you have the declaration of `NET_CORE_MOD_CONG', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_CORE_MOD_CONG
+
+/* Define to 1 if you have the declaration of `NET_CORE_MSG_BURST', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_CORE_MSG_BURST
+
+/* Define to 1 if you have the declaration of `NET_CORE_MSG_COST', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_CORE_MSG_COST
+
+/* Define to 1 if you have the declaration of `NET_CORE_NO_CONG', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_CORE_NO_CONG
+
+/* Define to 1 if you have the declaration of `NET_CORE_NO_CONG_THRESH', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_CORE_NO_CONG_THRESH
+
+/* Define to 1 if you have the declaration of `NET_CORE_OPTMEM_MAX', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_CORE_OPTMEM_MAX
+
+/* Define to 1 if you have the declaration of `NET_CORE_RMEM_DEFAULT', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_CORE_RMEM_DEFAULT
+
+/* Define to 1 if you have the declaration of `NET_CORE_RMEM_MAX', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_CORE_RMEM_MAX
+
+/* Define to 1 if you have the declaration of `NET_CORE_SOMAXCONN', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_CORE_SOMAXCONN
+
+/* Define to 1 if you have the declaration of `NET_CORE_WARNINGS', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_CORE_WARNINGS
+
+/* Define to 1 if you have the declaration of `NET_CORE_WMEM_DEFAULT', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_CORE_WMEM_DEFAULT
+
+/* Define to 1 if you have the declaration of `NET_CORE_WMEM_MAX', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_CORE_WMEM_MAX
 
 /* Define to 1 if you have the declaration of `NET_DCCP', and to 0 if you
    don't. */
 #undef HAVE_DECL_NET_DCCP
 
+/* Define to 1 if you have the declaration of `NET_DECNET', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_DECNET
+
+/* Define to 1 if you have the declaration of `NET_ECONET', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_ECONET
+
+/* Define to 1 if you have the declaration of `NET_ETHER', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_ETHER
+
+/* Define to 1 if you have the declaration of `NET_IPV4', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_IPV4
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ALWAYS_DEFRAG', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ALWAYS_DEFRAG
+
+/* Define to 1 if you have the declaration of `NET_IPV4_AUTOCONFIG', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_IPV4_AUTOCONFIG
+
+/* Define to 1 if you have the declaration of `NET_IPV4_CONF', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_IPV4_CONF
+
+/* Define to 1 if you have the declaration of
+   `NET_IPV4_CONF_ACCEPT_REDIRECTS', and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_ACCEPT_REDIRECTS
+
+/* Define to 1 if you have the declaration of
+   `NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE', and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE
+
+/* Define to 1 if you have the declaration of `NET_IPV4_CONF_ARPFILTER', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_ARPFILTER
+
 /* Define to 1 if you have the declaration of `NET_IPV4_CONF_ARP_ACCEPT', and
    to 0 if you don't. */
 #undef HAVE_DECL_NET_IPV4_CONF_ARP_ACCEPT
@@ -264,42 +876,418 @@
    to 0 if you don't. */
 #undef HAVE_DECL_NET_IPV4_CONF_ARP_NOTIFY
 
+/* Define to 1 if you have the declaration of `NET_IPV4_CONF_BOOTP_RELAY', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_BOOTP_RELAY
+
 /* Define to 1 if you have the declaration of
    `NET_IPV4_CONF_FORCE_IGMP_VERSION', and to 0 if you don't. */
 #undef HAVE_DECL_NET_IPV4_CONF_FORCE_IGMP_VERSION
 
+/* Define to 1 if you have the declaration of `NET_IPV4_CONF_FORWARDING', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_FORWARDING
+
+/* Define to 1 if you have the declaration of `NET_IPV4_CONF_LOG_MARTIANS',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_LOG_MARTIANS
+
+/* Define to 1 if you have the declaration of `NET_IPV4_CONF_MC_FORWARDING',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_MC_FORWARDING
+
+/* Define to 1 if you have the declaration of `NET_IPV4_CONF_MEDIUM_ID', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_MEDIUM_ID
+
+/* Define to 1 if you have the declaration of `NET_IPV4_CONF_NOPOLICY', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_NOPOLICY
+
+/* Define to 1 if you have the declaration of `NET_IPV4_CONF_NOXFRM', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_NOXFRM
+
 /* Define to 1 if you have the declaration of
    `NET_IPV4_CONF_PROMOTE_SECONDARIES', and to 0 if you don't. */
 #undef HAVE_DECL_NET_IPV4_CONF_PROMOTE_SECONDARIES
 
+/* Define to 1 if you have the declaration of `NET_IPV4_CONF_PROXY_ARP', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_PROXY_ARP
+
+/* Define to 1 if you have the declaration of `NET_IPV4_CONF_RP_FILTER', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_RP_FILTER
+
+/* Define to 1 if you have the declaration of
+   `NET_IPV4_CONF_SECURE_REDIRECTS', and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_SECURE_REDIRECTS
+
+/* Define to 1 if you have the declaration of `NET_IPV4_CONF_SEND_REDIRECTS',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_SEND_REDIRECTS
+
+/* Define to 1 if you have the declaration of `NET_IPV4_CONF_SHARED_MEDIA',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_SHARED_MEDIA
+
+/* Define to 1 if you have the declaration of `NET_IPV4_CONF_TAG', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_IPV4_CONF_TAG
+
+/* Define to 1 if you have the declaration of `NET_IPV4_DEFAULT_TTL', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_IPV4_DEFAULT_TTL
+
+/* Define to 1 if you have the declaration of `NET_IPV4_DYNADDR', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_IPV4_DYNADDR
+
+/* Define to 1 if you have the declaration of `NET_IPV4_FIB_HASH', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_IPV4_FIB_HASH
+
+/* Define to 1 if you have the declaration of `NET_IPV4_FORWARD', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_IPV4_FORWARD
+
+/* Define to 1 if you have the declaration of
+   `NET_IPV4_ICMP_DESTUNREACH_RATE', and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ICMP_DESTUNREACH_RATE
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ICMP_ECHOREPLY_RATE',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ICMP_ECHOREPLY_RATE
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ICMP_ECHO_IGNORE_ALL',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ICMP_ECHO_IGNORE_ALL
+
+/* Define to 1 if you have the declaration of
+   `NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS', and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS
+
 /* Define to 1 if you have the declaration of
    `NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR', and to 0 if you don't. */
 #undef HAVE_DECL_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR
 
+/* Define to 1 if you have the declaration of
+   `NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES', and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ICMP_PARAMPROB_RATE',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ICMP_PARAMPROB_RATE
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ICMP_RATELIMIT', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ICMP_RATELIMIT
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ICMP_RATEMASK', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ICMP_RATEMASK
+
+/* Define to 1 if you have the declaration of
+   `NET_IPV4_ICMP_SOURCEQUENCH_RATE', and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ICMP_SOURCEQUENCH_RATE
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ICMP_TIMEEXCEED_RATE',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ICMP_TIMEEXCEED_RATE
+
+/* Define to 1 if you have the declaration of `NET_IPV4_IGMP_MAX_MEMBERSHIPS',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_IGMP_MAX_MEMBERSHIPS
+
 /* Define to 1 if you have the declaration of `NET_IPV4_IGMP_MAX_MSF', and to
    0 if you don't. */
 #undef HAVE_DECL_NET_IPV4_IGMP_MAX_MSF
 
+/* Define to 1 if you have the declaration of `NET_IPV4_INET_PEER_GC_MAXTIME',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_INET_PEER_GC_MAXTIME
+
+/* Define to 1 if you have the declaration of `NET_IPV4_INET_PEER_GC_MINTIME',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_INET_PEER_GC_MINTIME
+
+/* Define to 1 if you have the declaration of `NET_IPV4_INET_PEER_MAXTTL', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_INET_PEER_MAXTTL
+
+/* Define to 1 if you have the declaration of `NET_IPV4_INET_PEER_MINTTL', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_INET_PEER_MINTTL
+
+/* Define to 1 if you have the declaration of `NET_IPV4_INET_PEER_THRESHOLD',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_INET_PEER_THRESHOLD
+
+/* Define to 1 if you have the declaration of `NET_IPV4_IPFRAG_HIGH_THRESH',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_IPFRAG_HIGH_THRESH
+
+/* Define to 1 if you have the declaration of `NET_IPV4_IPFRAG_LOW_THRESH',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_IPFRAG_LOW_THRESH
+
 /* Define to 1 if you have the declaration of `NET_IPV4_IPFRAG_MAX_DIST', and
    to 0 if you don't. */
 #undef HAVE_DECL_NET_IPV4_IPFRAG_MAX_DIST
 
 /* Define to 1 if you have the declaration of
+   `NET_IPV4_IPFRAG_SECRET_INTERVAL', and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_IPFRAG_SECRET_INTERVAL
+
+/* Define to 1 if you have the declaration of `NET_IPV4_IPFRAG_TIME', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_IPV4_IPFRAG_TIME
+
+/* Define to 1 if you have the declaration of `NET_IPV4_IP_MASQ_DEBUG', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_IP_MASQ_DEBUG
+
+/* Define to 1 if you have the declaration of `NET_IPV4_LOCAL_PORT_RANGE', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_LOCAL_PORT_RANGE
+
+/* Define to 1 if you have the declaration of `NET_IPV4_NEIGH', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_IPV4_NEIGH
+
+/* Define to 1 if you have the declaration of `NET_IPV4_NETFILTER', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_IPV4_NETFILTER
+
+/* Define to 1 if you have the declaration of `NET_IPV4_NONLOCAL_BIND', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_NONLOCAL_BIND
+
+/* Define to 1 if you have the declaration of `NET_IPV4_NO_PMTU_DISC', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_NO_PMTU_DISC
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_ERROR_BURST',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_ERROR_BURST
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_ERROR_COST', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_ERROR_COST
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_FLUSH', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_FLUSH
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_GC_ELASTICITY',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_GC_ELASTICITY
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_GC_INTERVAL',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_GC_INTERVAL
+
+/* Define to 1 if you have the declaration of
+   `NET_IPV4_ROUTE_GC_MIN_INTERVAL', and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL
+
+/* Define to 1 if you have the declaration of
    `NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS', and to 0 if you don't. */
 #undef HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS
 
+/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_GC_THRESH', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_GC_THRESH
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_GC_TIMEOUT', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_GC_TIMEOUT
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_MAX_DELAY', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_MAX_DELAY
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_MAX_SIZE', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_MAX_SIZE
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_MIN_ADVMSS', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_MIN_ADVMSS
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_MIN_DELAY', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_MIN_DELAY
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_MIN_PMTU', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_MIN_PMTU
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_MTU_EXPIRES',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_MTU_EXPIRES
+
+/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_REDIRECT_LOAD',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_REDIRECT_LOAD
+
+/* Define to 1 if you have the declaration of
+   `NET_IPV4_ROUTE_REDIRECT_NUMBER', and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_REDIRECT_NUMBER
+
+/* Define to 1 if you have the declaration of
+   `NET_IPV4_ROUTE_REDIRECT_SILENCE', and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_REDIRECT_SILENCE
+
+/* Define to 1 if you have the declaration of
+   `NET_IPV4_ROUTE_SECRET_INTERVAL', and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_ROUTE_SECRET_INTERVAL
+
+/* Define to 1 if you have the declaration of `NET_IPV4_TCP_FIN_TIMEOUT', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_TCP_FIN_TIMEOUT
+
+/* Define to 1 if you have the declaration of `NET_IPV4_TCP_KEEPALIVE_INTVL',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_TCP_KEEPALIVE_INTVL
+
+/* Define to 1 if you have the declaration of `NET_IPV4_TCP_KEEPALIVE_PROBES',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_TCP_KEEPALIVE_PROBES
+
+/* Define to 1 if you have the declaration of `NET_IPV4_TCP_KEEPALIVE_TIME',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_TCP_KEEPALIVE_TIME
+
+/* Define to 1 if you have the declaration of `NET_IPV4_TCP_MAX_KA_PROBES',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_TCP_MAX_KA_PROBES
+
+/* Define to 1 if you have the declaration of `NET_IPV4_TCP_RETRANS_COLLAPSE',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_TCP_RETRANS_COLLAPSE
+
+/* Define to 1 if you have the declaration of `NET_IPV4_TCP_RETRIES1', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_TCP_RETRIES1
+
+/* Define to 1 if you have the declaration of `NET_IPV4_TCP_RETRIES2', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_TCP_RETRIES2
+
+/* Define to 1 if you have the declaration of `NET_IPV4_TCP_SACK', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_IPV4_TCP_SACK
+
+/* Define to 1 if you have the declaration of `NET_IPV4_TCP_SYN_RETRIES', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_TCP_SYN_RETRIES
+
+/* Define to 1 if you have the declaration of `NET_IPV4_TCP_TIMESTAMPS', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_TCP_TIMESTAMPS
+
+/* Define to 1 if you have the declaration of `NET_IPV4_TCP_WINDOW_SCALING',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV4_TCP_WINDOW_SCALING
+
 /* Define to 1 if you have the declaration of
    `NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS', and to 0 if you don't. */
 #undef HAVE_DECL_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS
 
+/* Define to 1 if you have the declaration of `NET_IPV6', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_IPV6
+
+/* Define to 1 if you have the declaration of `NET_IPV6_BINDV6ONLY', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_IPV6_BINDV6ONLY
+
+/* Define to 1 if you have the declaration of `NET_IPV6_CONF', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_IPV6_CONF
+
+/* Define to 1 if you have the declaration of `NET_IPV6_ICMP', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_IPV6_ICMP
+
+/* Define to 1 if you have the declaration of `NET_IPV6_IP6FRAG_HIGH_THRESH',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV6_IP6FRAG_HIGH_THRESH
+
+/* Define to 1 if you have the declaration of `NET_IPV6_IP6FRAG_LOW_THRESH',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV6_IP6FRAG_LOW_THRESH
+
+/* Define to 1 if you have the declaration of
+   `NET_IPV6_IP6FRAG_SECRET_INTERVAL', and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV6_IP6FRAG_SECRET_INTERVAL
+
+/* Define to 1 if you have the declaration of `NET_IPV6_IP6FRAG_TIME', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_IPV6_IP6FRAG_TIME
+
 /* Define to 1 if you have the declaration of `NET_IPV6_MLD_MAX_MSF', and to 0
    if you don't. */
 #undef HAVE_DECL_NET_IPV6_MLD_MAX_MSF
 
+/* Define to 1 if you have the declaration of `NET_IPV6_NEIGH', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_IPV6_NEIGH
+
+/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_IPV6_ROUTE
+
+/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_FLUSH', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_IPV6_ROUTE_FLUSH
+
+/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_GC_ELASTICITY',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV6_ROUTE_GC_ELASTICITY
+
+/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_GC_INTERVAL',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV6_ROUTE_GC_INTERVAL
+
+/* Define to 1 if you have the declaration of
+   `NET_IPV6_ROUTE_GC_MIN_INTERVAL', and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL
+
 /* Define to 1 if you have the declaration of
    `NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS', and to 0 if you don't. */
 #undef HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS
 
+/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_GC_THRESH', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV6_ROUTE_GC_THRESH
+
+/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_GC_TIMEOUT', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV6_ROUTE_GC_TIMEOUT
+
+/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_MAX_SIZE', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV6_ROUTE_MAX_SIZE
+
+/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_MIN_ADVMSS', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV6_ROUTE_MIN_ADVMSS
+
+/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_MTU_EXPIRES',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_IPV6_ROUTE_MTU_EXPIRES
+
+/* Define to 1 if you have the declaration of `NET_IPX', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_IPX
+
 /* Define to 1 if you have the declaration of `NET_IRDA', and to 0 if you
    don't. */
 #undef HAVE_DECL_NET_IRDA
@@ -312,14 +1300,38 @@
    don't. */
 #undef HAVE_DECL_NET_NETFILTER
 
+/* Define to 1 if you have the declaration of `NET_NETROM', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_NETROM
+
+/* Define to 1 if you have the declaration of `NET_ROSE', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_ROSE
+
+/* Define to 1 if you have the declaration of `NET_SCTP', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_SCTP
+
 /* Define to 1 if you have the declaration of `NET_TCP_ABC', and to 0 if you
    don't. */
 #undef HAVE_DECL_NET_TCP_ABC
 
+/* Define to 1 if you have the declaration of `NET_TCP_ABORT_ON_OVERFLOW', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_TCP_ABORT_ON_OVERFLOW
+
+/* Define to 1 if you have the declaration of `NET_TCP_ADV_WIN_SCALE', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_TCP_ADV_WIN_SCALE
+
 /* Define to 1 if you have the declaration of `NET_TCP_ALLOWED_CONG_CONTROL',
    and to 0 if you don't. */
 #undef HAVE_DECL_NET_TCP_ALLOWED_CONG_CONTROL
 
+/* Define to 1 if you have the declaration of `NET_TCP_APP_WIN', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_TCP_APP_WIN
+
 /* Define to 1 if you have the declaration of `NET_TCP_AVAIL_CONG_CONTROL',
    and to 0 if you don't. */
 #undef HAVE_DECL_NET_TCP_AVAIL_CONG_CONTROL
@@ -344,33 +1356,137 @@
    0 if you don't. */
 #undef HAVE_DECL_NET_TCP_DMA_COPYBREAK
 
-/* Define to 1 if you have the declaration of `NET_TCP_FRTO_RESPONSE', and to
+/* Define to 1 if you have the declaration of `NET_TCP_DSACK', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_TCP_DSACK
+
+/* Define to 1 if you have the declaration of `NET_TCP_ECN', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_TCP_ECN
+
+/* Define to 1 if you have the declaration of `NET_TCP_FACK', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_TCP_FACK
+
+/* Define to 1 if you have the declaration of `NET_TCP_FRTO', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_TCP_FRTO
+
+/* Define to 1 if you have the declaration of `NET_TCP_FRTO_RESPONSE', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_TCP_FRTO_RESPONSE
+
+/* Define to 1 if you have the declaration of `NET_TCP_LOW_LATENCY', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_TCP_LOW_LATENCY
+
+/* Define to 1 if you have the declaration of `NET_TCP_MAX_ORPHANS', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_TCP_MAX_ORPHANS
+
+/* Define to 1 if you have the declaration of `NET_TCP_MAX_SSTHRESH', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_TCP_MAX_SSTHRESH
+
+/* Define to 1 if you have the declaration of `NET_TCP_MAX_SYN_BACKLOG', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_TCP_MAX_SYN_BACKLOG
+
+/* Define to 1 if you have the declaration of `NET_TCP_MAX_TW_BUCKETS', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_TCP_MAX_TW_BUCKETS
+
+/* Define to 1 if you have the declaration of `NET_TCP_MEM', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_TCP_MEM
+
+/* Define to 1 if you have the declaration of `NET_TCP_MODERATE_RCVBUF', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_TCP_MODERATE_RCVBUF
+
+/* Define to 1 if you have the declaration of `NET_TCP_MTU_PROBING', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_TCP_MTU_PROBING
+
+/* Define to 1 if you have the declaration of `NET_TCP_NO_METRICS_SAVE', and
+   to 0 if you don't. */
+#undef HAVE_DECL_NET_TCP_NO_METRICS_SAVE
+
+/* Define to 1 if you have the declaration of `NET_TCP_ORPHAN_RETRIES', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_TCP_ORPHAN_RETRIES
+
+/* Define to 1 if you have the declaration of `NET_TCP_REORDERING', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_TCP_REORDERING
+
+/* Define to 1 if you have the declaration of `NET_TCP_RFC1337', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_TCP_RFC1337
+
+/* Define to 1 if you have the declaration of `NET_TCP_RMEM', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_TCP_RMEM
+
+/* Define to 1 if you have the declaration of `NET_TCP_SLOW_START_AFTER_IDLE',
+   and to 0 if you don't. */
+#undef HAVE_DECL_NET_TCP_SLOW_START_AFTER_IDLE
+
+/* Define to 1 if you have the declaration of `NET_TCP_STDURG', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_TCP_STDURG
+
+/* Define to 1 if you have the declaration of `NET_TCP_SYNACK_RETRIES', and to
    0 if you don't. */
-#undef HAVE_DECL_NET_TCP_FRTO_RESPONSE
+#undef HAVE_DECL_NET_TCP_SYNACK_RETRIES
 
-/* Define to 1 if you have the declaration of `NET_TCP_MAX_SSTHRESH', and to 0
+/* Define to 1 if you have the declaration of `NET_TCP_SYNCOOKIES', and to 0
    if you don't. */
-#undef HAVE_DECL_NET_TCP_MAX_SSTHRESH
+#undef HAVE_DECL_NET_TCP_SYNCOOKIES
 
-/* Define to 1 if you have the declaration of `NET_TCP_MODERATE_RCVBUF', and
+/* Define to 1 if you have the declaration of `NET_TCP_SYN_TAILDROP', and to 0
+   if you don't. */
+#undef HAVE_DECL_NET_TCP_SYN_TAILDROP
+
+/* Define to 1 if you have the declaration of `NET_TCP_TSO_WIN_DIVISOR', and
    to 0 if you don't. */
-#undef HAVE_DECL_NET_TCP_MODERATE_RCVBUF
+#undef HAVE_DECL_NET_TCP_TSO_WIN_DIVISOR
 
-/* Define to 1 if you have the declaration of `NET_TCP_MTU_PROBING', and to 0
+/* Define to 1 if you have the declaration of `NET_TCP_TW_RECYCLE', and to 0
    if you don't. */
-#undef HAVE_DECL_NET_TCP_MTU_PROBING
+#undef HAVE_DECL_NET_TCP_TW_RECYCLE
 
-/* Define to 1 if you have the declaration of `NET_TCP_NO_METRICS_SAVE', and
-   to 0 if you don't. */
-#undef HAVE_DECL_NET_TCP_NO_METRICS_SAVE
+/* Define to 1 if you have the declaration of `NET_TCP_TW_REUSE', and to 0 if
+   you don't. */
+#undef HAVE_DECL_NET_TCP_TW_REUSE
 
-/* Define to 1 if you have the declaration of `NET_TCP_SLOW_START_AFTER_IDLE',
-   and to 0 if you don't. */
-#undef HAVE_DECL_NET_TCP_SLOW_START_AFTER_IDLE
+/* Define to 1 if you have the declaration of `NET_TCP_WMEM', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_TCP_WMEM
 
-/* Define to 1 if you have the declaration of `NET_TCP_TSO_WIN_DIVISOR', and
+/* Define to 1 if you have the declaration of `NET_TR', and to 0 if you don't.
+   */
+#undef HAVE_DECL_NET_TR
+
+/* Define to 1 if you have the declaration of `NET_UNIX', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_UNIX
+
+/* Define to 1 if you have the declaration of `NET_UNIX_DELETE_DELAY', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_UNIX_DELETE_DELAY
+
+/* Define to 1 if you have the declaration of `NET_UNIX_DESTROY_DELAY', and to
+   0 if you don't. */
+#undef HAVE_DECL_NET_UNIX_DESTROY_DELAY
+
+/* Define to 1 if you have the declaration of `NET_UNIX_MAX_DGRAM_QLEN', and
    to 0 if you don't. */
-#undef HAVE_DECL_NET_TCP_TSO_WIN_DIVISOR
+#undef HAVE_DECL_NET_UNIX_MAX_DGRAM_QLEN
+
+/* Define to 1 if you have the declaration of `NET_X25', and to 0 if you
+   don't. */
+#undef HAVE_DECL_NET_X25
 
 /* Define to 1 if you have the declaration of `PTRACE_PEEKUSER', and to 0 if
    you don't. */
@@ -384,18 +1500,6 @@
    */
 #undef HAVE_DECL_P_ALL
 
-/* Define to 1 if you have the declaration of `P_CID', and to 0 if you don't.
-   */
-#undef HAVE_DECL_P_CID
-
-/* Define to 1 if you have the declaration of `P_GID', and to 0 if you don't.
-   */
-#undef HAVE_DECL_P_GID
-
-/* Define to 1 if you have the declaration of `P_LWPID', and to 0 if you
-   don't. */
-#undef HAVE_DECL_P_LWPID
-
 /* Define to 1 if you have the declaration of `P_PGID', and to 0 if you don't.
    */
 #undef HAVE_DECL_P_PGID
@@ -404,17 +1508,9 @@
    */
 #undef HAVE_DECL_P_PID
 
-/* Define to 1 if you have the declaration of `P_PPID', and to 0 if you don't.
-   */
-#undef HAVE_DECL_P_PPID
-
-/* Define to 1 if you have the declaration of `P_SID', and to 0 if you don't.
-   */
-#undef HAVE_DECL_P_SID
-
-/* Define to 1 if you have the declaration of `P_UID', and to 0 if you don't.
-   */
-#undef HAVE_DECL_P_UID
+/* Define to 1 if you have the declaration of `P_PIDFD', and to 0 if you
+   don't. */
+#undef HAVE_DECL_P_PIDFD
 
 /* Define to 1 if you have the declaration of `sys_errlist', and to 0 if you
    don't. */
@@ -428,18 +1524,94 @@
    don't. */
 #undef HAVE_DECL_TCA_ACT_FLAGS
 
+/* Define to 1 if you have the declaration of `TCA_ACT_HW_STATS', and to 0 if
+   you don't. */
+#undef HAVE_DECL_TCA_ACT_HW_STATS
+
+/* Define to 1 if you have the declaration of `TCA_ACT_INDEX', and to 0 if you
+   don't. */
+#undef HAVE_DECL_TCA_ACT_INDEX
+
+/* Define to 1 if you have the declaration of `TCA_ACT_KIND', and to 0 if you
+   don't. */
+#undef HAVE_DECL_TCA_ACT_KIND
+
+/* Define to 1 if you have the declaration of `TCA_ACT_OPTIONS', and to 0 if
+   you don't. */
+#undef HAVE_DECL_TCA_ACT_OPTIONS
+
 /* Define to 1 if you have the declaration of `TCA_ACT_PAD', and to 0 if you
    don't. */
 #undef HAVE_DECL_TCA_ACT_PAD
 
+/* Define to 1 if you have the declaration of `TCA_ACT_STATS', and to 0 if you
+   don't. */
+#undef HAVE_DECL_TCA_ACT_STATS
+
+/* Define to 1 if you have the declaration of `TCA_ACT_UNSPEC', and to 0 if
+   you don't. */
+#undef HAVE_DECL_TCA_ACT_UNSPEC
+
+/* Define to 1 if you have the declaration of `TCA_ACT_USED_HW_STATS', and to
+   0 if you don't. */
+#undef HAVE_DECL_TCA_ACT_USED_HW_STATS
+
+/* Define to 1 if you have the declaration of `TCA_STAB_BASE', and to 0 if you
+   don't. */
+#undef HAVE_DECL_TCA_STAB_BASE
+
 /* Define to 1 if you have the declaration of `TCA_STAB_DATA', and to 0 if you
    don't. */
 #undef HAVE_DECL_TCA_STAB_DATA
 
+/* Define to 1 if you have the declaration of `TCA_STAB_UNSPEC', and to 0 if
+   you don't. */
+#undef HAVE_DECL_TCA_STAB_UNSPEC
+
+/* Define to 1 if you have the declaration of `TCA_STATS_APP', and to 0 if you
+   don't. */
+#undef HAVE_DECL_TCA_STATS_APP
+
+/* Define to 1 if you have the declaration of `TCA_STATS_BASIC', and to 0 if
+   you don't. */
+#undef HAVE_DECL_TCA_STATS_BASIC
+
+/* Define to 1 if you have the declaration of `TCA_STATS_BASIC_HW', and to 0
+   if you don't. */
+#undef HAVE_DECL_TCA_STATS_BASIC_HW
+
+/* Define to 1 if you have the declaration of `TCA_STATS_PAD', and to 0 if you
+   don't. */
+#undef HAVE_DECL_TCA_STATS_PAD
+
 /* Define to 1 if you have the declaration of `TCA_STATS_PKT64', and to 0 if
    you don't. */
 #undef HAVE_DECL_TCA_STATS_PKT64
 
+/* Define to 1 if you have the declaration of `TCA_STATS_QUEUE', and to 0 if
+   you don't. */
+#undef HAVE_DECL_TCA_STATS_QUEUE
+
+/* Define to 1 if you have the declaration of `TCA_STATS_RATE_EST', and to 0
+   if you don't. */
+#undef HAVE_DECL_TCA_STATS_RATE_EST
+
+/* Define to 1 if you have the declaration of `TCA_STATS_RATE_EST64', and to 0
+   if you don't. */
+#undef HAVE_DECL_TCA_STATS_RATE_EST64
+
+/* Define to 1 if you have the declaration of `TCA_STATS_UNSPEC', and to 0 if
+   you don't. */
+#undef HAVE_DECL_TCA_STATS_UNSPEC
+
+/* Define to 1 if you have the declaration of `V4L2_BUF_TYPE_META_CAPTURE',
+   and to 0 if you don't. */
+#undef HAVE_DECL_V4L2_BUF_TYPE_META_CAPTURE
+
+/* Define to 1 if you have the declaration of `V4L2_BUF_TYPE_META_OUTPUT', and
+   to 0 if you don't. */
+#undef HAVE_DECL_V4L2_BUF_TYPE_META_OUTPUT
+
 /* Define to 1 if you have the declaration of `V4L2_BUF_TYPE_SDR_CAPTURE', and
    to 0 if you don't. */
 #undef HAVE_DECL_V4L2_BUF_TYPE_SDR_CAPTURE
@@ -496,14 +1668,34 @@
    and to 0 if you don't. */
 #undef HAVE_DECL_V4L2_COLORSPACE_470_SYSTEM_M
 
+/* Define to 1 if you have the declaration of `V4L2_COLORSPACE_BT2020', and to
+   0 if you don't. */
+#undef HAVE_DECL_V4L2_COLORSPACE_BT2020
+
 /* Define to 1 if you have the declaration of `V4L2_COLORSPACE_BT878', and to
    0 if you don't. */
 #undef HAVE_DECL_V4L2_COLORSPACE_BT878
 
+/* Define to 1 if you have the declaration of `V4L2_COLORSPACE_DCI_P3', and to
+   0 if you don't. */
+#undef HAVE_DECL_V4L2_COLORSPACE_DCI_P3
+
+/* Define to 1 if you have the declaration of `V4L2_COLORSPACE_DEFAULT', and
+   to 0 if you don't. */
+#undef HAVE_DECL_V4L2_COLORSPACE_DEFAULT
+
 /* Define to 1 if you have the declaration of `V4L2_COLORSPACE_JPEG', and to 0
    if you don't. */
 #undef HAVE_DECL_V4L2_COLORSPACE_JPEG
 
+/* Define to 1 if you have the declaration of `V4L2_COLORSPACE_OPRGB', and to
+   0 if you don't. */
+#undef HAVE_DECL_V4L2_COLORSPACE_OPRGB
+
+/* Define to 1 if you have the declaration of `V4L2_COLORSPACE_RAW', and to 0
+   if you don't. */
+#undef HAVE_DECL_V4L2_COLORSPACE_RAW
+
 /* Define to 1 if you have the declaration of `V4L2_COLORSPACE_REC709', and to
    0 if you don't. */
 #undef HAVE_DECL_V4L2_COLORSPACE_REC709
@@ -612,18 +1804,6 @@
    you don't. */
 #undef HAVE_DECL_V4L2_FIELD_TOP
 
-/* Define to 1 if you have the declaration of `V4L2_FRMIVAL_TYPE_CONTINUOUS',
-   and to 0 if you don't. */
-#undef HAVE_DECL_V4L2_FRMIVAL_TYPE_CONTINUOUS
-
-/* Define to 1 if you have the declaration of `V4L2_FRMIVAL_TYPE_DISCRETE',
-   and to 0 if you don't. */
-#undef HAVE_DECL_V4L2_FRMIVAL_TYPE_DISCRETE
-
-/* Define to 1 if you have the declaration of `V4L2_FRMIVAL_TYPE_STEPWISE',
-   and to 0 if you don't. */
-#undef HAVE_DECL_V4L2_FRMIVAL_TYPE_STEPWISE
-
 /* Define to 1 if you have the declaration of `V4L2_FRMSIZE_TYPE_CONTINUOUS',
    and to 0 if you don't. */
 #undef HAVE_DECL_V4L2_FRMSIZE_TYPE_CONTINUOUS
@@ -652,22 +1832,6 @@
    if you don't. */
 #undef HAVE_DECL_V4L2_MEMORY_USERPTR
 
-/* Define to 1 if you have the declaration of `V4L2_PRIORITY_BACKGROUND', and
-   to 0 if you don't. */
-#undef HAVE_DECL_V4L2_PRIORITY_BACKGROUND
-
-/* Define to 1 if you have the declaration of `V4L2_PRIORITY_INTERACTIVE', and
-   to 0 if you don't. */
-#undef HAVE_DECL_V4L2_PRIORITY_INTERACTIVE
-
-/* Define to 1 if you have the declaration of `V4L2_PRIORITY_RECORD', and to 0
-   if you don't. */
-#undef HAVE_DECL_V4L2_PRIORITY_RECORD
-
-/* Define to 1 if you have the declaration of `V4L2_PRIORITY_UNSET', and to 0
-   if you don't. */
-#undef HAVE_DECL_V4L2_PRIORITY_UNSET
-
 /* Define to 1 if you have the declaration of `V4L2_TUNER_ANALOG_TV', and to 0
    if you don't. */
 #undef HAVE_DECL_V4L2_TUNER_ANALOG_TV
@@ -680,14 +1844,42 @@
    you don't. */
 #undef HAVE_DECL_V4L2_TUNER_RADIO
 
+/* Define to 1 if you have the declaration of `V4L2_TUNER_RF', and to 0 if you
+   don't. */
+#undef HAVE_DECL_V4L2_TUNER_RF
+
+/* Define to 1 if you have the declaration of `V4L2_TUNER_SDR', and to 0 if
+   you don't. */
+#undef HAVE_DECL_V4L2_TUNER_SDR
+
 /* Define to 1 if you have the declaration of `VM_BLOCK_DUMP', and to 0 if you
    don't. */
 #undef HAVE_DECL_VM_BLOCK_DUMP
 
+/* Define to 1 if you have the declaration of `VM_DIRTY_BACKGROUND', and to 0
+   if you don't. */
+#undef HAVE_DECL_VM_DIRTY_BACKGROUND
+
+/* Define to 1 if you have the declaration of `VM_DIRTY_EXPIRE_CS', and to 0
+   if you don't. */
+#undef HAVE_DECL_VM_DIRTY_EXPIRE_CS
+
+/* Define to 1 if you have the declaration of `VM_DIRTY_RATIO', and to 0 if
+   you don't. */
+#undef HAVE_DECL_VM_DIRTY_RATIO
+
+/* Define to 1 if you have the declaration of `VM_DIRTY_WB_CS', and to 0 if
+   you don't. */
+#undef HAVE_DECL_VM_DIRTY_WB_CS
+
 /* Define to 1 if you have the declaration of `VM_HUGETLB_GROUP', and to 0 if
    you don't. */
 #undef HAVE_DECL_VM_HUGETLB_GROUP
 
+/* Define to 1 if you have the declaration of `VM_HUGETLB_PAGES', and to 0 if
+   you don't. */
+#undef HAVE_DECL_VM_HUGETLB_PAGES
+
 /* Define to 1 if you have the declaration of `VM_LAPTOP_MODE', and to 0 if
    you don't. */
 #undef HAVE_DECL_VM_LAPTOP_MODE
@@ -696,10 +1888,42 @@
    if you don't. */
 #undef HAVE_DECL_VM_LEGACY_VA_LAYOUT
 
+/* Define to 1 if you have the declaration of `VM_LOWMEM_RESERVE_RATIO', and
+   to 0 if you don't. */
+#undef HAVE_DECL_VM_LOWMEM_RESERVE_RATIO
+
 /* Define to 1 if you have the declaration of `VM_MAX_MAP_COUNT', and to 0 if
    you don't. */
 #undef HAVE_DECL_VM_MAX_MAP_COUNT
 
+/* Define to 1 if you have the declaration of `VM_MIN_FREE_KBYTES', and to 0
+   if you don't. */
+#undef HAVE_DECL_VM_MIN_FREE_KBYTES
+
+/* Define to 1 if you have the declaration of `VM_NR_PDFLUSH_THREADS', and to
+   0 if you don't. */
+#undef HAVE_DECL_VM_NR_PDFLUSH_THREADS
+
+/* Define to 1 if you have the declaration of `VM_OVERCOMMIT_MEMORY', and to 0
+   if you don't. */
+#undef HAVE_DECL_VM_OVERCOMMIT_MEMORY
+
+/* Define to 1 if you have the declaration of `VM_OVERCOMMIT_RATIO', and to 0
+   if you don't. */
+#undef HAVE_DECL_VM_OVERCOMMIT_RATIO
+
+/* Define to 1 if you have the declaration of `VM_PAGEBUF', and to 0 if you
+   don't. */
+#undef HAVE_DECL_VM_PAGEBUF
+
+/* Define to 1 if you have the declaration of `VM_PAGE_CLUSTER', and to 0 if
+   you don't. */
+#undef HAVE_DECL_VM_PAGE_CLUSTER
+
+/* Define to 1 if you have the declaration of `VM_SWAPPINESS', and to 0 if you
+   don't. */
+#undef HAVE_DECL_VM_SWAPPINESS
+
 /* Define to 1 if you have the declaration of `VM_SWAP_TOKEN_TIMEOUT', and to
    0 if you don't. */
 #undef HAVE_DECL_VM_SWAP_TOKEN_TIMEOUT
@@ -708,6 +1932,26 @@
    0 if you don't. */
 #undef HAVE_DECL_VM_VFS_CACHE_PRESSURE
 
+/* Define to 1 if you have the declaration of `XDP_ATTACHED_DRV', and to 0 if
+   you don't. */
+#undef HAVE_DECL_XDP_ATTACHED_DRV
+
+/* Define to 1 if you have the declaration of `XDP_ATTACHED_HW', and to 0 if
+   you don't. */
+#undef HAVE_DECL_XDP_ATTACHED_HW
+
+/* Define to 1 if you have the declaration of `XDP_ATTACHED_MULTI', and to 0
+   if you don't. */
+#undef HAVE_DECL_XDP_ATTACHED_MULTI
+
+/* Define to 1 if you have the declaration of `XDP_ATTACHED_NONE', and to 0 if
+   you don't. */
+#undef HAVE_DECL_XDP_ATTACHED_NONE
+
+/* Define to 1 if you have the declaration of `XDP_ATTACHED_SKB', and to 0 if
+   you don't. */
+#undef HAVE_DECL_XDP_ATTACHED_SKB
+
 /* Define to 1 if you have the <demangle.h> header file. */
 #undef HAVE_DEMANGLE_H
 
@@ -786,6 +2030,9 @@
 /* Define to 1 if you have the <linux/btrfs.h> header file. */
 #undef HAVE_LINUX_BTRFS_H
 
+/* Define to 1 if you have the <linux/close_range.h> header file. */
+#undef HAVE_LINUX_CLOSE_RANGE_H
+
 /* Define to 1 if you have the <linux/cryptouser.h> header file. */
 #undef HAVE_LINUX_CRYPTOUSER_H
 
@@ -834,6 +2081,9 @@
 /* Define to 1 if you have the <linux/kvm.h> header file. */
 #undef HAVE_LINUX_KVM_H
 
+/* Define to 1 if you have the <linux/loop.h> header file. */
+#undef HAVE_LINUX_LOOP_H
+
 /* Define to 1 if you have the <linux/memfd.h> header file. */
 #undef HAVE_LINUX_MEMFD_H
 
@@ -909,6 +2159,9 @@
 /* Define to 1 if you have the <linux/nsfs.h> header file. */
 #undef HAVE_LINUX_NSFS_H
 
+/* Define to 1 if you have the <linux/openat2.h> header file. */
+#undef HAVE_LINUX_OPENAT2_H
+
 /* Define to 1 if you have the <linux/perf_event.h> header file. */
 #undef HAVE_LINUX_PERF_EVENT_H
 
@@ -927,12 +2180,18 @@
 /* Define to 1 if you have the <linux/securebits.h> header file. */
 #undef HAVE_LINUX_SECUREBITS_H
 
+/* Define to 1 if you have the <linux/tee.h> header file. */
+#undef HAVE_LINUX_TEE_H
+
 /* Define to 1 if you have the <linux/userfaultfd.h> header file. */
 #undef HAVE_LINUX_USERFAULTFD_H
 
 /* Define to 1 if you have the <linux/utsname.h> header file. */
 #undef HAVE_LINUX_UTSNAME_H
 
+/* Define to 1 if you have the <linux/videodev2.h> header file. */
+#undef HAVE_LINUX_VIDEODEV2_H
+
 /* Define to 1 if you have mpers_name mpers support */
 #undef HAVE_M32_MPERS
 
@@ -990,9 +2249,6 @@
 /* Define to 1 if you have the <paths.h> header file. */
 #undef HAVE_PATHS_H
 
-/* Define to 1 if you have the `prctl' function. */
-#undef HAVE_PRCTL
-
 /* Define to 1 if you have the `preadv' function. */
 #undef HAVE_PREADV
 
@@ -1053,12 +2309,6 @@
 /* Define to 1 if you have the `strndup' function. */
 #undef HAVE_STRNDUP
 
-/* Define to 1 if you have the <stropts.h> header file. */
-#undef HAVE_STROPTS_H
-
-/* Define to 1 if you have the `strsignal' function. */
-#undef HAVE_STRSIGNAL
-
 /* Define to 1 if the system has the type `struct blk_user_trace_setup'. */
 #undef HAVE_STRUCT_BLK_USER_TRACE_SETUP
 
@@ -1077,6 +2327,10 @@
 /* Define to 1 if `btf_value_type_id' is a member of `struct bpf_map_info'. */
 #undef HAVE_STRUCT_BPF_MAP_INFO_BTF_VALUE_TYPE_ID
 
+/* Define to 1 if `btf_vmlinux_value_type_id' is a member of `struct
+   bpf_map_info'. */
+#undef HAVE_STRUCT_BPF_MAP_INFO_BTF_VMLINUX_VALUE_TYPE_ID
+
 /* Define to 1 if `id' is a member of `struct bpf_map_info'. */
 #undef HAVE_STRUCT_BPF_MAP_INFO_ID
 
@@ -1233,16 +2487,16 @@
    */
 #undef HAVE_STRUCT_BTRFS_IOCTL_FS_INFO_ARGS_NODESIZE
 
-/* Define to 1 if `flags' is a member of `struct
+/* Define to 1 if the system has the type `struct
    btrfs_ioctl_logical_ino_args'. */
-#undef HAVE_STRUCT_BTRFS_IOCTL_LOGICAL_INO_ARGS_FLAGS
+#undef HAVE_STRUCT_BTRFS_IOCTL_LOGICAL_INO_ARGS
 
-/* Define to 1 if `buf_size' is a member of `struct
-   btrfs_ioctl_search_args_v2'. */
-#undef HAVE_STRUCT_BTRFS_IOCTL_SEARCH_ARGS_V2_BUF_SIZE
+/* Define to 1 if `inodes' is a member of `struct
+   btrfs_ioctl_logical_ino_args'. */
+#undef HAVE_STRUCT_BTRFS_IOCTL_LOGICAL_INO_ARGS_INODES
 
-/* Define to 1 if `set_tid_size' is a member of `struct clone_args'. */
-#undef HAVE_STRUCT_CLONE_ARGS_SET_TID_SIZE
+/* Define to 1 if `cgroup' is a member of `struct clone_args'. */
+#undef HAVE_STRUCT_CLONE_ARGS_CGROUP
 
 /* Define to 1 if the system has the type `struct crypto_report_aead'. */
 #undef HAVE_STRUCT_CRYPTO_REPORT_AEAD
@@ -1359,8 +2613,11 @@
 /* Define to 1 if the system has the type `struct io_cqring_offsets'. */
 #undef HAVE_STRUCT_IO_CQRING_OFFSETS
 
-/* Define to 1 if `resv' is a member of `struct io_cqring_offsets'. */
-#undef HAVE_STRUCT_IO_CQRING_OFFSETS_RESV
+/* Define to 1 if `cqes' is a member of `struct io_cqring_offsets'. */
+#undef HAVE_STRUCT_IO_CQRING_OFFSETS_CQES
+
+/* Define to 1 if `flags' is a member of `struct io_cqring_offsets'. */
+#undef HAVE_STRUCT_IO_CQRING_OFFSETS_FLAGS
 
 /* Define to 1 if the system has the type `struct io_sqring_offsets'. */
 #undef HAVE_STRUCT_IO_SQRING_OFFSETS
@@ -1389,6 +2646,18 @@
 /* Define to 1 if `wq_fd' is a member of `struct io_uring_params'. */
 #undef HAVE_STRUCT_IO_URING_PARAMS_WQ_FD
 
+/* Define to 1 if the system has the type `struct io_uring_probe'. */
+#undef HAVE_STRUCT_IO_URING_PROBE
+
+/* Define to 1 if the system has the type `struct io_uring_probe_op'. */
+#undef HAVE_STRUCT_IO_URING_PROBE_OP
+
+/* Define to 1 if `ops' is a member of `struct io_uring_probe'. */
+#undef HAVE_STRUCT_IO_URING_PROBE_OPS
+
+/* Define to 1 if `resv2' is a member of `struct io_uring_probe_op'. */
+#undef HAVE_STRUCT_IO_URING_PROBE_OP_RESV2
+
 /* Define to 1 if the system has the type `struct kcmp_epoll_slot'. */
 #undef HAVE_STRUCT_KCMP_EPOLL_SLOT
 
@@ -1414,6 +2683,12 @@
    kvm_userspace_memory_region'. */
 #undef HAVE_STRUCT_KVM_USERSPACE_MEMORY_REGION
 
+/* Define to 1 if the system has the type `struct loop_config'. */
+#undef HAVE_STRUCT_LOOP_CONFIG
+
+/* Define to 1 if `__reserved' is a member of `struct loop_config'. */
+#undef HAVE_STRUCT_LOOP_CONFIG___RESERVED
+
 /* Define to 1 if the system has the type `struct mmsghdr'. */
 #undef HAVE_STRUCT_MMSGHDR
 
@@ -1435,6 +2710,12 @@
 /* Define to 1 if the system has the type `struct netconfmsg'. */
 #undef HAVE_STRUCT_NETCONFMSG
 
+/* Define to 1 if the system has the type `struct open_how'. */
+#undef HAVE_STRUCT_OPEN_HOW
+
+/* Define to 1 if `resolve' is a member of `struct open_how'. */
+#undef HAVE_STRUCT_OPEN_HOW_RESOLVE
+
 /* Define to 1 if `aux_sample_size' is a member of `struct perf_event_attr'.
    */
 #undef HAVE_STRUCT_PERF_EVENT_ATTR_AUX_SAMPLE_SIZE
@@ -1602,6 +2883,79 @@
 /* Define to 1 if the system has the type `struct tc_sizespec'. */
 #undef HAVE_STRUCT_TC_SIZESPEC
 
+/* Define to 1 if the system has the type `struct tee_iocl_supp_recv_arg'. */
+#undef HAVE_STRUCT_TEE_IOCL_SUPP_RECV_ARG
+
+/* Define to 1 if `params' is a member of `struct tee_iocl_supp_recv_arg'. */
+#undef HAVE_STRUCT_TEE_IOCL_SUPP_RECV_ARG_PARAMS
+
+/* Define to 1 if the system has the type `struct tee_iocl_supp_send_arg'. */
+#undef HAVE_STRUCT_TEE_IOCL_SUPP_SEND_ARG
+
+/* Define to 1 if `params' is a member of `struct tee_iocl_supp_send_arg'. */
+#undef HAVE_STRUCT_TEE_IOCL_SUPP_SEND_ARG_PARAMS
+
+/* Define to 1 if the system has the type `struct tee_ioctl_buf_data'. */
+#undef HAVE_STRUCT_TEE_IOCTL_BUF_DATA
+
+/* Define to 1 if `buf_len' is a member of `struct tee_ioctl_buf_data'. */
+#undef HAVE_STRUCT_TEE_IOCTL_BUF_DATA_BUF_LEN
+
+/* Define to 1 if the system has the type `struct tee_ioctl_cancel_arg'. */
+#undef HAVE_STRUCT_TEE_IOCTL_CANCEL_ARG
+
+/* Define to 1 if `session' is a member of `struct tee_ioctl_cancel_arg'. */
+#undef HAVE_STRUCT_TEE_IOCTL_CANCEL_ARG_SESSION
+
+/* Define to 1 if the system has the type `struct
+   tee_ioctl_close_session_arg'. */
+#undef HAVE_STRUCT_TEE_IOCTL_CLOSE_SESSION_ARG
+
+/* Define to 1 if `session' is a member of `struct
+   tee_ioctl_close_session_arg'. */
+#undef HAVE_STRUCT_TEE_IOCTL_CLOSE_SESSION_ARG_SESSION
+
+/* Define to 1 if the system has the type `struct tee_ioctl_invoke_arg'. */
+#undef HAVE_STRUCT_TEE_IOCTL_INVOKE_ARG
+
+/* Define to 1 if `params' is a member of `struct tee_ioctl_invoke_arg'. */
+#undef HAVE_STRUCT_TEE_IOCTL_INVOKE_ARG_PARAMS
+
+/* Define to 1 if the system has the type `struct tee_ioctl_open_session_arg'.
+   */
+#undef HAVE_STRUCT_TEE_IOCTL_OPEN_SESSION_ARG
+
+/* Define to 1 if `params' is a member of `struct tee_ioctl_open_session_arg'.
+   */
+#undef HAVE_STRUCT_TEE_IOCTL_OPEN_SESSION_ARG_PARAMS
+
+/* Define to 1 if the system has the type `struct tee_ioctl_param'. */
+#undef HAVE_STRUCT_TEE_IOCTL_PARAM
+
+/* Define to 1 if `c' is a member of `struct tee_ioctl_param'. */
+#undef HAVE_STRUCT_TEE_IOCTL_PARAM_C
+
+/* Define to 1 if the system has the type `struct tee_ioctl_shm_alloc_data'.
+   */
+#undef HAVE_STRUCT_TEE_IOCTL_SHM_ALLOC_DATA
+
+/* Define to 1 if `id' is a member of `struct tee_ioctl_shm_alloc_data'. */
+#undef HAVE_STRUCT_TEE_IOCTL_SHM_ALLOC_DATA_ID
+
+/* Define to 1 if the system has the type `struct
+   tee_ioctl_shm_register_data'. */
+#undef HAVE_STRUCT_TEE_IOCTL_SHM_REGISTER_DATA
+
+/* Define to 1 if `id' is a member of `struct tee_ioctl_shm_register_data'. */
+#undef HAVE_STRUCT_TEE_IOCTL_SHM_REGISTER_DATA_ID
+
+/* Define to 1 if the system has the type `struct tee_ioctl_version_data'. */
+#undef HAVE_STRUCT_TEE_IOCTL_VERSION_DATA
+
+/* Define to 1 if `gen_caps' is a member of `struct tee_ioctl_version_data'.
+   */
+#undef HAVE_STRUCT_TEE_IOCTL_VERSION_DATA_GEN_CAPS
+
 /* Define to 1 if `max_beb_per1024' is a member of `struct ubi_attach_req'. */
 #undef HAVE_STRUCT_UBI_ATTACH_REQ_MAX_BEB_PER1024
 
@@ -1614,12 +2968,48 @@
 /* Define to 1 if `domainname' is a member of `struct utsname'. */
 #undef HAVE_STRUCT_UTSNAME_DOMAINNAME
 
+/* Define to 1 if the system has the type `struct v4l2_area'. */
+#undef HAVE_STRUCT_V4L2_AREA
+
+/* Define to 1 if `height' is a member of `struct v4l2_area'. */
+#undef HAVE_STRUCT_V4L2_AREA_HEIGHT
+
+/* Define to 1 if the system has the type `struct v4l2_capability'. */
+#undef HAVE_STRUCT_V4L2_CAPABILITY
+
 /* Define to 1 if `device_caps' is a member of `struct v4l2_capability'. */
 #undef HAVE_STRUCT_V4L2_CAPABILITY_DEVICE_CAPS
 
+/* Define to 1 if `reserved' is a member of `struct v4l2_capability'. */
+#undef HAVE_STRUCT_V4L2_CAPABILITY_RESERVED
+
+/* Define to 1 if the system has the type `struct v4l2_clip'. */
+#undef HAVE_STRUCT_V4L2_CLIP
+
+/* Define to 1 if `next' is a member of `struct v4l2_clip'. */
+#undef HAVE_STRUCT_V4L2_CLIP_NEXT
+
+/* Define to 1 if the system has the type `struct v4l2_create_buffers'. */
+#undef HAVE_STRUCT_V4L2_CREATE_BUFFERS
+
+/* Define to 1 if `reserved' is a member of `struct v4l2_create_buffers'. */
+#undef HAVE_STRUCT_V4L2_CREATE_BUFFERS_RESERVED
+
+/* Define to 1 if the system has the type `struct v4l2_ext_controls'. */
+#undef HAVE_STRUCT_V4L2_EXT_CONTROLS
+
+/* Define to 1 if `controls' is a member of `struct v4l2_ext_controls'. */
+#undef HAVE_STRUCT_V4L2_EXT_CONTROLS_CONTROLS
+
 /* Define to 1 if `string' is a member of `struct v4l2_ext_control'. */
 #undef HAVE_STRUCT_V4L2_EXT_CONTROL_STRING
 
+/* Define to 1 if the system has the type `struct v4l2_format'. */
+#undef HAVE_STRUCT_V4L2_FORMAT
+
+/* Define to 1 if `fmt' is a member of `struct v4l2_format'. */
+#undef HAVE_STRUCT_V4L2_FORMAT_FMT
+
 /* Define to 1 if `fmt.pix_mp' is a member of `struct v4l2_format'. */
 #undef HAVE_STRUCT_V4L2_FORMAT_FMT_PIX_MP
 
@@ -1629,9 +3019,83 @@
 /* Define to 1 if `fmt.sliced' is a member of `struct v4l2_format'. */
 #undef HAVE_STRUCT_V4L2_FORMAT_FMT_SLICED
 
+/* Define to 1 if the system has the type `struct v4l2_frmivalenum'. */
+#undef HAVE_STRUCT_V4L2_FRMIVALENUM
+
+/* Define to 1 if `reserved' is a member of `struct v4l2_frmivalenum'. */
+#undef HAVE_STRUCT_V4L2_FRMIVALENUM_RESERVED
+
+/* Define to 1 if the system has the type `struct v4l2_frmival_stepwise'. */
+#undef HAVE_STRUCT_V4L2_FRMIVAL_STEPWISE
+
+/* Define to 1 if `step' is a member of `struct v4l2_frmival_stepwise'. */
+#undef HAVE_STRUCT_V4L2_FRMIVAL_STEPWISE_STEP
+
+/* Define to 1 if the system has the type `struct v4l2_frmsizeenum'. */
+#undef HAVE_STRUCT_V4L2_FRMSIZEENUM
+
+/* Define to 1 if `reserved' is a member of `struct v4l2_frmsizeenum'. */
+#undef HAVE_STRUCT_V4L2_FRMSIZEENUM_RESERVED
+
+/* Define to 1 if the system has the type `struct v4l2_frmsize_discrete'. */
+#undef HAVE_STRUCT_V4L2_FRMSIZE_DISCRETE
+
+/* Define to 1 if `height' is a member of `struct v4l2_frmsize_discrete'. */
+#undef HAVE_STRUCT_V4L2_FRMSIZE_DISCRETE_HEIGHT
+
+/* Define to 1 if the system has the type `struct v4l2_frmsize_stepwise'. */
+#undef HAVE_STRUCT_V4L2_FRMSIZE_STEPWISE
+
+/* Define to 1 if `step_height' is a member of `struct v4l2_frmsize_stepwise'.
+   */
+#undef HAVE_STRUCT_V4L2_FRMSIZE_STEPWISE_STEP_HEIGHT
+
+/* Define to 1 if the system has the type `struct v4l2_meta_format'. */
+#undef HAVE_STRUCT_V4L2_META_FORMAT
+
+/* Define to 1 if the system has the type `struct v4l2_pix_format'. */
+#undef HAVE_STRUCT_V4L2_PIX_FORMAT
+
+/* Define to 1 if the system has the type `struct v4l2_pix_format_mplane'. */
+#undef HAVE_STRUCT_V4L2_PIX_FORMAT_MPLANE
+
+/* Define to 1 if `xfer_func' is a member of `struct v4l2_pix_format'. */
+#undef HAVE_STRUCT_V4L2_PIX_FORMAT_XFER_FUNC
+
+/* Define to 1 if the system has the type `struct v4l2_plane_pix_format'. */
+#undef HAVE_STRUCT_V4L2_PLANE_PIX_FORMAT
+
+/* Define to 1 if `reserved' is a member of `struct v4l2_plane_pix_format'. */
+#undef HAVE_STRUCT_V4L2_PLANE_PIX_FORMAT_RESERVED
+
+/* Define to 1 if the system has the type `struct v4l2_sdr_format'. */
+#undef HAVE_STRUCT_V4L2_SDR_FORMAT
+
 /* Define to 1 if `buffersize' is a member of `struct v4l2_sdr_format'. */
 #undef HAVE_STRUCT_V4L2_SDR_FORMAT_BUFFERSIZE
 
+/* Define to 1 if the system has the type `struct v4l2_sliced_vbi_cap'. */
+#undef HAVE_STRUCT_V4L2_SLICED_VBI_CAP
+
+/* Define to 1 if `reserved' is a member of `struct v4l2_sliced_vbi_cap'. */
+#undef HAVE_STRUCT_V4L2_SLICED_VBI_CAP_RESERVED
+
+/* Define to 1 if the system has the type `struct v4l2_sliced_vbi_format'. */
+#undef HAVE_STRUCT_V4L2_SLICED_VBI_FORMAT
+
+/* Define to 1 if `reserved' is a member of `struct v4l2_sliced_vbi_format'.
+   */
+#undef HAVE_STRUCT_V4L2_SLICED_VBI_FORMAT_RESERVED
+
+/* Define to 1 if the system has the type `struct v4l2_vbi_format'. */
+#undef HAVE_STRUCT_V4L2_VBI_FORMAT
+
+/* Define to 1 if `reserved' is a member of `struct v4l2_vbi_format'. */
+#undef HAVE_STRUCT_V4L2_VBI_FORMAT_RESERVED
+
+/* Define to 1 if the system has the type `struct v4l2_window'. */
+#undef HAVE_STRUCT_V4L2_WINDOW
+
 /* Define to 1 if `global_alpha' is a member of `struct v4l2_window'. */
 #undef HAVE_STRUCT_V4L2_WINDOW_GLOBAL_ALPHA
 
@@ -1662,9 +3126,6 @@
 /* Define to 1 if you have the `sync_file_range' function. */
 #undef HAVE_SYNC_FILE_RANGE
 
-/* Define to 1 if you have the <sys/conf.h> header file. */
-#undef HAVE_SYS_CONF_H
-
 /* Define to 1 if you have the <sys/eventfd.h> header file. */
 #undef HAVE_SYS_EVENTFD_H
 
@@ -1707,6 +3168,30 @@
 /* Define to 1 if `attach_type' is a member of `union bpf_attr'. */
 #undef HAVE_UNION_BPF_ATTR_ATTACH_TYPE
 
+/* Define to 1 if `batch.count' is a member of `union bpf_attr'. */
+#undef HAVE_UNION_BPF_ATTR_BATCH_COUNT
+
+/* Define to 1 if `batch.elem_flags' is a member of `union bpf_attr'. */
+#undef HAVE_UNION_BPF_ATTR_BATCH_ELEM_FLAGS
+
+/* Define to 1 if `batch.flags' is a member of `union bpf_attr'. */
+#undef HAVE_UNION_BPF_ATTR_BATCH_FLAGS
+
+/* Define to 1 if `batch.in_batch' is a member of `union bpf_attr'. */
+#undef HAVE_UNION_BPF_ATTR_BATCH_IN_BATCH
+
+/* Define to 1 if `batch.keys' is a member of `union bpf_attr'. */
+#undef HAVE_UNION_BPF_ATTR_BATCH_KEYS
+
+/* Define to 1 if `batch.map_fd' is a member of `union bpf_attr'. */
+#undef HAVE_UNION_BPF_ATTR_BATCH_MAP_FD
+
+/* Define to 1 if `batch.out_batch' is a member of `union bpf_attr'. */
+#undef HAVE_UNION_BPF_ATTR_BATCH_OUT_BATCH
+
+/* Define to 1 if `batch.values' is a member of `union bpf_attr'. */
+#undef HAVE_UNION_BPF_ATTR_BATCH_VALUES
+
 /* Define to 1 if `bpf_fd' is a member of `union bpf_attr'. */
 #undef HAVE_UNION_BPF_ATTR_BPF_FD
 
@@ -1737,6 +3222,10 @@
 /* Define to 1 if `btf_value_type_id' is a member of `union bpf_attr'. */
 #undef HAVE_UNION_BPF_ATTR_BTF_VALUE_TYPE_ID
 
+/* Define to 1 if `btf_vmlinux_value_type_id' is a member of `union bpf_attr'.
+   */
+#undef HAVE_UNION_BPF_ATTR_BTF_VMLINUX_VALUE_TYPE_ID
+
 /* Define to 1 if `dummy' is a member of `union bpf_attr'. */
 #undef HAVE_UNION_BPF_ATTR_DUMMY
 
@@ -1797,6 +3286,33 @@
 /* Define to 1 if `line_info_rec_size' is a member of `union bpf_attr'. */
 #undef HAVE_UNION_BPF_ATTR_LINE_INFO_REC_SIZE
 
+/* Define to 1 if `link_create.attach_type' is a member of `union bpf_attr'.
+   */
+#undef HAVE_UNION_BPF_ATTR_LINK_CREATE_ATTACH_TYPE
+
+/* Define to 1 if `link_create.flags' is a member of `union bpf_attr'. */
+#undef HAVE_UNION_BPF_ATTR_LINK_CREATE_FLAGS
+
+/* Define to 1 if `link_create.prog_fd' is a member of `union bpf_attr'. */
+#undef HAVE_UNION_BPF_ATTR_LINK_CREATE_PROG_FD
+
+/* Define to 1 if `link_create.target_fd' is a member of `union bpf_attr'. */
+#undef HAVE_UNION_BPF_ATTR_LINK_CREATE_TARGET_FD
+
+/* Define to 1 if `link_update.flags' is a member of `union bpf_attr'. */
+#undef HAVE_UNION_BPF_ATTR_LINK_UPDATE_FLAGS
+
+/* Define to 1 if `link_update.link_fd' is a member of `union bpf_attr'. */
+#undef HAVE_UNION_BPF_ATTR_LINK_UPDATE_LINK_FD
+
+/* Define to 1 if `link_update.new_prog_fd' is a member of `union bpf_attr'.
+   */
+#undef HAVE_UNION_BPF_ATTR_LINK_UPDATE_NEW_PROG_FD
+
+/* Define to 1 if `link_update.old_prog_fd' is a member of `union bpf_attr'.
+   */
+#undef HAVE_UNION_BPF_ATTR_LINK_UPDATE_OLD_PROG_FD
+
 /* Define to 1 if `log_buf' is a member of `union bpf_attr'. */
 #undef HAVE_UNION_BPF_ATTR_LOG_BUF
 
@@ -1884,6 +3400,9 @@
 /* Define to 1 if `raw_tracepoint.prog_fd' is a member of `union bpf_attr'. */
 #undef HAVE_UNION_BPF_ATTR_RAW_TRACEPOINT_PROG_FD
 
+/* Define to 1 if `replace_bpf_fd' is a member of `union bpf_attr'. */
+#undef HAVE_UNION_BPF_ATTR_REPLACE_BPF_FD
+
 /* Define to 1 if `start_id' is a member of `union bpf_attr'. */
 #undef HAVE_UNION_BPF_ATTR_START_ID
 
@@ -1967,9 +3486,6 @@
 /* Define to 1 if you have the <ustat.h> header file. */
 #undef HAVE_USTAT_H
 
-/* Define to 1 if you have the `utimensat' function. */
-#undef HAVE_UTIMENSAT
-
 /* Define to 1 if the system provides _Static_assert */
 #undef HAVE__STATIC_ASSERT
 
diff -pruN 5.5-3/configure 5.9-0ubuntu2/configure
--- 5.5-3/configure	2020-02-06 16:23:33.000000000 +0000
+++ 5.9-0ubuntu2/configure	2020-09-24 09:18:58.000000000 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for strace 5.5.
+# Generated by GNU Autoconf 2.69 for strace 5.9.
 #
 # Report bugs to <strace-devel@lists.strace.io>.
 #
@@ -582,8 +582,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='strace'
 PACKAGE_TARNAME='strace'
-PACKAGE_VERSION='5.5'
-PACKAGE_STRING='strace 5.5'
+PACKAGE_VERSION='5.9'
+PACKAGE_STRING='strace 5.9'
 PACKAGE_BUGREPORT='strace-devel@lists.strace.io'
 PACKAGE_URL='https://strace.io'
 
@@ -674,13 +674,24 @@ libdw_LDFLAGS
 libdw_CFLAGS
 libdw_CPPFLAGS
 READELF
-PERL
 mq_LIBS
 clock_LIBS
 timer_LIBS
 dl_LIBS
 SIZEOF_KERNEL_LONG_T
 SIZEOF_LONG
+ac_ct_AR
+AR
+WARN_CFLAGS_FOR_BUILD
+LDFLAGS_FOR_BUILD
+CPPFLAGS_FOR_BUILD
+CFLAGS_FOR_BUILD
+BUILD_OBJEXT
+BUILD_EXEEXT
+CPP_FOR_BUILD
+ac_ct_CC_FOR_BUILD
+CC_FOR_BUILD
+WARN_CFLAGS
 MIPS_ABI
 arch_native
 cc_flags_mx32
@@ -706,16 +717,6 @@ SED
 EGREP
 GREP
 RANLIB
-WARN_CFLAGS_FOR_BUILD
-LDFLAGS_FOR_BUILD
-CPPFLAGS_FOR_BUILD
-CFLAGS_FOR_BUILD
-BUILD_OBJEXT
-BUILD_EXEEXT
-CPP_FOR_BUILD
-ac_ct_CC_FOR_BUILD
-CC_FOR_BUILD
-WARN_CFLAGS
 CPP
 am__fastdepCC_FALSE
 am__fastdepCC_TRUE
@@ -818,10 +819,10 @@ enable_option_checking
 enable_silent_rules
 enable_maintainer_mode
 enable_dependency_tracking
-enable_gcc_Werror
 with_gcov
 enable_code_coverage
 enable_arm_oabi
+enable_gcc_Werror
 enable_stacktrace
 with_libdw
 with_libunwind
@@ -1382,7 +1383,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures strace 5.5 to adapt to many kinds of systems.
+\`configure' configures strace 5.9 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1452,7 +1453,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of strace 5.5:";;
+     short | recursive ) echo "Configuration of strace 5.9:";;
    esac
   cat <<\_ACEOF
 
@@ -1469,9 +1470,9 @@ Optional Features:
                           do not reject slow dependency extractors
   --disable-dependency-tracking
                           speeds up one-time build
-  --enable-gcc-Werror     turn on gcc's -Werror option
   --enable-code-coverage  Whether to enable code coverage support
   --enable-arm-oabi       enable OABI support on ARM EABI
+  --enable-gcc-Werror     turn on gcc's -Werror option
   --enable-stacktrace=yes|no|check
                           whether to enable stack tracing support, default is
                           check
@@ -1575,7 +1576,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-strace configure 5.5
+strace configure 5.9
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1666,52 +1667,6 @@ fi
 
 } # ac_fn_c_try_cpp
 
-# ac_fn_c_try_link LINENO
-# -----------------------
-# Try to link conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_link ()
-{
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  rm -f conftest.$ac_objext conftest$ac_exeext
-  if { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    grep -v '^ *+' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-    mv -f conftest.er1 conftest.err
-  fi
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext && {
-	 test "$cross_compiling" = yes ||
-	 test -x conftest$ac_exeext
-       }; then :
-  ac_retval=0
-else
-  $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_retval=1
-fi
-  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
-  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
-  # interfere with the next link command; also delete a directory that is
-  # left behind by Apple's compiler.  We do this before executing the actions.
-  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_link
-
 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 # -------------------------------------------------------
 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
@@ -2059,6 +2014,52 @@ rm -f conftest.val
 
 } # ac_fn_c_compute_int
 
+# ac_fn_c_try_link LINENO
+# -----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_link ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  rm -f conftest.$ac_objext conftest$ac_exeext
+  if { { ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_link") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    grep -v '^ *+' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    mv -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext && {
+	 test "$cross_compiling" = yes ||
+	 test -x conftest$ac_exeext
+       }; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_retval=1
+fi
+  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+  # interfere with the next link command; also delete a directory that is
+  # left behind by Apple's compiler.  We do this before executing the actions.
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_link
+
 # ac_fn_c_check_func LINENO FUNC VAR
 # ----------------------------------
 # Tests whether FUNC exists, setting the cache variable VAR accordingly
@@ -2315,7 +2316,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by strace $as_me 5.5, which was
+It was created by strace $as_me 5.9, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3186,7 +3187,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='strace'
- VERSION='5.5'
+ VERSION='5.9'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -4848,134 +4849,242 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_RANLIB+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+  if test -n "$RANLIB"; then
+  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
 else
-  gl_unknown_warnings_are_errors=
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
 
 fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wall" >&5
-$as_echo_n "checking whether $CC handles -Wall... " >&6; }
-if ${gl_cv_warn_CFLAGS__Wall+:} false; then :
+if test -z "$ac_cv_prog_RANLIB"; then
+  ac_ct_RANLIB=$RANLIB
+  # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   $as_echo_n "(cached) " >&6
 else
+  if test -n "$ac_ct_RANLIB"; then
+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_RANLIB="ranlib"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wall"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Wall=yes
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
 else
-  gl_cv_warn_CFLAGS__Wall=no
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wall" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Wall" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Wall" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Wall"
+  if test "x$ac_ct_RANLIB" = x; then
+    RANLIB=":"
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    RANLIB=$ac_ct_RANLIB
+  fi
+else
+  RANLIB="$ac_cv_prog_RANLIB"
 fi
 
 
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
+if ${ac_cv_path_GREP+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -z "$GREP"; then
+  ac_path_GREP_found=false
+  # Loop through the user's path and test for each of PROGNAME-LIST
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_prog in grep ggrep; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
+      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+      as_fn_executable_p "$ac_path_GREP" || continue
+# Check for GNU ac_path_GREP and select it if it is found.
+  # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+  ac_count=0
+  $as_echo_n 0123456789 >"conftest.in"
+  while :
+  do
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
+    mv "conftest.tmp" "conftest.in"
+    cp "conftest.in" "conftest.nl"
+    $as_echo 'GREP' >> "conftest.nl"
+    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
+    if test $ac_count -gt ${ac_path_GREP_max-0}; then
+      # Best one so far, save it but keep looking for a better one
+      ac_cv_path_GREP="$ac_path_GREP"
+      ac_path_GREP_max=$ac_count
+    fi
+    # 10*(2^10) chars as input seems more than enough
+    test $ac_count -gt 10 && break
+  done
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+      $ac_path_GREP_found && break 3
+    done
+  done
+  done
+IFS=$as_save_IFS
+  if test -z "$ac_cv_path_GREP"; then
+    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+  fi
 else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
+  ac_cv_path_GREP=$GREP
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if ${ac_cv_path_EGREP+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
-  gl_unknown_warnings_are_errors=
-fi
+  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+   then ac_cv_path_EGREP="$GREP -E"
+   else
+     if test -z "$EGREP"; then
+  ac_path_EGREP_found=false
+  # Loop through the user's path and test for each of PROGNAME-LIST
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_prog in egrep; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
+      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+      as_fn_executable_p "$ac_path_EGREP" || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
+  # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+  ac_count=0
+  $as_echo_n 0123456789 >"conftest.in"
+  while :
+  do
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
+    mv "conftest.tmp" "conftest.in"
+    cp "conftest.in" "conftest.nl"
+    $as_echo 'EGREP' >> "conftest.nl"
+    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
+    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+      # Best one so far, save it but keep looking for a better one
+      ac_cv_path_EGREP="$ac_path_EGREP"
+      ac_path_EGREP_max=$ac_count
+    fi
+    # 10*(2^10) chars as input seems more than enough
+    test $ac_count -gt 10 && break
+  done
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
 
+      $ac_path_EGREP_found && break 3
+    done
+  done
+  done
+IFS=$as_save_IFS
+  if test -z "$ac_cv_path_EGREP"; then
+    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+  fi
+else
+  ac_cv_path_EGREP=$EGREP
+fi
 
+   fi
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wempty-body" >&5
-$as_echo_n "checking whether $CC handles -Wempty-body... " >&6; }
-if ${gl_cv_warn_CFLAGS__Wempty_body+:} false; then :
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
+$as_echo_n "checking for ANSI C header files... " >&6; }
+if ${ac_cv_header_stdc+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wempty-body"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
 
 int
 main ()
@@ -4985,189 +5094,147 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Wempty_body=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_header_stdc=yes
 else
-  gl_cv_warn_CFLAGS__Wempty_body=no
+  ac_cv_header_stdc=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wempty_body" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Wempty_body" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Wempty_body" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Wempty-body"
-fi
+if test $ac_cv_header_stdc = yes; then
+  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <string.h>
 
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "memchr" >/dev/null 2>&1; then :
 
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
 else
+  ac_cv_header_stdc=no
+fi
+rm -f conftest*
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+fi
+
+if test $ac_cv_header_stdc = yes; then
+  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#include <stdlib.h>
 
-int
-main ()
-{
-
-  ;
-  return 0;
-}
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "free" >/dev/null 2>&1; then :
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
 else
-  gl_unknown_warnings_are_errors=
+  ac_cv_header_stdc=no
 fi
-
+rm -f conftest*
 
 fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wformat-security" >&5
-$as_echo_n "checking whether $CC handles -Wformat-security... " >&6; }
-if ${gl_cv_warn_CFLAGS__Wformat_security+:} false; then :
-  $as_echo_n "(cached) " >&6
+if test $ac_cv_header_stdc = yes; then
+  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+  if test "$cross_compiling" = yes; then :
+  :
 else
-
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wformat-security"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+		   (('a' <= (c) && (c) <= 'i') \
+		     || ('j' <= (c) && (c) <= 'r') \
+		     || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
 
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 int
 main ()
 {
-
-  ;
+  int i;
+  for (i = 0; i < 256; i++)
+    if (XOR (islower (i), ISLOWER (i))
+	|| toupper (i) != TOUPPER (i))
+      return 2;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Wformat_security=yes
+if ac_fn_c_try_run "$LINENO"; then :
+
 else
-  gl_cv_warn_CFLAGS__Wformat_security=no
+  ac_cv_header_stdc=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wformat_security" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Wformat_security" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Wformat_security" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Wformat-security"
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
+$as_echo "$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
 
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
+fi
 
-  ;
-  return 0;
-}
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+		  inttypes.h stdint.h unistd.h
+do :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+
+done
+
+
+
+  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
+if test "x$ac_cv_header_minix_config_h" = xyes; then :
+  MINIX=yes
 else
-  gl_unknown_warnings_are_errors=
+  MINIX=
 fi
 
 
-fi
+  if test "$MINIX" = yes; then
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wignored-qualifiers" >&5
-$as_echo_n "checking whether $CC handles -Wignored-qualifiers... " >&6; }
-if ${gl_cv_warn_CFLAGS__Wignored_qualifiers+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wignored-qualifiers"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Wignored_qualifiers=yes
-else
-  gl_cv_warn_CFLAGS__Wignored_qualifiers=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wignored_qualifiers" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Wignored_qualifiers" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Wignored_qualifiers" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Wignored-qualifiers"
-fi
+$as_echo "#define _MINIX 1" >>confdefs.h
 
+  fi
 
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
+$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
+if ${ac_cv_safe_to_define___extensions__+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
+#         define __EXTENSIONS__ 1
+          $ac_includes_default
 int
 main ()
 {
@@ -5176,885 +5243,823 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_safe_to_define___extensions__=yes
 else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
-
+  ac_cv_safe_to_define___extensions__=no
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_unknown_warnings_are_errors=
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
+$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
+  test $ac_cv_safe_to_define___extensions__ = yes &&
+    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
 
+  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
 
-fi
+  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wimplicit-fallthrough=5" >&5
-$as_echo_n "checking whether $CC handles -Wimplicit-fallthrough=5... " >&6; }
-if ${gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wimplicit-fallthrough=5"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
 
-int
-main ()
-{
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5=yes
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
+$as_echo_n "checking for a sed that does not truncate output... " >&6; }
+if ${ac_cv_path_SED+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
-  gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+     for ac_i in 1 2 3 4 5 6 7; do
+       ac_script="$ac_script$as_nl$ac_script"
+     done
+     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
+     { ac_script=; unset ac_script;}
+     if test -z "$SED"; then
+  ac_path_SED_found=false
+  # Loop through the user's path and test for each of PROGNAME-LIST
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_prog in sed gsed; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
+      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
+      as_fn_executable_p "$ac_path_SED" || continue
+# Check for GNU ac_path_SED and select it if it is found.
+  # Check for GNU $ac_path_SED
+case `"$ac_path_SED" --version 2>&1` in
+*GNU*)
+  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
+*)
+  ac_count=0
+  $as_echo_n 0123456789 >"conftest.in"
+  while :
+  do
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
+    mv "conftest.tmp" "conftest.in"
+    cp "conftest.in" "conftest.nl"
+    $as_echo '' >> "conftest.nl"
+    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
+    if test $ac_count -gt ${ac_path_SED_max-0}; then
+      # Best one so far, save it but keep looking for a better one
+      ac_cv_path_SED="$ac_path_SED"
+      ac_path_SED_max=$ac_count
+    fi
+    # 10*(2^10) chars as input seems more than enough
+    test $ac_count -gt 10 && break
+  done
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
 
+      $ac_path_SED_found && break 3
+    done
+  done
+  done
+IFS=$as_save_IFS
+  if test -z "$ac_cv_path_SED"; then
+    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
+  fi
+else
+  ac_cv_path_SED=$SED
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Wimplicit-fallthrough=5"
+
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
+$as_echo "$ac_cv_path_SED" >&6; }
+ SED="$ac_cv_path_SED"
+  rm -f conftest.sed
 
 
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+	# allow to override gcov location
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+# Check whether --with-gcov was given.
+if test "${with_gcov+set}" = set; then :
+  withval=$with_gcov; _AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov
 else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
+  _AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5
+$as_echo_n "checking whether to build with code coverage support... " >&6; }
+	# Check whether --enable-code-coverage was given.
+if test "${enable_code_coverage+set}" = set; then :
+  enableval=$enable_code_coverage;
 else
-  gl_unknown_warnings_are_errors=
+  enable_code_coverage=no
 fi
 
 
+	 if test x$enable_code_coverage = xyes; then
+  CODE_COVERAGE_ENABLED_TRUE=
+  CODE_COVERAGE_ENABLED_FALSE='#'
+else
+  CODE_COVERAGE_ENABLED_TRUE='#'
+  CODE_COVERAGE_ENABLED_FALSE=
 fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Winit-self" >&5
-$as_echo_n "checking whether $CC handles -Winit-self... " >&6; }
-if ${gl_cv_warn_CFLAGS__Winit_self+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+	CODE_COVERAGE_ENABLED=$enable_code_coverage
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Winit-self"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5
+$as_echo "$enable_code_coverage" >&6; }
 
-int
-main ()
-{
+	if  test "$enable_code_coverage" = "yes" ; then :
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Winit_self=yes
+		# check for gcov
+		if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args.
+set dummy ${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_GCOV+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
-  gl_cv_warn_CFLAGS__Winit_self=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+  if test -n "$GCOV"; then
+  ac_cv_prog_GCOV="$GCOV" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_GCOV="${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Winit_self" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Winit_self" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Winit_self" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Winit-self"
+fi
+GCOV=$ac_cv_prog_GCOV
+if test -n "$GCOV"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
+$as_echo "$GCOV" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
 
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+fi
+if test -z "$ac_cv_prog_GCOV"; then
+  ac_ct_GCOV=$GCOV
+  # Extract the first word of "$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args.
+set dummy $_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_GCOV+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+  if test -n "$ac_ct_GCOV"; then
+  ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test.
 else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_GCOV="$_AX_CODE_COVERAGE_GCOV_PROG_WITH"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+fi
+ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV
+if test -n "$ac_ct_GCOV"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5
+$as_echo "$ac_ct_GCOV" >&6; }
 else
-  gl_unknown_warnings_are_errors=
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
-
+  if test "x$ac_ct_GCOV" = x; then
+    GCOV=":"
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    GCOV=$ac_ct_GCOV
+  fi
+else
+  GCOV="$ac_cv_prog_GCOV"
 fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Winitializer-overrides" >&5
-$as_echo_n "checking whether $CC handles -Winitializer-overrides... " >&6; }
-if ${gl_cv_warn_CFLAGS__Winitializer_overrides+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+		if test "X$GCOV" = "X:"; then :
+  as_fn_error $? "gcov is needed to do coverage" "$LINENO" 5
+fi
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Winitializer-overrides"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+				if  test "$GCC" = "no" ; then :
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Winitializer_overrides=yes
-else
-  gl_cv_warn_CFLAGS__Winitializer_overrides=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+			as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Winitializer_overrides" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Winitializer_overrides" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Winitializer_overrides" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Winitializer-overrides"
-fi
 
-
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+		# Extract the first word of "lcov", so it can be a program name with args.
+set dummy lcov; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_LCOV+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+  if test -n "$LCOV"; then
+  ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
 else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_LCOV="lcov"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+fi
+LCOV=$ac_cv_prog_LCOV
+if test -n "$LCOV"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
+$as_echo "$LCOV" >&6; }
 else
-  gl_unknown_warnings_are_errors=
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
 
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wlogical-op" >&5
-$as_echo_n "checking whether $CC handles -Wlogical-op... " >&6; }
-if ${gl_cv_warn_CFLAGS__Wlogical_op+:} false; then :
+		# Extract the first word of "genhtml", so it can be a program name with args.
+set dummy genhtml; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_GENHTML+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wlogical-op"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Wlogical_op=yes
-else
-  gl_cv_warn_CFLAGS__Wlogical_op=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wlogical_op" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Wlogical_op" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Wlogical_op" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Wlogical-op"
-fi
-
-
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
+  if test -n "$GENHTML"; then
+  ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
 else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_GENHTML="genhtml"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
-
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+GENHTML=$ac_cv_prog_GENHTML
+if test -n "$GENHTML"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
+$as_echo "$GENHTML" >&6; }
 else
-  gl_unknown_warnings_are_errors=
-fi
-
-
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wmissing-parameter-type" >&5
-$as_echo_n "checking whether $CC handles -Wmissing-parameter-type... " >&6; }
-if ${gl_cv_warn_CFLAGS__Wmissing_parameter_type+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wmissing-parameter-type"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+		if  test -z "$LCOV" ; then :
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Wmissing_parameter_type=yes
-else
-  gl_cv_warn_CFLAGS__Wmissing_parameter_type=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+			as_fn_error $? "To enable code coverage reporting you must have lcov installed" "$LINENO" 5
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wmissing_parameter_type" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Wmissing_parameter_type" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Wmissing_parameter_type" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Wmissing-parameter-type"
-fi
-
 
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
+		if  test -z "$GENHTML" ; then :
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+			as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_unknown_warnings_are_errors=
-fi
 
+						CODE_COVERAGE_CPPFLAGS="-DENABLE_COVERAGE_GCOV -DNDEBUG"
+		CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
+		CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
+		CODE_COVERAGE_LIBS="-lgcov"
+		CODE_COVERAGE_LDFLAGS="$CODE_COVERAGE_LIBS"
 
-fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wnested-externs" >&5
-$as_echo_n "checking whether $CC handles -Wnested-externs... " >&6; }
-if ${gl_cv_warn_CFLAGS__Wnested_externs+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wnested-externs"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Wnested_externs=yes
-else
-  gl_cv_warn_CFLAGS__Wnested_externs=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wnested_externs" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Wnested_externs" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Wnested_externs" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Wnested-externs"
-fi
 
+		CODE_COVERAGE_RULES_CHECK='
+	-$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k check
+	$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) code-coverage-capture
+'
+		CODE_COVERAGE_RULES_CAPTURE='
+	$(code_coverage_v_lcov_cap)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --capture --output-file "$(CODE_COVERAGE_OUTPUT_FILE).tmp" --test-name "$(call code_coverage_sanitize,$(PACKAGE_NAME)-$(PACKAGE_VERSION))" --no-checksum --compat-libtool $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_OPTIONS)
+	$(code_coverage_v_lcov_ign)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --remove "$(CODE_COVERAGE_OUTPUT_FILE).tmp" "/tmp/*" $(CODE_COVERAGE_IGNORE_PATTERN) --output-file "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_RMOPTS)
+	-@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp
+	$(code_coverage_v_genhtml)LANG=C $(GENHTML) $(code_coverage_quiet) $(addprefix --prefix ,$(CODE_COVERAGE_DIRECTORY)) --output-directory "$(CODE_COVERAGE_OUTPUT_DIRECTORY)" --title "$(PACKAGE_NAME)-$(PACKAGE_VERSION) Code Coverage" --legend --show-details "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_GENHTML_OPTIONS)
+	@echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html"
+'
+		CODE_COVERAGE_RULES_CLEAN='
+clean: code-coverage-clean
+distclean: code-coverage-clean
+code-coverage-clean:
+	-$(LCOV) --directory $(top_builddir) -z
+	-rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY)
+	-find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete
+'
 
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
 else
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
+		CODE_COVERAGE_RULES_CHECK='
+	@echo "Need to reconfigure with --enable-code-coverage"
+'
+		CODE_COVERAGE_RULES_CAPTURE="$CODE_COVERAGE_RULES_CHECK"
+		CODE_COVERAGE_RULES_CLEAN=''
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_unknown_warnings_are_errors=
-fi
+CODE_COVERAGE_RULES='
+# Code coverage
+#
+# Optional:
+#  - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting.
+#    Multiple directories may be specified, separated by whitespace.
+#    (Default: $(top_builddir))
+#  - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated
+#    by lcov for code coverage. (Default:
+#    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info)
+#  - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage
+#    reports to be created. (Default:
+#    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage)
+#  - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage,
+#    set to 0 to disable it and leave empty to stay with the default.
+#    (Default: empty)
+#  - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov
+#    instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
+#  - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov
+#    instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
+#  - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov
+#  - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the
+#    collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
+#  - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov
+#    instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
+#  - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering
+#    lcov instance. (Default: empty)
+#  - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov
+#    instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
+#  - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the
+#    genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
+#  - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml
+#    instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
+#  - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore
+#
+# The generated report will be titled using the $(PACKAGE_NAME) and
+# $(PACKAGE_VERSION). In order to add the current git hash to the title,
+# use the git-version-gen script, available online.
 
+# Optional variables
+CODE_COVERAGE_DIRECTORY ?= $(top_builddir)
+CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info
+CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage
+CODE_COVERAGE_BRANCH_COVERAGE ?=
+CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
+--rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
+CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
+CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)"
+CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
+CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
+CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?=
+CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
+CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\
+$(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
+--rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
+CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
+CODE_COVERAGE_IGNORE_PATTERN ?=
 
-fi
+code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V))
+code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY))
+code_coverage_v_lcov_cap_0 = @echo "  LCOV   --capture"\
+ $(CODE_COVERAGE_OUTPUT_FILE);
+code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V))
+code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY))
+code_coverage_v_lcov_ign_0 = @echo "  LCOV   --remove /tmp/*"\
+ $(CODE_COVERAGE_IGNORE_PATTERN);
+code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V))
+code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY))
+code_coverage_v_genhtml_0 = @echo "  GEN   " $(CODE_COVERAGE_OUTPUT_DIRECTORY);
+code_coverage_quiet = $(code_coverage_quiet_$(V))
+code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY))
+code_coverage_quiet_0 = --quiet
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wold-style-declaration" >&5
-$as_echo_n "checking whether $CC handles -Wold-style-declaration... " >&6; }
-if ${gl_cv_warn_CFLAGS__Wold_style_declaration+:} false; then :
+# sanitizes the test-name: replaces with underscores: dashes and dots
+code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1)))
+
+# Use recursive makes in order to ignore errors during check
+check-code-coverage:'"$CODE_COVERAGE_RULES_CHECK"'
+
+# Capture code coverage data
+code-coverage-capture: code-coverage-capture-hook'"$CODE_COVERAGE_RULES_CAPTURE"'
+
+# Hook rule executed before code-coverage-capture, overridable by the user
+code-coverage-capture-hook:
+
+'"$CODE_COVERAGE_RULES_CLEAN"'
+
+GITIGNOREFILES ?=
+GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
+
+A''M_DISTCHECK_CONFIGURE_FLAGS ?=
+A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage
+
+.PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean
+'
+
+
+
+
+
+
+$as_echo "#define COPYRIGHT_YEAR \"2020\"" >>confdefs.h
+
+COPYRIGHT_YEAR=2020
+
+
+
+$as_echo "#define MANPAGE_DATE \"2020-09-23\"" >>confdefs.h
+
+MANPAGE_DATE=2020-09-23
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
+$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
+if ${ac_cv_c_bigendian+:} false; then :
   $as_echo_n "(cached) " >&6
 else
+  ac_cv_c_bigendian=unknown
+    # See if we're dealing with a universal compiler.
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#ifndef __APPLE_CC__
+	       not a universal capable compiler
+	     #endif
+	     typedef int dummy;
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wold-style-declaration"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+	# Check for potential -arch flags.  It is not universal unless
+	# there are at least two -arch flags with different values.
+	ac_arch=
+	ac_prev=
+	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
+	 if test -n "$ac_prev"; then
+	   case $ac_word in
+	     i?86 | x86_64 | ppc | ppc64)
+	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
+		 ac_arch=$ac_word
+	       else
+		 ac_cv_c_bigendian=universal
+		 break
+	       fi
+	       ;;
+	   esac
+	   ac_prev=
+	 elif test "x$ac_word" = "x-arch"; then
+	   ac_prev=arch
+	 fi
+       done
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+    if test $ac_cv_c_bigendian = unknown; then
+      # See if sys/param.h defines the BYTE_ORDER macro.
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#include <sys/types.h>
+	     #include <sys/param.h>
 
 int
 main ()
 {
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
+		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
+		     && LITTLE_ENDIAN)
+	      bogus endian macros
+	     #endif
 
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Wold_style_declaration=yes
-else
-  gl_cv_warn_CFLAGS__Wold_style_declaration=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wold_style_declaration" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Wold_style_declaration" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Wold_style_declaration" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Wold-style-declaration"
-fi
-
-
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+if ac_fn_c_try_compile "$LINENO"; then :
+  # It does; now see whether it defined to BIG_ENDIAN or not.
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#include <sys/types.h>
+		#include <sys/param.h>
 
 int
 main ()
 {
+#if BYTE_ORDER != BIG_ENDIAN
+		 not big endian
+		#endif
 
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_c_bigendian=yes
 else
-  gl_unknown_warnings_are_errors=
+  ac_cv_c_bigendian=no
 fi
-
-
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+    fi
+    if test $ac_cv_c_bigendian = unknown; then
+      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <limits.h>
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wold-style-definition" >&5
-$as_echo_n "checking whether $CC handles -Wold-style-definition... " >&6; }
-if ${gl_cv_warn_CFLAGS__Wold_style_definition+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+int
+main ()
+{
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
+	      bogus endian macros
+	     #endif
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wold-style-definition"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  # It does; now see whether it defined to _BIG_ENDIAN or not.
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#include <limits.h>
 
 int
 main ()
 {
+#ifndef _BIG_ENDIAN
+		 not big endian
+		#endif
 
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Wold_style_definition=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_c_bigendian=yes
 else
-  gl_cv_warn_CFLAGS__Wold_style_definition=no
+  ac_cv_c_bigendian=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wold_style_definition" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Wold_style_definition" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Wold_style_definition" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Wold-style-definition"
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-
-
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+    fi
+    if test $ac_cv_c_bigendian = unknown; then
+      # Compile a test program.
+      if test "$cross_compiling" = yes; then :
+  # Try to guess by grepping values from an object file.
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+unsigned short int ascii_mm[] =
+		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
+		unsigned short int ascii_ii[] =
+		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
+		int use_ascii (int i) {
+		  return ascii_mm[i] + ascii_ii[i];
+		}
+		unsigned short int ebcdic_ii[] =
+		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
+		unsigned short int ebcdic_mm[] =
+		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
+		int use_ebcdic (int i) {
+		  return ebcdic_mm[i] + ebcdic_ii[i];
+		}
+		extern int foo;
 
 int
 main ()
 {
-
+return use_ascii (foo) == use_ebcdic (foo);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_unknown_warnings_are_errors=
-fi
-
-
+if ac_fn_c_try_compile "$LINENO"; then :
+  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
+	      ac_cv_c_bigendian=yes
+	    fi
+	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
+	      if test "$ac_cv_c_bigendian" = unknown; then
+		ac_cv_c_bigendian=no
+	      else
+		# finding both strings is unlikely to happen, but who knows?
+		ac_cv_c_bigendian=unknown
+	      fi
+	    fi
 fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Woverride-init" >&5
-$as_echo_n "checking whether $CC handles -Woverride-init... " >&6; }
-if ${gl_cv_warn_CFLAGS__Woverride_init+:} false; then :
-  $as_echo_n "(cached) " >&6
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
-
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Woverride-init"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-
+$ac_includes_default
 int
 main ()
 {
 
+	     /* Are we little or big endian?  From Harbison&Steele.  */
+	     union
+	     {
+	       long int l;
+	       char c[sizeof (long int)];
+	     } u;
+	     u.l = 1;
+	     return u.c[sizeof (long int) - 1] == 1;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Woverride_init=yes
+if ac_fn_c_try_run "$LINENO"; then :
+  ac_cv_c_bigendian=no
 else
-  gl_cv_warn_CFLAGS__Woverride_init=no
+  ac_cv_c_bigendian=yes
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
-
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Woverride_init" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Woverride_init" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Woverride_init" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Woverride-init"
+
+    fi
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
+$as_echo "$ac_cv_c_bigendian" >&6; }
+ case $ac_cv_c_bigendian in #(
+   yes)
+     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
+;; #(
+   no)
+      ;; #(
+   universal)
 
+$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
 
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+     ;; #(
+   *)
+     as_fn_error $? "unknown endianness
+ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
+ esac
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+arch_enable_Werror=yes
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported architecture" >&5
+$as_echo_n "checking for supported architecture... " >&6; }
+arch_m32=
+arch_mx32=
+cc_flags_m32=-m32
+cc_flags_mx32=-mx32
+case "$host_cpu" in
+aarch64*)
+	arch=aarch64
+	arch_m32=arm
+	cc_flags_m32=
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_unknown_warnings_are_errors=
-fi
+$as_echo "#define AARCH64 1" >>confdefs.h
 
+	;;
+alpha*)
+	arch=alpha
+	arch_enable_Werror=no
 
-fi
+$as_echo "#define ALPHA 1" >>confdefs.h
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wsign-compare" >&5
-$as_echo_n "checking whether $CC handles -Wsign-compare... " >&6; }
-if ${gl_cv_warn_CFLAGS__Wsign_compare+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+	;;
+arc*)
+	arch=arc
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wsign-compare"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+$as_echo "#define ARC 1" >>confdefs.h
 
-int
-main ()
-{
+	;;
+arm*)
+	arch=arm
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Wsign_compare=yes
-else
-  gl_cv_warn_CFLAGS__Wsign_compare=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+$as_echo "#define ARM 1" >>confdefs.h
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wsign_compare" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Wsign_compare" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Wsign_compare" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Wsign-compare"
-fi
+	;;
+avr32*)
+	arch=avr32
 
+$as_echo "#define AVR32 1" >>confdefs.h
 
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+	;;
+bfin)
+	arch=bfin
+	arch_enable_Werror=no
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+$as_echo "#define BFIN 1" >>confdefs.h
 
-int
-main ()
-{
+	;;
+csky*)
+	arch=csky
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+$as_echo "#define CSKY 1" >>confdefs.h
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_unknown_warnings_are_errors=
-fi
+	;;
+hppa*|parisc*)
+	arch=hppa
 
+$as_echo "#define HPPA 1" >>confdefs.h
 
-fi
+	;;
+i[3456]86|pentium)
+	arch=i386
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wtype-limits" >&5
-$as_echo_n "checking whether $CC handles -Wtype-limits... " >&6; }
-if ${gl_cv_warn_CFLAGS__Wtype_limits+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+$as_echo "#define I386 1" >>confdefs.h
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wtype-limits"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+	;;
+ia64)
+	arch=ia64
 
-int
-main ()
-{
+$as_echo "#define IA64 1" >>confdefs.h
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Wtype_limits=yes
-else
-  gl_cv_warn_CFLAGS__Wtype_limits=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+	;;
+m68k)
+	arch=m68k
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wtype_limits" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Wtype_limits" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Wtype_limits" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Wtype-limits"
-fi
+$as_echo "#define M68K 1" >>confdefs.h
 
+	;;
+metag*)
+	arch=metag
 
-if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+$as_echo "#define METAG 1" >>confdefs.h
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+	;;
+microblaze*)
+	arch=microblaze
+	arch_enable_Werror=no
 
-int
-main ()
-{
+$as_echo "#define MICROBLAZE 1" >>confdefs.h
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+	;;
+mips*)
+	arch=mips
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_unknown_warnings_are_errors=
-fi
+$as_echo "#define MIPS 1" >>confdefs.h
 
+	;;
+nios2*)
+	arch=nios2
 
-fi
+$as_echo "#define NIOS2 1" >>confdefs.h
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wwrite-strings" >&5
-$as_echo_n "checking whether $CC handles -Wwrite-strings... " >&6; }
-if ${gl_cv_warn_CFLAGS__Wwrite_strings+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+	;;
+or1k*)
+	arch=or1k
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wwrite-strings"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+$as_echo "#define OR1K 1" >>confdefs.h
+
+	;;
+powerpc*)
+
+$as_echo "#define POWERPC 1" >>confdefs.h
 
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#ifndef __LP64__
+# error 32 bit
+#endif
 int
 main ()
 {
@@ -6063,78 +6068,88 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Wwrite_strings=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  arch=powerpc64
 else
-  gl_cv_warn_CFLAGS__Wwrite_strings=no
+  arch=powerpc
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+	if test "$arch" = "powerpc64"; then
+		# $ac_cv_c_bigendian is defined by AC_C_BIGENDIAN
+		case "$ac_cv_c_bigendian" in
+		no)
+			arch=powerpc64le
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wwrite_strings" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Wwrite_strings" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Wwrite_strings" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Wwrite-strings"
-fi
+$as_echo "#define POWERPC64LE 1" >>confdefs.h
 
+			;;
+		*)
+			arch_m32=powerpc
 
-# Check whether --enable-gcc-Werror was given.
-if test "${enable_gcc_Werror+set}" = set; then :
-  enableval=$enable_gcc_Werror; case $enableval in
-     yes) if test x${gl_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+$as_echo "#define POWERPC64 1" >>confdefs.h
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+			;;
+		esac
+	fi
+	;;
+riscv64*)
+	arch=riscv64
 
-int
-main ()
-{
+$as_echo "#define RISCV64 1" >>confdefs.h
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
+	;;
+s390)
+	arch=s390
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
-  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_unknown_warnings_are_errors=
-fi
+$as_echo "#define S390 1" >>confdefs.h
 
+	;;
+s390x)
+	arch=s390x
+	arch_m32=s390
+	cc_flags_m32=-m31
 
-fi
+$as_echo "#define S390X 1" >>confdefs.h
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror" >&5
-$as_echo_n "checking whether $CC handles -Werror... " >&6; }
-if ${gl_cv_warn_CFLAGS__Werror+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+	;;
+sh64*)
+	arch=sh64
 
-  gl_save_compiler_FLAGS="$CFLAGS"
-  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+$as_echo "#define SH64 1" >>confdefs.h
+
+	;;
+sh*)
+	arch=sh
+
+$as_echo "#define SH 1" >>confdefs.h
+
+	;;
+sparc64*)
+	arch=sparc64
+	arch_m32=sparc
+
+$as_echo "#define SPARC64 1" >>confdefs.h
+
+	;;
+sparc*)
+	arch=sparc
+
+$as_echo "#define SPARC 1" >>confdefs.h
+
+	;;
+tile*)
+	arch=tile
 
+$as_echo "#define TILE 1" >>confdefs.h
+
+	;;
+x86?64*)
+	arch_m32=i386
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#ifndef __ILP32__
+# error not x32
+#endif
 int
 main ()
 {
@@ -6143,457 +6158,303 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS__Werror=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  arch=x32
 else
-  gl_cv_warn_CFLAGS__Werror=no
+  arch=x86_64
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$gl_save_compiler_FLAGS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror" >&5
-$as_echo "$gl_cv_warn_CFLAGS__Werror" >&6; }
-if test "x$gl_cv_warn_CFLAGS__Werror" = xyes; then :
-  as_fn_append WARN_CFLAGS " -Werror"
-fi
-
- ;;
-     no)  ;;
-     *)   as_fn_error $? "bad value $enableval for gcc-Werror option" "$LINENO" 5 ;;
-   esac
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+	if test "$arch" = "x86_64"; then
+		arch_mx32=x32
 
-fi
+$as_echo "#define X86_64 1" >>confdefs.h
 
+	else
 
+$as_echo "#define X32 1" >>confdefs.h
 
+	fi
+	;;
+xtensa*)
+	arch=xtensa
 
+$as_echo "#define XTENSA 1" >>confdefs.h
 
+	;;
+*)
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: NO!" >&5
+$as_echo "NO!" >&6; }
+	as_fn_error $? "architecture $host_cpu is not supported by strace" "$LINENO" 5
+	;;
+esac
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $arch" >&5
+$as_echo "$arch" >&6; }
 
-if test -n "${ac_c_decl_warn_flag+set}"; then :
-  st_saved_ac_c_decl_warn_flag="${ac_c_decl_warn_flag}"; unset ac_c_decl_warn_flag
-fi
+arch_native=$arch
 
-if test -n "${ac_c_preproc_warn_flag+set}"; then :
-  st_saved_ac_c_preproc_warn_flag="${ac_c_preproc_warn_flag}"; unset ac_c_preproc_warn_flag
-fi
+test -n "$arch_m32" ||
+	arch_m32=$arch
+test -n "$arch_mx32" ||
+	arch_mx32=$arch
 
-if test -n "${ac_c_werror_flag+set}"; then :
-  st_saved_ac_c_werror_flag="${ac_c_werror_flag}"; unset ac_c_werror_flag
-fi
 
-if test -n "${ac_compile+set}"; then :
-  st_saved_ac_compile="${ac_compile}"; unset ac_compile
-fi
 
-if test -n "${ac_compiler_gnu+set}"; then :
-  st_saved_ac_compiler_gnu="${ac_compiler_gnu}"; unset ac_compiler_gnu
-fi
 
-if test -n "${ac_cpp+set}"; then :
-  st_saved_ac_cpp="${ac_cpp}"; unset ac_cpp
-fi
 
-if test -n "${ac_cv_c_compiler_gnu+set}"; then :
-  st_saved_ac_cv_c_compiler_gnu="${ac_cv_c_compiler_gnu}"; unset ac_cv_c_compiler_gnu
-fi
 
-if test -n "${ac_cv_c_decl_report+set}"; then :
-  st_saved_ac_cv_c_decl_report="${ac_cv_c_decl_report}"; unset ac_cv_c_decl_report
-fi
 
-if test -n "${ac_link+set}"; then :
-  st_saved_ac_link="${ac_link}"; unset ac_link
-fi
+MIPS_ABI=
+if test "$arch" = mips; then
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _MIPS_SIM" >&5
+$as_echo_n "checking for _MIPS_SIM... " >&6; }
+if ${st_cv__MIPS_SIM+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if ac_fn_c_compute_int "$LINENO" "_MIPS_SIM" "st_cv__MIPS_SIM"        ""; then :
 
-if test -n "${ac_tool_prefix+set}"; then :
-  st_saved_ac_tool_prefix="${ac_tool_prefix}"; unset ac_tool_prefix
+else
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "_MIPS_SIM cannot be determined
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 
-if test -n "${cross_compiling+set}"; then :
-  st_saved_cross_compiling="${cross_compiling}"; unset cross_compiling
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv__MIPS_SIM" >&5
+$as_echo "$st_cv__MIPS_SIM" >&6; }
 
-cross_compiling=no
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: looking for a C compiler that generates native executables" >&5
-$as_echo "$as_me: looking for a C compiler that generates native executables" >&6;}
-ac_ext=c
-ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
-ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
-ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
+	# requires GCC >= 3.4
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MIPS ABI" >&5
+$as_echo_n "checking for MIPS ABI... " >&6; }
+if ${st_cv_mips_abi+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  if test -n "$CC_FOR_BUILD"; then
-  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+int i[_MIPS_SIM == _ABIO32 ? 1 : - 1];
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  st_cv_mips_abi=o32
 else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-    ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}gcc"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+int i[_MIPS_SIM == _ABIN32 ? 1 : - 1];
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  st_cv_mips_abi=n32
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
+int
+main ()
+{
+int i[_MIPS_SIM == _ABI64 ? 1 : - 1];
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  st_cv_mips_abi=n64
+else
+  st_cv_mips_abi=unknown
 fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
-if test -n "$CC_FOR_BUILD"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
-$as_echo "$CC_FOR_BUILD" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-
-
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
-  ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
-  # Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_CC_FOR_BUILD"; then
-  ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-    ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mips_abi" >&5
+$as_echo "$st_cv_mips_abi" >&6; }
 
+	case "$st_cv_mips_abi" in
+		o32)
+$as_echo "#define LINUX_MIPSO32 1" >>confdefs.h
+;;
+		n32)
+$as_echo "#define LINUX_MIPSN32 1" >>confdefs.h
+;;
+		n64)
+$as_echo "#define LINUX_MIPSN64 1" >>confdefs.h
+;;
+		*) as_fn_error $? "Unsupported _MIPS_SIM" "$LINENO" 5;;
+	esac
+	MIPS_ABI="$st_cv_mips_abi"
 fi
-fi
-ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
-if test -n "$ac_ct_CC_FOR_BUILD"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
-$as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
+
+
+# Check whether --enable-arm-oabi was given.
+if test "${enable_arm_oabi+set}" = set; then :
+  enableval=$enable_arm_oabi;
 else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
+  enable_arm_oabi=no
 fi
 
-  if test "x$ac_ct_CC_FOR_BUILD" = x; then
-    CC_FOR_BUILD=""
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
-ac_tool_warned=yes ;;
+case "$enable_arm_oabi" in
+	yes) enable_arm_oabi=1 ;;
+	no) enable_arm_oabi=0 ;;
+	*) as_fn_error $? "bad value $enable_arm_oabi for arm-oabi option" "$LINENO" 5 ;;
 esac
-    CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
-  fi
-else
-  CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
-fi
 
-if test -z "$CC_FOR_BUILD"; then
-          if test -n "$ac_tool_prefix"; then
-    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
+cat >>confdefs.h <<_ACEOF
+#define ENABLE_ARM_OABI $enable_arm_oabi
+_ACEOF
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is fresh enough for -Werror" >&5
+$as_echo_n "checking whether $CC is fresh enough for -Werror... " >&6; }
+if ${st_cv_cc_enable_Werror+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  if test -n "$CC_FOR_BUILD"; then
-  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-    ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}cc"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
-fi
-fi
-CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
-if test -n "$CC_FOR_BUILD"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
-$as_echo "$CC_FOR_BUILD" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
+#if defined __GNUC__ && defined __GNUC_MINOR__
+# define GNUC_PREREQ(maj, min) ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
+#else
+# define GNUC_PREREQ(maj, min) 0
+#endif
 
+#if defined __clang__ && defined __clang_major__ && defined __clang_minor__
+# define CLANG_PREREQ(maj, min) ((__clang_major__ << 16) + __clang_minor__ >= ((maj) << 16) + (min))
+#else
+# define CLANG_PREREQ(maj, min) 0
+#endif
 
-  fi
-fi
-if test -z "$CC_FOR_BUILD"; then
-  # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$CC_FOR_BUILD"; then
-  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
+int
+main ()
+{
+int i[GNUC_PREREQ(4, 8) + CLANG_PREREQ(6, 0) > 0 ? 1 : - 1];
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  st_cv_cc_enable_Werror=yes
 else
-  ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
-       ac_prog_rejected=yes
-       continue
-     fi
-    ac_cv_prog_CC_FOR_BUILD="cc"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
-  # We found a bogon in the path, so make sure we never use it.
-  set dummy $ac_cv_prog_CC_FOR_BUILD
-  shift
-  if test $# != 0; then
-    # We chose a different compiler from the bogus one.
-    # However, it has the same basename, so the bogon will be chosen
-    # first if we set CC_FOR_BUILD to just the basename; use the full file name.
-    shift
-    ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"
-  fi
-fi
+  st_cv_cc_enable_Werror=no
 fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
-if test -n "$CC_FOR_BUILD"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
-$as_echo "$CC_FOR_BUILD" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_cc_enable_Werror" >&5
+$as_echo "$st_cv_cc_enable_Werror" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to try $CC with -Werror by default" >&5
+$as_echo_n "checking whether to try $CC with -Werror by default... " >&6; }
+if ${st_cv_enable_Werror+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
+  if test "$st_cv_cc_enable_Werror" != yes; then
+		  st_cv_enable_Werror='no, the compiler is too old'
+		elif test "$arch_enable_Werror" != yes; then
+		  st_cv_enable_Werror='no, architecture is not ready'
+		else
+		  st_cv_enable_Werror=yes
+		fi
 fi
-if test -z "$CC_FOR_BUILD"; then
-  if test -n "$ac_tool_prefix"; then
-  for ac_prog in cl.exe
-  do
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_enable_Werror" >&5
+$as_echo "$st_cv_enable_Werror" >&6; }
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  if test -n "$CC_FOR_BUILD"; then
-  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-    ac_cv_prog_CC_FOR_BUILD="$ac_tool_prefix$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
 
-fi
-fi
-CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
-if test -n "$CC_FOR_BUILD"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
-$as_echo "$CC_FOR_BUILD" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
+int
+main ()
+{
 
-    test -n "$CC_FOR_BUILD" && break
-  done
-fi
-if test -z "$CC_FOR_BUILD"; then
-  ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
-  for ac_prog in cl.exe
-do
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_CC_FOR_BUILD"; then
-  ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
 else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-    ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
 fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
 fi
-ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
-if test -n "$ac_ct_CC_FOR_BUILD"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
-$as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
 else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
+  gl_unknown_warnings_are_errors=
 fi
 
 
-  test -n "$ac_ct_CC_FOR_BUILD" && break
-done
-
-  if test "x$ac_ct_CC_FOR_BUILD" = x; then
-    CC_FOR_BUILD=""
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
-  fi
-fi
-
 fi
 
-
-test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "no acceptable C compiler found in \$PATH
-See \`config.log' for more details" "$LINENO" 5; }
-
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
-  { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
-  ac_status=$?
-  if test -s conftest.err; then
-    sed '10a\
-... rest of stderr output deleted ...
-         10q' conftest.err >conftest.er1
-    cat conftest.er1 >&5
-  fi
-  rm -f conftest.er1 conftest.err
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wall" >&5
+$as_echo_n "checking whether $CC handles -Wall... " >&6; }
+if ${gl_cv_warn_CFLAGS__Wall+:} false; then :
   $as_echo_n "(cached) " >&6
 else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wall"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
 main ()
 {
-#ifndef __GNUC__
-       choke me
-#endif
 
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_compiler_gnu=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Wall=yes
 else
-  ac_compiler_gnu=no
+  gl_cv_warn_CFLAGS__Wall=no
 fi
-rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
-ac_cv_c_compiler_gnu=$ac_compiler_gnu
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-if test $ac_compiler_gnu = yes; then
-  GCC=yes
-else
-  GCC=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wall" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Wall" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Wall" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Wall"
 fi
-ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
-ac_save_CFLAGS=$CFLAGS_FOR_BUILD
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
-if ${ac_cv_build_prog_cc_g+:} false; then :
+
+
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  ac_save_c_werror_flag=$ac_c_werror_flag
-   ac_c_werror_flag=yes
-   ac_cv_build_prog_cc_g=no
-   CFLAGS_FOR_BUILD="-g"
-   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -6604,11 +6465,36 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_build_prog_cc_g=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
 else
-  CFLAGS_FOR_BUILD=""
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wempty-body" >&5
+$as_echo_n "checking whether $CC handles -Wempty-body... " >&6; }
+if ${gl_cv_warn_CFLAGS__Wempty_body+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wempty-body"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -6619,12 +6505,33 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Wempty_body=yes
+else
+  gl_cv_warn_CFLAGS__Wempty_body=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wempty_body" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Wempty_body" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Wempty_body" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Wempty-body"
+fi
 
+
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
-  ac_c_werror_flag=$ac_save_c_werror_flag
-	 CFLAGS_FOR_BUILD="-g"
-	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -6635,139 +6542,72 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_build_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
 fi
-rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
-   ac_c_werror_flag=$ac_save_c_werror_flag
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
-$as_echo "$ac_cv_build_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
-  CFLAGS_FOR_BUILD=$ac_save_CFLAGS
-elif test $ac_cv_build_prog_cc_g = yes; then
-  if test "$GCC" = yes; then
-    CFLAGS_FOR_BUILD="-g -O2"
-  else
-    CFLAGS_FOR_BUILD="-g"
-  fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
 else
-  if test "$GCC" = yes; then
-    CFLAGS_FOR_BUILD="-O2"
-  else
-    CFLAGS_FOR_BUILD=
-  fi
+  gl_unknown_warnings_are_errors=
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
-$as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
-if ${ac_cv_build_prog_cc_c89+:} false; then :
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wformat-security" >&5
+$as_echo_n "checking whether $CC handles -Wformat-security... " >&6; }
+if ${gl_cv_warn_CFLAGS__Wformat_security+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  ac_cv_build_prog_cc_c89=no
-ac_save_CC=$CC_FOR_BUILD
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdarg.h>
-#include <stdio.h>
-struct stat;
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
-struct buf { int x; };
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (p, i)
-     char **p;
-     int i;
-{
-  return p[i];
-}
-static char *f (char * (*g) (char **, int), char **p, ...)
-{
-  char *s;
-  va_list v;
-  va_start (v,p);
-  s = g (p, va_arg (v,int));
-  va_end (v);
-  return s;
-}
-
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
-   function prototypes and stuff, but not '\xHH' hex character constants.
-   These don't provoke an error unfortunately, instead are silently treated
-   as 'x'.  The following induces an error, until -std is added to get
-   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
-   array size at least.  It's necessary to write '\x00'==0 to get something
-   that's true only with -std.  */
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
-   inside strings and character constants.  */
-#define FOO(x) 'x'
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wformat-security"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
-int test (int i, double x);
-struct s1 {int (*f) (int a);};
-struct s2 {int (*f) (double a);};
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
-int argc;
-char **argv;
 int
 main ()
 {
-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
+
   ;
   return 0;
 }
 _ACEOF
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
-	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
-do
-  CC_FOR_BUILD="$ac_save_CC $ac_arg"
-  if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_build_prog_cc_c89=$ac_arg
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Wformat_security=yes
+else
+  gl_cv_warn_CFLAGS__Wformat_security=no
 fi
-rm -f core conftest.err conftest.$ac_build_objext
-  test "x$ac_cv_build_prog_cc_c89" != "xno" && break
-done
-rm -f conftest.$ac_ext
-CC_FOR_BUILD=$ac_save_CC
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
-# AC_CACHE_VAL
-case "x$ac_cv_build_prog_cc_c89" in
-  x)
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-$as_echo "none needed" >&6; } ;;
-  xno)
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-$as_echo "unsupported" >&6; } ;;
-  *)
-    CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c89"
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c89" >&5
-$as_echo "$ac_cv_build_prog_cc_c89" >&6; } ;;
-esac
-if test "x$ac_cv_build_prog_cc_c89" != xno; then :
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wformat_security" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Wformat_security" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Wformat_security" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Wformat-security"
 fi
 
-ac_ext=c
-ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
-ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
-ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-ac_ext=c
-ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
-ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
-ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
-if ${am_cv_build_prog_cc_c_o+:} false; then :
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
   $as_echo_n "(cached) " >&6
 else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -6779,3358 +6619,8044 @@ main ()
   return 0;
 }
 _ACEOF
-  # Make sure it works both with $CC and with simple cc.
-  # Following AC_PROG_CC_C_O, we do the test twice because some
-  # compilers refuse to overwrite an existing .o file with -o,
-  # though they will create one.
-  am_cv_build_prog_cc_c_o=yes
-  for am_i in 1 2; do
-    if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
-   ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } \
-         && test -f conftest2.$ac_build_objext; then
-      : OK
-    else
-      am_cv_build_prog_cc_c_o=no
-      break
-    fi
-  done
-  rm -f core conftest*
-  unset am_i
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_prog_cc_c_o" >&5
-$as_echo "$am_cv_build_prog_cc_c_o" >&6; }
-if test "$am_cv_build_prog_cc_c_o" != yes; then
-   # Losing compiler, so override with the script.
-   # FIXME: It is wrong to rewrite CC.
-   # But if we don't then we get into trouble of one sort or another.
-   # A longer-term fix would be to have automake use am__CC in this case,
-   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
-   CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
 fi
-ac_ext=c
-ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
-ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
-ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-depcc="$CC_FOR_BUILD"   am_compiler_list=
+fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_build_CC_dependencies_compiler_type+:} false; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wignored-qualifiers" >&5
+$as_echo_n "checking whether $CC handles -Wignored-qualifiers... " >&6; }
+if ${gl_cv_warn_CFLAGS__Wignored_qualifiers+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
-  # We make a subdir and do the tests there.  Otherwise we can end up
-  # making bogus files that we don't know about and never remove.  For
-  # instance it was reported that on HP-UX the gcc test will end up
-  # making a dummy file named 'D' -- because '-MD' means "put the output
-  # in D".
-  rm -rf conftest.dir
-  mkdir conftest.dir
-  # Copy depcomp to subdir because otherwise we won't find it if we're
-  # using a relative directory.
-  cp "$am_depcomp" conftest.dir
-  cd conftest.dir
-  # We will build objects and dependencies in a subdirectory because
-  # it helps to detect inapplicable dependency modes.  For instance
-  # both Tru64's cc and ICC support -MD to output dependencies as a
-  # side effect of compilation, but ICC will put the dependencies in
-  # the current directory while Tru64 will put them in the object
-  # directory.
-  mkdir sub
-
-  am_cv_build_CC_dependencies_compiler_type=none
-  if test "$am_compiler_list" = ""; then
-     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
-  fi
-  am__universal=false
-  case " $depcc " in #(
-     *\ -arch\ *\ -arch\ *) am__universal=true ;;
-     esac
 
-  for depmode in $am_compiler_list; do
-    # Setup a source with many dependencies, because some compilers
-    # like to wrap large dependency lists on column 80 (with \), and
-    # we should not choose a depcomp mode which is confused by this.
-    #
-    # We need to recreate these files for each test, as the compiler may
-    # overwrite some of them when testing with obscure command lines.
-    # This happens at least with the AIX C compiler.
-    : > sub/conftest.c
-    for i in 1 2 3 4 5 6; do
-      echo '#include "conftst'$i'.h"' >> sub/conftest.c
-      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
-      # Solaris 10 /bin/sh.
-      echo '/* dummy */' > sub/conftst$i.h
-    done
-    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wignored-qualifiers"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
-    # We check with '-c' and '-o' for the sake of the "dashmstdout"
-    # mode.  It turns out that the SunPro C++ compiler does not properly
-    # handle '-M -o', and we need to detect this.  Also, some Intel
-    # versions had trouble with output in subdirs.
-    am__obj=sub/conftest.${OBJEXT-o}
-    am__minus_obj="-o $am__obj"
-    case $depmode in
-    gcc)
-      # This depmode causes a compiler race in universal mode.
-      test "$am__universal" = false || continue
-      ;;
-    nosideeffect)
-      # After this tag, mechanisms are not by side-effect, so they'll
-      # only be used when explicitly requested.
-      if test "x$enable_dependency_tracking" = xyes; then
-	continue
-      else
-	break
-      fi
-      ;;
-    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
-      # This compiler won't grok '-c -o', but also, the minuso test has
-      # not run yet.  These depmodes are late enough in the game, and
-      # so weak that their functioning should not be impacted.
-      am__obj=conftest.${OBJEXT-o}
-      am__minus_obj=
-      ;;
-    none) break ;;
-    esac
-    if depmode=$depmode \
-       source=sub/conftest.c object=$am__obj \
-       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
-       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
-         >/dev/null 2>conftest.err &&
-       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
-       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
-       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
-       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
-      # icc doesn't choke on unknown options, it will just issue warnings
-      # or remarks (even with -Werror).  So we grep stderr for any message
-      # that says an option was ignored or not supported.
-      # When given -MP, icc 7.0 and 7.1 complain thusly:
-      #   icc: Command line warning: ignoring option '-M'; no argument required
-      # The diagnosis changed in icc 8.0:
-      #   icc: Command line remark: option '-MP' not supported
-      if (grep 'ignoring option' conftest.err ||
-          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
-        am_cv_build_CC_dependencies_compiler_type=$depmode
-        break
-      fi
-    fi
-  done
+int
+main ()
+{
 
-  cd ..
-  rm -rf conftest.dir
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Wignored_qualifiers=yes
 else
-  am_cv_build_CC_dependencies_compiler_type=none
+  gl_cv_warn_CFLAGS__Wignored_qualifiers=no
 fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_build_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_build_CC_dependencies_compiler_type
-
- if
-  test "x$enable_dependency_tracking" != xno \
-  && test "$am_cv_build_CC_dependencies_compiler_type" = gcc3; then
-  am__fastdepCC_TRUE=
-  am__fastdepCC_FALSE='#'
-else
-  am__fastdepCC_TRUE='#'
-  am__fastdepCC_FALSE=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wignored_qualifiers" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Wignored_qualifiers" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Wignored_qualifiers" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Wignored-qualifiers"
 fi
 
 
-ac_ext=c
-ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
-ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
-ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
-$as_echo_n "checking how to run the C preprocessor... " >&6; }
-# On Suns, sometimes $CPP names a directory.
-if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
-  CPP_FOR_BUILD=
-fi
-if test -z "$CPP_FOR_BUILD"; then
-  if ${ac_cv_build_prog_CPP+:} false; then :
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-      # Double quotes because CPP needs to be expanded
-    for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
-    do
-      ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-		     Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
 
-else
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
+int
+main ()
+{
 
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ac_nonexistent.h>
+  ;
+  return 0;
+}
 _ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
 else
-  # Passes both tests.
-ac_preproc_ok=:
-break
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-  break
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
 fi
 
-    done
-    ac_cv_build_prog_CPP=$CPP_FOR_BUILD
 
 fi
-  CPP_FOR_BUILD=$ac_cv_build_prog_CPP
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wimplicit-fallthrough=5" >&5
+$as_echo_n "checking whether $CC handles -Wimplicit-fallthrough=5... " >&6; }
+if ${gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
-  ac_cv_build_prog_CPP=$CPP_FOR_BUILD
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wimplicit-fallthrough=5"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5=yes
+else
+  gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5=no
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
-$as_echo "$CPP_FOR_BUILD" >&6; }
-ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Wimplicit_fallthrough_5" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Wimplicit-fallthrough=5"
+fi
+
+
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-		     Syntax error
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Winit-self" >&5
+$as_echo_n "checking whether $CC handles -Winit-self... " >&6; }
+if ${gl_cv_warn_CFLAGS__Winit_self+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Winit-self"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Winit_self=yes
+else
+  gl_cv_warn_CFLAGS__Winit_self=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Winit_self" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Winit_self" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Winit_self" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Winit-self"
+fi
+
+
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Winitializer-overrides" >&5
+$as_echo_n "checking whether $CC handles -Winitializer-overrides... " >&6; }
+if ${gl_cv_warn_CFLAGS__Winitializer_overrides+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Winitializer-overrides"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Winitializer_overrides=yes
+else
+  gl_cv_warn_CFLAGS__Winitializer_overrides=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Winitializer_overrides" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Winitializer_overrides" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Winitializer_overrides" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Winitializer-overrides"
+fi
+
+
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wlogical-op" >&5
+$as_echo_n "checking whether $CC handles -Wlogical-op... " >&6; }
+if ${gl_cv_warn_CFLAGS__Wlogical_op+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wlogical-op"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Wlogical_op=yes
+else
+  gl_cv_warn_CFLAGS__Wlogical_op=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wlogical_op" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Wlogical_op" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Wlogical_op" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Wlogical-op"
+fi
+
+
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wmissing-parameter-type" >&5
+$as_echo_n "checking whether $CC handles -Wmissing-parameter-type... " >&6; }
+if ${gl_cv_warn_CFLAGS__Wmissing_parameter_type+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wmissing-parameter-type"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Wmissing_parameter_type=yes
+else
+  gl_cv_warn_CFLAGS__Wmissing_parameter_type=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wmissing_parameter_type" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Wmissing_parameter_type" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Wmissing_parameter_type" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Wmissing-parameter-type"
+fi
+
+
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wnested-externs" >&5
+$as_echo_n "checking whether $CC handles -Wnested-externs... " >&6; }
+if ${gl_cv_warn_CFLAGS__Wnested_externs+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wnested-externs"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Wnested_externs=yes
+else
+  gl_cv_warn_CFLAGS__Wnested_externs=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wnested_externs" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Wnested_externs" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Wnested_externs" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Wnested-externs"
+fi
+
+
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wold-style-declaration" >&5
+$as_echo_n "checking whether $CC handles -Wold-style-declaration... " >&6; }
+if ${gl_cv_warn_CFLAGS__Wold_style_declaration+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wold-style-declaration"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Wold_style_declaration=yes
+else
+  gl_cv_warn_CFLAGS__Wold_style_declaration=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wold_style_declaration" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Wold_style_declaration" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Wold_style_declaration" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Wold-style-declaration"
+fi
+
+
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wold-style-definition" >&5
+$as_echo_n "checking whether $CC handles -Wold-style-definition... " >&6; }
+if ${gl_cv_warn_CFLAGS__Wold_style_definition+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wold-style-definition"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Wold_style_definition=yes
+else
+  gl_cv_warn_CFLAGS__Wold_style_definition=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wold_style_definition" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Wold_style_definition" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Wold_style_definition" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Wold-style-definition"
+fi
+
+
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Woverride-init" >&5
+$as_echo_n "checking whether $CC handles -Woverride-init... " >&6; }
+if ${gl_cv_warn_CFLAGS__Woverride_init+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Woverride-init"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Woverride_init=yes
+else
+  gl_cv_warn_CFLAGS__Woverride_init=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Woverride_init" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Woverride_init" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Woverride_init" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Woverride-init"
+fi
+
+
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wsign-compare" >&5
+$as_echo_n "checking whether $CC handles -Wsign-compare... " >&6; }
+if ${gl_cv_warn_CFLAGS__Wsign_compare+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wsign-compare"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Wsign_compare=yes
+else
+  gl_cv_warn_CFLAGS__Wsign_compare=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wsign_compare" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Wsign_compare" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Wsign_compare" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Wsign-compare"
+fi
+
+
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wtype-limits" >&5
+$as_echo_n "checking whether $CC handles -Wtype-limits... " >&6; }
+if ${gl_cv_warn_CFLAGS__Wtype_limits+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wtype-limits"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Wtype_limits=yes
+else
+  gl_cv_warn_CFLAGS__Wtype_limits=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wtype_limits" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Wtype_limits" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Wtype_limits" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Wtype-limits"
+fi
+
+
+if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wwrite-strings" >&5
+$as_echo_n "checking whether $CC handles -Wwrite-strings... " >&6; }
+if ${gl_cv_warn_CFLAGS__Wwrite_strings+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wwrite-strings"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Wwrite_strings=yes
+else
+  gl_cv_warn_CFLAGS__Wwrite_strings=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wwrite_strings" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Wwrite_strings" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Wwrite_strings" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Wwrite-strings"
+fi
+
+
+# Check whether --enable-gcc-Werror was given.
+if test "${enable_gcc_Werror+set}" = set; then :
+  enableval=$enable_gcc_Werror; case "$enable_gcc_Werror" in
+		yes|no|no,*) ;;
+		*) as_fn_error $? "bad value $enable_gcc_Werror for gcc-Werror option" "$LINENO" 5 ;;
+	       esac
+else
+  enable_gcc_Werror="$st_cv_enable_Werror"
+fi
+
+if test "$enable_gcc_Werror" = yes; then
+  if test x${gl_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
+  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror" >&5
+$as_echo_n "checking whether $CC handles -Werror... " >&6; }
+if ${gl_cv_warn_CFLAGS__Werror+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS"
+  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS__Werror=yes
+else
+  gl_cv_warn_CFLAGS__Werror=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror" >&5
+$as_echo "$gl_cv_warn_CFLAGS__Werror" >&6; }
+if test "x$gl_cv_warn_CFLAGS__Werror" = xyes; then :
+  as_fn_append WARN_CFLAGS " -Werror"
+fi
+
+
+fi
+
+
+
+
+
+if test -n "${ac_c_decl_warn_flag+set}"; then :
+  st_saved_ac_c_decl_warn_flag="${ac_c_decl_warn_flag}"; unset ac_c_decl_warn_flag
+fi
+
+if test -n "${ac_c_preproc_warn_flag+set}"; then :
+  st_saved_ac_c_preproc_warn_flag="${ac_c_preproc_warn_flag}"; unset ac_c_preproc_warn_flag
+fi
+
+if test -n "${ac_c_werror_flag+set}"; then :
+  st_saved_ac_c_werror_flag="${ac_c_werror_flag}"; unset ac_c_werror_flag
+fi
+
+if test -n "${ac_compile+set}"; then :
+  st_saved_ac_compile="${ac_compile}"; unset ac_compile
+fi
+
+if test -n "${ac_compiler_gnu+set}"; then :
+  st_saved_ac_compiler_gnu="${ac_compiler_gnu}"; unset ac_compiler_gnu
+fi
+
+if test -n "${ac_cpp+set}"; then :
+  st_saved_ac_cpp="${ac_cpp}"; unset ac_cpp
+fi
+
+if test -n "${ac_cv_c_compiler_gnu+set}"; then :
+  st_saved_ac_cv_c_compiler_gnu="${ac_cv_c_compiler_gnu}"; unset ac_cv_c_compiler_gnu
+fi
+
+if test -n "${ac_cv_c_decl_report+set}"; then :
+  st_saved_ac_cv_c_decl_report="${ac_cv_c_decl_report}"; unset ac_cv_c_decl_report
+fi
+
+if test -n "${ac_link+set}"; then :
+  st_saved_ac_link="${ac_link}"; unset ac_link
+fi
+
+if test -n "${ac_tool_prefix+set}"; then :
+  st_saved_ac_tool_prefix="${ac_tool_prefix}"; unset ac_tool_prefix
+fi
+
+if test -n "${cross_compiling+set}"; then :
+  st_saved_cross_compiling="${cross_compiling}"; unset cross_compiling
+fi
+
+cross_compiling=no
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: looking for a C compiler that generates native executables" >&5
+$as_echo "$as_me: looking for a C compiler that generates native executables" >&6;}
+ac_ext=c
+ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
+ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
+ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$CC_FOR_BUILD"; then
+  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}gcc"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
+if test -n "$CC_FOR_BUILD"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
+$as_echo "$CC_FOR_BUILD" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
+  ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
+  # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ac_ct_CC_FOR_BUILD"; then
+  ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
+if test -n "$ac_ct_CC_FOR_BUILD"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
+$as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+  if test "x$ac_ct_CC_FOR_BUILD" = x; then
+    CC_FOR_BUILD=""
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
+  fi
+else
+  CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
+fi
+
+if test -z "$CC_FOR_BUILD"; then
+          if test -n "$ac_tool_prefix"; then
+    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$CC_FOR_BUILD"; then
+  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}cc"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
+if test -n "$CC_FOR_BUILD"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
+$as_echo "$CC_FOR_BUILD" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  fi
+fi
+if test -z "$CC_FOR_BUILD"; then
+  # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$CC_FOR_BUILD"; then
+  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
+else
+  ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+       ac_prog_rejected=yes
+       continue
+     fi
+    ac_cv_prog_CC_FOR_BUILD="cc"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+  # We found a bogon in the path, so make sure we never use it.
+  set dummy $ac_cv_prog_CC_FOR_BUILD
+  shift
+  if test $# != 0; then
+    # We chose a different compiler from the bogus one.
+    # However, it has the same basename, so the bogon will be chosen
+    # first if we set CC_FOR_BUILD to just the basename; use the full file name.
+    shift
+    ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"
+  fi
+fi
+fi
+fi
+CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
+if test -n "$CC_FOR_BUILD"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
+$as_echo "$CC_FOR_BUILD" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC_FOR_BUILD"; then
+  if test -n "$ac_tool_prefix"; then
+  for ac_prog in cl.exe
+  do
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$CC_FOR_BUILD"; then
+  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_CC_FOR_BUILD="$ac_tool_prefix$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
+if test -n "$CC_FOR_BUILD"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
+$as_echo "$CC_FOR_BUILD" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+    test -n "$CC_FOR_BUILD" && break
+  done
+fi
+if test -z "$CC_FOR_BUILD"; then
+  ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
+  for ac_prog in cl.exe
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ac_ct_CC_FOR_BUILD"; then
+  ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
+if test -n "$ac_ct_CC_FOR_BUILD"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
+$as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  test -n "$ac_ct_CC_FOR_BUILD" && break
+done
+
+  if test "x$ac_ct_CC_FOR_BUILD" = x; then
+    CC_FOR_BUILD=""
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
+  fi
+fi
+
+fi
+
+
+test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+  { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    sed '10a\
+... rest of stderr output deleted ...
+         10q' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+  fi
+  rm -f conftest.er1 conftest.err
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+#ifndef __GNUC__
+       choke me
+#endif
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_compiler_gnu=yes
+else
+  ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+  GCC=yes
+else
+  GCC=
+fi
+ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
+ac_save_CFLAGS=$CFLAGS_FOR_BUILD
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
+if ${ac_cv_build_prog_cc_g+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_save_c_werror_flag=$ac_c_werror_flag
+   ac_c_werror_flag=yes
+   ac_cv_build_prog_cc_g=no
+   CFLAGS_FOR_BUILD="-g"
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_build_prog_cc_g=yes
+else
+  CFLAGS_FOR_BUILD=""
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+  ac_c_werror_flag=$ac_save_c_werror_flag
+	 CFLAGS_FOR_BUILD="-g"
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_build_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
+   ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
+$as_echo "$ac_cv_build_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+  CFLAGS_FOR_BUILD=$ac_save_CFLAGS
+elif test $ac_cv_build_prog_cc_g = yes; then
+  if test "$GCC" = yes; then
+    CFLAGS_FOR_BUILD="-g -O2"
+  else
+    CFLAGS_FOR_BUILD="-g"
+  fi
+else
+  if test "$GCC" = yes; then
+    CFLAGS_FOR_BUILD="-O2"
+  else
+    CFLAGS_FOR_BUILD=
+  fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
+$as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
+if ${ac_cv_build_prog_cc_c89+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_cv_build_prog_cc_c89=no
+ac_save_CC=$CC_FOR_BUILD
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+     char **p;
+     int i;
+{
+  return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+  char *s;
+  va_list v;
+  va_start (v,p);
+  s = g (p, va_arg (v,int));
+  va_end (v);
+  return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
+   function prototypes and stuff, but not '\xHH' hex character constants.
+   These don't provoke an error unfortunately, instead are silently treated
+   as 'x'.  The following induces an error, until -std is added to get
+   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
+   array size at least.  It's necessary to write '\x00'==0 to get something
+   that's true only with -std.  */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+   inside strings and character constants.  */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
+  ;
+  return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+  CC_FOR_BUILD="$ac_save_CC $ac_arg"
+  if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_build_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_build_objext
+  test "x$ac_cv_build_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC_FOR_BUILD=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_build_prog_cc_c89" in
+  x)
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+  xno)
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+  *)
+    CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c89"
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c89" >&5
+$as_echo "$ac_cv_build_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_build_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
+ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
+ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=c
+ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
+ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
+ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
+if ${am_cv_build_prog_cc_c_o+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+  # Make sure it works both with $CC and with simple cc.
+  # Following AC_PROG_CC_C_O, we do the test twice because some
+  # compilers refuse to overwrite an existing .o file with -o,
+  # though they will create one.
+  am_cv_build_prog_cc_c_o=yes
+  for am_i in 1 2; do
+    if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
+   ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } \
+         && test -f conftest2.$ac_build_objext; then
+      : OK
+    else
+      am_cv_build_prog_cc_c_o=no
+      break
+    fi
+  done
+  rm -f core conftest*
+  unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_prog_cc_c_o" >&5
+$as_echo "$am_cv_build_prog_cc_c_o" >&6; }
+if test "$am_cv_build_prog_cc_c_o" != yes; then
+   # Losing compiler, so override with the script.
+   # FIXME: It is wrong to rewrite CC.
+   # But if we don't then we get into trouble of one sort or another.
+   # A longer-term fix would be to have automake use am__CC in this case,
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+   CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
+fi
+ac_ext=c
+ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
+ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
+ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+depcc="$CC_FOR_BUILD"   am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_build_CC_dependencies_compiler_type+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+  # We make a subdir and do the tests there.  Otherwise we can end up
+  # making bogus files that we don't know about and never remove.  For
+  # instance it was reported that on HP-UX the gcc test will end up
+  # making a dummy file named 'D' -- because '-MD' means "put the output
+  # in D".
+  rm -rf conftest.dir
+  mkdir conftest.dir
+  # Copy depcomp to subdir because otherwise we won't find it if we're
+  # using a relative directory.
+  cp "$am_depcomp" conftest.dir
+  cd conftest.dir
+  # We will build objects and dependencies in a subdirectory because
+  # it helps to detect inapplicable dependency modes.  For instance
+  # both Tru64's cc and ICC support -MD to output dependencies as a
+  # side effect of compilation, but ICC will put the dependencies in
+  # the current directory while Tru64 will put them in the object
+  # directory.
+  mkdir sub
+
+  am_cv_build_CC_dependencies_compiler_type=none
+  if test "$am_compiler_list" = ""; then
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+  fi
+  am__universal=false
+  case " $depcc " in #(
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
+     esac
+
+  for depmode in $am_compiler_list; do
+    # Setup a source with many dependencies, because some compilers
+    # like to wrap large dependency lists on column 80 (with \), and
+    # we should not choose a depcomp mode which is confused by this.
+    #
+    # We need to recreate these files for each test, as the compiler may
+    # overwrite some of them when testing with obscure command lines.
+    # This happens at least with the AIX C compiler.
+    : > sub/conftest.c
+    for i in 1 2 3 4 5 6; do
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
+      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+      # Solaris 10 /bin/sh.
+      echo '/* dummy */' > sub/conftst$i.h
+    done
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+    # We check with '-c' and '-o' for the sake of the "dashmstdout"
+    # mode.  It turns out that the SunPro C++ compiler does not properly
+    # handle '-M -o', and we need to detect this.  Also, some Intel
+    # versions had trouble with output in subdirs.
+    am__obj=sub/conftest.${OBJEXT-o}
+    am__minus_obj="-o $am__obj"
+    case $depmode in
+    gcc)
+      # This depmode causes a compiler race in universal mode.
+      test "$am__universal" = false || continue
+      ;;
+    nosideeffect)
+      # After this tag, mechanisms are not by side-effect, so they'll
+      # only be used when explicitly requested.
+      if test "x$enable_dependency_tracking" = xyes; then
+	continue
+      else
+	break
+      fi
+      ;;
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+      # This compiler won't grok '-c -o', but also, the minuso test has
+      # not run yet.  These depmodes are late enough in the game, and
+      # so weak that their functioning should not be impacted.
+      am__obj=conftest.${OBJEXT-o}
+      am__minus_obj=
+      ;;
+    none) break ;;
+    esac
+    if depmode=$depmode \
+       source=sub/conftest.c object=$am__obj \
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+         >/dev/null 2>conftest.err &&
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+      # icc doesn't choke on unknown options, it will just issue warnings
+      # or remarks (even with -Werror).  So we grep stderr for any message
+      # that says an option was ignored or not supported.
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
+      #   icc: Command line warning: ignoring option '-M'; no argument required
+      # The diagnosis changed in icc 8.0:
+      #   icc: Command line remark: option '-MP' not supported
+      if (grep 'ignoring option' conftest.err ||
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+        am_cv_build_CC_dependencies_compiler_type=$depmode
+        break
+      fi
+    fi
+  done
+
+  cd ..
+  rm -rf conftest.dir
+else
+  am_cv_build_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_build_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_build_CC_dependencies_compiler_type
+
+ if
+  test "x$enable_dependency_tracking" != xno \
+  && test "$am_cv_build_CC_dependencies_compiler_type" = gcc3; then
+  am__fastdepCC_TRUE=
+  am__fastdepCC_FALSE='#'
+else
+  am__fastdepCC_TRUE='#'
+  am__fastdepCC_FALSE=
+fi
+
+
+ac_ext=c
+ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
+ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
+ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
+  CPP_FOR_BUILD=
+fi
+if test -z "$CPP_FOR_BUILD"; then
+  if ${ac_cv_build_prog_CPP+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+      # Double quotes because CPP needs to be expanded
+    for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
+    do
+      ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+  # Use a header file that comes with gcc, so configuring glibc
+  # with a fresh cross-compiler works.
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+  # <limits.h> exists even on freestanding compilers.
+  # On the NeXT, cc -E runs the code through the compiler's parser,
+  # not just through cpp. "Syntax error" is here to catch this case.
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+		     Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+  # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+  # OK, works on sane cases.  Now check whether nonexistent headers
+  # can be detected and how.
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+  # Broken: success on invalid input.
+continue
+else
+  # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+  break
+fi
+
+    done
+    ac_cv_build_prog_CPP=$CPP_FOR_BUILD
+
+fi
+  CPP_FOR_BUILD=$ac_cv_build_prog_CPP
+else
+  ac_cv_build_prog_CPP=$CPP_FOR_BUILD
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
+$as_echo "$CPP_FOR_BUILD" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+  # Use a header file that comes with gcc, so configuring glibc
+  # with a fresh cross-compiler works.
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+  # <limits.h> exists even on freestanding compilers.
+  # On the NeXT, cc -E runs the code through the compiler's parser,
+  # not just through cpp. "Syntax error" is here to catch this case.
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+		     Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+  # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+  # OK, works on sane cases.  Now check whether nonexistent headers
+  # can be detected and how.
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+  # Broken: success on invalid input.
+continue
+else
+  # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
+ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
+ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD is fresh enough for -Werror" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD is fresh enough for -Werror... " >&6; }
+if ${st_cv_build_cc_enable_Werror+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if defined __GNUC__ && defined __GNUC_MINOR__
+# define GNUC_PREREQ(maj, min) ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
+#else
+# define GNUC_PREREQ(maj, min) 0
+#endif
+
+#if defined __clang__ && defined __clang_major__ && defined __clang_minor__
+# define CLANG_PREREQ(maj, min) ((__clang_major__ << 16) + __clang_minor__ >= ((maj) << 16) + (min))
+#else
+# define CLANG_PREREQ(maj, min) 0
+#endif
+
+int
+main ()
+{
+int i[GNUC_PREREQ(4, 8) + CLANG_PREREQ(6, 0) > 0 ? 1 : - 1];
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  st_cv_build_cc_enable_Werror=yes
+else
+  st_cv_build_cc_enable_Werror=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_build_cc_enable_Werror" >&5
+$as_echo "$st_cv_build_cc_enable_Werror" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to try $CC_FOR_BUILD with -Werror by default" >&5
+$as_echo_n "checking whether to try $CC_FOR_BUILD with -Werror by default... " >&6; }
+if ${st_cv_build_enable_Werror+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test "$st_cv_build_cc_enable_Werror" != yes; then
+		  st_cv_build_enable_Werror='no, the compiler is too old'
+		elif test "$arch_enable_Werror" != yes; then
+		  st_cv_build_enable_Werror='no, architecture is not ready'
+		else
+		  st_cv_build_enable_Werror=yes
+		fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_build_enable_Werror" >&5
+$as_echo "$st_cv_build_enable_Werror" >&6; }
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wall" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Wall... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wall+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wall"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wall=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wall=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wall" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wall" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wall" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wall"
+fi
+
+
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wempty-body" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Wempty-body... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wempty-body"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wempty-body"
+fi
+
+
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wformat-security" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Wformat-security... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wformat-security"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wformat-security"
+fi
+
+
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wignored-qualifiers" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Wignored-qualifiers... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wignored-qualifiers"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wignored-qualifiers"
+fi
+
+
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wimplicit-fallthrough=5" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Wimplicit-fallthrough=5... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wimplicit-fallthrough=5"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wimplicit-fallthrough=5"
+fi
+
+
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Winit-self" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Winit-self... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Winit-self"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Winit-self"
+fi
+
+
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Winitializer-overrides" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Winitializer-overrides... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Winitializer-overrides"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Winitializer-overrides"
+fi
+
+
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wlogical-op" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Wlogical-op... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wlogical-op"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wlogical-op"
+fi
+
+
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wmissing-parameter-type" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Wmissing-parameter-type... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wmissing-parameter-type"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wmissing-parameter-type"
+fi
+
+
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wnested-externs" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Wnested-externs... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wnested-externs"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wnested-externs"
+fi
+
+
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wold-style-declaration" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Wold-style-declaration... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wold-style-declaration"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-declaration"
+fi
+
+
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wold-style-definition" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Wold-style-definition... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wold-style-definition"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-definition"
+fi
+
+
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Woverride-init" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Woverride-init... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Woverride-init"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Woverride-init"
+fi
+
+
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wsign-compare" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Wsign-compare... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wsign-compare"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wsign-compare"
+fi
+
+
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wtype-limits" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Wtype-limits... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wtype-limits"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wtype-limits"
+fi
+
+
+if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wwrite-strings" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Wwrite-strings... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wwrite-strings"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wwrite-strings"
+fi
+
+
+# Check whether --enable-gcc-Werror was given.
+if test "${enable_gcc_Werror+set}" = set; then :
+  enableval=$enable_gcc_Werror; case "$enable_gcc_Werror" in
+		yes|no|no,*) ;;
+		*) as_fn_error $? "bad value $enable_gcc_Werror for gcc-Werror option" "$LINENO" 5 ;;
+	       esac
+else
+  enable_gcc_Werror="$st_cv_build_enable_Werror"
+fi
+
+if test "$enable_gcc_Werror" = yes; then
+  if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
+  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
+else
+  gl_build_unknown_warnings_are_errors=
+fi
+
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror" >&5
+$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror... " >&6; }
+if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
+  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror=yes
+else
+  gl_cv_warn_CFLAGS_FOR_BUILD__Werror=no
+fi
+rm -f core conftest.err conftest.$ac_build_objext \
+    conftest$ac_build_exeext conftest.$ac_ext
+  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror" >&5
+$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror" >&6; }
+if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror" = xyes; then :
+  as_fn_append WARN_CFLAGS_FOR_BUILD " -Werror"
+fi
+
+
+fi
+
+
+
+if test -n "${st_saved_cross_compiling+set}"; then :
+  cross_compiling="${st_saved_cross_compiling}"; unset st_saved_cross_compiling
+fi
+
+if test -n "${st_saved_ac_tool_prefix+set}"; then :
+  ac_tool_prefix="${st_saved_ac_tool_prefix}"; unset st_saved_ac_tool_prefix
+fi
+
+if test -n "${st_saved_ac_link+set}"; then :
+  ac_link="${st_saved_ac_link}"; unset st_saved_ac_link
+fi
+
+if test -n "${st_saved_ac_cv_c_decl_report+set}"; then :
+  ac_cv_c_decl_report="${st_saved_ac_cv_c_decl_report}"; unset st_saved_ac_cv_c_decl_report
+fi
+
+if test -n "${st_saved_ac_cv_c_compiler_gnu+set}"; then :
+  ac_cv_c_compiler_gnu="${st_saved_ac_cv_c_compiler_gnu}"; unset st_saved_ac_cv_c_compiler_gnu
+fi
+
+if test -n "${st_saved_ac_cpp+set}"; then :
+  ac_cpp="${st_saved_ac_cpp}"; unset st_saved_ac_cpp
+fi
+
+if test -n "${st_saved_ac_compiler_gnu+set}"; then :
+  ac_compiler_gnu="${st_saved_ac_compiler_gnu}"; unset st_saved_ac_compiler_gnu
+fi
+
+if test -n "${st_saved_ac_compile+set}"; then :
+  ac_compile="${st_saved_ac_compile}"; unset st_saved_ac_compile
+fi
+
+if test -n "${st_saved_ac_c_werror_flag+set}"; then :
+  ac_c_werror_flag="${st_saved_ac_c_werror_flag}"; unset st_saved_ac_c_werror_flag
+fi
+
+if test -n "${st_saved_ac_c_preproc_warn_flag+set}"; then :
+  ac_c_preproc_warn_flag="${st_saved_ac_c_preproc_warn_flag}"; unset st_saved_ac_c_preproc_warn_flag
+fi
+
+if test -n "${st_saved_ac_c_decl_warn_flag+set}"; then :
+  ac_c_decl_warn_flag="${st_saved_ac_c_decl_warn_flag}"; unset st_saved_ac_c_decl_warn_flag
+fi
+
+
+
+BUILD_EXEEXT=$ac_build_exeext
+BUILD_OBJEXT=$ac_build_objext
+
+if test -n "$ac_tool_prefix"; then
+  for ac_prog in ar lib "link -lib"
+  do
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AR+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$AR"; then
+  ac_cv_prog_AR="$AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+AR=$ac_cv_prog_AR
+if test -n "$AR"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
+$as_echo "$AR" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+    test -n "$AR" && break
+  done
+fi
+if test -z "$AR"; then
+  ac_ct_AR=$AR
+  for ac_prog in ar lib "link -lib"
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ac_ct_AR"; then
+  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_AR="$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
+if test -n "$ac_ct_AR"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
+$as_echo "$ac_ct_AR" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  test -n "$ac_ct_AR" && break
+done
+
+  if test "x$ac_ct_AR" = x; then
+    AR="false"
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    AR=$ac_ct_AR
+  fi
+fi
+
+: ${AR=ar}
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
+$as_echo_n "checking the archiver ($AR) interface... " >&6; }
+if ${am_cv_ar_interface+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+   am_cv_ar_interface=ar
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+int some_variable = 0;
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
+      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
+  (eval $am_ar_try) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+      if test "$ac_status" -eq 0; then
+        am_cv_ar_interface=ar
+      else
+        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
+        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
+  (eval $am_ar_try) 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+        if test "$ac_status" -eq 0; then
+          am_cv_ar_interface=lib
+        else
+          am_cv_ar_interface=unknown
+        fi
+      fi
+      rm -f conftest.lib libconftest.a
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+   ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
+$as_echo "$am_cv_ar_interface" >&6; }
+
+case $am_cv_ar_interface in
+ar)
+  ;;
+lib)
+  # Microsoft lib, so override with the ar-lib wrapper script.
+  # FIXME: It is wrong to rewrite AR.
+  # But if we don't then we get into trouble of one sort or another.
+  # A longer-term fix would be to have automake use am__AR in this case,
+  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
+  # similar.
+  AR="$am_aux_dir/ar-lib $AR"
+  ;;
+unknown)
+  as_fn_error $? "could not determine $AR interface" "$LINENO" 5
+  ;;
+esac
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof syntax and keyword spelling" >&5
+$as_echo_n "checking for typeof syntax and keyword spelling... " >&6; }
+if ${ac_cv_c_typeof+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_cv_c_typeof=no
+     for ac_kw in typeof __typeof__ no; do
+       test $ac_kw = no && break
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+	   int value;
+	   typedef struct {
+		   char a [1
+			   + ! (($ac_kw (value))
+				(($ac_kw (value)) 0 < ($ac_kw (value)) -1
+				 ? ($ac_kw (value)) - 1
+				 : ~ (~ ($ac_kw (value)) 0
+				      << sizeof ($ac_kw (value)))))]; }
+	      ac__typeof_type_;
+	   return
+	     (! ((void) ((ac__typeof_type_ *) 0), 0));
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_c_typeof=$ac_kw
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+       test $ac_cv_c_typeof != no && break
+     done
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_typeof" >&5
+$as_echo "$ac_cv_c_typeof" >&6; }
+  if test $ac_cv_c_typeof != no; then
+
+$as_echo "#define HAVE_TYPEOF 1" >>confdefs.h
+
+    if test $ac_cv_c_typeof != typeof; then
+
+cat >>confdefs.h <<_ACEOF
+#define typeof $ac_cv_c_typeof
+_ACEOF
+
+    fi
+  fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
+$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
+if ${ac_cv_type_uid_t+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <sys/types.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+  $EGREP "uid_t" >/dev/null 2>&1; then :
+  ac_cv_type_uid_t=yes
+else
+  ac_cv_type_uid_t=no
+fi
+rm -f conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
+$as_echo "$ac_cv_type_uid_t" >&6; }
+if test $ac_cv_type_uid_t = no; then
+
+$as_echo "#define uid_t int" >>confdefs.h
+
+
+$as_echo "#define gid_t int" >>confdefs.h
+
+fi
+
+
+for ac_func in accept4 be64toh fallocate fanotify_mark fcntl64 fopen64 fork fputs_unlocked fstatat ftruncate futimens iconv_open if_indextoname open64 open_memstream preadv process_vm_readv pwritev readahead signalfd stpcpy strerror strndup sync_file_range
+do :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include <signal.h>
+"
+if test "x$ac_cv_type_sig_atomic_t" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_SIG_ATOMIC_T 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "struct sigcontext" "ac_cv_type_struct_sigcontext" "#include <signal.h>
+"
+if test "x$ac_cv_type_struct_sigcontext" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_SIGCONTEXT 1
+_ACEOF
+
+
+fi
+
+
+ac_fn_c_check_type "$LINENO" "struct mmsghdr" "ac_cv_type_struct_mmsghdr" "#include <sys/socket.h>
+"
+if test "x$ac_cv_type_struct_mmsghdr" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_MMSGHDR 1
+_ACEOF
+
+
+fi
+
+
+ac_fn_c_check_type "$LINENO" "__kernel_long_t" "ac_cv_type___kernel_long_t" "#include <asm/posix_types.h>
+"
+if test "x$ac_cv_type___kernel_long_t" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE___KERNEL_LONG_T 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "__kernel_ulong_t" "ac_cv_type___kernel_ulong_t" "#include <asm/posix_types.h>
+"
+if test "x$ac_cv_type___kernel_ulong_t" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE___KERNEL_ULONG_T 1
+_ACEOF
+
+
+fi
+
+
+ac_fn_c_check_type "$LINENO" "struct __kernel_timespec" "ac_cv_type_struct___kernel_timespec" "#include <linux/time_types.h>
+"
+if test "x$ac_cv_type_struct___kernel_timespec" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT___KERNEL_TIMESPEC 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "struct __kernel_sock_timeval" "ac_cv_type_struct___kernel_sock_timeval" "#include <linux/time_types.h>
+"
+if test "x$ac_cv_type_struct___kernel_sock_timeval" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT___KERNEL_SOCK_TIMEVAL 1
+_ACEOF
+
+
+fi
+
+
+ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h>
+#include <asm/stat.h>
+"
+if test "x$ac_cv_type_struct_stat64" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_STAT64 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "struct __old_kernel_stat" "ac_cv_type_struct___old_kernel_stat" "#include <sys/types.h>
+#include <asm/stat.h>
+"
+if test "x$ac_cv_type_struct___old_kernel_stat" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT___OLD_KERNEL_STAT 1
+_ACEOF
+
+
+fi
+
+
+ac_fn_c_check_type "$LINENO" "struct user_desc" "ac_cv_type_struct_user_desc" "#include <asm/ldt.h>
+"
+if test "x$ac_cv_type_struct_user_desc" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_USER_DESC 1
+_ACEOF
+
+ac_fn_c_check_member "$LINENO" "struct user_desc" "lm" "ac_cv_member_struct_user_desc_lm" "#include <asm/ldt.h>
+"
+if test "x$ac_cv_member_struct_user_desc_lm" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_USER_DESC_LM 1
+_ACEOF
+
+
+fi
+
+fi
+
+
+ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h>
+#include <asm/stat.h>
+"
+if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_STAT_ST_MTIME_NSEC 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h>
+#include <asm/stat.h>
+"
+if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_STAT64_ST_MTIME_NSEC 1
+_ACEOF
+
+
+fi
+
+
+ac_fn_c_check_type "$LINENO" "struct pt_all_user_regs" "ac_cv_type_struct_pt_all_user_regs" "#include <sys/ptrace.h>
+"
+if test "x$ac_cv_type_struct_pt_all_user_regs" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PT_ALL_USER_REGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "struct ia64_fpreg" "ac_cv_type_struct_ia64_fpreg" "#include <sys/ptrace.h>
+"
+if test "x$ac_cv_type_struct_ia64_fpreg" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IA64_FPREG 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "struct ptrace_peeksiginfo_args" "ac_cv_type_struct_ptrace_peeksiginfo_args" "#include <sys/ptrace.h>
+"
+if test "x$ac_cv_type_struct_ptrace_peeksiginfo_args" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PTRACE_PEEKSIGINFO_ARGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "struct __ptrace_syscall_info" "ac_cv_type_struct___ptrace_syscall_info" "#include <sys/ptrace.h>
+"
+if test "x$ac_cv_type_struct___ptrace_syscall_info" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT___PTRACE_SYSCALL_INFO 1
+_ACEOF
+
+
+fi
+
+
+ac_fn_c_check_type "$LINENO" "struct ptrace_syscall_info" "ac_cv_type_struct_ptrace_syscall_info" "#include <linux/ptrace.h>
+"
+if test "x$ac_cv_type_struct_ptrace_syscall_info" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PTRACE_SYSCALL_INFO 1
+_ACEOF
+
+
+fi
+
+
+# For kernels that do not have v3.10-rc1~201^2~11
+ac_fn_c_check_type "$LINENO" "s390_compat_regs" "ac_cv_type_s390_compat_regs" "#include <asm/ptrace.h>
+"
+if test "x$ac_cv_type_s390_compat_regs" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_S390_COMPAT_REGS 1
+_ACEOF
+
+
+fi
+
+
+ac_fn_c_check_type "$LINENO" "struct flock" "ac_cv_type_struct_flock" "#include <sys/types.h>
+#include <linux/fcntl.h>
+"
+if test "x$ac_cv_type_struct_flock" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_FLOCK 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "struct flock64" "ac_cv_type_struct_flock64" "#include <sys/types.h>
+#include <linux/fcntl.h>
+"
+if test "x$ac_cv_type_struct_flock64" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_FLOCK64 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "struct __kernel_flock" "ac_cv_type_struct___kernel_flock" "#include <sys/types.h>
+#include <linux/fcntl.h>
+"
+if test "x$ac_cv_type_struct___kernel_flock" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT___KERNEL_FLOCK 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "struct __kernel_flock64" "ac_cv_type_struct___kernel_flock64" "#include <sys/types.h>
+#include <linux/fcntl.h>
+"
+if test "x$ac_cv_type_struct___kernel_flock64" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT___KERNEL_FLOCK64 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "struct f_owner_ex" "ac_cv_type_struct_f_owner_ex" "#include <sys/types.h>
+#include <linux/fcntl.h>
+"
+if test "x$ac_cv_type_struct_f_owner_ex" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_F_OWNER_EX 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "struct __kernel_f_owner_ex" "ac_cv_type_struct___kernel_f_owner_ex" "#include <sys/types.h>
+#include <linux/fcntl.h>
+"
+if test "x$ac_cv_type_struct___kernel_f_owner_ex" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT___KERNEL_F_OWNER_EX 1
+_ACEOF
+
+
+fi
+
+
+ac_fn_c_check_type "$LINENO" "struct kcmp_epoll_slot" "ac_cv_type_struct_kcmp_epoll_slot" "#include <linux/kcmp.h>
+"
+if test "x$ac_cv_type_struct_kcmp_epoll_slot" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_KCMP_EPOLL_SLOT 1
+_ACEOF
+
+
+fi
+
+
+ac_fn_c_check_type "$LINENO" "struct keyctl_kdf_params" "ac_cv_type_struct_keyctl_kdf_params" "#include <linux/keyctl.h>
+"
+if test "x$ac_cv_type_struct_keyctl_kdf_params" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_KEYCTL_KDF_PARAMS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "struct keyctl_pkey_params" "ac_cv_type_struct_keyctl_pkey_params" "#include <linux/keyctl.h>
+"
+if test "x$ac_cv_type_struct_keyctl_pkey_params" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_KEYCTL_PKEY_PARAMS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "struct keyctl_pkey_query" "ac_cv_type_struct_keyctl_pkey_query" "#include <linux/keyctl.h>
+"
+if test "x$ac_cv_type_struct_keyctl_pkey_query" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_KEYCTL_PKEY_QUERY 1
+_ACEOF
+
+
+fi
+
+
+ac_fn_c_check_member "$LINENO" "struct utsname" "domainname" "ac_cv_member_struct_utsname_domainname" "#include <sys/utsname.h>
+"
+if test "x$ac_cv_member_struct_utsname_domainname" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_UTSNAME_DOMAINNAME 1
+_ACEOF
+
+
+fi
+
+
+ac_fn_c_check_member "$LINENO" "siginfo_t" "si_syscall" "ac_cv_member_siginfo_t_si_syscall" "#include <signal.h>
+"
+if test "x$ac_cv_member_siginfo_t_si_syscall" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_SIGINFO_T_SI_SYSCALL 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "siginfo_t" "si_timerid" "ac_cv_member_siginfo_t_si_timerid" "#include <signal.h>
+"
+if test "x$ac_cv_member_siginfo_t_si_timerid" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_SIGINFO_T_SI_TIMERID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "siginfo_t" "si_overrun" "ac_cv_member_siginfo_t_si_overrun" "#include <signal.h>
+"
+if test "x$ac_cv_member_siginfo_t_si_overrun" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_SIGINFO_T_SI_OVERRUN 1
+_ACEOF
+
+
+fi
+
+
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "precise_ip" "ac_cv_member_struct_perf_event_attr_precise_ip" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_precise_ip" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_PRECISE_IP 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "mmap_data" "ac_cv_member_struct_perf_event_attr_mmap_data" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_mmap_data" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP_DATA 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_id_all" "ac_cv_member_struct_perf_event_attr_sample_id_all" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_sample_id_all" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_ID_ALL 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_host" "ac_cv_member_struct_perf_event_attr_exclude_host" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_exclude_host" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_HOST 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_guest" "ac_cv_member_struct_perf_event_attr_exclude_guest" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_exclude_guest" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_GUEST 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_callchain_kernel" "ac_cv_member_struct_perf_event_attr_exclude_callchain_kernel" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_kernel" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_KERNEL 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_callchain_user" "ac_cv_member_struct_perf_event_attr_exclude_callchain_user" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_user" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_USER 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "mmap2" "ac_cv_member_struct_perf_event_attr_mmap2" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_mmap2" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP2 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "comm_exec" "ac_cv_member_struct_perf_event_attr_comm_exec" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_comm_exec" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_COMM_EXEC 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "use_clockid" "ac_cv_member_struct_perf_event_attr_use_clockid" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_use_clockid" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_USE_CLOCKID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "context_switch" "ac_cv_member_struct_perf_event_attr_context_switch" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_context_switch" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_CONTEXT_SWITCH 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "write_backward" "ac_cv_member_struct_perf_event_attr_write_backward" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_write_backward" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_WRITE_BACKWARD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "namespaces" "ac_cv_member_struct_perf_event_attr_namespaces" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_namespaces" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_NAMESPACES 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "bp_type" "ac_cv_member_struct_perf_event_attr_bp_type" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_bp_type" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_BP_TYPE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config1" "ac_cv_member_struct_perf_event_attr_config1" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_config1" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG1 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config2" "ac_cv_member_struct_perf_event_attr_config2" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_config2" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG2 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "branch_sample_type" "ac_cv_member_struct_perf_event_attr_branch_sample_type" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_branch_sample_type" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_BRANCH_SAMPLE_TYPE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_regs_user" "ac_cv_member_struct_perf_event_attr_sample_regs_user" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_user" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_USER 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_stack_user" "ac_cv_member_struct_perf_event_attr_sample_stack_user" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_sample_stack_user" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_STACK_USER 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_regs_intr" "ac_cv_member_struct_perf_event_attr_sample_regs_intr" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_intr" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_INTR 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "aux_watermark" "ac_cv_member_struct_perf_event_attr_aux_watermark" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_aux_watermark" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_AUX_WATERMARK 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_max_stack" "ac_cv_member_struct_perf_event_attr_sample_max_stack" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_sample_max_stack" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_MAX_STACK 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "aux_sample_size" "ac_cv_member_struct_perf_event_attr_aux_sample_size" "#include <linux/perf_event.h>
+"
+if test "x$ac_cv_member_struct_perf_event_attr_aux_sample_size" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PERF_EVENT_ATTR_AUX_SAMPLE_SIZE 1
+_ACEOF
+
+
+fi
+
+
+for ac_header in asm/cachectl.h asm/guarded_storage.h asm/sysmips.h elf.h gcov.h iconv.h mqueue.h netinet/sctp.h netipx/ipx.h paths.h scsi/sg.h sys/eventfd.h sys/fanotify.h sys/ipc.h sys/quota.h sys/signalfd.h sys/xattr.h ustat.h
+do :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in linux/bsg.h linux/close_range.h linux/dm-ioctl.h linux/dqblk_xfs.h linux/falloc.h linux/fib_rules.h linux/fiemap.h linux/hiddev.h linux/ip_vs.h linux/ipc.h linux/kcmp.h linux/kvm.h linux/memfd.h linux/mmtimer.h linux/mount.h linux/mqueue.h linux/netfilter/ipset/ip_set.h linux/netfilter/nf_tables.h linux/netfilter/nf_tables_compat.h linux/netfilter/nfnetlink.h linux/netfilter/nfnetlink_acct.h linux/netfilter/nfnetlink_conntrack.h linux/netfilter/nfnetlink_cthelper.h linux/netfilter/nfnetlink_cttimeout.h linux/netfilter/nfnetlink_log.h linux/netfilter/nfnetlink_queue.h linux/nsfs.h linux/openat2.h linux/perf_event.h linux/quota.h linux/sched.h linux/seccomp.h linux/securebits.h linux/tee.h linux/userfaultfd.h linux/utsname.h
+do :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+#include <linux/types.h>
+
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in linux/if_addr.h linux/if_link.h linux/neighbour.h
+do :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+#include <sys/socket.h>
+#include <linux/types.h>
+
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in asm/sigcontext.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "asm/sigcontext.h" "ac_cv_header_asm_sigcontext_h" "#include <signal.h>
+"
+if test "x$ac_cv_header_asm_sigcontext_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_ASM_SIGCONTEXT_H 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in netinet/tcp.h netinet/udp.h
+do :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h>
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in linux/netfilter/xt_osf.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "linux/netfilter/xt_osf.h" "ac_cv_header_linux_netfilter_xt_osf_h" "#include <linux/ip.h>
+#include <linux/tcp.h>
+"
+if test "x$ac_cv_header_linux_netfilter_xt_osf_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_NETFILTER_XT_OSF_H 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in linux/netfilter_arp/arp_tables.h linux/netfilter_bridge/ebtables.h linux/netfilter_ipv4/ip_tables.h linux/netfilter_ipv6/ip6_tables.h
+do :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h>
+#include <net/if.h>
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in linux/bpf.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "linux/bpf.h" "ac_cv_header_linux_bpf_h" "$ac_includes_default"
+if test "x$ac_cv_header_linux_bpf_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_BPF_H 1
+_ACEOF
+
+	ac_fn_c_check_type "$LINENO" "struct bpf_insn" "ac_cv_type_struct_bpf_insn" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_type_struct_bpf_insn" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_INSN 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "struct bpf_map_info" "ac_cv_type_struct_bpf_map_info" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_type_struct_bpf_map_info" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_MAP_INFO 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_type "$LINENO" "struct bpf_prog_info" "ac_cv_type_struct_bpf_prog_info" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_type_struct_bpf_prog_info" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO 1
+_ACEOF
+
+
+fi
+
+		ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "btf_id" "ac_cv_member_struct_bpf_map_info_btf_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_map_info_btf_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_MAP_INFO_BTF_ID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "btf_key_type_id" "ac_cv_member_struct_bpf_map_info_btf_key_type_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_map_info_btf_key_type_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_MAP_INFO_BTF_KEY_TYPE_ID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "btf_value_type_id" "ac_cv_member_struct_bpf_map_info_btf_value_type_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_map_info_btf_value_type_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_MAP_INFO_BTF_VALUE_TYPE_ID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "btf_vmlinux_value_type_id" "ac_cv_member_struct_bpf_map_info_btf_vmlinux_value_type_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_map_info_btf_vmlinux_value_type_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_MAP_INFO_BTF_VMLINUX_VALUE_TYPE_ID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "id" "ac_cv_member_struct_bpf_map_info_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_map_info_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_MAP_INFO_ID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "ifindex" "ac_cv_member_struct_bpf_map_info_ifindex" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_map_info_ifindex" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_MAP_INFO_IFINDEX 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "key_size" "ac_cv_member_struct_bpf_map_info_key_size" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_map_info_key_size" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_MAP_INFO_KEY_SIZE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "map_flags" "ac_cv_member_struct_bpf_map_info_map_flags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_map_info_map_flags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_MAP_INFO_MAP_FLAGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "max_entries" "ac_cv_member_struct_bpf_map_info_max_entries" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_map_info_max_entries" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_MAP_INFO_MAX_ENTRIES 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "name" "ac_cv_member_struct_bpf_map_info_name" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_map_info_name" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_MAP_INFO_NAME 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "type" "ac_cv_member_struct_bpf_map_info_type" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_map_info_type" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_MAP_INFO_TYPE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "value_size" "ac_cv_member_struct_bpf_map_info_value_size" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_map_info_value_size" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_MAP_INFO_VALUE_SIZE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "btf_id" "ac_cv_member_struct_bpf_prog_info_btf_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_btf_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_BTF_ID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "created_by_uid" "ac_cv_member_struct_bpf_prog_info_created_by_uid" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_created_by_uid" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_CREATED_BY_UID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "func_info" "ac_cv_member_struct_bpf_prog_info_func_info" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_func_info" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_FUNC_INFO 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "func_info_rec_size" "ac_cv_member_struct_bpf_prog_info_func_info_rec_size" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_func_info_rec_size" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_FUNC_INFO_REC_SIZE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "id" "ac_cv_member_struct_bpf_prog_info_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_ID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "ifindex" "ac_cv_member_struct_bpf_prog_info_ifindex" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_ifindex" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_IFINDEX 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "jited_func_lens" "ac_cv_member_struct_bpf_prog_info_jited_func_lens" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_jited_func_lens" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_JITED_FUNC_LENS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "jited_ksyms" "ac_cv_member_struct_bpf_prog_info_jited_ksyms" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_jited_ksyms" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_JITED_KSYMS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "jited_line_info" "ac_cv_member_struct_bpf_prog_info_jited_line_info" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_jited_line_info" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_JITED_LINE_INFO 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "jited_line_info_rec_size" "ac_cv_member_struct_bpf_prog_info_jited_line_info_rec_size" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_jited_line_info_rec_size" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_JITED_LINE_INFO_REC_SIZE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "jited_prog_insns" "ac_cv_member_struct_bpf_prog_info_jited_prog_insns" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_jited_prog_insns" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_JITED_PROG_INSNS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "jited_prog_len" "ac_cv_member_struct_bpf_prog_info_jited_prog_len" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_jited_prog_len" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_JITED_PROG_LEN 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "line_info" "ac_cv_member_struct_bpf_prog_info_line_info" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_line_info" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_LINE_INFO 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "line_info_rec_size" "ac_cv_member_struct_bpf_prog_info_line_info_rec_size" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_line_info_rec_size" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_LINE_INFO_REC_SIZE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "load_time" "ac_cv_member_struct_bpf_prog_info_load_time" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_load_time" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_LOAD_TIME 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "map_ids" "ac_cv_member_struct_bpf_prog_info_map_ids" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_map_ids" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_MAP_IDS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "name" "ac_cv_member_struct_bpf_prog_info_name" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_name" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_NAME 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_func_info" "ac_cv_member_struct_bpf_prog_info_nr_func_info" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_nr_func_info" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_NR_FUNC_INFO 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_jited_func_lens" "ac_cv_member_struct_bpf_prog_info_nr_jited_func_lens" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_nr_jited_func_lens" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_NR_JITED_FUNC_LENS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_jited_ksyms" "ac_cv_member_struct_bpf_prog_info_nr_jited_ksyms" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_nr_jited_ksyms" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_NR_JITED_KSYMS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_jited_line_info" "ac_cv_member_struct_bpf_prog_info_nr_jited_line_info" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_nr_jited_line_info" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_NR_JITED_LINE_INFO 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_line_info" "ac_cv_member_struct_bpf_prog_info_nr_line_info" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_nr_line_info" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_NR_LINE_INFO 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_map_ids" "ac_cv_member_struct_bpf_prog_info_nr_map_ids" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_nr_map_ids" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_NR_MAP_IDS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_prog_tags" "ac_cv_member_struct_bpf_prog_info_nr_prog_tags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_nr_prog_tags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_NR_PROG_TAGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "prog_tags" "ac_cv_member_struct_bpf_prog_info_prog_tags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_prog_tags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_PROG_TAGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "run_cnt" "ac_cv_member_struct_bpf_prog_info_run_cnt" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_run_cnt" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_RUN_CNT 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "run_time_ns" "ac_cv_member_struct_bpf_prog_info_run_time_ns" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_run_time_ns" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_RUN_TIME_NS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "tag" "ac_cv_member_struct_bpf_prog_info_tag" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_tag" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_TAG 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "type" "ac_cv_member_struct_bpf_prog_info_type" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_type" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_TYPE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "xlated_prog_insns" "ac_cv_member_struct_bpf_prog_info_xlated_prog_insns" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_xlated_prog_insns" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_XLATED_PROG_INSNS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "xlated_prog_len" "ac_cv_member_struct_bpf_prog_info_xlated_prog_len" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_struct_bpf_prog_info_xlated_prog_len" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BPF_PROG_INFO_XLATED_PROG_LEN 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "attach_bpf_fd" "ac_cv_member_union_bpf_attr_attach_bpf_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_attach_bpf_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_ATTACH_BPF_FD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "attach_btf_id" "ac_cv_member_union_bpf_attr_attach_btf_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_attach_btf_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_ATTACH_BTF_ID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "attach_flags" "ac_cv_member_union_bpf_attr_attach_flags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_attach_flags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_ATTACH_FLAGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "attach_prog_fd" "ac_cv_member_union_bpf_attr_attach_prog_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_attach_prog_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_ATTACH_PROG_FD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "attach_type" "ac_cv_member_union_bpf_attr_attach_type" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_attach_type" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_ATTACH_TYPE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "batch.count" "ac_cv_member_union_bpf_attr_batch_count" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_batch_count" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BATCH_COUNT 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "batch.elem_flags" "ac_cv_member_union_bpf_attr_batch_elem_flags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_batch_elem_flags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BATCH_ELEM_FLAGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "batch.flags" "ac_cv_member_union_bpf_attr_batch_flags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_batch_flags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BATCH_FLAGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "batch.in_batch" "ac_cv_member_union_bpf_attr_batch_in_batch" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_batch_in_batch" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BATCH_IN_BATCH 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "batch.keys" "ac_cv_member_union_bpf_attr_batch_keys" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_batch_keys" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BATCH_KEYS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "batch.map_fd" "ac_cv_member_union_bpf_attr_batch_map_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_batch_map_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BATCH_MAP_FD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "batch.out_batch" "ac_cv_member_union_bpf_attr_batch_out_batch" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_batch_out_batch" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BATCH_OUT_BATCH 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "batch.values" "ac_cv_member_union_bpf_attr_batch_values" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_batch_values" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BATCH_VALUES 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "bpf_fd" "ac_cv_member_union_bpf_attr_bpf_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_bpf_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BPF_FD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf" "ac_cv_member_union_bpf_attr_btf" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_btf" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BTF 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_fd" "ac_cv_member_union_bpf_attr_btf_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_btf_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BTF_FD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_id" "ac_cv_member_union_bpf_attr_btf_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_btf_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BTF_ID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_key_type_id" "ac_cv_member_union_bpf_attr_btf_key_type_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_btf_key_type_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BTF_KEY_TYPE_ID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_log_buf" "ac_cv_member_union_bpf_attr_btf_log_buf" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_btf_log_buf" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BTF_LOG_BUF 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_log_level" "ac_cv_member_union_bpf_attr_btf_log_level" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_btf_log_level" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BTF_LOG_LEVEL 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_log_size" "ac_cv_member_union_bpf_attr_btf_log_size" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_btf_log_size" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BTF_LOG_SIZE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_size" "ac_cv_member_union_bpf_attr_btf_size" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_btf_size" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BTF_SIZE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_value_type_id" "ac_cv_member_union_bpf_attr_btf_value_type_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_btf_value_type_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BTF_VALUE_TYPE_ID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_vmlinux_value_type_id" "ac_cv_member_union_bpf_attr_btf_vmlinux_value_type_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_btf_vmlinux_value_type_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_BTF_VMLINUX_VALUE_TYPE_ID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "dummy" "ac_cv_member_union_bpf_attr_dummy" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_dummy" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_DUMMY 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "expected_attach_type" "ac_cv_member_union_bpf_attr_expected_attach_type" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_expected_attach_type" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_EXPECTED_ATTACH_TYPE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "file_flags" "ac_cv_member_union_bpf_attr_file_flags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_file_flags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_FILE_FLAGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "flags" "ac_cv_member_union_bpf_attr_flags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_flags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_FLAGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "func_info" "ac_cv_member_union_bpf_attr_func_info" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_func_info" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_FUNC_INFO 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "func_info_cnt" "ac_cv_member_union_bpf_attr_func_info_cnt" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_func_info_cnt" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_FUNC_INFO_CNT 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "func_info_rec_size" "ac_cv_member_union_bpf_attr_func_info_rec_size" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_func_info_rec_size" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_FUNC_INFO_REC_SIZE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "info.bpf_fd" "ac_cv_member_union_bpf_attr_info_bpf_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_info_bpf_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_INFO_BPF_FD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "info.info" "ac_cv_member_union_bpf_attr_info_info" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_info_info" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_INFO_INFO 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "info.info_len" "ac_cv_member_union_bpf_attr_info_info_len" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_info_info_len" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_INFO_INFO_LEN 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "inner_map_fd" "ac_cv_member_union_bpf_attr_inner_map_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_inner_map_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_INNER_MAP_FD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "insn_cnt" "ac_cv_member_union_bpf_attr_insn_cnt" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_insn_cnt" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_INSN_CNT 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "insns" "ac_cv_member_union_bpf_attr_insns" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_insns" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_INSNS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "kern_version" "ac_cv_member_union_bpf_attr_kern_version" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_kern_version" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_KERN_VERSION 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "key" "ac_cv_member_union_bpf_attr_key" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_key" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_KEY 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "key_size" "ac_cv_member_union_bpf_attr_key_size" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_key_size" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_KEY_SIZE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "license" "ac_cv_member_union_bpf_attr_license" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_license" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_LICENSE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "line_info" "ac_cv_member_union_bpf_attr_line_info" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_line_info" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_LINE_INFO 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "line_info_cnt" "ac_cv_member_union_bpf_attr_line_info_cnt" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_line_info_cnt" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_LINE_INFO_CNT 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "line_info_rec_size" "ac_cv_member_union_bpf_attr_line_info_rec_size" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_line_info_rec_size" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_LINE_INFO_REC_SIZE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.attach_type" "ac_cv_member_union_bpf_attr_link_create_attach_type" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_link_create_attach_type" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_LINK_CREATE_ATTACH_TYPE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.flags" "ac_cv_member_union_bpf_attr_link_create_flags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_link_create_flags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_LINK_CREATE_FLAGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.prog_fd" "ac_cv_member_union_bpf_attr_link_create_prog_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_link_create_prog_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_LINK_CREATE_PROG_FD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.target_fd" "ac_cv_member_union_bpf_attr_link_create_target_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_link_create_target_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_LINK_CREATE_TARGET_FD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_update.flags" "ac_cv_member_union_bpf_attr_link_update_flags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_link_update_flags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_LINK_UPDATE_FLAGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_update.link_fd" "ac_cv_member_union_bpf_attr_link_update_link_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_link_update_link_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_LINK_UPDATE_LINK_FD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_update.new_prog_fd" "ac_cv_member_union_bpf_attr_link_update_new_prog_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_link_update_new_prog_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_LINK_UPDATE_NEW_PROG_FD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_update.old_prog_fd" "ac_cv_member_union_bpf_attr_link_update_old_prog_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_link_update_old_prog_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_LINK_UPDATE_OLD_PROG_FD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "log_buf" "ac_cv_member_union_bpf_attr_log_buf" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_log_buf" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_LOG_BUF 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "log_level" "ac_cv_member_union_bpf_attr_log_level" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_log_level" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_LOG_LEVEL 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "log_size" "ac_cv_member_union_bpf_attr_log_size" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_log_size" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_LOG_SIZE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_fd" "ac_cv_member_union_bpf_attr_map_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_map_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_MAP_FD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_flags" "ac_cv_member_union_bpf_attr_map_flags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_map_flags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_MAP_FLAGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_id" "ac_cv_member_union_bpf_attr_map_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_map_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_MAP_ID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_ifindex" "ac_cv_member_union_bpf_attr_map_ifindex" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_map_ifindex" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_MAP_IFINDEX 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_name" "ac_cv_member_union_bpf_attr_map_name" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_map_name" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_MAP_NAME 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_type" "ac_cv_member_union_bpf_attr_map_type" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_map_type" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_MAP_TYPE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "max_entries" "ac_cv_member_union_bpf_attr_max_entries" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_max_entries" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_MAX_ENTRIES 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "next_id" "ac_cv_member_union_bpf_attr_next_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_next_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_NEXT_ID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "next_key" "ac_cv_member_union_bpf_attr_next_key" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_next_key" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_NEXT_KEY 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "numa_node" "ac_cv_member_union_bpf_attr_numa_node" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_numa_node" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_NUMA_NODE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "open_flags" "ac_cv_member_union_bpf_attr_open_flags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_open_flags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_OPEN_FLAGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "pathname" "ac_cv_member_union_bpf_attr_pathname" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_pathname" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_PATHNAME 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_btf_fd" "ac_cv_member_union_bpf_attr_prog_btf_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_prog_btf_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_PROG_BTF_FD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_flags" "ac_cv_member_union_bpf_attr_prog_flags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_prog_flags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_PROG_FLAGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_id" "ac_cv_member_union_bpf_attr_prog_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_prog_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_PROG_ID 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_ifindex" "ac_cv_member_union_bpf_attr_prog_ifindex" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_prog_ifindex" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_PROG_IFINDEX 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_name" "ac_cv_member_union_bpf_attr_prog_name" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_prog_name" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_PROG_NAME 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_type" "ac_cv_member_union_bpf_attr_prog_type" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_prog_type" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_PROG_TYPE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.attach_flags" "ac_cv_member_union_bpf_attr_query_attach_flags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_query_attach_flags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_QUERY_ATTACH_FLAGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.attach_type" "ac_cv_member_union_bpf_attr_query_attach_type" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_query_attach_type" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_QUERY_ATTACH_TYPE 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.prog_cnt" "ac_cv_member_union_bpf_attr_query_prog_cnt" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_query_prog_cnt" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_QUERY_PROG_CNT 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.prog_ids" "ac_cv_member_union_bpf_attr_query_prog_ids" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_query_prog_ids" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_QUERY_PROG_IDS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.query_flags" "ac_cv_member_union_bpf_attr_query_query_flags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_query_query_flags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_QUERY_QUERY_FLAGS 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.target_fd" "ac_cv_member_union_bpf_attr_query_target_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_query_target_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_QUERY_TARGET_FD 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "raw_tracepoint.name" "ac_cv_member_union_bpf_attr_raw_tracepoint_name" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_raw_tracepoint_name" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_RAW_TRACEPOINT_NAME 1
+_ACEOF
+
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "raw_tracepoint.prog_fd" "ac_cv_member_union_bpf_attr_raw_tracepoint_prog_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_raw_tracepoint_prog_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_RAW_TRACEPOINT_PROG_FD 1
 _ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
 
-else
-  # Broken: fails on valid input.
-continue
+
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "replace_bpf_fd" "ac_cv_member_union_bpf_attr_replace_bpf_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_replace_bpf_fd" = xyes; then :
 
-  # OK, works on sane cases.  Now check whether nonexistent headers
-  # can be detected and how.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ac_nonexistent.h>
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_REPLACE_BPF_FD 1
 _ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-  # Broken: success on invalid input.
-continue
-else
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
 
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
 
-else
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5; }
 fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "start_id" "ac_cv_member_union_bpf_attr_start_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_start_id" = xyes; then :
 
-ac_ext=c
-ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
-ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
-ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_START_ID 1
+_ACEOF
 
 
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "target_fd" "ac_cv_member_union_bpf_attr_target_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_target_fd" = xyes; then :
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TARGET_FD 1
+_ACEOF
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.buf" "ac_cv_member_union_bpf_attr_task_fd_query_buf" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_task_fd_query_buf" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_BUF 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
-fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.buf_len" "ac_cv_member_union_bpf_attr_task_fd_query_buf_len" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_task_fd_query_buf_len" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_BUF_LEN 1
+_ACEOF
 
 
 fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.fd" "ac_cv_member_union_bpf_attr_task_fd_query_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_task_fd_query_fd" = xyes; then :
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wall" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Wall... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wall+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_FD 1
+_ACEOF
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wall"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.fd_type" "ac_cv_member_union_bpf_attr_task_fd_query_fd_type" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_task_fd_query_fd_type" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_FD_TYPE 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wall=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wall=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wall" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wall" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wall" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wall"
-fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.flags" "ac_cv_member_union_bpf_attr_task_fd_query_flags" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_task_fd_query_flags" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_FLAGS 1
+_ACEOF
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.pid" "ac_cv_member_union_bpf_attr_task_fd_query_pid" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_task_fd_query_pid" = xyes; then :
 
-int
-main ()
-{
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_PID 1
+_ACEOF
 
-  ;
-  return 0;
-}
+
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.probe_addr" "ac_cv_member_union_bpf_attr_task_fd_query_probe_addr" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_task_fd_query_probe_addr" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_PROBE_ADDR 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+
+
 fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.probe_offset" "ac_cv_member_union_bpf_attr_task_fd_query_probe_offset" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_task_fd_query_probe_offset" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_PROBE_OFFSET 1
+_ACEOF
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.prog_id" "ac_cv_member_union_bpf_attr_task_fd_query_prog_id" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_task_fd_query_prog_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_PROG_ID 1
+_ACEOF
+
+
 fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.ctx_in" "ac_cv_member_union_bpf_attr_test_ctx_in" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_test_ctx_in" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TEST_CTX_IN 1
+_ACEOF
 
 
 fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.ctx_out" "ac_cv_member_union_bpf_attr_test_ctx_out" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_test_ctx_out" = xyes; then :
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wempty-body" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Wempty-body... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TEST_CTX_OUT 1
+_ACEOF
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wempty-body"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.ctx_size_in" "ac_cv_member_union_bpf_attr_test_ctx_size_in" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_test_ctx_size_in" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TEST_CTX_SIZE_IN 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=no
+
+
 fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.ctx_size_out" "ac_cv_member_union_bpf_attr_test_ctx_size_out" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_test_ctx_size_out" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TEST_CTX_SIZE_OUT 1
+_ACEOF
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wempty-body"
-fi
 
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.data_in" "ac_cv_member_union_bpf_attr_test_data_in" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_test_data_in" = xyes; then :
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TEST_DATA_IN 1
+_ACEOF
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.data_out" "ac_cv_member_union_bpf_attr_test_data_out" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_test_data_out" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TEST_DATA_OUT 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
-fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.data_size_in" "ac_cv_member_union_bpf_attr_test_data_size_in" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_test_data_size_in" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TEST_DATA_SIZE_IN 1
+_ACEOF
 
 
 fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.data_size_out" "ac_cv_member_union_bpf_attr_test_data_size_out" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_test_data_size_out" = xyes; then :
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wformat-security" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Wformat-security... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TEST_DATA_SIZE_OUT 1
+_ACEOF
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wformat-security"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.duration" "ac_cv_member_union_bpf_attr_test_duration" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_test_duration" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TEST_DURATION 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wformat-security"
-fi
 
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.prog_fd" "ac_cv_member_union_bpf_attr_test_prog_fd" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_test_prog_fd" = xyes; then :
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TEST_PROG_FD 1
+_ACEOF
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.repeat" "ac_cv_member_union_bpf_attr_test_repeat" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_test_repeat" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TEST_REPEAT 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
-fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.retval" "ac_cv_member_union_bpf_attr_test_retval" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_test_retval" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_TEST_RETVAL 1
+_ACEOF
 
 
 fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "value" "ac_cv_member_union_bpf_attr_value" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_value" = xyes; then :
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wignored-qualifiers" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Wignored-qualifiers... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_VALUE 1
+_ACEOF
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wignored-qualifiers"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+fi
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "value_size" "ac_cv_member_union_bpf_attr_value_size" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_value_size" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_VALUE_SIZE 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=no
+
+
 fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+ac_fn_c_check_member "$LINENO" "union bpf_attr" "dummy" "ac_cv_member_union_bpf_attr_dummy" "#include <linux/bpf.h>
+"
+if test "x$ac_cv_member_union_bpf_attr_dummy" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_UNION_BPF_ATTR_DUMMY 1
+_ACEOF
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wignored-qualifiers"
+
+
+
 fi
 
+done
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+for ac_header in linux/io_uring.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "linux/io_uring.h" "ac_cv_header_linux_io_uring_h" "$ac_includes_default"
+if test "x$ac_cv_header_linux_io_uring_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_IO_URING_H 1
+_ACEOF
 
-int
-main ()
-{
+	ac_fn_c_check_member "$LINENO" "struct io_cqring_offsets" "flags" "ac_cv_member_struct_io_cqring_offsets_flags" "#include <linux/io_uring.h>
+"
+if test "x$ac_cv_member_struct_io_cqring_offsets_flags" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_CQRING_OFFSETS_FLAGS 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
+ac_fn_c_check_member "$LINENO" "struct io_uring_params" "features" "ac_cv_member_struct_io_uring_params_features" "#include <linux/io_uring.h>
+"
+if test "x$ac_cv_member_struct_io_uring_params_features" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_URING_PARAMS_FEATURES 1
+_ACEOF
+
+
 fi
+ac_fn_c_check_member "$LINENO" "struct io_uring_params" "wq_fd" "ac_cv_member_struct_io_uring_params_wq_fd" "#include <linux/io_uring.h>
+"
+if test "x$ac_cv_member_struct_io_uring_params_wq_fd" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_URING_PARAMS_WQ_FD 1
+_ACEOF
 
 
 fi
+ac_fn_c_check_member "$LINENO" "struct io_uring_params" "resv" "ac_cv_member_struct_io_uring_params_resv" "#include <linux/io_uring.h>
+"
+if test "x$ac_cv_member_struct_io_uring_params_resv" = xyes; then :
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wimplicit-fallthrough=5" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Wimplicit-fallthrough=5... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wimplicit-fallthrough=5"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_URING_PARAMS_RESV 1
+_ACEOF
 
-int
-main ()
-{
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5=no
 fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wimplicit_fallthrough_5" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wimplicit-fallthrough=5"
+
 fi
 
+done
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+for ac_header in bluetooth/bluetooth.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "bluetooth/bluetooth.h" "ac_cv_header_bluetooth_bluetooth_h" "$ac_includes_default"
+if test "x$ac_cv_header_bluetooth_bluetooth_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_BLUETOOTH_BLUETOOTH_H 1
+_ACEOF
 
-int
-main ()
-{
+	ac_fn_c_check_member "$LINENO" "struct sockaddr_hci" "hci_channel" "ac_cv_member_struct_sockaddr_hci_hci_channel" "#include <bluetooth/bluetooth.h>
+			 #include <bluetooth/hci.h>
+"
+if test "x$ac_cv_member_struct_sockaddr_hci_hci_channel" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_SOCKADDR_HCI_HCI_CHANNEL 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
+
+	ac_fn_c_check_member "$LINENO" "struct sockaddr_l2" "l2_bdaddr_type" "ac_cv_member_struct_sockaddr_l2_l2_bdaddr_type" "#include <bluetooth/bluetooth.h>
+			 #include <bluetooth/l2cap.h>
+"
+if test "x$ac_cv_member_struct_sockaddr_l2_l2_bdaddr_type" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_SOCKADDR_L2_L2_BDADDR_TYPE 1
+_ACEOF
+
+
 fi
 
 
 fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Winit-self" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Winit-self... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+done
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Winit-self"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+ac_fn_c_check_member "$LINENO" "struct br_mdb_entry" "flags" "ac_cv_member_struct_br_mdb_entry_flags" "#include <netinet/in.h>
+#include <linux/if_bridge.h>
+"
+if test "x$ac_cv_member_struct_br_mdb_entry_flags" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BR_MDB_ENTRY_FLAGS 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Winit-self"
-fi
+ac_fn_c_check_member "$LINENO" "struct br_mdb_entry" "vid" "ac_cv_member_struct_br_mdb_entry_vid" "#include <netinet/in.h>
+#include <linux/if_bridge.h>
+"
+if test "x$ac_cv_member_struct_br_mdb_entry_vid" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BR_MDB_ENTRY_VID 1
+_ACEOF
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+fi
 
-int
-main ()
-{
 
-  ;
-  return 0;
-}
+ac_fn_c_check_type "$LINENO" "struct dcbmsg" "ac_cv_type_struct_dcbmsg" "#include <linux/dcbnl.h>
+"
+if test "x$ac_cv_type_struct_dcbmsg" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_DCBMSG 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
+
 fi
 
+ac_fn_c_check_type "$LINENO" "struct ifaddrlblmsg" "ac_cv_type_struct_ifaddrlblmsg" "#include <linux/if_addrlabel.h>
+"
+if test "x$ac_cv_type_struct_ifaddrlblmsg" = xyes; then :
 
-fi
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IFADDRLBLMSG 1
+_ACEOF
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Winitializer-overrides" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Winitializer-overrides... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Winitializer-overrides"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+fi
 
-int
-main ()
-{
+ac_fn_c_check_type "$LINENO" "struct netconfmsg" "ac_cv_type_struct_netconfmsg" "#include <linux/netconf.h>
+"
+if test "x$ac_cv_type_struct_netconfmsg" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_NETCONFMSG 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Winitializer_overrides" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Winitializer-overrides"
+
 fi
 
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+ac_fn_c_check_type "$LINENO" "struct ifla_cacheinfo" "ac_cv_type_struct_ifla_cacheinfo" "#include <sys/socket.h>
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_type_struct_ifla_cacheinfo" = xyes; then :
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IFLA_CACHEINFO 1
+_ACEOF
 
-int
-main ()
-{
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
 fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
-fi
+
+ac_fn_c_check_type "$LINENO" "struct gnet_stats_basic" "ac_cv_type_struct_gnet_stats_basic" "#include <linux/gen_stats.h>
+"
+if test "x$ac_cv_type_struct_gnet_stats_basic" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_GNET_STATS_BASIC 1
+_ACEOF
 
 
 fi
+ac_fn_c_check_type "$LINENO" "struct gnet_stats_queue" "ac_cv_type_struct_gnet_stats_queue" "#include <linux/gen_stats.h>
+"
+if test "x$ac_cv_type_struct_gnet_stats_queue" = xyes; then :
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wlogical-op" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Wlogical-op... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_GNET_STATS_QUEUE 1
+_ACEOF
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wlogical-op"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+fi
+ac_fn_c_check_type "$LINENO" "struct gnet_stats_rate_est" "ac_cv_type_struct_gnet_stats_rate_est" "#include <linux/gen_stats.h>
+"
+if test "x$ac_cv_type_struct_gnet_stats_rate_est" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_GNET_STATS_RATE_EST 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wlogical-op"
-fi
+ac_fn_c_check_type "$LINENO" "struct gnet_stats_rate_est64" "ac_cv_type_struct_gnet_stats_rate_est64" "#include <linux/gen_stats.h>
+"
+if test "x$ac_cv_type_struct_gnet_stats_rate_est64" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_GNET_STATS_RATE_EST64 1
+_ACEOF
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+fi
 
-int
-main ()
-{
 
-  ;
-  return 0;
-}
+ac_fn_c_check_type "$LINENO" "struct tc_sizespec" "ac_cv_type_struct_tc_sizespec" "#include <linux/types.h>
+#include <linux/pkt_sched.h>
+"
+if test "x$ac_cv_type_struct_tc_sizespec" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TC_SIZESPEC 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
+
 fi
 
 
-fi
+ac_fn_c_check_type "$LINENO" "struct fib_rule_uid_range" "ac_cv_type_struct_fib_rule_uid_range" "#include <sys/socket.h>
+#include <linux/fib_rules.h>
+"
+if test "x$ac_cv_type_struct_fib_rule_uid_range" = xyes; then :
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wmissing-parameter-type" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Wmissing-parameter-type... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_FIB_RULE_UID_RANGE 1
+_ACEOF
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wmissing-parameter-type"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+fi
+ac_fn_c_check_type "$LINENO" "struct fib_rule_port_range" "ac_cv_type_struct_fib_rule_port_range" "#include <sys/socket.h>
+#include <linux/fib_rules.h>
+"
+if test "x$ac_cv_type_struct_fib_rule_port_range" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_FIB_RULE_PORT_RANGE 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wmissing-parameter-type"
+
 fi
 
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+ac_fn_c_check_type "$LINENO" "struct statfs" "ac_cv_type_struct_statfs" "#include <linux/types.h>
+#include <asm/statfs.h>
+"
+if test "x$ac_cv_type_struct_statfs" = xyes; then :
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_STATFS 1
+_ACEOF
 
-int
-main ()
-{
 
-  ;
-  return 0;
-}
+	ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <linux/types.h>
+#include <asm/statfs.h>
+"
+if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_STATFS_F_FRSIZE 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
-fi
+ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" "#include <linux/types.h>
+#include <asm/statfs.h>
+"
+if test "x$ac_cv_member_struct_statfs_f_flags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_STATFS_F_FLAGS 1
+_ACEOF
 
 
 fi
+ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsid.val" "ac_cv_member_struct_statfs_f_fsid_val" "#include <linux/types.h>
+#include <asm/statfs.h>
+"
+if test "x$ac_cv_member_struct_statfs_f_fsid_val" = xyes; then :
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wnested-externs" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Wnested-externs... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_STATFS_F_FSID_VAL 1
+_ACEOF
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wnested-externs"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+fi
+ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsid.__val" "ac_cv_member_struct_statfs_f_fsid___val" "#include <linux/types.h>
+#include <asm/statfs.h>
+"
+if test "x$ac_cv_member_struct_statfs_f_fsid___val" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_STATFS_F_FSID___VAL 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wnested-externs"
+
+
 fi
 
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+ac_fn_c_check_type "$LINENO" "struct statfs64" "ac_cv_type_struct_statfs64" "#include <linux/types.h>
+#include <asm/statfs.h>
+"
+if test "x$ac_cv_type_struct_statfs64" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_STATFS64 1
+_ACEOF
+
+
+	ac_fn_c_check_member "$LINENO" "struct statfs64" "f_frsize" "ac_cv_member_struct_statfs64_f_frsize" "#include <linux/types.h>
+#include <asm/statfs.h>
+"
+if test "x$ac_cv_member_struct_statfs64_f_frsize" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_STATFS64_F_FRSIZE 1
+_ACEOF
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+fi
+ac_fn_c_check_member "$LINENO" "struct statfs64" "f_flags" "ac_cv_member_struct_statfs64_f_flags" "#include <linux/types.h>
+#include <asm/statfs.h>
+"
+if test "x$ac_cv_member_struct_statfs64_f_flags" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_STATFS64_F_FLAGS 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
+ac_fn_c_check_member "$LINENO" "struct statfs64" "f_fsid.val" "ac_cv_member_struct_statfs64_f_fsid_val" "#include <linux/types.h>
+#include <asm/statfs.h>
+"
+if test "x$ac_cv_member_struct_statfs64_f_fsid_val" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_STATFS64_F_FSID_VAL 1
+_ACEOF
+
+
 fi
+ac_fn_c_check_member "$LINENO" "struct statfs64" "f_fsid.__val" "ac_cv_member_struct_statfs64_f_fsid___val" "#include <linux/types.h>
+#include <asm/statfs.h>
+"
+if test "x$ac_cv_member_struct_statfs64_f_fsid___val" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_STATFS64_F_FSID___VAL 1
+_ACEOF
 
 
 fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wold-style-declaration" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Wold-style-declaration... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wold-style-declaration"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+fi
 
-int
-main ()
-{
 
-  ;
-  return 0;
-}
+ac_fn_c_check_type "$LINENO" "struct statx" "ac_cv_type_struct_statx" "#include <linux/types.h>
+#include <linux/stat.h>
+"
+if test "x$ac_cv_type_struct_statx" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_STATX 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-declaration"
+
 fi
 
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+ac_fn_c_check_type "$LINENO" "struct blk_user_trace_setup" "ac_cv_type_struct_blk_user_trace_setup" "#include <linux/blktrace_api.h>
+"
+if test "x$ac_cv_type_struct_blk_user_trace_setup" = xyes; then :
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BLK_USER_TRACE_SETUP 1
+_ACEOF
 
-int
-main ()
-{
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
 fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
-fi
 
+ac_fn_c_check_type "$LINENO" "struct mtd_write_req" "ac_cv_type_struct_mtd_write_req" "#include <mtd/mtd-abi.h>
+"
+if test "x$ac_cv_type_struct_mtd_write_req" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_MTD_WRITE_REQ 1
+_ACEOF
 
-fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wold-style-definition" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Wold-style-definition... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+fi
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wold-style-definition"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+ac_fn_c_check_member "$LINENO" "struct ubi_attach_req" "max_beb_per1024" "ac_cv_member_struct_ubi_attach_req_max_beb_per1024" "#include <mtd/ubi-user.h>
+"
+if test "x$ac_cv_member_struct_ubi_attach_req_max_beb_per1024" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_UBI_ATTACH_REQ_MAX_BEB_PER1024 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-definition"
+
 fi
 
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+ac_fn_c_check_type "$LINENO" "struct ptp_sys_offset" "ac_cv_type_struct_ptp_sys_offset" "#include <linux/ptp_clock.h>
+"
+if test "x$ac_cv_type_struct_ptp_sys_offset" = xyes; then :
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_PTP_SYS_OFFSET 1
+_ACEOF
 
-int
-main ()
-{
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
 fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
-fi
+
+ac_fn_c_check_type "$LINENO" "struct kvm_cpuid2" "ac_cv_type_struct_kvm_cpuid2" "#include <linux/kvm.h>
+"
+if test "x$ac_cv_type_struct_kvm_cpuid2" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_KVM_CPUID2 1
+_ACEOF
 
 
 fi
+ac_fn_c_check_type "$LINENO" "struct kvm_regs" "ac_cv_type_struct_kvm_regs" "#include <linux/kvm.h>
+"
+if test "x$ac_cv_type_struct_kvm_regs" = xyes; then :
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Woverride-init" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Woverride-init... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_KVM_REGS 1
+_ACEOF
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Woverride-init"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+fi
+ac_fn_c_check_type "$LINENO" "struct kvm_sregs" "ac_cv_type_struct_kvm_sregs" "#include <linux/kvm.h>
+"
+if test "x$ac_cv_type_struct_kvm_sregs" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_KVM_SREGS 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init=no
+
+
 fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+ac_fn_c_check_type "$LINENO" "struct kvm_userspace_memory_region" "ac_cv_type_struct_kvm_userspace_memory_region" "#include <linux/kvm.h>
+"
+if test "x$ac_cv_type_struct_kvm_userspace_memory_region" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_KVM_USERSPACE_MEMORY_REGION 1
+_ACEOF
+
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Woverride_init" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Woverride-init"
 fi
 
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
+saved_CPPFLAGS="$CPPFLAGS"
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <linux/signal.h> can be used along with <signal.h>" >&5
+$as_echo_n "checking whether <linux/signal.h> can be used along with <signal.h>... " >&6; }
+if ${st_cv_linux_signal+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
-int
-main ()
-{
-
-  ;
-  return 0;
-}
+#include <signal.h>
+#include <linux/signal.h>
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  st_cv_linux_signal=yes
 else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
+  st_cv_linux_signal=no
 fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
-
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_linux_signal" >&5
+$as_echo "$st_cv_linux_signal" >&6; }
+if test "x$st_cv_linux_signal" = xno; then
+	mkdir -p linux/linux
+	cp $srcdir/linux/signal.h.in linux/linux/signal.h
+	CPPFLAGS="$CPPFLAGS -Ilinux"
 fi
 
+ac_fn_c_check_type "$LINENO" "struct __aio_sigset" "ac_cv_type_struct___aio_sigset" "#include <linux/aio_abi.h>
+"
+if test "x$ac_cv_type_struct___aio_sigset" = xyes; then :
 
-fi
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT___AIO_SIGSET 1
+_ACEOF
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wsign-compare" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Wsign-compare... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wsign-compare"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+fi
 
-int
-main ()
-{
 
-  ;
-  return 0;
-}
+ac_fn_c_check_member "$LINENO" "struct iocb" "aio_flags" "ac_cv_member_struct_iocb_aio_flags" "#include <linux/aio_abi.h>
+"
+if test "x$ac_cv_member_struct_iocb_aio_flags" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IOCB_AIO_FLAGS 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wsign-compare"
-fi
+ac_fn_c_check_member "$LINENO" "struct iocb" "aio_rw_flags" "ac_cv_member_struct_iocb_aio_rw_flags" "#include <linux/aio_abi.h>
+"
+if test "x$ac_cv_member_struct_iocb_aio_rw_flags" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IOCB_AIO_RW_FLAGS 1
+_ACEOF
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+fi
 
-int
-main ()
-{
 
-  ;
-  return 0;
-}
+ac_fn_c_check_member "$LINENO" "struct clone_args" "cgroup" "ac_cv_member_struct_clone_args_cgroup" "#include <linux/sched.h>
+"
+if test "x$ac_cv_member_struct_clone_args_cgroup" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_CLONE_ARGS_CGROUP 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
+
 fi
 
 
-fi
+CPPFLAGS="$saved_CPPFLAGS"
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wtype-limits" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Wtype-limits... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+for ac_header in linux/btrfs.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "linux/btrfs.h" "ac_cv_header_linux_btrfs_h" "$ac_includes_default"
+if test "x$ac_cv_header_linux_btrfs_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_BTRFS_H 1
+_ACEOF
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wtype-limits"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+	ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_feature_flags" "compat_flags" "ac_cv_member_struct_btrfs_ioctl_feature_flags_compat_flags" " #include <stdio.h>
+#include <linux/btrfs.h>
+"
+if test "x$ac_cv_member_struct_btrfs_ioctl_feature_flags_compat_flags" = xyes; then :
 
-int
-main ()
-{
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BTRFS_IOCTL_FEATURE_FLAGS_COMPAT_FLAGS 1
+_ACEOF
 
-  ;
-  return 0;
-}
+
+fi
+ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_fs_info_args" "nodesize" "ac_cv_member_struct_btrfs_ioctl_fs_info_args_nodesize" " #include <stdio.h>
+#include <linux/btrfs.h>
+"
+if test "x$ac_cv_member_struct_btrfs_ioctl_fs_info_args_nodesize" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BTRFS_IOCTL_FS_INFO_ARGS_NODESIZE 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=no
+
+
 fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_defrag_range_args" "start" "ac_cv_member_struct_btrfs_ioctl_defrag_range_args_start" " #include <stdio.h>
+#include <linux/btrfs.h>
+"
+if test "x$ac_cv_member_struct_btrfs_ioctl_defrag_range_args_start" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BTRFS_IOCTL_DEFRAG_RANGE_ARGS_START 1
+_ACEOF
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wtype-limits"
+
 fi
 
+done
 
-if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
 
-  ;
-  return 0;
-}
+for ac_header in linux/btrfs.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "linux/btrfs.h" "ac_cv_header_linux_btrfs_h" "$ac_includes_default
+#include <stdio.h>
+#include <stdint.h>
+"
+if test "x$ac_cv_header_linux_btrfs_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_BTRFS_H 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
+
+ac_fn_c_check_type "$LINENO" "struct btrfs_ioctl_logical_ino_args" "ac_cv_type_struct_btrfs_ioctl_logical_ino_args" "$ac_includes_default
+#include <stdio.h>
+#include <stdint.h>
+#include <linux/btrfs.h>
+"
+if test "x$ac_cv_type_struct_btrfs_ioctl_logical_ino_args" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BTRFS_IOCTL_LOGICAL_INO_ARGS 1
+_ACEOF
+
+ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_logical_ino_args" "inodes" "ac_cv_member_struct_btrfs_ioctl_logical_ino_args_inodes" "$ac_includes_default
+#include <stdio.h>
+#include <stdint.h>
+#include <linux/btrfs.h>
+"
+if test "x$ac_cv_member_struct_btrfs_ioctl_logical_ino_args_inodes" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BTRFS_IOCTL_LOGICAL_INO_ARGS_INODES 1
+_ACEOF
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
+
 fi
 
 
 fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wwrite-strings" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Wwrite-strings... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+done
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wwrite-strings"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
+for ac_header in linux/cryptouser.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "linux/cryptouser.h" "ac_cv_header_linux_cryptouser_h" "$ac_includes_default
 
-  ;
-  return 0;
-}
+"
+if test "x$ac_cv_header_linux_cryptouser_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_CRYPTOUSER_H 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wwrite-strings"
-fi
 
 
-# Check whether --enable-gcc-Werror was given.
-if test "${enable_gcc_Werror+set}" = set; then :
-  enableval=$enable_gcc_Werror; case $enableval in
-     yes) if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+ac_fn_c_check_type "$LINENO" "struct crypto_user_alg" "ac_cv_type_struct_crypto_user_alg" "$ac_includes_default
+#include <linux/cryptouser.h>
+"
+if test "x$ac_cv_type_struct_crypto_user_alg" = xyes; then :
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_CRYPTO_USER_ALG 1
+_ACEOF
 
-int
-main ()
-{
+ac_fn_c_check_member "$LINENO" "struct crypto_user_alg" "cru_flags" "ac_cv_member_struct_crypto_user_alg_cru_flags" "$ac_includes_default
+#include <linux/cryptouser.h>
+"
+if test "x$ac_cv_member_struct_crypto_user_alg_cru_flags" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_CRYPTO_USER_ALG_CRU_FLAGS 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
-  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
-else
-  gl_build_unknown_warnings_are_errors=
-fi
 
+fi
 
 fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror" >&5
-$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror... " >&6; }
-if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
 
-  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
-  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+ac_fn_c_check_type "$LINENO" "struct crypto_report_hash" "ac_cv_type_struct_crypto_report_hash" "$ac_includes_default
+#include <linux/cryptouser.h>
+"
+if test "x$ac_cv_type_struct_crypto_report_hash" = xyes; then :
 
-int
-main ()
-{
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_CRYPTO_REPORT_HASH 1
+_ACEOF
 
-  ;
-  return 0;
-}
+ac_fn_c_check_member "$LINENO" "struct crypto_report_hash" "digestsize" "ac_cv_member_struct_crypto_report_hash_digestsize" "$ac_includes_default
+#include <linux/cryptouser.h>
+"
+if test "x$ac_cv_member_struct_crypto_report_hash_digestsize" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_CRYPTO_REPORT_HASH_DIGESTSIZE 1
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror=yes
-else
-  gl_cv_warn_CFLAGS_FOR_BUILD__Werror=no
-fi
-rm -f core conftest.err conftest.$ac_build_objext \
-    conftest$ac_build_exeext conftest.$ac_ext
-  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
+
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror" >&5
-$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror" >&6; }
-if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror" = xyes; then :
-  as_fn_append WARN_CFLAGS_FOR_BUILD " -Werror"
+
 fi
 
- ;;
-     no)  ;;
-     *)   as_fn_error $? "bad value $enableval for gcc-Werror option" "$LINENO" 5 ;;
-   esac
 
-fi
+ac_fn_c_check_type "$LINENO" "struct crypto_report_cipher" "ac_cv_type_struct_crypto_report_cipher" "$ac_includes_default
+#include <linux/cryptouser.h>
+"
+if test "x$ac_cv_type_struct_crypto_report_cipher" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_CRYPTO_REPORT_CIPHER 1
+_ACEOF
 
+ac_fn_c_check_member "$LINENO" "struct crypto_report_cipher" "max_keysize" "ac_cv_member_struct_crypto_report_cipher_max_keysize" "$ac_includes_default
+#include <linux/cryptouser.h>
+"
+if test "x$ac_cv_member_struct_crypto_report_cipher_max_keysize" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_CRYPTO_REPORT_CIPHER_MAX_KEYSIZE 1
+_ACEOF
 
-if test -n "${st_saved_cross_compiling+set}"; then :
-  cross_compiling="${st_saved_cross_compiling}"; unset st_saved_cross_compiling
-fi
 
-if test -n "${st_saved_ac_tool_prefix+set}"; then :
-  ac_tool_prefix="${st_saved_ac_tool_prefix}"; unset st_saved_ac_tool_prefix
 fi
 
-if test -n "${st_saved_ac_link+set}"; then :
-  ac_link="${st_saved_ac_link}"; unset st_saved_ac_link
 fi
 
-if test -n "${st_saved_ac_cv_c_decl_report+set}"; then :
-  ac_cv_c_decl_report="${st_saved_ac_cv_c_decl_report}"; unset st_saved_ac_cv_c_decl_report
-fi
 
-if test -n "${st_saved_ac_cv_c_compiler_gnu+set}"; then :
-  ac_cv_c_compiler_gnu="${st_saved_ac_cv_c_compiler_gnu}"; unset st_saved_ac_cv_c_compiler_gnu
-fi
+ac_fn_c_check_type "$LINENO" "struct crypto_report_blkcipher" "ac_cv_type_struct_crypto_report_blkcipher" "$ac_includes_default
+#include <linux/cryptouser.h>
+"
+if test "x$ac_cv_type_struct_crypto_report_blkcipher" = xyes; then :
 
-if test -n "${st_saved_ac_cpp+set}"; then :
-  ac_cpp="${st_saved_ac_cpp}"; unset st_saved_ac_cpp
-fi
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_CRYPTO_REPORT_BLKCIPHER 1
+_ACEOF
 
-if test -n "${st_saved_ac_compiler_gnu+set}"; then :
-  ac_compiler_gnu="${st_saved_ac_compiler_gnu}"; unset st_saved_ac_compiler_gnu
-fi
+ac_fn_c_check_member "$LINENO" "struct crypto_report_blkcipher" "ivsize" "ac_cv_member_struct_crypto_report_blkcipher_ivsize" "$ac_includes_default
+#include <linux/cryptouser.h>
+"
+if test "x$ac_cv_member_struct_crypto_report_blkcipher_ivsize" = xyes; then :
 
-if test -n "${st_saved_ac_compile+set}"; then :
-  ac_compile="${st_saved_ac_compile}"; unset st_saved_ac_compile
-fi
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_CRYPTO_REPORT_BLKCIPHER_IVSIZE 1
+_ACEOF
 
-if test -n "${st_saved_ac_c_werror_flag+set}"; then :
-  ac_c_werror_flag="${st_saved_ac_c_werror_flag}"; unset st_saved_ac_c_werror_flag
-fi
 
-if test -n "${st_saved_ac_c_preproc_warn_flag+set}"; then :
-  ac_c_preproc_warn_flag="${st_saved_ac_c_preproc_warn_flag}"; unset st_saved_ac_c_preproc_warn_flag
 fi
 
-if test -n "${st_saved_ac_c_decl_warn_flag+set}"; then :
-  ac_c_decl_warn_flag="${st_saved_ac_c_decl_warn_flag}"; unset st_saved_ac_c_decl_warn_flag
 fi
 
 
+ac_fn_c_check_type "$LINENO" "struct crypto_report_aead" "ac_cv_type_struct_crypto_report_aead" "$ac_includes_default
+#include <linux/cryptouser.h>
+"
+if test "x$ac_cv_type_struct_crypto_report_aead" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_CRYPTO_REPORT_AEAD 1
+_ACEOF
 
-BUILD_EXEEXT=$ac_build_exeext
-BUILD_OBJEXT=$ac_build_objext
+ac_fn_c_check_member "$LINENO" "struct crypto_report_aead" "ivsize" "ac_cv_member_struct_crypto_report_aead_ivsize" "$ac_includes_default
+#include <linux/cryptouser.h>
+"
+if test "x$ac_cv_member_struct_crypto_report_aead_ivsize" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_CRYPTO_REPORT_AEAD_IVSIZE 1
+_ACEOF
 
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$RANLIB"; then
-  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
 
 fi
+
 fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
+
+
+ac_fn_c_check_type "$LINENO" "struct crypto_report_rng" "ac_cv_type_struct_crypto_report_rng" "$ac_includes_default
+#include <linux/cryptouser.h>
+"
+if test "x$ac_cv_type_struct_crypto_report_rng" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_CRYPTO_REPORT_RNG 1
+_ACEOF
+
+ac_fn_c_check_member "$LINENO" "struct crypto_report_rng" "seedsize" "ac_cv_member_struct_crypto_report_rng_seedsize" "$ac_includes_default
+#include <linux/cryptouser.h>
+"
+if test "x$ac_cv_member_struct_crypto_report_rng_seedsize" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_CRYPTO_REPORT_RNG_SEEDSIZE 1
+_ACEOF
 
 
 fi
-if test -z "$ac_cv_prog_RANLIB"; then
-  ac_ct_RANLIB=$RANLIB
-  # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_RANLIB"; then
-  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-    ac_cv_prog_ac_ct_RANLIB="ranlib"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
 
 fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
 
-  if test "x$ac_ct_RANLIB" = x; then
-    RANLIB=":"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    RANLIB=$ac_ct_RANLIB
-  fi
-else
-  RANLIB="$ac_cv_prog_RANLIB"
+
 fi
 
+done
 
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
-$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
-if ${ac_cv_path_GREP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -z "$GREP"; then
-  ac_path_GREP_found=false
-  # Loop through the user's path and test for each of PROGNAME-LIST
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_prog in grep ggrep; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
-      as_fn_executable_p "$ac_path_GREP" || continue
-# Check for GNU ac_path_GREP and select it if it is found.
-  # Check for GNU $ac_path_GREP
-case `"$ac_path_GREP" --version 2>&1` in
-*GNU*)
-  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
-*)
-  ac_count=0
-  $as_echo_n 0123456789 >"conftest.in"
-  while :
-  do
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
-    mv "conftest.tmp" "conftest.in"
-    cp "conftest.in" "conftest.nl"
-    $as_echo 'GREP' >> "conftest.nl"
-    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    as_fn_arith $ac_count + 1 && ac_count=$as_val
-    if test $ac_count -gt ${ac_path_GREP_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_GREP="$ac_path_GREP"
-      ac_path_GREP_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 && break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
+for ac_header in linux/input.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default
 
-      $ac_path_GREP_found && break 3
-    done
-  done
-  done
-IFS=$as_save_IFS
-  if test -z "$ac_cv_path_GREP"; then
-    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
-  fi
-else
-  ac_cv_path_GREP=$GREP
-fi
+"
+if test "x$ac_cv_header_linux_input_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_INPUT_H 1
+_ACEOF
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
-$as_echo "$ac_cv_path_GREP" >&6; }
- GREP="$ac_cv_path_GREP"
 
+ac_fn_c_check_type "$LINENO" "struct input_absinfo" "ac_cv_type_struct_input_absinfo" "$ac_includes_default
+#include <linux/input.h>
+"
+if test "x$ac_cv_type_struct_input_absinfo" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_INPUT_ABSINFO 1
+_ACEOF
+
+ac_fn_c_check_member "$LINENO" "struct input_absinfo" "resolution" "ac_cv_member_struct_input_absinfo_resolution" "$ac_includes_default
+#include <linux/input.h>
+"
+if test "x$ac_cv_member_struct_input_absinfo_resolution" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_INPUT_ABSINFO_RESOLUTION 1
+_ACEOF
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
-$as_echo_n "checking for egrep... " >&6; }
-if ${ac_cv_path_EGREP+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
-   then ac_cv_path_EGREP="$GREP -E"
-   else
-     if test -z "$EGREP"; then
-  ac_path_EGREP_found=false
-  # Loop through the user's path and test for each of PROGNAME-LIST
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_prog in egrep; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
-      as_fn_executable_p "$ac_path_EGREP" || continue
-# Check for GNU ac_path_EGREP and select it if it is found.
-  # Check for GNU $ac_path_EGREP
-case `"$ac_path_EGREP" --version 2>&1` in
-*GNU*)
-  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
-*)
-  ac_count=0
-  $as_echo_n 0123456789 >"conftest.in"
-  while :
-  do
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
-    mv "conftest.tmp" "conftest.in"
-    cp "conftest.in" "conftest.nl"
-    $as_echo 'EGREP' >> "conftest.nl"
-    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    as_fn_arith $ac_count + 1 && ac_count=$as_val
-    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_EGREP="$ac_path_EGREP"
-      ac_path_EGREP_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 && break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
 
-      $ac_path_EGREP_found && break 3
-    done
-  done
-  done
-IFS=$as_save_IFS
-  if test -z "$ac_cv_path_EGREP"; then
-    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
-  fi
-else
-  ac_cv_path_EGREP=$EGREP
 fi
 
-   fi
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
-$as_echo "$ac_cv_path_EGREP" >&6; }
- EGREP="$ac_cv_path_EGREP"
 
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
-$as_echo_n "checking for ANSI C header files... " >&6; }
-if ${ac_cv_header_stdc+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdlib.h>
-#include <stdarg.h>
-#include <string.h>
-#include <float.h>
+ac_fn_c_check_type "$LINENO" "struct input_keymap_entry" "ac_cv_type_struct_input_keymap_entry" "$ac_includes_default
+#include <linux/input.h>
+"
+if test "x$ac_cv_type_struct_input_keymap_entry" = xyes; then :
 
-int
-main ()
-{
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_INPUT_KEYMAP_ENTRY 1
+_ACEOF
 
-  ;
-  return 0;
-}
+ac_fn_c_check_member "$LINENO" "struct input_keymap_entry" "scancode" "ac_cv_member_struct_input_keymap_entry_scancode" "$ac_includes_default
+#include <linux/input.h>
+"
+if test "x$ac_cv_member_struct_input_keymap_entry_scancode" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_INPUT_KEYMAP_ENTRY_SCANCODE 1
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_header_stdc=yes
-else
-  ac_cv_header_stdc=no
+
+
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
-if test $ac_cv_header_stdc = yes; then
-  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <string.h>
+fi
 
+
+ac_fn_c_check_type "$LINENO" "struct input_mask" "ac_cv_type_struct_input_mask" "$ac_includes_default
+#include <linux/input.h>
+"
+if test "x$ac_cv_type_struct_input_mask" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_INPUT_MASK 1
+_ACEOF
+
+ac_fn_c_check_member "$LINENO" "struct input_mask" "codes_ptr" "ac_cv_member_struct_input_mask_codes_ptr" "$ac_includes_default
+#include <linux/input.h>
+"
+if test "x$ac_cv_member_struct_input_mask_codes_ptr" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_INPUT_MASK_CODES_PTR 1
 _ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "memchr" >/dev/null 2>&1; then :
 
-else
-  ac_cv_header_stdc=no
+
 fi
-rm -f conftest*
 
 fi
 
-if test $ac_cv_header_stdc = yes; then
-  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdlib.h>
 
+fi
+
+done
+
+
+for ac_header in linux/io_uring.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "linux/io_uring.h" "ac_cv_header_linux_io_uring_h" "$ac_includes_default
+
+"
+if test "x$ac_cv_header_linux_io_uring_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_IO_URING_H 1
 _ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "free" >/dev/null 2>&1; then :
 
-else
-  ac_cv_header_stdc=no
-fi
-rm -f conftest*
 
-fi
+ac_fn_c_check_type "$LINENO" "struct io_sqring_offsets" "ac_cv_type_struct_io_sqring_offsets" "$ac_includes_default
+#include <linux/io_uring.h>
+"
+if test "x$ac_cv_type_struct_io_sqring_offsets" = xyes; then :
 
-if test $ac_cv_header_stdc = yes; then
-  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
-  if test "$cross_compiling" = yes; then :
-  :
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <ctype.h>
-#include <stdlib.h>
-#if ((' ' & 0x0FF) == 0x020)
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
-#else
-# define ISLOWER(c) \
-		   (('a' <= (c) && (c) <= 'i') \
-		     || ('j' <= (c) && (c) <= 'r') \
-		     || ('s' <= (c) && (c) <= 'z'))
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
-#endif
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_SQRING_OFFSETS 1
+_ACEOF
 
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
-int
-main ()
-{
-  int i;
-  for (i = 0; i < 256; i++)
-    if (XOR (islower (i), ISLOWER (i))
-	|| toupper (i) != TOUPPER (i))
-      return 2;
-  return 0;
-}
+ac_fn_c_check_member "$LINENO" "struct io_sqring_offsets" "resv2" "ac_cv_member_struct_io_sqring_offsets_resv2" "$ac_includes_default
+#include <linux/io_uring.h>
+"
+if test "x$ac_cv_member_struct_io_sqring_offsets_resv2" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_SQRING_OFFSETS_RESV2 1
 _ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
 
-else
-  ac_cv_header_stdc=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
 
 fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
-$as_echo "$ac_cv_header_stdc" >&6; }
-if test $ac_cv_header_stdc = yes; then
-
-$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
 fi
 
-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
-		  inttypes.h stdint.h unistd.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+
+ac_fn_c_check_type "$LINENO" "struct io_cqring_offsets" "ac_cv_type_struct_io_cqring_offsets" "$ac_includes_default
+#include <linux/io_uring.h>
 "
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+if test "x$ac_cv_type_struct_io_cqring_offsets" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_CQRING_OFFSETS 1
 _ACEOF
 
-fi
+ac_fn_c_check_member "$LINENO" "struct io_cqring_offsets" "cqes" "ac_cv_member_struct_io_cqring_offsets_cqes" "$ac_includes_default
+#include <linux/io_uring.h>
+"
+if test "x$ac_cv_member_struct_io_cqring_offsets_cqes" = xyes; then :
 
-done
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_CQRING_OFFSETS_CQES 1
+_ACEOF
 
 
+fi
 
-  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
-if test "x$ac_cv_header_minix_config_h" = xyes; then :
-  MINIX=yes
-else
-  MINIX=
 fi
 
 
-  if test "$MINIX" = yes; then
+ac_fn_c_check_type "$LINENO" "struct io_uring_params" "ac_cv_type_struct_io_uring_params" "$ac_includes_default
+#include <linux/io_uring.h>
+"
+if test "x$ac_cv_type_struct_io_uring_params" = xyes; then :
 
-$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_URING_PARAMS 1
+_ACEOF
+
+ac_fn_c_check_member "$LINENO" "struct io_uring_params" "cq_off" "ac_cv_member_struct_io_uring_params_cq_off" "$ac_includes_default
+#include <linux/io_uring.h>
+"
+if test "x$ac_cv_member_struct_io_uring_params_cq_off" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_URING_PARAMS_CQ_OFF 1
+_ACEOF
 
-$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
 
+fi
 
-$as_echo "#define _MINIX 1" >>confdefs.h
+fi
 
-  fi
 
+ac_fn_c_check_type "$LINENO" "struct io_uring_files_update" "ac_cv_type_struct_io_uring_files_update" "$ac_includes_default
+#include <linux/io_uring.h>
+"
+if test "x$ac_cv_type_struct_io_uring_files_update" = xyes; then :
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
-$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
-if ${ac_cv_safe_to_define___extensions__+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_URING_FILES_UPDATE 1
+_ACEOF
 
-#         define __EXTENSIONS__ 1
-          $ac_includes_default
-int
-main ()
-{
+ac_fn_c_check_member "$LINENO" "struct io_uring_files_update" "fds" "ac_cv_member_struct_io_uring_files_update_fds" "$ac_includes_default
+#include <linux/io_uring.h>
+"
+if test "x$ac_cv_member_struct_io_uring_files_update_fds" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_URING_FILES_UPDATE_FDS 1
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_safe_to_define___extensions__=yes
-else
-  ac_cv_safe_to_define___extensions__=no
+
+
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
-$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
-  test $ac_cv_safe_to_define___extensions__ = yes &&
-    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
 
-  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
 
-  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
+ac_fn_c_check_type "$LINENO" "struct io_uring_probe_op" "ac_cv_type_struct_io_uring_probe_op" "$ac_includes_default
+#include <linux/io_uring.h>
+"
+if test "x$ac_cv_type_struct_io_uring_probe_op" = xyes; then :
 
-  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_URING_PROBE_OP 1
+_ACEOF
 
-  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
+ac_fn_c_check_member "$LINENO" "struct io_uring_probe_op" "resv2" "ac_cv_member_struct_io_uring_probe_op_resv2" "$ac_includes_default
+#include <linux/io_uring.h>
+"
+if test "x$ac_cv_member_struct_io_uring_probe_op_resv2" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_URING_PROBE_OP_RESV2 1
+_ACEOF
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
-$as_echo_n "checking for a sed that does not truncate output... " >&6; }
-if ${ac_cv_path_SED+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
-     for ac_i in 1 2 3 4 5 6 7; do
-       ac_script="$ac_script$as_nl$ac_script"
-     done
-     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
-     { ac_script=; unset ac_script;}
-     if test -z "$SED"; then
-  ac_path_SED_found=false
-  # Loop through the user's path and test for each of PROGNAME-LIST
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_prog in sed gsed; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
-      as_fn_executable_p "$ac_path_SED" || continue
-# Check for GNU ac_path_SED and select it if it is found.
-  # Check for GNU $ac_path_SED
-case `"$ac_path_SED" --version 2>&1` in
-*GNU*)
-  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
-*)
-  ac_count=0
-  $as_echo_n 0123456789 >"conftest.in"
-  while :
-  do
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
-    mv "conftest.tmp" "conftest.in"
-    cp "conftest.in" "conftest.nl"
-    $as_echo '' >> "conftest.nl"
-    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    as_fn_arith $ac_count + 1 && ac_count=$as_val
-    if test $ac_count -gt ${ac_path_SED_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_SED="$ac_path_SED"
-      ac_path_SED_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 && break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
 
-      $ac_path_SED_found && break 3
-    done
-  done
-  done
-IFS=$as_save_IFS
-  if test -z "$ac_cv_path_SED"; then
-    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
-  fi
-else
-  ac_cv_path_SED=$SED
 fi
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
-$as_echo "$ac_cv_path_SED" >&6; }
- SED="$ac_cv_path_SED"
-  rm -f conftest.sed
+fi
+
+
+ac_fn_c_check_type "$LINENO" "struct io_uring_probe" "ac_cv_type_struct_io_uring_probe" "$ac_includes_default
+#include <linux/io_uring.h>
+"
+if test "x$ac_cv_type_struct_io_uring_probe" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_URING_PROBE 1
+_ACEOF
 
+ac_fn_c_check_member "$LINENO" "struct io_uring_probe" "ops" "ac_cv_member_struct_io_uring_probe_ops" "$ac_includes_default
+#include <linux/io_uring.h>
+"
+if test "x$ac_cv_member_struct_io_uring_probe_ops" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IO_URING_PROBE_OPS 1
+_ACEOF
 
 
-	# allow to override gcov location
+fi
 
-# Check whether --with-gcov was given.
-if test "${with_gcov+set}" = set; then :
-  withval=$with_gcov; _AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov
-else
-  _AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov
 fi
 
 
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5
-$as_echo_n "checking whether to build with code coverage support... " >&6; }
-	# Check whether --enable-code-coverage was given.
-if test "${enable_code_coverage+set}" = set; then :
-  enableval=$enable_code_coverage;
-else
-  enable_code_coverage=no
 fi
 
+done
 
-	 if test x$enable_code_coverage = xyes; then
-  CODE_COVERAGE_ENABLED_TRUE=
-  CODE_COVERAGE_ENABLED_FALSE='#'
-else
-  CODE_COVERAGE_ENABLED_TRUE='#'
-  CODE_COVERAGE_ENABLED_FALSE=
-fi
 
-	CODE_COVERAGE_ENABLED=$enable_code_coverage
+for ac_header in linux/loop.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "linux/loop.h" "ac_cv_header_linux_loop_h" "$ac_includes_default
+#include <linux/ioctl.h>
+"
+if test "x$ac_cv_header_linux_loop_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_LOOP_H 1
+_ACEOF
 
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5
-$as_echo "$enable_code_coverage" >&6; }
 
-	if  test "$enable_code_coverage" = "yes" ; then :
+ac_fn_c_check_type "$LINENO" "struct loop_config" "ac_cv_type_struct_loop_config" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/loop.h>
+"
+if test "x$ac_cv_type_struct_loop_config" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_LOOP_CONFIG 1
+_ACEOF
+
+ac_fn_c_check_member "$LINENO" "struct loop_config" "__reserved" "ac_cv_member_struct_loop_config___reserved" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/loop.h>
+"
+if test "x$ac_cv_member_struct_loop_config___reserved" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_LOOP_CONFIG___RESERVED 1
+_ACEOF
 
-		# check for gcov
-		if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args.
-set dummy ${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_GCOV+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$GCOV"; then
-  ac_cv_prog_GCOV="$GCOV" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-    ac_cv_prog_GCOV="${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
 
 fi
-fi
-GCOV=$ac_cv_prog_GCOV
-if test -n "$GCOV"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
-$as_echo "$GCOV" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
+
 fi
 
 
 fi
-if test -z "$ac_cv_prog_GCOV"; then
-  ac_ct_GCOV=$GCOV
-  # Extract the first word of "$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args.
-set dummy $_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_GCOV+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$ac_ct_GCOV"; then
-  ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-    ac_cv_prog_ac_ct_GCOV="$_AX_CODE_COVERAGE_GCOV_PROG_WITH"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
+
 done
-  done
-IFS=$as_save_IFS
+
+
+for ac_header in linux/openat2.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "linux/openat2.h" "ac_cv_header_linux_openat2_h" "$ac_includes_default
+
+"
+if test "x$ac_cv_header_linux_openat2_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_OPENAT2_H 1
+_ACEOF
+
+
+ac_fn_c_check_type "$LINENO" "struct open_how" "ac_cv_type_struct_open_how" "$ac_includes_default
+#include <linux/openat2.h>
+"
+if test "x$ac_cv_type_struct_open_how" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_OPEN_HOW 1
+_ACEOF
+
+ac_fn_c_check_member "$LINENO" "struct open_how" "resolve" "ac_cv_member_struct_open_how_resolve" "$ac_includes_default
+#include <linux/openat2.h>
+"
+if test "x$ac_cv_member_struct_open_how_resolve" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_OPEN_HOW_RESOLVE 1
+_ACEOF
+
 
 fi
+
 fi
-ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV
-if test -n "$ac_ct_GCOV"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5
-$as_echo "$ac_ct_GCOV" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
+
+
 fi
 
-  if test "x$ac_ct_GCOV" = x; then
-    GCOV=":"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    GCOV=$ac_ct_GCOV
-  fi
-else
-  GCOV="$ac_cv_prog_GCOV"
+done
+
+
+for ac_header in linux/rtnetlink.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+"
+if test "x$ac_cv_header_linux_rtnetlink_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_RTNETLINK_H 1
+_ACEOF
+
+
+ac_fn_c_check_type "$LINENO" "struct rtnl_link_stats" "ac_cv_type_struct_rtnl_link_stats" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_type_struct_rtnl_link_stats" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_RTNL_LINK_STATS 1
+_ACEOF
+
+ac_fn_c_check_member "$LINENO" "struct rtnl_link_stats" "rx_nohandler" "ac_cv_member_struct_rtnl_link_stats_rx_nohandler" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_member_struct_rtnl_link_stats_rx_nohandler" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_RTNL_LINK_STATS_RX_NOHANDLER 1
+_ACEOF
+
+
 fi
 
-		if test "X$GCOV" = "X:"; then :
-  as_fn_error $? "gcov is needed to do coverage" "$LINENO" 5
 fi
 
 
-				if  test "$GCC" = "no" ; then :
+ac_fn_c_check_type "$LINENO" "struct rtnl_link_stats64" "ac_cv_type_struct_rtnl_link_stats64" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_type_struct_rtnl_link_stats64" = xyes; then :
 
-			as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_RTNL_LINK_STATS64 1
+_ACEOF
 
-fi
+ac_fn_c_check_member "$LINENO" "struct rtnl_link_stats64" "rx_nohandler" "ac_cv_member_struct_rtnl_link_stats64_rx_nohandler" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_member_struct_rtnl_link_stats64_rx_nohandler" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_RTNL_LINK_STATS64_RX_NOHANDLER 1
+_ACEOF
 
-		# Extract the first word of "lcov", so it can be a program name with args.
-set dummy lcov; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_LCOV+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$LCOV"; then
-  ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-    ac_cv_prog_LCOV="lcov"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
 
 fi
+
 fi
-LCOV=$ac_cv_prog_LCOV
-if test -n "$LCOV"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
-$as_echo "$LCOV" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
 
 
-		# Extract the first word of "genhtml", so it can be a program name with args.
-set dummy genhtml; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_GENHTML+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$GENHTML"; then
-  ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-    ac_cv_prog_GENHTML="genhtml"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
+ac_fn_c_check_type "$LINENO" "struct ifla_bridge_id" "ac_cv_type_struct_ifla_bridge_id" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_type_struct_ifla_bridge_id" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IFLA_BRIDGE_ID 1
+_ACEOF
+
+ac_fn_c_check_member "$LINENO" "struct ifla_bridge_id" "addr" "ac_cv_member_struct_ifla_bridge_id_addr" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_member_struct_ifla_bridge_id_addr" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IFLA_BRIDGE_ID_ADDR 1
+_ACEOF
+
 
 fi
-fi
-GENHTML=$ac_cv_prog_GENHTML
-if test -n "$GENHTML"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
-$as_echo "$GENHTML" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
+
 fi
 
 
+ac_fn_c_check_type "$LINENO" "struct ifla_port_vsi" "ac_cv_type_struct_ifla_port_vsi" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_type_struct_ifla_port_vsi" = xyes; then :
 
-		if  test -z "$LCOV" ; then :
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IFLA_PORT_VSI 1
+_ACEOF
+
+ac_fn_c_check_member "$LINENO" "struct ifla_port_vsi" "pad" "ac_cv_member_struct_ifla_port_vsi_pad" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_member_struct_ifla_port_vsi_pad" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_IFLA_PORT_VSI_PAD 1
+_ACEOF
 
-			as_fn_error $? "To enable code coverage reporting you must have lcov installed" "$LINENO" 5
 
 fi
 
-		if  test -z "$GENHTML" ; then :
+fi
 
-			as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5
 
 fi
 
-						CODE_COVERAGE_CPPFLAGS="-DENABLE_COVERAGE_GCOV -DNDEBUG"
-		CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
-		CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
-		CODE_COVERAGE_LIBS="-lgcov"
-		CODE_COVERAGE_LDFLAGS="$CODE_COVERAGE_LIBS"
+done
 
 
+for ac_header in linux/if_bridge.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "linux/if_bridge.h" "ac_cv_header_linux_if_bridge_h" "$ac_includes_default
+#include <netinet/in.h>
+"
+if test "x$ac_cv_header_linux_if_bridge_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_IF_BRIDGE_H 1
+_ACEOF
 
 
+ac_fn_c_check_type "$LINENO" "struct br_port_msg" "ac_cv_type_struct_br_port_msg" "$ac_includes_default
+#include <netinet/in.h>
+#include <linux/if_bridge.h>
+"
+if test "x$ac_cv_type_struct_br_port_msg" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BR_PORT_MSG 1
+_ACEOF
 
+ac_fn_c_check_member "$LINENO" "struct br_port_msg" "ifindex" "ac_cv_member_struct_br_port_msg_ifindex" "$ac_includes_default
+#include <netinet/in.h>
+#include <linux/if_bridge.h>
+"
+if test "x$ac_cv_member_struct_br_port_msg_ifindex" = xyes; then :
 
-		CODE_COVERAGE_RULES_CHECK='
-	-$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k check
-	$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) code-coverage-capture
-'
-		CODE_COVERAGE_RULES_CAPTURE='
-	$(code_coverage_v_lcov_cap)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --capture --output-file "$(CODE_COVERAGE_OUTPUT_FILE).tmp" --test-name "$(call code_coverage_sanitize,$(PACKAGE_NAME)-$(PACKAGE_VERSION))" --no-checksum --compat-libtool $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_OPTIONS)
-	$(code_coverage_v_lcov_ign)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --remove "$(CODE_COVERAGE_OUTPUT_FILE).tmp" "/tmp/*" $(CODE_COVERAGE_IGNORE_PATTERN) --output-file "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_RMOPTS)
-	-@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp
-	$(code_coverage_v_genhtml)LANG=C $(GENHTML) $(code_coverage_quiet) $(addprefix --prefix ,$(CODE_COVERAGE_DIRECTORY)) --output-directory "$(CODE_COVERAGE_OUTPUT_DIRECTORY)" --title "$(PACKAGE_NAME)-$(PACKAGE_VERSION) Code Coverage" --legend --show-details "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_GENHTML_OPTIONS)
-	@echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html"
-'
-		CODE_COVERAGE_RULES_CLEAN='
-clean: code-coverage-clean
-distclean: code-coverage-clean
-code-coverage-clean:
-	-$(LCOV) --directory $(top_builddir) -z
-	-rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY)
-	-find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete
-'
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BR_PORT_MSG_IFINDEX 1
+_ACEOF
 
-else
 
-		CODE_COVERAGE_RULES_CHECK='
-	@echo "Need to reconfigure with --enable-code-coverage"
-'
-		CODE_COVERAGE_RULES_CAPTURE="$CODE_COVERAGE_RULES_CHECK"
-		CODE_COVERAGE_RULES_CLEAN=''
+fi
 
 fi
 
-CODE_COVERAGE_RULES='
-# Code coverage
-#
-# Optional:
-#  - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting.
-#    Multiple directories may be specified, separated by whitespace.
-#    (Default: $(top_builddir))
-#  - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated
-#    by lcov for code coverage. (Default:
-#    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info)
-#  - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage
-#    reports to be created. (Default:
-#    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage)
-#  - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage,
-#    set to 0 to disable it and leave empty to stay with the default.
-#    (Default: empty)
-#  - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov
-#    instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
-#  - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov
-#    instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
-#  - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov
-#  - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the
-#    collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
-#  - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov
-#    instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
-#  - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering
-#    lcov instance. (Default: empty)
-#  - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov
-#    instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
-#  - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the
-#    genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
-#  - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml
-#    instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
-#  - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore
-#
-# The generated report will be titled using the $(PACKAGE_NAME) and
-# $(PACKAGE_VERSION). In order to add the current git hash to the title,
-# use the git-version-gen script, available online.
 
-# Optional variables
-CODE_COVERAGE_DIRECTORY ?= $(top_builddir)
-CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info
-CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage
-CODE_COVERAGE_BRANCH_COVERAGE ?=
-CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
---rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
-CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
-CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)"
-CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
-CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
-CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?=
-CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
-CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\
-$(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
---rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
-CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
-CODE_COVERAGE_IGNORE_PATTERN ?=
+ac_fn_c_check_type "$LINENO" "struct br_mdb_entry" "ac_cv_type_struct_br_mdb_entry" "$ac_includes_default
+#include <netinet/in.h>
+#include <linux/if_bridge.h>
+"
+if test "x$ac_cv_type_struct_br_mdb_entry" = xyes; then :
 
-code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V))
-code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY))
-code_coverage_v_lcov_cap_0 = @echo "  LCOV   --capture"\
- $(CODE_COVERAGE_OUTPUT_FILE);
-code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V))
-code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY))
-code_coverage_v_lcov_ign_0 = @echo "  LCOV   --remove /tmp/*"\
- $(CODE_COVERAGE_IGNORE_PATTERN);
-code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V))
-code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY))
-code_coverage_v_genhtml_0 = @echo "  GEN   " $(CODE_COVERAGE_OUTPUT_DIRECTORY);
-code_coverage_quiet = $(code_coverage_quiet_$(V))
-code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY))
-code_coverage_quiet_0 = --quiet
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BR_MDB_ENTRY 1
+_ACEOF
 
-# sanitizes the test-name: replaces with underscores: dashes and dots
-code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1)))
+ac_fn_c_check_member "$LINENO" "struct br_mdb_entry" "addr" "ac_cv_member_struct_br_mdb_entry_addr" "$ac_includes_default
+#include <netinet/in.h>
+#include <linux/if_bridge.h>
+"
+if test "x$ac_cv_member_struct_br_mdb_entry_addr" = xyes; then :
 
-# Use recursive makes in order to ignore errors during check
-check-code-coverage:'"$CODE_COVERAGE_RULES_CHECK"'
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_BR_MDB_ENTRY_ADDR 1
+_ACEOF
 
-# Capture code coverage data
-code-coverage-capture: code-coverage-capture-hook'"$CODE_COVERAGE_RULES_CAPTURE"'
 
-# Hook rule executed before code-coverage-capture, overridable by the user
-code-coverage-capture-hook:
+fi
 
-'"$CODE_COVERAGE_RULES_CLEAN"'
+fi
 
-GITIGNOREFILES ?=
-GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
 
-A''M_DISTCHECK_CONFIGURE_FLAGS ?=
-A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage
+fi
 
-.PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean
-'
+done
+
+
+for ac_header in linux/rtnetlink.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+"
+if test "x$ac_cv_header_linux_rtnetlink_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_RTNETLINK_H 1
+_ACEOF
+
+
+ac_fn_c_check_type "$LINENO" "struct ndt_config" "ac_cv_type_struct_ndt_config" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_type_struct_ndt_config" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_NDT_CONFIG 1
+_ACEOF
 
+ac_fn_c_check_member "$LINENO" "struct ndt_config" "ndtc_proxy_qlen" "ac_cv_member_struct_ndt_config_ndtc_proxy_qlen" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_member_struct_ndt_config_ndtc_proxy_qlen" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_NDT_CONFIG_NDTC_PROXY_QLEN 1
+_ACEOF
 
 
+fi
 
+fi
 
-$as_echo "#define COPYRIGHT_YEAR \"2020\"" >>confdefs.h
 
-COPYRIGHT_YEAR=2020
+ac_fn_c_check_type "$LINENO" "struct ndt_stats" "ac_cv_type_struct_ndt_stats" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_type_struct_ndt_stats" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_NDT_STATS 1
+_ACEOF
 
+ac_fn_c_check_member "$LINENO" "struct ndt_stats" "ndts_table_fulls" "ac_cv_member_struct_ndt_stats_ndts_table_fulls" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_member_struct_ndt_stats_ndts_table_fulls" = xyes; then :
 
-$as_echo "#define MANPAGE_DATE \"2020-02-04\"" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_NDT_STATS_NDTS_TABLE_FULLS 1
+_ACEOF
 
-MANPAGE_DATE=2020-02-04
 
+fi
 
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
-$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
-if ${ac_cv_c_bigendian+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_cv_c_bigendian=unknown
-    # See if we're dealing with a universal compiler.
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifndef __APPLE_CC__
-	       not a universal capable compiler
-	     #endif
-	     typedef int dummy;
+fi
 
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
 
-	# Check for potential -arch flags.  It is not universal unless
-	# there are at least two -arch flags with different values.
-	ac_arch=
-	ac_prev=
-	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
-	 if test -n "$ac_prev"; then
-	   case $ac_word in
-	     i?86 | x86_64 | ppc | ppc64)
-	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
-		 ac_arch=$ac_word
-	       else
-		 ac_cv_c_bigendian=universal
-		 break
-	       fi
-	       ;;
-	   esac
-	   ac_prev=
-	 elif test "x$ac_word" = "x-arch"; then
-	   ac_prev=arch
-	 fi
-       done
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    if test $ac_cv_c_bigendian = unknown; then
-      # See if sys/param.h defines the BYTE_ORDER macro.
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <sys/types.h>
-	     #include <sys/param.h>
 
-int
-main ()
-{
-#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
-		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
-		     && LITTLE_ENDIAN)
-	      bogus endian macros
-	     #endif
+done
 
-  ;
-  return 0;
-}
+
+for ac_header in linux/rtnetlink.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+"
+if test "x$ac_cv_header_linux_rtnetlink_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_RTNETLINK_H 1
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  # It does; now see whether it defined to BIG_ENDIAN or not.
-	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <sys/types.h>
-		#include <sys/param.h>
 
-int
-main ()
-{
-#if BYTE_ORDER != BIG_ENDIAN
-		 not big endian
-		#endif
 
-  ;
-  return 0;
-}
+ac_fn_c_check_type "$LINENO" "struct rta_mfc_stats" "ac_cv_type_struct_rta_mfc_stats" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_type_struct_rta_mfc_stats" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_RTA_MFC_STATS 1
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_c_bigendian=yes
-else
-  ac_cv_c_bigendian=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    fi
-    if test $ac_cv_c_bigendian = unknown; then
-      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <limits.h>
 
-int
-main ()
-{
-#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
-	      bogus endian macros
-	     #endif
+ac_fn_c_check_member "$LINENO" "struct rta_mfc_stats" "mfcs_wrong_if" "ac_cv_member_struct_rta_mfc_stats_mfcs_wrong_if" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_member_struct_rta_mfc_stats_mfcs_wrong_if" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_RTA_MFC_STATS_MFCS_WRONG_IF 1
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  # It does; now see whether it defined to _BIG_ENDIAN or not.
-	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <limits.h>
 
-int
-main ()
-{
-#ifndef _BIG_ENDIAN
-		 not big endian
-		#endif
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_c_bigendian=yes
-else
-  ac_cv_c_bigendian=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    fi
-    if test $ac_cv_c_bigendian = unknown; then
-      # Compile a test program.
-      if test "$cross_compiling" = yes; then :
-  # Try to guess by grepping values from an object file.
-	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-unsigned short int ascii_mm[] =
-		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
-		unsigned short int ascii_ii[] =
-		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
-		int use_ascii (int i) {
-		  return ascii_mm[i] + ascii_ii[i];
-		}
-		unsigned short int ebcdic_ii[] =
-		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
-		unsigned short int ebcdic_mm[] =
-		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
-		int use_ebcdic (int i) {
-		  return ebcdic_mm[i] + ebcdic_ii[i];
-		}
-		extern int foo;
 
-int
-main ()
-{
-return use_ascii (foo) == use_ebcdic (foo);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
-	      ac_cv_c_bigendian=yes
-	    fi
-	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
-	      if test "$ac_cv_c_bigendian" = unknown; then
-		ac_cv_c_bigendian=no
-	      else
-		# finding both strings is unlikely to happen, but who knows?
-		ac_cv_c_bigendian=unknown
-	      fi
-	    fi
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-$ac_includes_default
-int
-main ()
-{
 
-	     /* Are we little or big endian?  From Harbison&Steele.  */
-	     union
-	     {
-	       long int l;
-	       char c[sizeof (long int)];
-	     } u;
-	     u.l = 1;
-	     return u.c[sizeof (long int) - 1] == 1;
 
-  ;
-  return 0;
-}
+ac_fn_c_check_type "$LINENO" "struct rtvia" "ac_cv_type_struct_rtvia" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_type_struct_rtvia" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_RTVIA 1
 _ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  ac_cv_c_bigendian=no
-else
-  ac_cv_c_bigendian=yes
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
 
-    fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
-$as_echo "$ac_cv_c_bigendian" >&6; }
- case $ac_cv_c_bigendian in #(
-   yes)
-     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
-;; #(
-   no)
-      ;; #(
-   universal)
+ac_fn_c_check_member "$LINENO" "struct rtvia" "rtvia_addr" "ac_cv_member_struct_rtvia_rtvia_addr" "$ac_includes_default
+#include \"$srcdir/netlink.h\"
+#include <linux/rtnetlink.h>
+"
+if test "x$ac_cv_member_struct_rtvia_rtvia_addr" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_RTVIA_RTVIA_ADDR 1
+_ACEOF
 
-$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
 
-     ;; #(
-   *)
-     as_fn_error $? "unknown endianness
- presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
- esac
+fi
 
+fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported architecture" >&5
-$as_echo_n "checking for supported architecture... " >&6; }
-arch_m32=
-arch_mx32=
-cc_flags_m32=-m32
-cc_flags_mx32=-mx32
-case "$host_cpu" in
-aarch64*)
-	arch=aarch64
-	arch_m32=arm
-	cc_flags_m32=
 
-$as_echo "#define AARCH64 1" >>confdefs.h
+fi
 
-	;;
-alpha*)
-	arch=alpha
+done
 
-$as_echo "#define ALPHA 1" >>confdefs.h
 
-	;;
-arc*)
-	arch=arc
+for ac_header in linux/tee.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "linux/tee.h" "ac_cv_header_linux_tee_h" "$ac_includes_default
+#include <linux/ioctl.h>
+"
+if test "x$ac_cv_header_linux_tee_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_TEE_H 1
+_ACEOF
 
-$as_echo "#define ARC 1" >>confdefs.h
 
-	;;
-arm*)
-	arch=arm
+ac_fn_c_check_type "$LINENO" "struct tee_ioctl_buf_data" "ac_cv_type_struct_tee_ioctl_buf_data" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_type_struct_tee_ioctl_buf_data" = xyes; then :
 
-$as_echo "#define ARM 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_BUF_DATA 1
+_ACEOF
 
-	;;
-avr32*)
-	arch=avr32
+ac_fn_c_check_member "$LINENO" "struct tee_ioctl_buf_data" "buf_len" "ac_cv_member_struct_tee_ioctl_buf_data_buf_len" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_member_struct_tee_ioctl_buf_data_buf_len" = xyes; then :
 
-$as_echo "#define AVR32 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_BUF_DATA_BUF_LEN 1
+_ACEOF
 
-	;;
-bfin)
-	arch=bfin
 
-$as_echo "#define BFIN 1" >>confdefs.h
+fi
 
-	;;
-csky*)
-	arch=csky
+fi
 
-$as_echo "#define CSKY 1" >>confdefs.h
 
-	;;
-hppa*|parisc*)
-	arch=hppa
+ac_fn_c_check_type "$LINENO" "struct tee_ioctl_cancel_arg" "ac_cv_type_struct_tee_ioctl_cancel_arg" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_type_struct_tee_ioctl_cancel_arg" = xyes; then :
 
-$as_echo "#define HPPA 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_CANCEL_ARG 1
+_ACEOF
 
-	;;
-i[3456]86|pentium)
-	arch=i386
+ac_fn_c_check_member "$LINENO" "struct tee_ioctl_cancel_arg" "session" "ac_cv_member_struct_tee_ioctl_cancel_arg_session" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_member_struct_tee_ioctl_cancel_arg_session" = xyes; then :
 
-$as_echo "#define I386 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_CANCEL_ARG_SESSION 1
+_ACEOF
 
-	;;
-ia64)
-	arch=ia64
 
-$as_echo "#define IA64 1" >>confdefs.h
+fi
 
-	;;
-m68k)
-	arch=m68k
+fi
 
-$as_echo "#define M68K 1" >>confdefs.h
 
-	;;
-metag*)
-	arch=metag
+ac_fn_c_check_type "$LINENO" "struct tee_ioctl_close_session_arg" "ac_cv_type_struct_tee_ioctl_close_session_arg" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_type_struct_tee_ioctl_close_session_arg" = xyes; then :
 
-$as_echo "#define METAG 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_CLOSE_SESSION_ARG 1
+_ACEOF
 
-	;;
-microblaze*)
-	arch=microblaze
+ac_fn_c_check_member "$LINENO" "struct tee_ioctl_close_session_arg" "session" "ac_cv_member_struct_tee_ioctl_close_session_arg_session" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_member_struct_tee_ioctl_close_session_arg_session" = xyes; then :
 
-$as_echo "#define MICROBLAZE 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_CLOSE_SESSION_ARG_SESSION 1
+_ACEOF
 
-	;;
-mips*)
-	arch=mips
 
-$as_echo "#define MIPS 1" >>confdefs.h
+fi
 
-	;;
-nios2*)
-	arch=nios2
+fi
 
-$as_echo "#define NIOS2 1" >>confdefs.h
 
-	;;
-or1k*)
-	arch=or1k
+ac_fn_c_check_type "$LINENO" "struct tee_ioctl_shm_alloc_data" "ac_cv_type_struct_tee_ioctl_shm_alloc_data" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_type_struct_tee_ioctl_shm_alloc_data" = xyes; then :
 
-$as_echo "#define OR1K 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_SHM_ALLOC_DATA 1
+_ACEOF
 
-	;;
-powerpc*)
+ac_fn_c_check_member "$LINENO" "struct tee_ioctl_shm_alloc_data" "id" "ac_cv_member_struct_tee_ioctl_shm_alloc_data_id" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_member_struct_tee_ioctl_shm_alloc_data_id" = xyes; then :
 
-$as_echo "#define POWERPC 1" >>confdefs.h
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_SHM_ALLOC_DATA_ID 1
+_ACEOF
 
-	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifndef __LP64__
-# error 32 bit
-#endif
-int
-main ()
-{
 
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  arch=powerpc64
-else
-  arch=powerpc
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-	if test "$arch" = "powerpc64"; then
-		# $ac_cv_c_bigendian is defined by AC_C_BIGENDIAN
-		case "$ac_cv_c_bigendian" in
-		no)
-			arch=powerpc64le
 
-$as_echo "#define POWERPC64LE 1" >>confdefs.h
+fi
 
-			;;
-		*)
-			arch_m32=powerpc
 
-$as_echo "#define POWERPC64 1" >>confdefs.h
+ac_fn_c_check_type "$LINENO" "struct tee_ioctl_shm_register_data" "ac_cv_type_struct_tee_ioctl_shm_register_data" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_type_struct_tee_ioctl_shm_register_data" = xyes; then :
 
-			;;
-		esac
-	fi
-	;;
-riscv64*)
-	arch=riscv64
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_SHM_REGISTER_DATA 1
+_ACEOF
 
-$as_echo "#define RISCV64 1" >>confdefs.h
+ac_fn_c_check_member "$LINENO" "struct tee_ioctl_shm_register_data" "id" "ac_cv_member_struct_tee_ioctl_shm_register_data_id" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_member_struct_tee_ioctl_shm_register_data_id" = xyes; then :
 
-	;;
-s390)
-	arch=s390
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_SHM_REGISTER_DATA_ID 1
+_ACEOF
 
-$as_echo "#define S390 1" >>confdefs.h
 
-	;;
-s390x)
-	arch=s390x
-	arch_m32=s390
-	cc_flags_m32=-m31
+fi
 
-$as_echo "#define S390X 1" >>confdefs.h
+fi
 
-	;;
-sh64*)
-	arch=sh64
 
-$as_echo "#define SH64 1" >>confdefs.h
+ac_fn_c_check_type "$LINENO" "struct tee_ioctl_version_data" "ac_cv_type_struct_tee_ioctl_version_data" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_type_struct_tee_ioctl_version_data" = xyes; then :
 
-	;;
-sh*)
-	arch=sh
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_VERSION_DATA 1
+_ACEOF
 
-$as_echo "#define SH 1" >>confdefs.h
+ac_fn_c_check_member "$LINENO" "struct tee_ioctl_version_data" "gen_caps" "ac_cv_member_struct_tee_ioctl_version_data_gen_caps" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_member_struct_tee_ioctl_version_data_gen_caps" = xyes; then :
 
-	;;
-sparc64*)
-	arch=sparc64
-	arch_m32=sparc
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_VERSION_DATA_GEN_CAPS 1
+_ACEOF
 
-$as_echo "#define SPARC64 1" >>confdefs.h
 
-	;;
-sparc*)
-	arch=sparc
+fi
 
-$as_echo "#define SPARC 1" >>confdefs.h
+fi
 
-	;;
-tile*)
-	arch=tile
 
-$as_echo "#define TILE 1" >>confdefs.h
+ac_fn_c_check_type "$LINENO" "struct tee_ioctl_param" "ac_cv_type_struct_tee_ioctl_param" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_type_struct_tee_ioctl_param" = xyes; then :
 
-	;;
-x86?64*)
-	arch_m32=i386
-	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#ifndef __ILP32__
-# error not x32
-#endif
-int
-main ()
-{
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_PARAM 1
+_ACEOF
 
-  ;
-  return 0;
-}
+ac_fn_c_check_member "$LINENO" "struct tee_ioctl_param" "c" "ac_cv_member_struct_tee_ioctl_param_c" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_member_struct_tee_ioctl_param_c" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_PARAM_C 1
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  arch=x32
-else
-  arch=x86_64
+
+
+fi
+
+fi
+
+
+ac_fn_c_check_type "$LINENO" "struct tee_ioctl_invoke_arg" "ac_cv_type_struct_tee_ioctl_invoke_arg" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_type_struct_tee_ioctl_invoke_arg" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_INVOKE_ARG 1
+_ACEOF
+
+ac_fn_c_check_member "$LINENO" "struct tee_ioctl_invoke_arg" "params" "ac_cv_member_struct_tee_ioctl_invoke_arg_params" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_member_struct_tee_ioctl_invoke_arg_params" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_INVOKE_ARG_PARAMS 1
+_ACEOF
+
+
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-	if test "$arch" = "x86_64"; then
-		arch_mx32=x32
 
-$as_echo "#define X86_64 1" >>confdefs.h
+fi
 
-	else
 
-$as_echo "#define X32 1" >>confdefs.h
+ac_fn_c_check_type "$LINENO" "struct tee_iocl_supp_recv_arg" "ac_cv_type_struct_tee_iocl_supp_recv_arg" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_type_struct_tee_iocl_supp_recv_arg" = xyes; then :
 
-	fi
-	;;
-xtensa*)
-	arch=xtensa
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCL_SUPP_RECV_ARG 1
+_ACEOF
 
-$as_echo "#define XTENSA 1" >>confdefs.h
+ac_fn_c_check_member "$LINENO" "struct tee_iocl_supp_recv_arg" "params" "ac_cv_member_struct_tee_iocl_supp_recv_arg_params" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_member_struct_tee_iocl_supp_recv_arg_params" = xyes; then :
 
-	;;
-*)
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: NO!" >&5
-$as_echo "NO!" >&6; }
-	as_fn_error $? "architecture $host_cpu is not supported by strace" "$LINENO" 5
-	;;
-esac
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $arch" >&5
-$as_echo "$arch" >&6; }
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCL_SUPP_RECV_ARG_PARAMS 1
+_ACEOF
 
-arch_native=$arch
 
-test -n "$arch_m32" ||
-	arch_m32=$arch
-test -n "$arch_mx32" ||
-	arch_mx32=$arch
+fi
 
+fi
 
 
+ac_fn_c_check_type "$LINENO" "struct tee_iocl_supp_send_arg" "ac_cv_type_struct_tee_iocl_supp_send_arg" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_type_struct_tee_iocl_supp_send_arg" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCL_SUPP_SEND_ARG 1
+_ACEOF
 
+ac_fn_c_check_member "$LINENO" "struct tee_iocl_supp_send_arg" "params" "ac_cv_member_struct_tee_iocl_supp_send_arg_params" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_member_struct_tee_iocl_supp_send_arg_params" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCL_SUPP_SEND_ARG_PARAMS 1
+_ACEOF
 
-MIPS_ABI=
-if test "$arch" = mips; then
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _MIPS_SIM" >&5
-$as_echo_n "checking for _MIPS_SIM... " >&6; }
-if ${st_cv__MIPS_SIM+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if ac_fn_c_compute_int "$LINENO" "_MIPS_SIM" "st_cv__MIPS_SIM"        ""; then :
 
-else
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "_MIPS_SIM cannot be determined
-See \`config.log' for more details" "$LINENO" 5; }
 fi
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv__MIPS_SIM" >&5
-$as_echo "$st_cv__MIPS_SIM" >&6; }
 
-	# requires GCC >= 3.4
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MIPS ABI" >&5
-$as_echo_n "checking for MIPS ABI... " >&6; }
-if ${st_cv_mips_abi+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
-int i[_MIPS_SIM == _ABIO32 ? 1 : - 1];
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  st_cv_mips_abi=o32
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+ac_fn_c_check_type "$LINENO" "struct tee_ioctl_open_session_arg" "ac_cv_type_struct_tee_ioctl_open_session_arg" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_type_struct_tee_ioctl_open_session_arg" = xyes; then :
 
-int
-main ()
-{
-int i[_MIPS_SIM == _ABIN32 ? 1 : - 1];
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_OPEN_SESSION_ARG 1
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  st_cv_mips_abi=n32
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-int
-main ()
-{
-int i[_MIPS_SIM == _ABI64 ? 1 : - 1];
-  ;
-  return 0;
-}
+ac_fn_c_check_member "$LINENO" "struct tee_ioctl_open_session_arg" "params" "ac_cv_member_struct_tee_ioctl_open_session_arg_params" "$ac_includes_default
+#include <linux/ioctl.h>
+#include <linux/tee.h>
+"
+if test "x$ac_cv_member_struct_tee_ioctl_open_session_arg_params" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_TEE_IOCTL_OPEN_SESSION_ARG_PARAMS 1
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  st_cv_mips_abi=n64
-else
-  st_cv_mips_abi=unknown
+
+
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+done
+
+
+for ac_header in linux/videodev2.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+"
+if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_VIDEODEV2_H 1
+_ACEOF
+
+
+ac_fn_c_check_type "$LINENO" "struct v4l2_capability" "ac_cv_type_struct_v4l2_capability" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+"
+if test "x$ac_cv_type_struct_v4l2_capability" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_V4L2_CAPABILITY 1
+_ACEOF
+
+ac_fn_c_check_member "$LINENO" "struct v4l2_capability" "reserved" "ac_cv_member_struct_v4l2_capability_reserved" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+"
+if test "x$ac_cv_member_struct_v4l2_capability_reserved" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_V4L2_CAPABILITY_RESERVED 1
+_ACEOF
+
+
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mips_abi" >&5
-$as_echo "$st_cv_mips_abi" >&6; }
 
-	case "$st_cv_mips_abi" in
-		o32)
-$as_echo "#define LINUX_MIPSO32 1" >>confdefs.h
-;;
-		n32)
-$as_echo "#define LINUX_MIPSN32 1" >>confdefs.h
-;;
-		n64)
-$as_echo "#define LINUX_MIPSN64 1" >>confdefs.h
-;;
-		*) as_fn_error $? "Unsupported _MIPS_SIM" "$LINENO" 5;;
-	esac
-	MIPS_ABI="$st_cv_mips_abi"
 fi
 
 
-# Check whether --enable-arm-oabi was given.
-if test "${enable_arm_oabi+set}" = set; then :
-  enableval=$enable_arm_oabi;
-else
-  enable_arm_oabi=no
-fi
+ac_fn_c_check_type "$LINENO" "struct v4l2_pix_format" "ac_cv_type_struct_v4l2_pix_format" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+"
+if test "x$ac_cv_type_struct_v4l2_pix_format" = xyes; then :
 
-case "$enable_arm_oabi" in
-	yes) enable_arm_oabi=1 ;;
-	no) enable_arm_oabi=0 ;;
-	*) as_fn_error $? "bad value $enable_arm_oabi for arm-oabi option" "$LINENO" 5 ;;
-esac
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_V4L2_PIX_FORMAT 1
+_ACEOF
+
+ac_fn_c_check_member "$LINENO" "struct v4l2_pix_format" "xfer_func" "ac_cv_member_struct_v4l2_pix_format_xfer_func" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+"
+if test "x$ac_cv_member_struct_v4l2_pix_format_xfer_func" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define ENABLE_ARM_OABI $enable_arm_oabi
+#define HAVE_STRUCT_V4L2_PIX_FORMAT_XFER_FUNC 1
 _ACEOF
 
 
+fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof syntax and keyword spelling" >&5
-$as_echo_n "checking for typeof syntax and keyword spelling... " >&6; }
-if ${ac_cv_c_typeof+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_cv_c_typeof=no
-     for ac_kw in typeof __typeof__ no; do
-       test $ac_kw = no && break
-       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+fi
 
-int
-main ()
-{
 
-	   int value;
-	   typedef struct {
-		   char a [1
-			   + ! (($ac_kw (value))
-				(($ac_kw (value)) 0 < ($ac_kw (value)) -1
-				 ? ($ac_kw (value)) - 1
-				 : ~ (~ ($ac_kw (value)) 0
-				      << sizeof ($ac_kw (value)))))]; }
-	      ac__typeof_type_;
-	   return
-	     (! ((void) ((ac__typeof_type_ *) 0), 0));
+ac_fn_c_check_type "$LINENO" "struct v4l2_plane_pix_format" "ac_cv_type_struct_v4l2_plane_pix_format" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+"
+if test "x$ac_cv_type_struct_v4l2_plane_pix_format" = xyes; then :
 
-  ;
-  return 0;
-}
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_V4L2_PLANE_PIX_FORMAT 1
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  ac_cv_c_typeof=$ac_kw
+
+ac_fn_c_check_member "$LINENO" "struct v4l2_plane_pix_format" "reserved" "ac_cv_member_struct_v4l2_plane_pix_format_reserved" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+"
+if test "x$ac_cv_member_struct_v4l2_plane_pix_format_reserved" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_V4L2_PLANE_PIX_FORMAT_RESERVED 1
+_ACEOF
+
+
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-       test $ac_cv_c_typeof != no && break
-     done
+
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_typeof" >&5
-$as_echo "$ac_cv_c_typeof" >&6; }
-  if test $ac_cv_c_typeof != no; then
 
-$as_echo "#define HAVE_TYPEOF 1" >>confdefs.h
 
-    if test $ac_cv_c_typeof != typeof; then
+ac_fn_c_check_type "$LINENO" "struct v4l2_clip" "ac_cv_type_struct_v4l2_clip" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+"
+if test "x$ac_cv_type_struct_v4l2_clip" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define typeof $ac_cv_c_typeof
+#define HAVE_STRUCT_V4L2_CLIP 1
 _ACEOF
 
-    fi
-  fi
+ac_fn_c_check_member "$LINENO" "struct v4l2_clip" "next" "ac_cv_member_struct_v4l2_clip_next" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+"
+if test "x$ac_cv_member_struct_v4l2_clip_next" = xyes; then :
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_V4L2_CLIP_NEXT 1
+_ACEOF
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
-$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
-if ${ac_cv_type_uid_t+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <sys/types.h>
 
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "uid_t" >/dev/null 2>&1; then :
-  ac_cv_type_uid_t=yes
-else
-  ac_cv_type_uid_t=no
 fi
-rm -f conftest*
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
-$as_echo "$ac_cv_type_uid_t" >&6; }
-if test $ac_cv_type_uid_t = no; then
-
-$as_echo "#define uid_t int" >>confdefs.h
 
 
-$as_echo "#define gid_t int" >>confdefs.h
+ac_fn_c_check_type "$LINENO" "struct v4l2_window" "ac_cv_type_struct_v4l2_window" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+"
+if test "x$ac_cv_type_struct_v4l2_window" = xyes; then :
 
-fi
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_V4L2_WINDOW 1
+_ACEOF
 
+ac_fn_c_check_member "$LINENO" "struct v4l2_window" "global_alpha" "ac_cv_member_struct_v4l2_window_global_alpha" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+"
+if test "x$ac_cv_member_struct_v4l2_window_global_alpha" = xyes; then :
 
-for ac_func in accept4 be64toh fallocate fanotify_mark fcntl64 fopen64 fork fputs_unlocked fstatat ftruncate futimens iconv_open if_indextoname open64 open_memstream prctl preadv process_vm_readv pwritev readahead signalfd stpcpy strerror strndup strsignal sync_file_range utimensat
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_V4L2_WINDOW_GLOBAL_ALPHA 1
 _ACEOF
 
+
+fi
+
 fi
-done
 
 
-ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include <signal.h>
+ac_fn_c_check_type "$LINENO" "struct v4l2_vbi_format" "ac_cv_type_struct_v4l2_vbi_format" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_sig_atomic_t" = xyes; then :
+if test "x$ac_cv_type_struct_v4l2_vbi_format" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_SIG_ATOMIC_T 1
+#define HAVE_STRUCT_V4L2_VBI_FORMAT 1
 _ACEOF
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct sigcontext" "ac_cv_type_struct_sigcontext" "#include <signal.h>
+ac_fn_c_check_member "$LINENO" "struct v4l2_vbi_format" "reserved" "ac_cv_member_struct_v4l2_vbi_format_reserved" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct_sigcontext" = xyes; then :
+if test "x$ac_cv_member_struct_v4l2_vbi_format_reserved" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_SIGCONTEXT 1
+#define HAVE_STRUCT_V4L2_VBI_FORMAT_RESERVED 1
 _ACEOF
 
 
 fi
 
+fi
+
 
-ac_fn_c_check_type "$LINENO" "struct mmsghdr" "ac_cv_type_struct_mmsghdr" "#include <sys/socket.h>
+ac_fn_c_check_type "$LINENO" "struct v4l2_sliced_vbi_format" "ac_cv_type_struct_v4l2_sliced_vbi_format" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct_mmsghdr" = xyes; then :
+if test "x$ac_cv_type_struct_v4l2_sliced_vbi_format" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_MMSGHDR 1
+#define HAVE_STRUCT_V4L2_SLICED_VBI_FORMAT 1
+_ACEOF
+
+ac_fn_c_check_member "$LINENO" "struct v4l2_sliced_vbi_format" "reserved" "ac_cv_member_struct_v4l2_sliced_vbi_format_reserved" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+"
+if test "x$ac_cv_member_struct_v4l2_sliced_vbi_format_reserved" = xyes; then :
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_STRUCT_V4L2_SLICED_VBI_FORMAT_RESERVED 1
 _ACEOF
 
 
 fi
 
+fi
+
 
-ac_fn_c_check_type "$LINENO" "__kernel_long_t" "ac_cv_type___kernel_long_t" "#include <asm/posix_types.h>
+ac_fn_c_check_type "$LINENO" "struct v4l2_sliced_vbi_cap" "ac_cv_type_struct_v4l2_sliced_vbi_cap" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type___kernel_long_t" = xyes; then :
+if test "x$ac_cv_type_struct_v4l2_sliced_vbi_cap" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE___KERNEL_LONG_T 1
+#define HAVE_STRUCT_V4L2_SLICED_VBI_CAP 1
 _ACEOF
 
-
-fi
-ac_fn_c_check_type "$LINENO" "__kernel_ulong_t" "ac_cv_type___kernel_ulong_t" "#include <asm/posix_types.h>
+ac_fn_c_check_member "$LINENO" "struct v4l2_sliced_vbi_cap" "reserved" "ac_cv_member_struct_v4l2_sliced_vbi_cap_reserved" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type___kernel_ulong_t" = xyes; then :
+if test "x$ac_cv_member_struct_v4l2_sliced_vbi_cap_reserved" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE___KERNEL_ULONG_T 1
+#define HAVE_STRUCT_V4L2_SLICED_VBI_CAP_RESERVED 1
 _ACEOF
 
 
 fi
 
+fi
+
 
-ac_fn_c_check_type "$LINENO" "struct __kernel_timespec" "ac_cv_type_struct___kernel_timespec" "#include <linux/time_types.h>
+ac_fn_c_check_type "$LINENO" "struct v4l2_format" "ac_cv_type_struct_v4l2_format" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct___kernel_timespec" = xyes; then :
+if test "x$ac_cv_type_struct_v4l2_format" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT___KERNEL_TIMESPEC 1
+#define HAVE_STRUCT_V4L2_FORMAT 1
 _ACEOF
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct __kernel_sock_timeval" "ac_cv_type_struct___kernel_sock_timeval" "#include <linux/time_types.h>
+ac_fn_c_check_member "$LINENO" "struct v4l2_format" "fmt" "ac_cv_member_struct_v4l2_format_fmt" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct___kernel_sock_timeval" = xyes; then :
+if test "x$ac_cv_member_struct_v4l2_format_fmt" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT___KERNEL_SOCK_TIMEVAL 1
+#define HAVE_STRUCT_V4L2_FORMAT_FMT 1
 _ACEOF
 
 
 fi
 
+fi
+
 
-ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h>
-#include <asm/stat.h>
+ac_fn_c_check_type "$LINENO" "struct v4l2_area" "ac_cv_type_struct_v4l2_area" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct_stat64" = xyes; then :
+if test "x$ac_cv_type_struct_v4l2_area" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_STAT64 1
+#define HAVE_STRUCT_V4L2_AREA 1
 _ACEOF
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct __old_kernel_stat" "ac_cv_type_struct___old_kernel_stat" "#include <sys/types.h>
-#include <asm/stat.h>
+ac_fn_c_check_member "$LINENO" "struct v4l2_area" "height" "ac_cv_member_struct_v4l2_area_height" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct___old_kernel_stat" = xyes; then :
+if test "x$ac_cv_member_struct_v4l2_area_height" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT___OLD_KERNEL_STAT 1
+#define HAVE_STRUCT_V4L2_AREA_HEIGHT 1
 _ACEOF
 
 
 fi
 
+fi
+
 
-ac_fn_c_check_type "$LINENO" "struct user_desc" "ac_cv_type_struct_user_desc" "#include <asm/ldt.h>
+ac_fn_c_check_type "$LINENO" "struct v4l2_ext_controls" "ac_cv_type_struct_v4l2_ext_controls" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct_user_desc" = xyes; then :
+if test "x$ac_cv_type_struct_v4l2_ext_controls" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_USER_DESC 1
+#define HAVE_STRUCT_V4L2_EXT_CONTROLS 1
 _ACEOF
 
-ac_fn_c_check_member "$LINENO" "struct user_desc" "lm" "ac_cv_member_struct_user_desc_lm" "#include <asm/ldt.h>
+ac_fn_c_check_member "$LINENO" "struct v4l2_ext_controls" "controls" "ac_cv_member_struct_v4l2_ext_controls_controls" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_member_struct_user_desc_lm" = xyes; then :
+if test "x$ac_cv_member_struct_v4l2_ext_controls_controls" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_USER_DESC_LM 1
+#define HAVE_STRUCT_V4L2_EXT_CONTROLS_CONTROLS 1
 _ACEOF
 
 
@@ -10139,5270 +14665,7057 @@ fi
 fi
 
 
-ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h>
-#include <asm/stat.h>
+ac_fn_c_check_type "$LINENO" "struct v4l2_frmsize_discrete" "ac_cv_type_struct_v4l2_frmsize_discrete" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then :
+if test "x$ac_cv_type_struct_v4l2_frmsize_discrete" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_STAT_ST_MTIME_NSEC 1
+#define HAVE_STRUCT_V4L2_FRMSIZE_DISCRETE 1
 _ACEOF
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h>
-#include <asm/stat.h>
+ac_fn_c_check_member "$LINENO" "struct v4l2_frmsize_discrete" "height" "ac_cv_member_struct_v4l2_frmsize_discrete_height" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then :
+if test "x$ac_cv_member_struct_v4l2_frmsize_discrete_height" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_STAT64_ST_MTIME_NSEC 1
+#define HAVE_STRUCT_V4L2_FRMSIZE_DISCRETE_HEIGHT 1
 _ACEOF
 
 
 fi
 
+fi
+
 
-ac_fn_c_check_type "$LINENO" "struct pt_all_user_regs" "ac_cv_type_struct_pt_all_user_regs" "#include <sys/ptrace.h>
+ac_fn_c_check_type "$LINENO" "struct v4l2_frmsize_stepwise" "ac_cv_type_struct_v4l2_frmsize_stepwise" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct_pt_all_user_regs" = xyes; then :
+if test "x$ac_cv_type_struct_v4l2_frmsize_stepwise" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PT_ALL_USER_REGS 1
+#define HAVE_STRUCT_V4L2_FRMSIZE_STEPWISE 1
 _ACEOF
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct ia64_fpreg" "ac_cv_type_struct_ia64_fpreg" "#include <sys/ptrace.h>
+ac_fn_c_check_member "$LINENO" "struct v4l2_frmsize_stepwise" "step_height" "ac_cv_member_struct_v4l2_frmsize_stepwise_step_height" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct_ia64_fpreg" = xyes; then :
+if test "x$ac_cv_member_struct_v4l2_frmsize_stepwise_step_height" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IA64_FPREG 1
+#define HAVE_STRUCT_V4L2_FRMSIZE_STEPWISE_STEP_HEIGHT 1
 _ACEOF
 
 
 fi
-ac_fn_c_check_type "$LINENO" "struct ptrace_peeksiginfo_args" "ac_cv_type_struct_ptrace_peeksiginfo_args" "#include <sys/ptrace.h>
+
+fi
+
+
+ac_fn_c_check_type "$LINENO" "struct v4l2_frmsizeenum" "ac_cv_type_struct_v4l2_frmsizeenum" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct_ptrace_peeksiginfo_args" = xyes; then :
+if test "x$ac_cv_type_struct_v4l2_frmsizeenum" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PTRACE_PEEKSIGINFO_ARGS 1
+#define HAVE_STRUCT_V4L2_FRMSIZEENUM 1
 _ACEOF
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct __ptrace_syscall_info" "ac_cv_type_struct___ptrace_syscall_info" "#include <sys/ptrace.h>
+ac_fn_c_check_member "$LINENO" "struct v4l2_frmsizeenum" "reserved" "ac_cv_member_struct_v4l2_frmsizeenum_reserved" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct___ptrace_syscall_info" = xyes; then :
+if test "x$ac_cv_member_struct_v4l2_frmsizeenum_reserved" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT___PTRACE_SYSCALL_INFO 1
+#define HAVE_STRUCT_V4L2_FRMSIZEENUM_RESERVED 1
 _ACEOF
 
 
 fi
 
+fi
+
 
-ac_fn_c_check_type "$LINENO" "struct ptrace_syscall_info" "ac_cv_type_struct_ptrace_syscall_info" "#include <linux/ptrace.h>
+ac_fn_c_check_type "$LINENO" "struct v4l2_frmival_stepwise" "ac_cv_type_struct_v4l2_frmival_stepwise" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct_ptrace_syscall_info" = xyes; then :
+if test "x$ac_cv_type_struct_v4l2_frmival_stepwise" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PTRACE_SYSCALL_INFO 1
+#define HAVE_STRUCT_V4L2_FRMIVAL_STEPWISE 1
 _ACEOF
 
-
-fi
-
-
-# For kernels that do not have v3.10-rc1~201^2~11
-ac_fn_c_check_type "$LINENO" "s390_compat_regs" "ac_cv_type_s390_compat_regs" "#include <asm/ptrace.h>
+ac_fn_c_check_member "$LINENO" "struct v4l2_frmival_stepwise" "step" "ac_cv_member_struct_v4l2_frmival_stepwise_step" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_s390_compat_regs" = xyes; then :
+if test "x$ac_cv_member_struct_v4l2_frmival_stepwise_step" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_S390_COMPAT_REGS 1
+#define HAVE_STRUCT_V4L2_FRMIVAL_STEPWISE_STEP 1
 _ACEOF
 
 
 fi
 
+fi
 
-ac_fn_c_check_type "$LINENO" "struct flock" "ac_cv_type_struct_flock" "#include <sys/types.h>
-#include <linux/fcntl.h>
+
+ac_fn_c_check_type "$LINENO" "struct v4l2_frmivalenum" "ac_cv_type_struct_v4l2_frmivalenum" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct_flock" = xyes; then :
+if test "x$ac_cv_type_struct_v4l2_frmivalenum" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_FLOCK 1
+#define HAVE_STRUCT_V4L2_FRMIVALENUM 1
 _ACEOF
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct flock64" "ac_cv_type_struct_flock64" "#include <sys/types.h>
-#include <linux/fcntl.h>
+ac_fn_c_check_member "$LINENO" "struct v4l2_frmivalenum" "reserved" "ac_cv_member_struct_v4l2_frmivalenum_reserved" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct_flock64" = xyes; then :
+if test "x$ac_cv_member_struct_v4l2_frmivalenum_reserved" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_FLOCK64 1
+#define HAVE_STRUCT_V4L2_FRMIVALENUM_RESERVED 1
 _ACEOF
 
 
 fi
-ac_fn_c_check_type "$LINENO" "struct __kernel_flock" "ac_cv_type_struct___kernel_flock" "#include <sys/types.h>
-#include <linux/fcntl.h>
-"
-if test "x$ac_cv_type_struct___kernel_flock" = xyes; then :
 
-cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT___KERNEL_FLOCK 1
-_ACEOF
+fi
 
 
-fi
-ac_fn_c_check_type "$LINENO" "struct __kernel_flock64" "ac_cv_type_struct___kernel_flock64" "#include <sys/types.h>
-#include <linux/fcntl.h>
+ac_fn_c_check_type "$LINENO" "struct v4l2_create_buffers" "ac_cv_type_struct_v4l2_create_buffers" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct___kernel_flock64" = xyes; then :
+if test "x$ac_cv_type_struct_v4l2_create_buffers" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT___KERNEL_FLOCK64 1
+#define HAVE_STRUCT_V4L2_CREATE_BUFFERS 1
 _ACEOF
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct f_owner_ex" "ac_cv_type_struct_f_owner_ex" "#include <sys/types.h>
-#include <linux/fcntl.h>
+ac_fn_c_check_member "$LINENO" "struct v4l2_create_buffers" "reserved" "ac_cv_member_struct_v4l2_create_buffers_reserved" "$ac_includes_default
+#include <stdint.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
 "
-if test "x$ac_cv_type_struct_f_owner_ex" = xyes; then :
+if test "x$ac_cv_member_struct_v4l2_create_buffers_reserved" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_F_OWNER_EX 1
+#define HAVE_STRUCT_V4L2_CREATE_BUFFERS_RESERVED 1
 _ACEOF
 
 
 fi
-ac_fn_c_check_type "$LINENO" "struct __kernel_f_owner_ex" "ac_cv_type_struct___kernel_f_owner_ex" "#include <sys/types.h>
-#include <linux/fcntl.h>
-"
-if test "x$ac_cv_type_struct___kernel_f_owner_ex" = xyes; then :
 
-cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT___KERNEL_F_OWNER_EX 1
-_ACEOF
+fi
 
 
 fi
 
+done
+
+
+
+
+ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_NONE" "ac_cv_have_decl_BTRFS_COMPRESS_NONE" "
+#include <stdio.h>
+#include <linux/btrfs.h>
 
-ac_fn_c_check_type "$LINENO" "struct kcmp_epoll_slot" "ac_cv_type_struct_kcmp_epoll_slot" "#include <linux/kcmp.h>
 "
-if test "x$ac_cv_type_struct_kcmp_epoll_slot" = xyes; then :
+if test "x$ac_cv_have_decl_BTRFS_COMPRESS_NONE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_KCMP_EPOLL_SLOT 1
+#define HAVE_DECL_BTRFS_COMPRESS_NONE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_ZLIB" "ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" "
+#include <stdio.h>
+#include <linux/btrfs.h>
 
-
+"
+if test "x$ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_BTRFS_COMPRESS_ZLIB $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_LZO" "ac_cv_have_decl_BTRFS_COMPRESS_LZO" "
+#include <stdio.h>
+#include <linux/btrfs.h>
 
-ac_fn_c_check_type "$LINENO" "struct keyctl_kdf_params" "ac_cv_type_struct_keyctl_kdf_params" "#include <linux/keyctl.h>
 "
-if test "x$ac_cv_type_struct_keyctl_kdf_params" = xyes; then :
+if test "x$ac_cv_have_decl_BTRFS_COMPRESS_LZO" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_KEYCTL_KDF_PARAMS 1
+#define HAVE_DECL_BTRFS_COMPRESS_LZO $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_ZSTD" "ac_cv_have_decl_BTRFS_COMPRESS_ZSTD" "
+#include <stdio.h>
+#include <linux/btrfs.h>
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct keyctl_pkey_params" "ac_cv_type_struct_keyctl_pkey_params" "#include <linux/keyctl.h>
 "
-if test "x$ac_cv_type_struct_keyctl_pkey_params" = xyes; then :
+if test "x$ac_cv_have_decl_BTRFS_COMPRESS_ZSTD" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_KEYCTL_PKEY_PARAMS 1
+#define HAVE_DECL_BTRFS_COMPRESS_ZSTD $ac_have_decl
 _ACEOF
 
 
-fi
-ac_fn_c_check_type "$LINENO" "struct keyctl_pkey_query" "ac_cv_type_struct_keyctl_pkey_query" "#include <linux/keyctl.h>
+ac_fn_c_check_decl "$LINENO" "CLOSE_RANGE_UNSHARE" "ac_cv_have_decl_CLOSE_RANGE_UNSHARE" "
+#include <linux/close_range.h>
+
 "
-if test "x$ac_cv_type_struct_keyctl_pkey_query" = xyes; then :
+if test "x$ac_cv_have_decl_CLOSE_RANGE_UNSHARE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_KEYCTL_PKEY_QUERY 1
+#define HAVE_DECL_CLOSE_RANGE_UNSHARE $ac_have_decl
 _ACEOF
 
 
+ac_fn_c_check_decl "$LINENO" "LO_FLAGS_READ_ONLY" "ac_cv_have_decl_LO_FLAGS_READ_ONLY" "
+#include <linux/loop.h>
+
+"
+if test "x$ac_cv_have_decl_LO_FLAGS_READ_ONLY" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_LO_FLAGS_READ_ONLY $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "LO_FLAGS_USE_AOPS" "ac_cv_have_decl_LO_FLAGS_USE_AOPS" "
+#include <linux/loop.h>
 
-ac_fn_c_check_member "$LINENO" "struct utsname" "domainname" "ac_cv_member_struct_utsname_domainname" "#include <sys/utsname.h>
 "
-if test "x$ac_cv_member_struct_utsname_domainname" = xyes; then :
+if test "x$ac_cv_have_decl_LO_FLAGS_USE_AOPS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_UTSNAME_DOMAINNAME 1
+#define HAVE_DECL_LO_FLAGS_USE_AOPS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "LO_FLAGS_AUTOCLEAR" "ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" "
+#include <linux/loop.h>
 
-
+"
+if test "x$ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_LO_FLAGS_AUTOCLEAR $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "LO_FLAGS_PARTSCAN" "ac_cv_have_decl_LO_FLAGS_PARTSCAN" "
+#include <linux/loop.h>
 
-ac_fn_c_check_member "$LINENO" "siginfo_t" "si_syscall" "ac_cv_member_siginfo_t_si_syscall" "#include <signal.h>
 "
-if test "x$ac_cv_member_siginfo_t_si_syscall" = xyes; then :
+if test "x$ac_cv_have_decl_LO_FLAGS_PARTSCAN" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_SIGINFO_T_SI_SYSCALL 1
+#define HAVE_DECL_LO_FLAGS_PARTSCAN $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "LO_FLAGS_DIRECT_IO" "ac_cv_have_decl_LO_FLAGS_DIRECT_IO" "
+#include <linux/loop.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "siginfo_t" "si_timerid" "ac_cv_member_siginfo_t_si_timerid" "#include <signal.h>
 "
-if test "x$ac_cv_member_siginfo_t_si_timerid" = xyes; then :
+if test "x$ac_cv_have_decl_LO_FLAGS_DIRECT_IO" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_SIGINFO_T_SI_TIMERID 1
+#define HAVE_DECL_LO_FLAGS_DIRECT_IO $ac_have_decl
 _ACEOF
 
 
-fi
-ac_fn_c_check_member "$LINENO" "siginfo_t" "si_overrun" "ac_cv_member_siginfo_t_si_overrun" "#include <signal.h>
+ac_fn_c_check_decl "$LINENO" "XDP_ATTACHED_NONE" "ac_cv_have_decl_XDP_ATTACHED_NONE" "
+#include <netinet/in.h>
+#include <linux/rtnetlink.h>
+
 "
-if test "x$ac_cv_member_siginfo_t_si_overrun" = xyes; then :
+if test "x$ac_cv_have_decl_XDP_ATTACHED_NONE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_SIGINFO_T_SI_OVERRUN 1
+#define HAVE_DECL_XDP_ATTACHED_NONE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "XDP_ATTACHED_DRV" "ac_cv_have_decl_XDP_ATTACHED_DRV" "
+#include <netinet/in.h>
+#include <linux/rtnetlink.h>
 
-
+"
+if test "x$ac_cv_have_decl_XDP_ATTACHED_DRV" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_XDP_ATTACHED_DRV $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "XDP_ATTACHED_SKB" "ac_cv_have_decl_XDP_ATTACHED_SKB" "
+#include <netinet/in.h>
+#include <linux/rtnetlink.h>
 
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "precise_ip" "ac_cv_member_struct_perf_event_attr_precise_ip" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_precise_ip" = xyes; then :
+if test "x$ac_cv_have_decl_XDP_ATTACHED_SKB" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_PRECISE_IP 1
+#define HAVE_DECL_XDP_ATTACHED_SKB $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "XDP_ATTACHED_HW" "ac_cv_have_decl_XDP_ATTACHED_HW" "
+#include <netinet/in.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "mmap_data" "ac_cv_member_struct_perf_event_attr_mmap_data" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_mmap_data" = xyes; then :
+if test "x$ac_cv_have_decl_XDP_ATTACHED_HW" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP_DATA 1
+#define HAVE_DECL_XDP_ATTACHED_HW $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "XDP_ATTACHED_MULTI" "ac_cv_have_decl_XDP_ATTACHED_MULTI" "
+#include <netinet/in.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_id_all" "ac_cv_member_struct_perf_event_attr_sample_id_all" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_sample_id_all" = xyes; then :
+if test "x$ac_cv_have_decl_XDP_ATTACHED_MULTI" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_ID_ALL 1
+#define HAVE_DECL_XDP_ATTACHED_MULTI $ac_have_decl
 _ACEOF
 
 
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_host" "ac_cv_member_struct_perf_event_attr_exclude_host" "#include <linux/perf_event.h>
+ac_fn_c_check_decl "$LINENO" "IFLA_XDP_UNSPEC" "ac_cv_have_decl_IFLA_XDP_UNSPEC" "
+#include <netinet/in.h>
+#include <linux/rtnetlink.h>
+
 "
-if test "x$ac_cv_member_struct_perf_event_attr_exclude_host" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_XDP_UNSPEC" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_HOST 1
+#define HAVE_DECL_IFLA_XDP_UNSPEC $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_XDP_FD" "ac_cv_have_decl_IFLA_XDP_FD" "
+#include <netinet/in.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_guest" "ac_cv_member_struct_perf_event_attr_exclude_guest" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_exclude_guest" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_XDP_FD" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_GUEST 1
+#define HAVE_DECL_IFLA_XDP_FD $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_XDP_ATTACHED" "ac_cv_have_decl_IFLA_XDP_ATTACHED" "
+#include <netinet/in.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_callchain_kernel" "ac_cv_member_struct_perf_event_attr_exclude_callchain_kernel" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_kernel" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_XDP_ATTACHED" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_KERNEL 1
+#define HAVE_DECL_IFLA_XDP_ATTACHED $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_XDP_FLAGS" "ac_cv_have_decl_IFLA_XDP_FLAGS" "
+#include <netinet/in.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_callchain_user" "ac_cv_member_struct_perf_event_attr_exclude_callchain_user" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_user" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_XDP_FLAGS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_USER 1
+#define HAVE_DECL_IFLA_XDP_FLAGS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_XDP_PROG_ID" "ac_cv_have_decl_IFLA_XDP_PROG_ID" "
+#include <netinet/in.h>
+#include <linux/rtnetlink.h>
 
-
+"
+if test "x$ac_cv_have_decl_IFLA_XDP_PROG_ID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "mmap2" "ac_cv_member_struct_perf_event_attr_mmap2" "#include <linux/perf_event.h>
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_IFLA_XDP_PROG_ID $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_XDP_DRV_PROG_ID" "ac_cv_have_decl_IFLA_XDP_DRV_PROG_ID" "
+#include <netinet/in.h>
+#include <linux/rtnetlink.h>
+
 "
-if test "x$ac_cv_member_struct_perf_event_attr_mmap2" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_XDP_DRV_PROG_ID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP2 1
+#define HAVE_DECL_IFLA_XDP_DRV_PROG_ID $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_XDP_SKB_PROG_ID" "ac_cv_have_decl_IFLA_XDP_SKB_PROG_ID" "
+#include <netinet/in.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "comm_exec" "ac_cv_member_struct_perf_event_attr_comm_exec" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_comm_exec" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_XDP_SKB_PROG_ID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_COMM_EXEC 1
+#define HAVE_DECL_IFLA_XDP_SKB_PROG_ID $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_XDP_HW_PROG_ID" "ac_cv_have_decl_IFLA_XDP_HW_PROG_ID" "
+#include <netinet/in.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "use_clockid" "ac_cv_member_struct_perf_event_attr_use_clockid" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_use_clockid" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_XDP_HW_PROG_ID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_USE_CLOCKID 1
+#define HAVE_DECL_IFLA_XDP_HW_PROG_ID $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_XDP_EXPECTED_FD" "ac_cv_have_decl_IFLA_XDP_EXPECTED_FD" "
+#include <netinet/in.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "context_switch" "ac_cv_member_struct_perf_event_attr_context_switch" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_context_switch" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_XDP_EXPECTED_FD" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_CONTEXT_SWITCH 1
+#define HAVE_DECL_IFLA_XDP_EXPECTED_FD $ac_have_decl
 _ACEOF
 
 
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "write_backward" "ac_cv_member_struct_perf_event_attr_write_backward" "#include <linux/perf_event.h>
+ac_fn_c_check_decl "$LINENO" "IFLA_UNSPEC" "ac_cv_have_decl_IFLA_UNSPEC" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
+
 "
-if test "x$ac_cv_member_struct_perf_event_attr_write_backward" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_UNSPEC" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_WRITE_BACKWARD 1
+#define HAVE_DECL_IFLA_UNSPEC $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_ADDRESS" "ac_cv_have_decl_IFLA_ADDRESS" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "namespaces" "ac_cv_member_struct_perf_event_attr_namespaces" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_namespaces" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_ADDRESS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_NAMESPACES 1
+#define HAVE_DECL_IFLA_ADDRESS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_BROADCAST" "ac_cv_have_decl_IFLA_BROADCAST" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "bp_type" "ac_cv_member_struct_perf_event_attr_bp_type" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_bp_type" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_BROADCAST" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_BP_TYPE 1
+#define HAVE_DECL_IFLA_BROADCAST $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_IFNAME" "ac_cv_have_decl_IFLA_IFNAME" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config1" "ac_cv_member_struct_perf_event_attr_config1" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_config1" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_IFNAME" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG1 1
+#define HAVE_DECL_IFLA_IFNAME $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_MTU" "ac_cv_have_decl_IFLA_MTU" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config2" "ac_cv_member_struct_perf_event_attr_config2" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_config2" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_MTU" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG2 1
+#define HAVE_DECL_IFLA_MTU $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_LINK" "ac_cv_have_decl_IFLA_LINK" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "branch_sample_type" "ac_cv_member_struct_perf_event_attr_branch_sample_type" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_branch_sample_type" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_LINK" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_BRANCH_SAMPLE_TYPE 1
+#define HAVE_DECL_IFLA_LINK $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_QDISC" "ac_cv_have_decl_IFLA_QDISC" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_regs_user" "ac_cv_member_struct_perf_event_attr_sample_regs_user" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_user" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_QDISC" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_USER 1
+#define HAVE_DECL_IFLA_QDISC $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_STATS" "ac_cv_have_decl_IFLA_STATS" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_stack_user" "ac_cv_member_struct_perf_event_attr_sample_stack_user" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_sample_stack_user" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_STATS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_STACK_USER 1
+#define HAVE_DECL_IFLA_STATS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_COST" "ac_cv_have_decl_IFLA_COST" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_regs_intr" "ac_cv_member_struct_perf_event_attr_sample_regs_intr" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_intr" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_COST" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_INTR 1
+#define HAVE_DECL_IFLA_COST $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_PRIORITY" "ac_cv_have_decl_IFLA_PRIORITY" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "aux_watermark" "ac_cv_member_struct_perf_event_attr_aux_watermark" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_aux_watermark" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_PRIORITY" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_AUX_WATERMARK 1
+#define HAVE_DECL_IFLA_PRIORITY $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_MASTER" "ac_cv_have_decl_IFLA_MASTER" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_max_stack" "ac_cv_member_struct_perf_event_attr_sample_max_stack" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_sample_max_stack" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_MASTER" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_MAX_STACK 1
+#define HAVE_DECL_IFLA_MASTER $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_WIRELESS" "ac_cv_have_decl_IFLA_WIRELESS" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "aux_sample_size" "ac_cv_member_struct_perf_event_attr_aux_sample_size" "#include <linux/perf_event.h>
 "
-if test "x$ac_cv_member_struct_perf_event_attr_aux_sample_size" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_WIRELESS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PERF_EVENT_ATTR_AUX_SAMPLE_SIZE 1
+#define HAVE_DECL_IFLA_WIRELESS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_PROTINFO" "ac_cv_have_decl_IFLA_PROTINFO" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
+"
+if test "x$ac_cv_have_decl_IFLA_PROTINFO" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-
-for ac_header in asm/cachectl.h asm/guarded_storage.h asm/sysmips.h elf.h gcov.h iconv.h inttypes.h linux/bsg.h linux/dm-ioctl.h linux/dqblk_xfs.h linux/falloc.h linux/fib_rules.h linux/fiemap.h linux/hiddev.h linux/if_addr.h linux/if_link.h linux/ip_vs.h linux/ipc.h linux/kcmp.h linux/kvm.h linux/memfd.h linux/mmtimer.h linux/mount.h linux/neighbour.h linux/netfilter/ipset/ip_set.h linux/netfilter/nf_tables.h linux/netfilter/nf_tables_compat.h linux/netfilter/nfnetlink.h linux/netfilter/nfnetlink_acct.h linux/netfilter/nfnetlink_conntrack.h linux/netfilter/nfnetlink_cthelper.h linux/netfilter/nfnetlink_cttimeout.h linux/netfilter/nfnetlink_log.h linux/netfilter/nfnetlink_queue.h linux/nsfs.h linux/perf_event.h linux/quota.h linux/sched.h linux/seccomp.h linux/securebits.h linux/userfaultfd.h linux/utsname.h mqueue.h netinet/sctp.h netipx/ipx.h paths.h scsi/sg.h stropts.h sys/conf.h sys/eventfd.h sys/fanotify.h sys/ipc.h sys/quota.h sys/signalfd.h sys/xattr.h ustat.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_IFLA_PROTINFO $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_TXQLEN" "ac_cv_have_decl_IFLA_TXQLEN" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
+"
+if test "x$ac_cv_have_decl_IFLA_TXQLEN" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
-
-for ac_header in asm/sigcontext.h
-do :
-  ac_fn_c_check_header_compile "$LINENO" "asm/sigcontext.h" "ac_cv_header_asm_sigcontext_h" "#include <signal.h>
-"
-if test "x$ac_cv_header_asm_sigcontext_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_ASM_SIGCONTEXT_H 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_IFLA_TXQLEN $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_MAP" "ac_cv_have_decl_IFLA_MAP" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
+"
+if test "x$ac_cv_have_decl_IFLA_MAP" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
-
-for ac_header in netinet/tcp.h netinet/udp.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h>
-"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_IFLA_MAP $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_WEIGHT" "ac_cv_have_decl_IFLA_WEIGHT" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
+"
+if test "x$ac_cv_have_decl_IFLA_WEIGHT" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
-
-for ac_header in linux/mqueue.h
-do :
-  ac_fn_c_check_header_compile "$LINENO" "linux/mqueue.h" "ac_cv_header_linux_mqueue_h" "#include <linux/types.h>
-"
-if test "x$ac_cv_header_linux_mqueue_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LINUX_MQUEUE_H 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_IFLA_WEIGHT $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_OPERSTATE" "ac_cv_have_decl_IFLA_OPERSTATE" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
+"
+if test "x$ac_cv_have_decl_IFLA_OPERSTATE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
-
-for ac_header in linux/netfilter/xt_osf.h
-do :
-  ac_fn_c_check_header_compile "$LINENO" "linux/netfilter/xt_osf.h" "ac_cv_header_linux_netfilter_xt_osf_h" "#include <linux/ip.h>
-#include <linux/tcp.h>
-"
-if test "x$ac_cv_header_linux_netfilter_xt_osf_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LINUX_NETFILTER_XT_OSF_H 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_IFLA_OPERSTATE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_LINKMODE" "ac_cv_have_decl_IFLA_LINKMODE" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
+"
+if test "x$ac_cv_have_decl_IFLA_LINKMODE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
-
-for ac_header in linux/netfilter_arp/arp_tables.h linux/netfilter_bridge/ebtables.h linux/netfilter_ipv4/ip_tables.h linux/netfilter_ipv6/ip6_tables.h
-do :
-  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h>
-#include <net/if.h>
-"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_IFLA_LINKMODE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_LINKINFO" "ac_cv_have_decl_IFLA_LINKINFO" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
+"
+if test "x$ac_cv_have_decl_IFLA_LINKINFO" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_IFLA_LINKINFO $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_NET_NS_PID" "ac_cv_have_decl_IFLA_NET_NS_PID" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
+"
+if test "x$ac_cv_have_decl_IFLA_NET_NS_PID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
-for ac_header in linux/bpf.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "linux/bpf.h" "ac_cv_header_linux_bpf_h" "$ac_includes_default"
-if test "x$ac_cv_header_linux_bpf_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LINUX_BPF_H 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_IFLA_NET_NS_PID $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_IFALIAS" "ac_cv_have_decl_IFLA_IFALIAS" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-	ac_fn_c_check_type "$LINENO" "struct bpf_insn" "ac_cv_type_struct_bpf_insn" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_type_struct_bpf_insn" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_IFALIAS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_INSN 1
+#define HAVE_DECL_IFLA_IFALIAS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_NUM_VF" "ac_cv_have_decl_IFLA_NUM_VF" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct bpf_map_info" "ac_cv_type_struct_bpf_map_info" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_type_struct_bpf_map_info" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_NUM_VF" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_MAP_INFO 1
+#define HAVE_DECL_IFLA_NUM_VF $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_VFINFO_LIST" "ac_cv_have_decl_IFLA_VFINFO_LIST" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct bpf_prog_info" "ac_cv_type_struct_bpf_prog_info" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_type_struct_bpf_prog_info" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_VFINFO_LIST" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO 1
+#define HAVE_DECL_IFLA_VFINFO_LIST $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_STATS64" "ac_cv_have_decl_IFLA_STATS64" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
+"
+if test "x$ac_cv_have_decl_IFLA_STATS64" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-		ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "btf_id" "ac_cv_member_struct_bpf_map_info_btf_id" "#include <linux/bpf.h>
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_IFLA_STATS64 $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_VF_PORTS" "ac_cv_have_decl_IFLA_VF_PORTS" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
+
 "
-if test "x$ac_cv_member_struct_bpf_map_info_btf_id" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_VF_PORTS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_MAP_INFO_BTF_ID 1
+#define HAVE_DECL_IFLA_VF_PORTS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_PORT_SELF" "ac_cv_have_decl_IFLA_PORT_SELF" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "btf_key_type_id" "ac_cv_member_struct_bpf_map_info_btf_key_type_id" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_map_info_btf_key_type_id" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_PORT_SELF" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_MAP_INFO_BTF_KEY_TYPE_ID 1
+#define HAVE_DECL_IFLA_PORT_SELF $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_AF_SPEC" "ac_cv_have_decl_IFLA_AF_SPEC" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "btf_value_type_id" "ac_cv_member_struct_bpf_map_info_btf_value_type_id" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_map_info_btf_value_type_id" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_AF_SPEC" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_MAP_INFO_BTF_VALUE_TYPE_ID 1
+#define HAVE_DECL_IFLA_AF_SPEC $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_GROUP" "ac_cv_have_decl_IFLA_GROUP" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "id" "ac_cv_member_struct_bpf_map_info_id" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_map_info_id" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_GROUP" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_MAP_INFO_ID 1
+#define HAVE_DECL_IFLA_GROUP $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_NET_NS_FD" "ac_cv_have_decl_IFLA_NET_NS_FD" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "ifindex" "ac_cv_member_struct_bpf_map_info_ifindex" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_map_info_ifindex" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_NET_NS_FD" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_MAP_INFO_IFINDEX 1
+#define HAVE_DECL_IFLA_NET_NS_FD $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_EXT_MASK" "ac_cv_have_decl_IFLA_EXT_MASK" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "key_size" "ac_cv_member_struct_bpf_map_info_key_size" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_map_info_key_size" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_EXT_MASK" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_MAP_INFO_KEY_SIZE 1
+#define HAVE_DECL_IFLA_EXT_MASK $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_PROMISCUITY" "ac_cv_have_decl_IFLA_PROMISCUITY" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "map_flags" "ac_cv_member_struct_bpf_map_info_map_flags" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_map_info_map_flags" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_PROMISCUITY" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_MAP_INFO_MAP_FLAGS 1
+#define HAVE_DECL_IFLA_PROMISCUITY $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_NUM_TX_QUEUES" "ac_cv_have_decl_IFLA_NUM_TX_QUEUES" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "max_entries" "ac_cv_member_struct_bpf_map_info_max_entries" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_map_info_max_entries" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_NUM_TX_QUEUES" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_MAP_INFO_MAX_ENTRIES 1
+#define HAVE_DECL_IFLA_NUM_TX_QUEUES $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_NUM_RX_QUEUES" "ac_cv_have_decl_IFLA_NUM_RX_QUEUES" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "name" "ac_cv_member_struct_bpf_map_info_name" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_map_info_name" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_NUM_RX_QUEUES" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_MAP_INFO_NAME 1
+#define HAVE_DECL_IFLA_NUM_RX_QUEUES $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_CARRIER" "ac_cv_have_decl_IFLA_CARRIER" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "type" "ac_cv_member_struct_bpf_map_info_type" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_map_info_type" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_CARRIER" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_MAP_INFO_TYPE 1
+#define HAVE_DECL_IFLA_CARRIER $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_PHYS_PORT_ID" "ac_cv_have_decl_IFLA_PHYS_PORT_ID" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "value_size" "ac_cv_member_struct_bpf_map_info_value_size" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_map_info_value_size" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_PHYS_PORT_ID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_MAP_INFO_VALUE_SIZE 1
+#define HAVE_DECL_IFLA_PHYS_PORT_ID $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_CARRIER_CHANGES" "ac_cv_have_decl_IFLA_CARRIER_CHANGES" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "btf_id" "ac_cv_member_struct_bpf_prog_info_btf_id" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_btf_id" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_CARRIER_CHANGES" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_BTF_ID 1
+#define HAVE_DECL_IFLA_CARRIER_CHANGES $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_PHYS_SWITCH_ID" "ac_cv_have_decl_IFLA_PHYS_SWITCH_ID" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "created_by_uid" "ac_cv_member_struct_bpf_prog_info_created_by_uid" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_created_by_uid" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_PHYS_SWITCH_ID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_CREATED_BY_UID 1
+#define HAVE_DECL_IFLA_PHYS_SWITCH_ID $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_LINK_NETNSID" "ac_cv_have_decl_IFLA_LINK_NETNSID" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "func_info" "ac_cv_member_struct_bpf_prog_info_func_info" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_func_info" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_LINK_NETNSID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_FUNC_INFO 1
+#define HAVE_DECL_IFLA_LINK_NETNSID $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_PHYS_PORT_NAME" "ac_cv_have_decl_IFLA_PHYS_PORT_NAME" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "func_info_rec_size" "ac_cv_member_struct_bpf_prog_info_func_info_rec_size" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_func_info_rec_size" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_PHYS_PORT_NAME" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_FUNC_INFO_REC_SIZE 1
+#define HAVE_DECL_IFLA_PHYS_PORT_NAME $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_PROTO_DOWN" "ac_cv_have_decl_IFLA_PROTO_DOWN" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "id" "ac_cv_member_struct_bpf_prog_info_id" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_id" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_PROTO_DOWN" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_ID 1
+#define HAVE_DECL_IFLA_PROTO_DOWN $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_GSO_MAX_SEGS" "ac_cv_have_decl_IFLA_GSO_MAX_SEGS" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "ifindex" "ac_cv_member_struct_bpf_prog_info_ifindex" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_ifindex" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_GSO_MAX_SEGS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_IFINDEX 1
+#define HAVE_DECL_IFLA_GSO_MAX_SEGS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_GSO_MAX_SIZE" "ac_cv_have_decl_IFLA_GSO_MAX_SIZE" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "jited_func_lens" "ac_cv_member_struct_bpf_prog_info_jited_func_lens" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_jited_func_lens" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_GSO_MAX_SIZE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_JITED_FUNC_LENS 1
+#define HAVE_DECL_IFLA_GSO_MAX_SIZE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_PAD" "ac_cv_have_decl_IFLA_PAD" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "jited_ksyms" "ac_cv_member_struct_bpf_prog_info_jited_ksyms" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_jited_ksyms" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_PAD" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_JITED_KSYMS 1
+#define HAVE_DECL_IFLA_PAD $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_XDP" "ac_cv_have_decl_IFLA_XDP" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "jited_line_info" "ac_cv_member_struct_bpf_prog_info_jited_line_info" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_jited_line_info" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_XDP" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_JITED_LINE_INFO 1
+#define HAVE_DECL_IFLA_XDP $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_EVENT" "ac_cv_have_decl_IFLA_EVENT" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "jited_line_info_rec_size" "ac_cv_member_struct_bpf_prog_info_jited_line_info_rec_size" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_jited_line_info_rec_size" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_EVENT" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_JITED_LINE_INFO_REC_SIZE 1
+#define HAVE_DECL_IFLA_EVENT $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_NEW_NETNSID" "ac_cv_have_decl_IFLA_NEW_NETNSID" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "jited_prog_insns" "ac_cv_member_struct_bpf_prog_info_jited_prog_insns" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_jited_prog_insns" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_NEW_NETNSID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_JITED_PROG_INSNS 1
+#define HAVE_DECL_IFLA_NEW_NETNSID $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_IF_NETNSID" "ac_cv_have_decl_IFLA_IF_NETNSID" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "jited_prog_len" "ac_cv_member_struct_bpf_prog_info_jited_prog_len" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_jited_prog_len" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_IF_NETNSID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_JITED_PROG_LEN 1
+#define HAVE_DECL_IFLA_IF_NETNSID $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_CARRIER_UP_COUNT" "ac_cv_have_decl_IFLA_CARRIER_UP_COUNT" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "line_info" "ac_cv_member_struct_bpf_prog_info_line_info" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_line_info" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_CARRIER_UP_COUNT" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_LINE_INFO 1
+#define HAVE_DECL_IFLA_CARRIER_UP_COUNT $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_CARRIER_DOWN_COUNT" "ac_cv_have_decl_IFLA_CARRIER_DOWN_COUNT" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "line_info_rec_size" "ac_cv_member_struct_bpf_prog_info_line_info_rec_size" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_line_info_rec_size" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_CARRIER_DOWN_COUNT" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_LINE_INFO_REC_SIZE 1
+#define HAVE_DECL_IFLA_CARRIER_DOWN_COUNT $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_NEW_IFINDEX" "ac_cv_have_decl_IFLA_NEW_IFINDEX" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "load_time" "ac_cv_member_struct_bpf_prog_info_load_time" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_load_time" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_NEW_IFINDEX" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_LOAD_TIME 1
+#define HAVE_DECL_IFLA_NEW_IFINDEX $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_MIN_MTU" "ac_cv_have_decl_IFLA_MIN_MTU" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "map_ids" "ac_cv_member_struct_bpf_prog_info_map_ids" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_map_ids" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_MIN_MTU" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_MAP_IDS 1
+#define HAVE_DECL_IFLA_MIN_MTU $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_MAX_MTU" "ac_cv_have_decl_IFLA_MAX_MTU" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "name" "ac_cv_member_struct_bpf_prog_info_name" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_name" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_MAX_MTU" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_NAME 1
+#define HAVE_DECL_IFLA_MAX_MTU $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_PROP_LIST" "ac_cv_have_decl_IFLA_PROP_LIST" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_func_info" "ac_cv_member_struct_bpf_prog_info_nr_func_info" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_nr_func_info" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_PROP_LIST" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_NR_FUNC_INFO 1
+#define HAVE_DECL_IFLA_PROP_LIST $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_ALT_IFNAME" "ac_cv_have_decl_IFLA_ALT_IFNAME" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_jited_func_lens" "ac_cv_member_struct_bpf_prog_info_nr_jited_func_lens" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_nr_jited_func_lens" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_ALT_IFNAME" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_NR_JITED_FUNC_LENS 1
+#define HAVE_DECL_IFLA_ALT_IFNAME $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_PERM_ADDRESS" "ac_cv_have_decl_IFLA_PERM_ADDRESS" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_jited_ksyms" "ac_cv_member_struct_bpf_prog_info_nr_jited_ksyms" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_nr_jited_ksyms" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_PERM_ADDRESS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_NR_JITED_KSYMS 1
+#define HAVE_DECL_IFLA_PERM_ADDRESS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "IFLA_PROTO_DOWN_REASON" "ac_cv_have_decl_IFLA_PROTO_DOWN_REASON" "
+#include <sys/socket.h>
+#include <linux/rtnetlink.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_jited_line_info" "ac_cv_member_struct_bpf_prog_info_nr_jited_line_info" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_nr_jited_line_info" = xyes; then :
+if test "x$ac_cv_have_decl_IFLA_PROTO_DOWN_REASON" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_NR_JITED_LINE_INFO 1
+#define HAVE_DECL_IFLA_PROTO_DOWN_REASON $ac_have_decl
 _ACEOF
 
 
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_line_info" "ac_cv_member_struct_bpf_prog_info_nr_line_info" "#include <linux/bpf.h>
+ac_fn_c_check_decl "$LINENO" "TCA_ACT_UNSPEC" "ac_cv_have_decl_TCA_ACT_UNSPEC" "
+#include <linux/pkt_cls.h>
+
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_nr_line_info" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_ACT_UNSPEC" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_NR_LINE_INFO 1
+#define HAVE_DECL_TCA_ACT_UNSPEC $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_ACT_KIND" "ac_cv_have_decl_TCA_ACT_KIND" "
+#include <linux/pkt_cls.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_map_ids" "ac_cv_member_struct_bpf_prog_info_nr_map_ids" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_nr_map_ids" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_ACT_KIND" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_NR_MAP_IDS 1
+#define HAVE_DECL_TCA_ACT_KIND $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_ACT_OPTIONS" "ac_cv_have_decl_TCA_ACT_OPTIONS" "
+#include <linux/pkt_cls.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_prog_tags" "ac_cv_member_struct_bpf_prog_info_nr_prog_tags" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_nr_prog_tags" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_ACT_OPTIONS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_NR_PROG_TAGS 1
+#define HAVE_DECL_TCA_ACT_OPTIONS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_ACT_INDEX" "ac_cv_have_decl_TCA_ACT_INDEX" "
+#include <linux/pkt_cls.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "prog_tags" "ac_cv_member_struct_bpf_prog_info_prog_tags" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_prog_tags" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_ACT_INDEX" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_PROG_TAGS 1
+#define HAVE_DECL_TCA_ACT_INDEX $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_ACT_STATS" "ac_cv_have_decl_TCA_ACT_STATS" "
+#include <linux/pkt_cls.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "run_cnt" "ac_cv_member_struct_bpf_prog_info_run_cnt" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_run_cnt" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_ACT_STATS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_RUN_CNT 1
+#define HAVE_DECL_TCA_ACT_STATS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_ACT_PAD" "ac_cv_have_decl_TCA_ACT_PAD" "
+#include <linux/pkt_cls.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "run_time_ns" "ac_cv_member_struct_bpf_prog_info_run_time_ns" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_run_time_ns" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_ACT_PAD" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_RUN_TIME_NS 1
+#define HAVE_DECL_TCA_ACT_PAD $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_ACT_COOKIE" "ac_cv_have_decl_TCA_ACT_COOKIE" "
+#include <linux/pkt_cls.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "tag" "ac_cv_member_struct_bpf_prog_info_tag" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_tag" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_ACT_COOKIE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_TAG 1
+#define HAVE_DECL_TCA_ACT_COOKIE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_ACT_FLAGS" "ac_cv_have_decl_TCA_ACT_FLAGS" "
+#include <linux/pkt_cls.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "type" "ac_cv_member_struct_bpf_prog_info_type" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_type" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_ACT_FLAGS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_TYPE 1
+#define HAVE_DECL_TCA_ACT_FLAGS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_ACT_HW_STATS" "ac_cv_have_decl_TCA_ACT_HW_STATS" "
+#include <linux/pkt_cls.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "xlated_prog_insns" "ac_cv_member_struct_bpf_prog_info_xlated_prog_insns" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_xlated_prog_insns" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_ACT_HW_STATS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_XLATED_PROG_INSNS 1
+#define HAVE_DECL_TCA_ACT_HW_STATS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_ACT_USED_HW_STATS" "ac_cv_have_decl_TCA_ACT_USED_HW_STATS" "
+#include <linux/pkt_cls.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "xlated_prog_len" "ac_cv_member_struct_bpf_prog_info_xlated_prog_len" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_struct_bpf_prog_info_xlated_prog_len" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_ACT_USED_HW_STATS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BPF_PROG_INFO_XLATED_PROG_LEN 1
+#define HAVE_DECL_TCA_ACT_USED_HW_STATS $ac_have_decl
 _ACEOF
 
 
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "attach_bpf_fd" "ac_cv_member_union_bpf_attr_attach_bpf_fd" "#include <linux/bpf.h>
+ac_fn_c_check_decl "$LINENO" "TCA_STAB_UNSPEC" "ac_cv_have_decl_TCA_STAB_UNSPEC" "
+#include <linux/types.h>
+#include <linux/pkt_sched.h>
+
 "
-if test "x$ac_cv_member_union_bpf_attr_attach_bpf_fd" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_STAB_UNSPEC" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_ATTACH_BPF_FD 1
+#define HAVE_DECL_TCA_STAB_UNSPEC $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_STAB_BASE" "ac_cv_have_decl_TCA_STAB_BASE" "
+#include <linux/types.h>
+#include <linux/pkt_sched.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "attach_btf_id" "ac_cv_member_union_bpf_attr_attach_btf_id" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_attach_btf_id" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_STAB_BASE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_ATTACH_BTF_ID 1
+#define HAVE_DECL_TCA_STAB_BASE $ac_have_decl
 _ACEOF
-
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "attach_flags" "ac_cv_member_union_bpf_attr_attach_flags" "#include <linux/bpf.h>
+ac_fn_c_check_decl "$LINENO" "TCA_STAB_DATA" "ac_cv_have_decl_TCA_STAB_DATA" "
+#include <linux/types.h>
+#include <linux/pkt_sched.h>
+
 "
-if test "x$ac_cv_member_union_bpf_attr_attach_flags" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_STAB_DATA" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_ATTACH_FLAGS 1
+#define HAVE_DECL_TCA_STAB_DATA $ac_have_decl
 _ACEOF
 
 
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "attach_prog_fd" "ac_cv_member_union_bpf_attr_attach_prog_fd" "#include <linux/bpf.h>
+ac_fn_c_check_decl "$LINENO" "TCA_STATS_UNSPEC" "ac_cv_have_decl_TCA_STATS_UNSPEC" "
+#include <linux/gen_stats.h>
+
 "
-if test "x$ac_cv_member_union_bpf_attr_attach_prog_fd" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_STATS_UNSPEC" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_ATTACH_PROG_FD 1
+#define HAVE_DECL_TCA_STATS_UNSPEC $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_STATS_BASIC" "ac_cv_have_decl_TCA_STATS_BASIC" "
+#include <linux/gen_stats.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "attach_type" "ac_cv_member_union_bpf_attr_attach_type" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_attach_type" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_STATS_BASIC" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_ATTACH_TYPE 1
+#define HAVE_DECL_TCA_STATS_BASIC $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_STATS_RATE_EST" "ac_cv_have_decl_TCA_STATS_RATE_EST" "
+#include <linux/gen_stats.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "bpf_fd" "ac_cv_member_union_bpf_attr_bpf_fd" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_bpf_fd" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_STATS_RATE_EST" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_BPF_FD 1
+#define HAVE_DECL_TCA_STATS_RATE_EST $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_STATS_QUEUE" "ac_cv_have_decl_TCA_STATS_QUEUE" "
+#include <linux/gen_stats.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf" "ac_cv_member_union_bpf_attr_btf" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_btf" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_STATS_QUEUE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_BTF 1
+#define HAVE_DECL_TCA_STATS_QUEUE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_STATS_APP" "ac_cv_have_decl_TCA_STATS_APP" "
+#include <linux/gen_stats.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_fd" "ac_cv_member_union_bpf_attr_btf_fd" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_btf_fd" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_STATS_APP" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_BTF_FD 1
+#define HAVE_DECL_TCA_STATS_APP $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_STATS_RATE_EST64" "ac_cv_have_decl_TCA_STATS_RATE_EST64" "
+#include <linux/gen_stats.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_id" "ac_cv_member_union_bpf_attr_btf_id" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_btf_id" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_STATS_RATE_EST64" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_BTF_ID 1
+#define HAVE_DECL_TCA_STATS_RATE_EST64 $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_STATS_PAD" "ac_cv_have_decl_TCA_STATS_PAD" "
+#include <linux/gen_stats.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_key_type_id" "ac_cv_member_union_bpf_attr_btf_key_type_id" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_btf_key_type_id" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_STATS_PAD" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_BTF_KEY_TYPE_ID 1
+#define HAVE_DECL_TCA_STATS_PAD $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_STATS_BASIC_HW" "ac_cv_have_decl_TCA_STATS_BASIC_HW" "
+#include <linux/gen_stats.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_log_buf" "ac_cv_member_union_bpf_attr_btf_log_buf" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_btf_log_buf" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_STATS_BASIC_HW" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_BTF_LOG_BUF 1
+#define HAVE_DECL_TCA_STATS_BASIC_HW $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "TCA_STATS_PKT64" "ac_cv_have_decl_TCA_STATS_PKT64" "
+#include <linux/gen_stats.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_log_level" "ac_cv_member_union_bpf_attr_btf_log_level" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_btf_log_level" = xyes; then :
+if test "x$ac_cv_have_decl_TCA_STATS_PKT64" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_BTF_LOG_LEVEL 1
+#define HAVE_DECL_TCA_STATS_PKT64 $ac_have_decl
 _ACEOF
 
 
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_log_size" "ac_cv_member_union_bpf_attr_btf_log_size" "#include <linux/bpf.h>
+ac_fn_c_check_decl "$LINENO" "KERN_OSTYPE" "ac_cv_have_decl_KERN_OSTYPE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_member_union_bpf_attr_btf_log_size" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_OSTYPE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_BTF_LOG_SIZE 1
+#define HAVE_DECL_KERN_OSTYPE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_OSRELEASE" "ac_cv_have_decl_KERN_OSRELEASE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_size" "ac_cv_member_union_bpf_attr_btf_size" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_btf_size" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_OSRELEASE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_BTF_SIZE 1
+#define HAVE_DECL_KERN_OSRELEASE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_OSREV" "ac_cv_have_decl_KERN_OSREV" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "btf_value_type_id" "ac_cv_member_union_bpf_attr_btf_value_type_id" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_btf_value_type_id" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_OSREV" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_BTF_VALUE_TYPE_ID 1
+#define HAVE_DECL_KERN_OSREV $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_VERSION" "ac_cv_have_decl_KERN_VERSION" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "dummy" "ac_cv_member_union_bpf_attr_dummy" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_dummy" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_VERSION" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_DUMMY 1
+#define HAVE_DECL_KERN_VERSION $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_SECUREMASK" "ac_cv_have_decl_KERN_SECUREMASK" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "expected_attach_type" "ac_cv_member_union_bpf_attr_expected_attach_type" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_expected_attach_type" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_SECUREMASK" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_EXPECTED_ATTACH_TYPE 1
+#define HAVE_DECL_KERN_SECUREMASK $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_PROF" "ac_cv_have_decl_KERN_PROF" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "file_flags" "ac_cv_member_union_bpf_attr_file_flags" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_file_flags" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_PROF" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_FILE_FLAGS 1
+#define HAVE_DECL_KERN_PROF $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_NODENAME" "ac_cv_have_decl_KERN_NODENAME" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "flags" "ac_cv_member_union_bpf_attr_flags" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_flags" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_NODENAME" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_FLAGS 1
+#define HAVE_DECL_KERN_NODENAME $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_DOMAINNAME" "ac_cv_have_decl_KERN_DOMAINNAME" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "func_info" "ac_cv_member_union_bpf_attr_func_info" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_func_info" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_DOMAINNAME" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_FUNC_INFO 1
+#define HAVE_DECL_KERN_DOMAINNAME $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_PANIC" "ac_cv_have_decl_KERN_PANIC" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "func_info_cnt" "ac_cv_member_union_bpf_attr_func_info_cnt" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_func_info_cnt" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_PANIC" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_FUNC_INFO_CNT 1
+#define HAVE_DECL_KERN_PANIC $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_REALROOTDEV" "ac_cv_have_decl_KERN_REALROOTDEV" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "func_info_rec_size" "ac_cv_member_union_bpf_attr_func_info_rec_size" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_func_info_rec_size" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_REALROOTDEV" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_FUNC_INFO_REC_SIZE 1
+#define HAVE_DECL_KERN_REALROOTDEV $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_SPARC_REBOOT" "ac_cv_have_decl_KERN_SPARC_REBOOT" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "info.bpf_fd" "ac_cv_member_union_bpf_attr_info_bpf_fd" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_info_bpf_fd" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_SPARC_REBOOT" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_INFO_BPF_FD 1
+#define HAVE_DECL_KERN_SPARC_REBOOT $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_CTLALTDEL" "ac_cv_have_decl_KERN_CTLALTDEL" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "info.info" "ac_cv_member_union_bpf_attr_info_info" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_info_info" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_CTLALTDEL" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_INFO_INFO 1
+#define HAVE_DECL_KERN_CTLALTDEL $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_PRINTK" "ac_cv_have_decl_KERN_PRINTK" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "info.info_len" "ac_cv_member_union_bpf_attr_info_info_len" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_info_info_len" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_PRINTK" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_INFO_INFO_LEN 1
+#define HAVE_DECL_KERN_PRINTK $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_NAMETRANS" "ac_cv_have_decl_KERN_NAMETRANS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "inner_map_fd" "ac_cv_member_union_bpf_attr_inner_map_fd" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_inner_map_fd" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_NAMETRANS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_INNER_MAP_FD 1
+#define HAVE_DECL_KERN_NAMETRANS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_PPC_HTABRECLAIM" "ac_cv_have_decl_KERN_PPC_HTABRECLAIM" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "insn_cnt" "ac_cv_member_union_bpf_attr_insn_cnt" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_insn_cnt" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_PPC_HTABRECLAIM" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_INSN_CNT 1
+#define HAVE_DECL_KERN_PPC_HTABRECLAIM $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_PPC_ZEROPAGED" "ac_cv_have_decl_KERN_PPC_ZEROPAGED" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "insns" "ac_cv_member_union_bpf_attr_insns" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_insns" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_PPC_ZEROPAGED" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_INSNS 1
+#define HAVE_DECL_KERN_PPC_ZEROPAGED $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_PPC_POWERSAVE_NAP" "ac_cv_have_decl_KERN_PPC_POWERSAVE_NAP" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "kern_version" "ac_cv_member_union_bpf_attr_kern_version" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_kern_version" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_PPC_POWERSAVE_NAP" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_KERN_VERSION 1
+#define HAVE_DECL_KERN_PPC_POWERSAVE_NAP $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_MODPROBE" "ac_cv_have_decl_KERN_MODPROBE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "key" "ac_cv_member_union_bpf_attr_key" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_key" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_MODPROBE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_KEY 1
+#define HAVE_DECL_KERN_MODPROBE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_SG_BIG_BUFF" "ac_cv_have_decl_KERN_SG_BIG_BUFF" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "key_size" "ac_cv_member_union_bpf_attr_key_size" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_key_size" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_SG_BIG_BUFF" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_KEY_SIZE 1
+#define HAVE_DECL_KERN_SG_BIG_BUFF $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_ACCT" "ac_cv_have_decl_KERN_ACCT" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "license" "ac_cv_member_union_bpf_attr_license" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_license" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_ACCT" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_LICENSE 1
+#define HAVE_DECL_KERN_ACCT $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_PPC_L2CR" "ac_cv_have_decl_KERN_PPC_L2CR" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "line_info" "ac_cv_member_union_bpf_attr_line_info" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_line_info" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_PPC_L2CR" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_LINE_INFO 1
+#define HAVE_DECL_KERN_PPC_L2CR $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_RTSIGNR" "ac_cv_have_decl_KERN_RTSIGNR" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "line_info_cnt" "ac_cv_member_union_bpf_attr_line_info_cnt" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_line_info_cnt" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_RTSIGNR" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_LINE_INFO_CNT 1
+#define HAVE_DECL_KERN_RTSIGNR $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_RTSIGMAX" "ac_cv_have_decl_KERN_RTSIGMAX" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "line_info_rec_size" "ac_cv_member_union_bpf_attr_line_info_rec_size" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_line_info_rec_size" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_RTSIGMAX" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_LINE_INFO_REC_SIZE 1
+#define HAVE_DECL_KERN_RTSIGMAX $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_SHMMAX" "ac_cv_have_decl_KERN_SHMMAX" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "log_buf" "ac_cv_member_union_bpf_attr_log_buf" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_log_buf" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_SHMMAX" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_LOG_BUF 1
+#define HAVE_DECL_KERN_SHMMAX $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_MSGMAX" "ac_cv_have_decl_KERN_MSGMAX" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "log_level" "ac_cv_member_union_bpf_attr_log_level" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_log_level" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_MSGMAX" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_LOG_LEVEL 1
+#define HAVE_DECL_KERN_MSGMAX $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_MSGMNB" "ac_cv_have_decl_KERN_MSGMNB" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "log_size" "ac_cv_member_union_bpf_attr_log_size" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_log_size" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_MSGMNB" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_LOG_SIZE 1
+#define HAVE_DECL_KERN_MSGMNB $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_MSGPOOL" "ac_cv_have_decl_KERN_MSGPOOL" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_fd" "ac_cv_member_union_bpf_attr_map_fd" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_map_fd" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_MSGPOOL" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_MAP_FD 1
+#define HAVE_DECL_KERN_MSGPOOL $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_SYSRQ" "ac_cv_have_decl_KERN_SYSRQ" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_flags" "ac_cv_member_union_bpf_attr_map_flags" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_map_flags" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_SYSRQ" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_MAP_FLAGS 1
+#define HAVE_DECL_KERN_SYSRQ $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_MAX_THREADS" "ac_cv_have_decl_KERN_MAX_THREADS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_id" "ac_cv_member_union_bpf_attr_map_id" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_map_id" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_MAX_THREADS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_MAP_ID 1
+#define HAVE_DECL_KERN_MAX_THREADS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_RANDOM" "ac_cv_have_decl_KERN_RANDOM" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_ifindex" "ac_cv_member_union_bpf_attr_map_ifindex" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_map_ifindex" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_RANDOM" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_MAP_IFINDEX 1
+#define HAVE_DECL_KERN_RANDOM $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_SHMALL" "ac_cv_have_decl_KERN_SHMALL" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_name" "ac_cv_member_union_bpf_attr_map_name" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_map_name" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_SHMALL" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_MAP_NAME 1
+#define HAVE_DECL_KERN_SHMALL $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_MSGMNI" "ac_cv_have_decl_KERN_MSGMNI" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_type" "ac_cv_member_union_bpf_attr_map_type" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_map_type" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_MSGMNI" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_MAP_TYPE 1
+#define HAVE_DECL_KERN_MSGMNI $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_SEM" "ac_cv_have_decl_KERN_SEM" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "max_entries" "ac_cv_member_union_bpf_attr_max_entries" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_max_entries" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_SEM" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_MAX_ENTRIES 1
+#define HAVE_DECL_KERN_SEM $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_SPARC_STOP_A" "ac_cv_have_decl_KERN_SPARC_STOP_A" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "next_id" "ac_cv_member_union_bpf_attr_next_id" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_next_id" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_SPARC_STOP_A" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_NEXT_ID 1
+#define HAVE_DECL_KERN_SPARC_STOP_A $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_SHMMNI" "ac_cv_have_decl_KERN_SHMMNI" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "next_key" "ac_cv_member_union_bpf_attr_next_key" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_next_key" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_SHMMNI" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_NEXT_KEY 1
+#define HAVE_DECL_KERN_SHMMNI $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_OVERFLOWUID" "ac_cv_have_decl_KERN_OVERFLOWUID" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "numa_node" "ac_cv_member_union_bpf_attr_numa_node" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_numa_node" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_OVERFLOWUID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_NUMA_NODE 1
+#define HAVE_DECL_KERN_OVERFLOWUID $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_OVERFLOWGID" "ac_cv_have_decl_KERN_OVERFLOWGID" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "open_flags" "ac_cv_member_union_bpf_attr_open_flags" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_open_flags" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_OVERFLOWGID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_OPEN_FLAGS 1
+#define HAVE_DECL_KERN_OVERFLOWGID $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_SHMPATH" "ac_cv_have_decl_KERN_SHMPATH" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "pathname" "ac_cv_member_union_bpf_attr_pathname" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_pathname" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_SHMPATH" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_PATHNAME 1
+#define HAVE_DECL_KERN_SHMPATH $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_HOTPLUG" "ac_cv_have_decl_KERN_HOTPLUG" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_btf_fd" "ac_cv_member_union_bpf_attr_prog_btf_fd" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_prog_btf_fd" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_HOTPLUG" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_PROG_BTF_FD 1
+#define HAVE_DECL_KERN_HOTPLUG $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_IEEE_EMULATION_WARNINGS" "ac_cv_have_decl_KERN_IEEE_EMULATION_WARNINGS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_flags" "ac_cv_member_union_bpf_attr_prog_flags" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_prog_flags" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_IEEE_EMULATION_WARNINGS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_PROG_FLAGS 1
+#define HAVE_DECL_KERN_IEEE_EMULATION_WARNINGS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_S390_USER_DEBUG_LOGGING" "ac_cv_have_decl_KERN_S390_USER_DEBUG_LOGGING" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_id" "ac_cv_member_union_bpf_attr_prog_id" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_prog_id" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_S390_USER_DEBUG_LOGGING" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_PROG_ID 1
+#define HAVE_DECL_KERN_S390_USER_DEBUG_LOGGING $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_CORE_USES_PID" "ac_cv_have_decl_KERN_CORE_USES_PID" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_ifindex" "ac_cv_member_union_bpf_attr_prog_ifindex" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_prog_ifindex" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_CORE_USES_PID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_PROG_IFINDEX 1
+#define HAVE_DECL_KERN_CORE_USES_PID $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_TAINTED" "ac_cv_have_decl_KERN_TAINTED" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_name" "ac_cv_member_union_bpf_attr_prog_name" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_prog_name" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_TAINTED" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_PROG_NAME 1
+#define HAVE_DECL_KERN_TAINTED $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_CADPID" "ac_cv_have_decl_KERN_CADPID" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_type" "ac_cv_member_union_bpf_attr_prog_type" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_prog_type" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_CADPID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_PROG_TYPE 1
+#define HAVE_DECL_KERN_CADPID $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_PIDMAX" "ac_cv_have_decl_KERN_PIDMAX" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.attach_flags" "ac_cv_member_union_bpf_attr_query_attach_flags" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_query_attach_flags" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_PIDMAX" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_QUERY_ATTACH_FLAGS 1
+#define HAVE_DECL_KERN_PIDMAX $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_CORE_PATTERN" "ac_cv_have_decl_KERN_CORE_PATTERN" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.attach_type" "ac_cv_member_union_bpf_attr_query_attach_type" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_query_attach_type" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_CORE_PATTERN" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_QUERY_ATTACH_TYPE 1
+#define HAVE_DECL_KERN_CORE_PATTERN $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_PANIC_ON_OOPS" "ac_cv_have_decl_KERN_PANIC_ON_OOPS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.prog_cnt" "ac_cv_member_union_bpf_attr_query_prog_cnt" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_query_prog_cnt" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_PANIC_ON_OOPS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_QUERY_PROG_CNT 1
+#define HAVE_DECL_KERN_PANIC_ON_OOPS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_HPPA_PWRSW" "ac_cv_have_decl_KERN_HPPA_PWRSW" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.prog_ids" "ac_cv_member_union_bpf_attr_query_prog_ids" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_query_prog_ids" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_HPPA_PWRSW" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_QUERY_PROG_IDS 1
+#define HAVE_DECL_KERN_HPPA_PWRSW $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_HPPA_UNALIGNED" "ac_cv_have_decl_KERN_HPPA_UNALIGNED" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.query_flags" "ac_cv_member_union_bpf_attr_query_query_flags" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_query_query_flags" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_HPPA_UNALIGNED" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_QUERY_QUERY_FLAGS 1
+#define HAVE_DECL_KERN_HPPA_UNALIGNED $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.target_fd" "ac_cv_member_union_bpf_attr_query_target_fd" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_query_target_fd" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_QUERY_TARGET_FD 1
+#define HAVE_DECL_KERN_PRINTK_RATELIMIT $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT_BURST" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "raw_tracepoint.name" "ac_cv_member_union_bpf_attr_raw_tracepoint_name" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_raw_tracepoint_name" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_RAW_TRACEPOINT_NAME 1
+#define HAVE_DECL_KERN_PRINTK_RATELIMIT_BURST $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_PTY" "ac_cv_have_decl_KERN_PTY" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "raw_tracepoint.prog_fd" "ac_cv_member_union_bpf_attr_raw_tracepoint_prog_fd" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_raw_tracepoint_prog_fd" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_PTY" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_RAW_TRACEPOINT_PROG_FD 1
+#define HAVE_DECL_KERN_PTY $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_NGROUPS_MAX" "ac_cv_have_decl_KERN_NGROUPS_MAX" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "start_id" "ac_cv_member_union_bpf_attr_start_id" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_start_id" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_NGROUPS_MAX" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_START_ID 1
+#define HAVE_DECL_KERN_NGROUPS_MAX $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_SPARC_SCONS_PWROFF" "ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "target_fd" "ac_cv_member_union_bpf_attr_target_fd" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_target_fd" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TARGET_FD 1
+#define HAVE_DECL_KERN_SPARC_SCONS_PWROFF $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_HZ_TIMER" "ac_cv_have_decl_KERN_HZ_TIMER" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.buf" "ac_cv_member_union_bpf_attr_task_fd_query_buf" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_task_fd_query_buf" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_HZ_TIMER" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_BUF 1
+#define HAVE_DECL_KERN_HZ_TIMER $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_UNKNOWN_NMI_PANIC" "ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.buf_len" "ac_cv_member_union_bpf_attr_task_fd_query_buf_len" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_task_fd_query_buf_len" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_BUF_LEN 1
+#define HAVE_DECL_KERN_UNKNOWN_NMI_PANIC $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_BOOTLOADER_TYPE" "ac_cv_have_decl_KERN_BOOTLOADER_TYPE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.fd" "ac_cv_member_union_bpf_attr_task_fd_query_fd" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_task_fd_query_fd" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_BOOTLOADER_TYPE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_FD 1
+#define HAVE_DECL_KERN_BOOTLOADER_TYPE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_RANDOMIZE" "ac_cv_have_decl_KERN_RANDOMIZE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.fd_type" "ac_cv_member_union_bpf_attr_task_fd_query_fd_type" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_task_fd_query_fd_type" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_RANDOMIZE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_FD_TYPE 1
+#define HAVE_DECL_KERN_RANDOMIZE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_SETUID_DUMPABLE" "ac_cv_have_decl_KERN_SETUID_DUMPABLE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.flags" "ac_cv_member_union_bpf_attr_task_fd_query_flags" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_task_fd_query_flags" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_SETUID_DUMPABLE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_FLAGS 1
+#define HAVE_DECL_KERN_SETUID_DUMPABLE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_SPIN_RETRY" "ac_cv_have_decl_KERN_SPIN_RETRY" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
+"
+if test "x$ac_cv_have_decl_KERN_SPIN_RETRY" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.pid" "ac_cv_member_union_bpf_attr_task_fd_query_pid" "#include <linux/bpf.h>
-"
-if test "x$ac_cv_member_union_bpf_attr_task_fd_query_pid" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_PID 1
+#define HAVE_DECL_KERN_SPIN_RETRY $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_ACPI_VIDEO_FLAGS" "ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.probe_addr" "ac_cv_member_union_bpf_attr_task_fd_query_probe_addr" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_task_fd_query_probe_addr" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_PROBE_ADDR 1
+#define HAVE_DECL_KERN_ACPI_VIDEO_FLAGS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_IA64_UNALIGNED" "ac_cv_have_decl_KERN_IA64_UNALIGNED" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.probe_offset" "ac_cv_member_union_bpf_attr_task_fd_query_probe_offset" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_task_fd_query_probe_offset" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_IA64_UNALIGNED" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_PROBE_OFFSET 1
+#define HAVE_DECL_KERN_IA64_UNALIGNED $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_COMPAT_LOG" "ac_cv_have_decl_KERN_COMPAT_LOG" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "task_fd_query.prog_id" "ac_cv_member_union_bpf_attr_task_fd_query_prog_id" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_task_fd_query_prog_id" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_COMPAT_LOG" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_PROG_ID 1
+#define HAVE_DECL_KERN_COMPAT_LOG $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_MAX_LOCK_DEPTH" "ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.ctx_in" "ac_cv_member_union_bpf_attr_test_ctx_in" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_test_ctx_in" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TEST_CTX_IN 1
+#define HAVE_DECL_KERN_MAX_LOCK_DEPTH $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_NMI_WATCHDOG" "ac_cv_have_decl_KERN_NMI_WATCHDOG" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.ctx_out" "ac_cv_member_union_bpf_attr_test_ctx_out" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_test_ctx_out" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_NMI_WATCHDOG" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TEST_CTX_OUT 1
+#define HAVE_DECL_KERN_NMI_WATCHDOG $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_PANIC_ON_NMI" "ac_cv_have_decl_KERN_PANIC_ON_NMI" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.ctx_size_in" "ac_cv_member_union_bpf_attr_test_ctx_size_in" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_test_ctx_size_in" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_PANIC_ON_NMI" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TEST_CTX_SIZE_IN 1
+#define HAVE_DECL_KERN_PANIC_ON_NMI $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_PANIC_ON_WARN" "ac_cv_have_decl_KERN_PANIC_ON_WARN" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.ctx_size_out" "ac_cv_member_union_bpf_attr_test_ctx_size_out" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_test_ctx_size_out" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_PANIC_ON_WARN" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TEST_CTX_SIZE_OUT 1
+#define HAVE_DECL_KERN_PANIC_ON_WARN $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "KERN_PANIC_PRINT" "ac_cv_have_decl_KERN_PANIC_PRINT" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.data_in" "ac_cv_member_union_bpf_attr_test_data_in" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_test_data_in" = xyes; then :
+if test "x$ac_cv_have_decl_KERN_PANIC_PRINT" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TEST_DATA_IN 1
+#define HAVE_DECL_KERN_PANIC_PRINT $ac_have_decl
 _ACEOF
 
 
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.data_out" "ac_cv_member_union_bpf_attr_test_data_out" "#include <linux/bpf.h>
+ac_fn_c_check_decl "$LINENO" "NET_CORE" "ac_cv_have_decl_NET_CORE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_member_union_bpf_attr_test_data_out" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TEST_DATA_OUT 1
+#define HAVE_DECL_NET_CORE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_ETHER" "ac_cv_have_decl_NET_ETHER" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.data_size_in" "ac_cv_member_union_bpf_attr_test_data_size_in" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_test_data_size_in" = xyes; then :
+if test "x$ac_cv_have_decl_NET_ETHER" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TEST_DATA_SIZE_IN 1
+#define HAVE_DECL_NET_ETHER $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_802" "ac_cv_have_decl_NET_802" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.data_size_out" "ac_cv_member_union_bpf_attr_test_data_size_out" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_test_data_size_out" = xyes; then :
+if test "x$ac_cv_have_decl_NET_802" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TEST_DATA_SIZE_OUT 1
+#define HAVE_DECL_NET_802 $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_UNIX" "ac_cv_have_decl_NET_UNIX" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.duration" "ac_cv_member_union_bpf_attr_test_duration" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_test_duration" = xyes; then :
+if test "x$ac_cv_have_decl_NET_UNIX" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TEST_DURATION 1
+#define HAVE_DECL_NET_UNIX $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4" "ac_cv_have_decl_NET_IPV4" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.prog_fd" "ac_cv_member_union_bpf_attr_test_prog_fd" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_test_prog_fd" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TEST_PROG_FD 1
+#define HAVE_DECL_NET_IPV4 $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPX" "ac_cv_have_decl_NET_IPX" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.repeat" "ac_cv_member_union_bpf_attr_test_repeat" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_test_repeat" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPX" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TEST_REPEAT 1
+#define HAVE_DECL_NET_IPX $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_ATALK" "ac_cv_have_decl_NET_ATALK" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.retval" "ac_cv_member_union_bpf_attr_test_retval" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_test_retval" = xyes; then :
+if test "x$ac_cv_have_decl_NET_ATALK" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_TEST_RETVAL 1
+#define HAVE_DECL_NET_ATALK $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_NETROM" "ac_cv_have_decl_NET_NETROM" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "value" "ac_cv_member_union_bpf_attr_value" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_value" = xyes; then :
+if test "x$ac_cv_have_decl_NET_NETROM" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_VALUE 1
+#define HAVE_DECL_NET_NETROM $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_AX25" "ac_cv_have_decl_NET_AX25" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "value_size" "ac_cv_member_union_bpf_attr_value_size" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_value_size" = xyes; then :
+if test "x$ac_cv_have_decl_NET_AX25" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_VALUE_SIZE 1
+#define HAVE_DECL_NET_AX25 $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_BRIDGE" "ac_cv_have_decl_NET_BRIDGE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "union bpf_attr" "dummy" "ac_cv_member_union_bpf_attr_dummy" "#include <linux/bpf.h>
 "
-if test "x$ac_cv_member_union_bpf_attr_dummy" = xyes; then :
+if test "x$ac_cv_have_decl_NET_BRIDGE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_UNION_BPF_ATTR_DUMMY 1
+#define HAVE_DECL_NET_BRIDGE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_ROSE" "ac_cv_have_decl_NET_ROSE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
-
-
+"
+if test "x$ac_cv_have_decl_NET_ROSE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
-
-for ac_header in linux/io_uring.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "linux/io_uring.h" "ac_cv_header_linux_io_uring_h" "$ac_includes_default"
-if test "x$ac_cv_header_linux_io_uring_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LINUX_IO_URING_H 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_ROSE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV6" "ac_cv_have_decl_NET_IPV6" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-	ac_fn_c_check_member "$LINENO" "struct io_uring_params" "features" "ac_cv_member_struct_io_uring_params_features" "#include <linux/io_uring.h>
 "
-if test "x$ac_cv_member_struct_io_uring_params_features" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IO_URING_PARAMS_FEATURES 1
+#define HAVE_DECL_NET_IPV6 $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_X25" "ac_cv_have_decl_NET_X25" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
+"
+if test "x$ac_cv_have_decl_NET_X25" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
-ac_fn_c_check_member "$LINENO" "struct io_uring_params" "wq_fd" "ac_cv_member_struct_io_uring_params_wq_fd" "#include <linux/io_uring.h>
-"
-if test "x$ac_cv_member_struct_io_uring_params_wq_fd" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IO_URING_PARAMS_WQ_FD 1
+#define HAVE_DECL_NET_X25 $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TR" "ac_cv_have_decl_NET_TR" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct io_uring_params" "resv" "ac_cv_member_struct_io_uring_params_resv" "#include <linux/io_uring.h>
 "
-if test "x$ac_cv_member_struct_io_uring_params_resv" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TR" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IO_URING_PARAMS_RESV 1
+#define HAVE_DECL_NET_TR $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_DECNET" "ac_cv_have_decl_NET_DECNET" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
-
+"
+if test "x$ac_cv_have_decl_NET_DECNET" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
-
-for ac_header in bluetooth/bluetooth.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "bluetooth/bluetooth.h" "ac_cv_header_bluetooth_bluetooth_h" "$ac_includes_default"
-if test "x$ac_cv_header_bluetooth_bluetooth_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_BLUETOOTH_BLUETOOTH_H 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_DECNET $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_ECONET" "ac_cv_have_decl_NET_ECONET" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-	ac_fn_c_check_member "$LINENO" "struct sockaddr_hci" "hci_channel" "ac_cv_member_struct_sockaddr_hci_hci_channel" "#include <bluetooth/bluetooth.h>
-			 #include <bluetooth/hci.h>
 "
-if test "x$ac_cv_member_struct_sockaddr_hci_hci_channel" = xyes; then :
+if test "x$ac_cv_have_decl_NET_ECONET" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_SOCKADDR_HCI_HCI_CHANNEL 1
+#define HAVE_DECL_NET_ECONET $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_SCTP" "ac_cv_have_decl_NET_SCTP" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
-	ac_fn_c_check_member "$LINENO" "struct sockaddr_l2" "l2_bdaddr_type" "ac_cv_member_struct_sockaddr_l2_l2_bdaddr_type" "#include <bluetooth/bluetooth.h>
-			 #include <bluetooth/l2cap.h>
 "
-if test "x$ac_cv_member_struct_sockaddr_l2_l2_bdaddr_type" = xyes; then :
+if test "x$ac_cv_have_decl_NET_SCTP" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_SOCKADDR_L2_L2_BDADDR_TYPE 1
+#define HAVE_DECL_NET_SCTP $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_LLC" "ac_cv_have_decl_NET_LLC" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
+"
+if test "x$ac_cv_have_decl_NET_LLC" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_LLC $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_NETFILTER" "ac_cv_have_decl_NET_NETFILTER" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
+"
+if test "x$ac_cv_have_decl_NET_NETFILTER" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_NETFILTER $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_DCCP" "ac_cv_have_decl_NET_DCCP" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct br_mdb_entry" "flags" "ac_cv_member_struct_br_mdb_entry_flags" "#include <linux/if_bridge.h>
 "
-if test "x$ac_cv_member_struct_br_mdb_entry_flags" = xyes; then :
+if test "x$ac_cv_have_decl_NET_DCCP" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BR_MDB_ENTRY_FLAGS 1
+#define HAVE_DECL_NET_DCCP $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IRDA" "ac_cv_have_decl_NET_IRDA" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct br_mdb_entry" "vid" "ac_cv_member_struct_br_mdb_entry_vid" "#include <linux/if_bridge.h>
 "
-if test "x$ac_cv_member_struct_br_mdb_entry_vid" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IRDA" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BR_MDB_ENTRY_VID 1
+#define HAVE_DECL_NET_IRDA $ac_have_decl
 _ACEOF
 
 
-fi
-
+ac_fn_c_check_decl "$LINENO" "NET_CORE_WMEM_MAX" "ac_cv_have_decl_NET_CORE_WMEM_MAX" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct dcbmsg" "ac_cv_type_struct_dcbmsg" "#include <linux/dcbnl.h>
 "
-if test "x$ac_cv_type_struct_dcbmsg" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_WMEM_MAX" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_DCBMSG 1
+#define HAVE_DECL_NET_CORE_WMEM_MAX $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_RMEM_MAX" "ac_cv_have_decl_NET_CORE_RMEM_MAX" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
-ac_fn_c_check_type "$LINENO" "struct ifaddrlblmsg" "ac_cv_type_struct_ifaddrlblmsg" "#include <linux/if_addrlabel.h>
 "
-if test "x$ac_cv_type_struct_ifaddrlblmsg" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_RMEM_MAX" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IFADDRLBLMSG 1
+#define HAVE_DECL_NET_CORE_RMEM_MAX $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_WMEM_DEFAULT" "ac_cv_have_decl_NET_CORE_WMEM_DEFAULT" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
-ac_fn_c_check_type "$LINENO" "struct netconfmsg" "ac_cv_type_struct_netconfmsg" "#include <linux/netconf.h>
 "
-if test "x$ac_cv_type_struct_netconfmsg" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_WMEM_DEFAULT" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_NETCONFMSG 1
+#define HAVE_DECL_NET_CORE_WMEM_DEFAULT $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_RMEM_DEFAULT" "ac_cv_have_decl_NET_CORE_RMEM_DEFAULT" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
+"
+if test "x$ac_cv_have_decl_NET_CORE_RMEM_DEFAULT" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_CORE_RMEM_DEFAULT $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_MAX_BACKLOG" "ac_cv_have_decl_NET_CORE_MAX_BACKLOG" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct ifla_cacheinfo" "ac_cv_type_struct_ifla_cacheinfo" "#include <sys/socket.h>
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_type_struct_ifla_cacheinfo" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_MAX_BACKLOG" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IFLA_CACHEINFO 1
+#define HAVE_DECL_NET_CORE_MAX_BACKLOG $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_FASTROUTE" "ac_cv_have_decl_NET_CORE_FASTROUTE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
+"
+if test "x$ac_cv_have_decl_NET_CORE_FASTROUTE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_CORE_FASTROUTE $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_MSG_COST" "ac_cv_have_decl_NET_CORE_MSG_COST" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_decl "$LINENO" "TCA_ACT_PAD" "ac_cv_have_decl_TCA_ACT_PAD" "#include <sys/socket.h>
-#include <linux/pkt_cls.h>
 "
-if test "x$ac_cv_have_decl_TCA_ACT_PAD" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_MSG_COST" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_TCA_ACT_PAD $ac_have_decl
+#define HAVE_DECL_NET_CORE_MSG_COST $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "TCA_ACT_COOKIE" "ac_cv_have_decl_TCA_ACT_COOKIE" "#include <sys/socket.h>
-#include <linux/pkt_cls.h>
+ac_fn_c_check_decl "$LINENO" "NET_CORE_MSG_BURST" "ac_cv_have_decl_NET_CORE_MSG_BURST" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_TCA_ACT_COOKIE" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_MSG_BURST" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_TCA_ACT_COOKIE $ac_have_decl
+#define HAVE_DECL_NET_CORE_MSG_BURST $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "TCA_ACT_FLAGS" "ac_cv_have_decl_TCA_ACT_FLAGS" "#include <sys/socket.h>
-#include <linux/pkt_cls.h>
+ac_fn_c_check_decl "$LINENO" "NET_CORE_OPTMEM_MAX" "ac_cv_have_decl_NET_CORE_OPTMEM_MAX" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_TCA_ACT_FLAGS" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_OPTMEM_MAX" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_TCA_ACT_FLAGS $ac_have_decl
+#define HAVE_DECL_NET_CORE_OPTMEM_MAX $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_HOT_LIST_LENGTH" "ac_cv_have_decl_NET_CORE_HOT_LIST_LENGTH" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_decl "$LINENO" "IFLA_PORT_SELF" "ac_cv_have_decl_IFLA_PORT_SELF" "#include <sys/socket.h>
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_have_decl_IFLA_PORT_SELF" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_HOT_LIST_LENGTH" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_IFLA_PORT_SELF $ac_have_decl
+#define HAVE_DECL_NET_CORE_HOT_LIST_LENGTH $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "IFLA_PROTINFO" "ac_cv_have_decl_IFLA_PROTINFO" "#include <sys/socket.h>
-#include <linux/rtnetlink.h>
+ac_fn_c_check_decl "$LINENO" "NET_CORE_DIVERT_VERSION" "ac_cv_have_decl_NET_CORE_DIVERT_VERSION" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_IFLA_PROTINFO" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_DIVERT_VERSION" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_IFLA_PROTINFO $ac_have_decl
+#define HAVE_DECL_NET_CORE_DIVERT_VERSION $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "IFLA_AF_SPEC" "ac_cv_have_decl_IFLA_AF_SPEC" "#include <sys/socket.h>
-#include <linux/rtnetlink.h>
+ac_fn_c_check_decl "$LINENO" "NET_CORE_NO_CONG_THRESH" "ac_cv_have_decl_NET_CORE_NO_CONG_THRESH" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_IFLA_AF_SPEC" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_NO_CONG_THRESH" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_IFLA_AF_SPEC $ac_have_decl
+#define HAVE_DECL_NET_CORE_NO_CONG_THRESH $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "IFLA_XDP" "ac_cv_have_decl_IFLA_XDP" "#include <sys/socket.h>
-#include <linux/rtnetlink.h>
+ac_fn_c_check_decl "$LINENO" "NET_CORE_NO_CONG" "ac_cv_have_decl_NET_CORE_NO_CONG" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_IFLA_XDP" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_NO_CONG" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_IFLA_XDP $ac_have_decl
+#define HAVE_DECL_NET_CORE_NO_CONG $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_LO_CONG" "ac_cv_have_decl_NET_CORE_LO_CONG" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-ac_fn_c_check_type "$LINENO" "struct gnet_stats_basic" "ac_cv_type_struct_gnet_stats_basic" "#include <linux/gen_stats.h>
 "
-if test "x$ac_cv_type_struct_gnet_stats_basic" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_LO_CONG" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_GNET_STATS_BASIC 1
+#define HAVE_DECL_NET_CORE_LO_CONG $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_MOD_CONG" "ac_cv_have_decl_NET_CORE_MOD_CONG" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct gnet_stats_queue" "ac_cv_type_struct_gnet_stats_queue" "#include <linux/gen_stats.h>
 "
-if test "x$ac_cv_type_struct_gnet_stats_queue" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_MOD_CONG" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_GNET_STATS_QUEUE 1
+#define HAVE_DECL_NET_CORE_MOD_CONG $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_DEV_WEIGHT" "ac_cv_have_decl_NET_CORE_DEV_WEIGHT" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct gnet_stats_rate_est" "ac_cv_type_struct_gnet_stats_rate_est" "#include <linux/gen_stats.h>
 "
-if test "x$ac_cv_type_struct_gnet_stats_rate_est" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_DEV_WEIGHT" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_GNET_STATS_RATE_EST 1
+#define HAVE_DECL_NET_CORE_DEV_WEIGHT $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_SOMAXCONN" "ac_cv_have_decl_NET_CORE_SOMAXCONN" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct gnet_stats_rate_est64" "ac_cv_type_struct_gnet_stats_rate_est64" "#include <linux/gen_stats.h>
 "
-if test "x$ac_cv_type_struct_gnet_stats_rate_est64" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_SOMAXCONN" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_GNET_STATS_RATE_EST64 1
+#define HAVE_DECL_NET_CORE_SOMAXCONN $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_DESTROY_DELAY" "ac_cv_have_decl_NET_CORE_DESTROY_DELAY" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
-ac_fn_c_check_decl "$LINENO" "TCA_STATS_PKT64" "ac_cv_have_decl_TCA_STATS_PKT64" "#include <linux/gen_stats.h>
 "
-if test "x$ac_cv_have_decl_TCA_STATS_PKT64" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_DESTROY_DELAY" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_TCA_STATS_PKT64 $ac_have_decl
+#define HAVE_DECL_NET_CORE_DESTROY_DELAY $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_BUDGET" "ac_cv_have_decl_NET_CORE_BUDGET" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-ac_fn_c_check_type "$LINENO" "struct tc_sizespec" "ac_cv_type_struct_tc_sizespec" "#include <linux/types.h>
-#include <linux/pkt_sched.h>
 "
-if test "x$ac_cv_type_struct_tc_sizespec" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_BUDGET" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_TC_SIZESPEC 1
+#define HAVE_DECL_NET_CORE_BUDGET $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_ETIME" "ac_cv_have_decl_NET_CORE_AEVENT_ETIME" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
-ac_fn_c_check_decl "$LINENO" "TCA_STAB_DATA" "ac_cv_have_decl_TCA_STAB_DATA" "#include <linux/types.h>
-#include <linux/pkt_sched.h>
 "
-if test "x$ac_cv_have_decl_TCA_STAB_DATA" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_AEVENT_ETIME" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_TCA_STAB_DATA $ac_have_decl
+#define HAVE_DECL_NET_CORE_AEVENT_ETIME $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_RSEQTH" "ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-ac_fn_c_check_type "$LINENO" "struct fib_rule_uid_range" "ac_cv_type_struct_fib_rule_uid_range" "#include <linux/fib_rules.h>
 "
-if test "x$ac_cv_type_struct_fib_rule_uid_range" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_FIB_RULE_UID_RANGE 1
+#define HAVE_DECL_NET_CORE_AEVENT_RSEQTH $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CORE_WARNINGS" "ac_cv_have_decl_NET_CORE_WARNINGS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct fib_rule_port_range" "ac_cv_type_struct_fib_rule_port_range" "#include <linux/fib_rules.h>
 "
-if test "x$ac_cv_type_struct_fib_rule_port_range" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CORE_WARNINGS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_FIB_RULE_PORT_RANGE 1
+#define HAVE_DECL_NET_CORE_WARNINGS $ac_have_decl
 _ACEOF
 
 
-fi
-
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_FORWARD" "ac_cv_have_decl_NET_IPV4_FORWARD" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct statfs" "ac_cv_type_struct_statfs" "#include <linux/types.h>
-#include <asm/statfs.h>
 "
-if test "x$ac_cv_type_struct_statfs" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_FORWARD" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_STATFS 1
+#define HAVE_DECL_NET_IPV4_FORWARD $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_DYNADDR" "ac_cv_have_decl_NET_IPV4_DYNADDR" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-	ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <linux/types.h>
-#include <asm/statfs.h>
 "
-if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_DYNADDR" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_STATFS_F_FRSIZE 1
+#define HAVE_DECL_NET_IPV4_DYNADDR $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF" "ac_cv_have_decl_NET_IPV4_CONF" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" "#include <linux/types.h>
-#include <asm/statfs.h>
 "
-if test "x$ac_cv_member_struct_statfs_f_flags" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_CONF" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_STATFS_F_FLAGS 1
+#define HAVE_DECL_NET_IPV4_CONF $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_NEIGH" "ac_cv_have_decl_NET_IPV4_NEIGH" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsid.val" "ac_cv_member_struct_statfs_f_fsid_val" "#include <linux/types.h>
-#include <asm/statfs.h>
 "
-if test "x$ac_cv_member_struct_statfs_f_fsid_val" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_NEIGH" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_STATFS_F_FSID_VAL 1
+#define HAVE_DECL_NET_IPV4_NEIGH $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE" "ac_cv_have_decl_NET_IPV4_ROUTE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsid.__val" "ac_cv_member_struct_statfs_f_fsid___val" "#include <linux/types.h>
-#include <asm/statfs.h>
 "
-if test "x$ac_cv_member_struct_statfs_f_fsid___val" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_STATFS_F_FSID___VAL 1
+#define HAVE_DECL_NET_IPV4_ROUTE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_FIB_HASH" "ac_cv_have_decl_NET_IPV4_FIB_HASH" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
-
-fi
-
-
-ac_fn_c_check_type "$LINENO" "struct statfs64" "ac_cv_type_struct_statfs64" "#include <linux/types.h>
-#include <asm/statfs.h>
 "
-if test "x$ac_cv_type_struct_statfs64" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_FIB_HASH" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_STATFS64 1
+#define HAVE_DECL_NET_IPV4_FIB_HASH $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_NETFILTER" "ac_cv_have_decl_NET_IPV4_NETFILTER" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-	ac_fn_c_check_member "$LINENO" "struct statfs64" "f_frsize" "ac_cv_member_struct_statfs64_f_frsize" "#include <linux/types.h>
-#include <asm/statfs.h>
 "
-if test "x$ac_cv_member_struct_statfs64_f_frsize" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_NETFILTER" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_STATFS64_F_FRSIZE 1
+#define HAVE_DECL_NET_IPV4_NETFILTER $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_TIMESTAMPS" "ac_cv_have_decl_NET_IPV4_TCP_TIMESTAMPS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct statfs64" "f_flags" "ac_cv_member_struct_statfs64_f_flags" "#include <linux/types.h>
-#include <asm/statfs.h>
 "
-if test "x$ac_cv_member_struct_statfs64_f_flags" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_TCP_TIMESTAMPS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_STATFS64_F_FLAGS 1
+#define HAVE_DECL_NET_IPV4_TCP_TIMESTAMPS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_WINDOW_SCALING" "ac_cv_have_decl_NET_IPV4_TCP_WINDOW_SCALING" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct statfs64" "f_fsid.val" "ac_cv_member_struct_statfs64_f_fsid_val" "#include <linux/types.h>
-#include <asm/statfs.h>
 "
-if test "x$ac_cv_member_struct_statfs64_f_fsid_val" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_TCP_WINDOW_SCALING" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_STATFS64_F_FSID_VAL 1
+#define HAVE_DECL_NET_IPV4_TCP_WINDOW_SCALING $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_SACK" "ac_cv_have_decl_NET_IPV4_TCP_SACK" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct statfs64" "f_fsid.__val" "ac_cv_member_struct_statfs64_f_fsid___val" "#include <linux/types.h>
-#include <asm/statfs.h>
 "
-if test "x$ac_cv_member_struct_statfs64_f_fsid___val" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_TCP_SACK" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_STATFS64_F_FSID___VAL 1
+#define HAVE_DECL_NET_IPV4_TCP_SACK $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_RETRANS_COLLAPSE" "ac_cv_have_decl_NET_IPV4_TCP_RETRANS_COLLAPSE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
-
-fi
-
-
-ac_fn_c_check_type "$LINENO" "struct statx" "ac_cv_type_struct_statx" "#include <linux/types.h>
-#include <linux/stat.h>
 "
-if test "x$ac_cv_type_struct_statx" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_TCP_RETRANS_COLLAPSE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_STATX 1
+#define HAVE_DECL_NET_IPV4_TCP_RETRANS_COLLAPSE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_DEFAULT_TTL" "ac_cv_have_decl_NET_IPV4_DEFAULT_TTL" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
-
-ac_fn_c_check_type "$LINENO" "struct blk_user_trace_setup" "ac_cv_type_struct_blk_user_trace_setup" "#include <linux/blktrace_api.h>
 "
-if test "x$ac_cv_type_struct_blk_user_trace_setup" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_DEFAULT_TTL" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BLK_USER_TRACE_SETUP 1
+#define HAVE_DECL_NET_IPV4_DEFAULT_TTL $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_AUTOCONFIG" "ac_cv_have_decl_NET_IPV4_AUTOCONFIG" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
-
-ac_fn_c_check_type "$LINENO" "struct mtd_write_req" "ac_cv_type_struct_mtd_write_req" "#include <mtd/mtd-abi.h>
 "
-if test "x$ac_cv_type_struct_mtd_write_req" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_AUTOCONFIG" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_MTD_WRITE_REQ 1
+#define HAVE_DECL_NET_IPV4_AUTOCONFIG $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_NO_PMTU_DISC" "ac_cv_have_decl_NET_IPV4_NO_PMTU_DISC" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
-
-ac_fn_c_check_member "$LINENO" "struct ubi_attach_req" "max_beb_per1024" "ac_cv_member_struct_ubi_attach_req_max_beb_per1024" "#include <mtd/ubi-user.h>
 "
-if test "x$ac_cv_member_struct_ubi_attach_req_max_beb_per1024" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_NO_PMTU_DISC" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_UBI_ATTACH_REQ_MAX_BEB_PER1024 1
+#define HAVE_DECL_NET_IPV4_NO_PMTU_DISC $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_SYN_RETRIES" "ac_cv_have_decl_NET_IPV4_TCP_SYN_RETRIES" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_TCP_SYN_RETRIES" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_TCP_SYN_RETRIES $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_HIGH_THRESH" "ac_cv_have_decl_NET_IPV4_IPFRAG_HIGH_THRESH" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct ptp_sys_offset" "ac_cv_type_struct_ptp_sys_offset" "#include <linux/ptp_clock.h>
 "
-if test "x$ac_cv_type_struct_ptp_sys_offset" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_HIGH_THRESH" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_PTP_SYS_OFFSET 1
+#define HAVE_DECL_NET_IPV4_IPFRAG_HIGH_THRESH $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_LOW_THRESH" "ac_cv_have_decl_NET_IPV4_IPFRAG_LOW_THRESH" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_LOW_THRESH" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_IPFRAG_LOW_THRESH $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_TIME" "ac_cv_have_decl_NET_IPV4_IPFRAG_TIME" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct kvm_cpuid2" "ac_cv_type_struct_kvm_cpuid2" "#include <linux/kvm.h>
 "
-if test "x$ac_cv_type_struct_kvm_cpuid2" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_TIME" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_KVM_CPUID2 1
+#define HAVE_DECL_NET_IPV4_IPFRAG_TIME $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_MAX_KA_PROBES" "ac_cv_have_decl_NET_IPV4_TCP_MAX_KA_PROBES" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct kvm_regs" "ac_cv_type_struct_kvm_regs" "#include <linux/kvm.h>
 "
-if test "x$ac_cv_type_struct_kvm_regs" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_TCP_MAX_KA_PROBES" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_KVM_REGS 1
+#define HAVE_DECL_NET_IPV4_TCP_MAX_KA_PROBES $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_KEEPALIVE_TIME" "ac_cv_have_decl_NET_IPV4_TCP_KEEPALIVE_TIME" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct kvm_sregs" "ac_cv_type_struct_kvm_sregs" "#include <linux/kvm.h>
 "
-if test "x$ac_cv_type_struct_kvm_sregs" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_TCP_KEEPALIVE_TIME" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_KVM_SREGS 1
+#define HAVE_DECL_NET_IPV4_TCP_KEEPALIVE_TIME $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_KEEPALIVE_PROBES" "ac_cv_have_decl_NET_IPV4_TCP_KEEPALIVE_PROBES" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_type "$LINENO" "struct kvm_userspace_memory_region" "ac_cv_type_struct_kvm_userspace_memory_region" "#include <linux/kvm.h>
 "
-if test "x$ac_cv_type_struct_kvm_userspace_memory_region" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_TCP_KEEPALIVE_PROBES" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_KVM_USERSPACE_MEMORY_REGION 1
+#define HAVE_DECL_NET_IPV4_TCP_KEEPALIVE_PROBES $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_RETRIES1" "ac_cv_have_decl_NET_IPV4_TCP_RETRIES1" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_TCP_RETRIES1" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_TCP_RETRIES1 $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_RETRIES2" "ac_cv_have_decl_NET_IPV4_TCP_RETRIES2" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-saved_CPPFLAGS="$CPPFLAGS"
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <linux/signal.h> can be used along with <signal.h>" >&5
-$as_echo_n "checking whether <linux/signal.h> can be used along with <signal.h>... " >&6; }
-if ${st_cv_linux_signal+:} false; then :
-  $as_echo_n "(cached) " >&6
+"
+if test "x$ac_cv_have_decl_NET_IPV4_TCP_RETRIES2" = xyes; then :
+  ac_have_decl=1
 else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
+  ac_have_decl=0
+fi
 
-#include <signal.h>
-#include <linux/signal.h>
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_TCP_RETRIES2 $ac_have_decl
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  st_cv_linux_signal=yes
-else
-  st_cv_linux_signal=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_linux_signal" >&5
-$as_echo "$st_cv_linux_signal" >&6; }
-if test "x$st_cv_linux_signal" = xno; then
-	mkdir -p linux/linux
-	cp $srcdir/linux/signal.h.in linux/linux/signal.h
-	CPPFLAGS="$CPPFLAGS -Ilinux"
-fi
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_FIN_TIMEOUT" "ac_cv_have_decl_NET_IPV4_TCP_FIN_TIMEOUT" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct __aio_sigset" "ac_cv_type_struct___aio_sigset" "#include <linux/aio_abi.h>
 "
-if test "x$ac_cv_type_struct___aio_sigset" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_TCP_FIN_TIMEOUT" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT___AIO_SIGSET 1
+#define HAVE_DECL_NET_IPV4_TCP_FIN_TIMEOUT $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_IP_MASQ_DEBUG" "ac_cv_have_decl_NET_IPV4_IP_MASQ_DEBUG" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_IP_MASQ_DEBUG" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_IP_MASQ_DEBUG $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_SYNCOOKIES" "ac_cv_have_decl_NET_TCP_SYNCOOKIES" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct iocb" "aio_flags" "ac_cv_member_struct_iocb_aio_flags" "#include <linux/aio_abi.h>
 "
-if test "x$ac_cv_member_struct_iocb_aio_flags" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_SYNCOOKIES" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IOCB_AIO_FLAGS 1
+#define HAVE_DECL_NET_TCP_SYNCOOKIES $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_STDURG" "ac_cv_have_decl_NET_TCP_STDURG" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct iocb" "aio_rw_flags" "ac_cv_member_struct_iocb_aio_rw_flags" "#include <linux/aio_abi.h>
 "
-if test "x$ac_cv_member_struct_iocb_aio_rw_flags" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_STDURG" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IOCB_AIO_RW_FLAGS 1
+#define HAVE_DECL_NET_TCP_STDURG $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_RFC1337" "ac_cv_have_decl_NET_TCP_RFC1337" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
+"
+if test "x$ac_cv_have_decl_NET_TCP_RFC1337" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_TCP_RFC1337 $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_SYN_TAILDROP" "ac_cv_have_decl_NET_TCP_SYN_TAILDROP" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct clone_args" "set_tid_size" "ac_cv_member_struct_clone_args_set_tid_size" "#include <linux/sched.h>
 "
-if test "x$ac_cv_member_struct_clone_args_set_tid_size" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_SYN_TAILDROP" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_CLONE_ARGS_SET_TID_SIZE 1
+#define HAVE_DECL_NET_TCP_SYN_TAILDROP $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_MAX_SYN_BACKLOG" "ac_cv_have_decl_NET_TCP_MAX_SYN_BACKLOG" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
+"
+if test "x$ac_cv_have_decl_NET_TCP_MAX_SYN_BACKLOG" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-
-CPPFLAGS="$saved_CPPFLAGS"
-
-for ac_header in linux/btrfs.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "linux/btrfs.h" "ac_cv_header_linux_btrfs_h" "$ac_includes_default"
-if test "x$ac_cv_header_linux_btrfs_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LINUX_BTRFS_H 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_TCP_MAX_SYN_BACKLOG $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_LOCAL_PORT_RANGE" "ac_cv_have_decl_NET_IPV4_LOCAL_PORT_RANGE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-	ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_feature_flags" "compat_flags" "ac_cv_member_struct_btrfs_ioctl_feature_flags_compat_flags" " #include <stdio.h>
-#include <linux/btrfs.h>
 "
-if test "x$ac_cv_member_struct_btrfs_ioctl_feature_flags_compat_flags" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_LOCAL_PORT_RANGE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BTRFS_IOCTL_FEATURE_FLAGS_COMPAT_FLAGS 1
+#define HAVE_DECL_NET_IPV4_LOCAL_PORT_RANGE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_ECHO_IGNORE_ALL" "ac_cv_have_decl_NET_IPV4_ICMP_ECHO_IGNORE_ALL" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_fs_info_args" "nodesize" "ac_cv_member_struct_btrfs_ioctl_fs_info_args_nodesize" " #include <stdio.h>
-#include <linux/btrfs.h>
 "
-if test "x$ac_cv_member_struct_btrfs_ioctl_fs_info_args_nodesize" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ICMP_ECHO_IGNORE_ALL" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BTRFS_IOCTL_FS_INFO_ARGS_NODESIZE 1
+#define HAVE_DECL_NET_IPV4_ICMP_ECHO_IGNORE_ALL $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS" "ac_cv_have_decl_NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_defrag_range_args" "start" "ac_cv_member_struct_btrfs_ioctl_defrag_range_args_start" " #include <stdio.h>
-#include <linux/btrfs.h>
 "
-if test "x$ac_cv_member_struct_btrfs_ioctl_defrag_range_args_start" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BTRFS_IOCTL_DEFRAG_RANGE_ARGS_START 1
+#define HAVE_DECL_NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_SOURCEQUENCH_RATE" "ac_cv_have_decl_NET_IPV4_ICMP_SOURCEQUENCH_RATE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_search_args_v2" "buf_size" "ac_cv_member_struct_btrfs_ioctl_search_args_v2_buf_size" " #include <stdio.h>
-#include <linux/btrfs.h>
 "
-if test "x$ac_cv_member_struct_btrfs_ioctl_search_args_v2_buf_size" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ICMP_SOURCEQUENCH_RATE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BTRFS_IOCTL_SEARCH_ARGS_V2_BUF_SIZE 1
+#define HAVE_DECL_NET_IPV4_ICMP_SOURCEQUENCH_RATE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_DESTUNREACH_RATE" "ac_cv_have_decl_NET_IPV4_ICMP_DESTUNREACH_RATE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_logical_ino_args" "flags" "ac_cv_member_struct_btrfs_ioctl_logical_ino_args_flags" " #include <stdio.h>
-#include <linux/btrfs.h>
 "
-if test "x$ac_cv_member_struct_btrfs_ioctl_logical_ino_args_flags" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ICMP_DESTUNREACH_RATE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BTRFS_IOCTL_LOGICAL_INO_ARGS_FLAGS 1
+#define HAVE_DECL_NET_IPV4_ICMP_DESTUNREACH_RATE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_TIMEEXCEED_RATE" "ac_cv_have_decl_NET_IPV4_ICMP_TIMEEXCEED_RATE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
-	ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_NONE" "ac_cv_have_decl_BTRFS_COMPRESS_NONE" " #include <stdio.h>
-#include <linux/btrfs.h>
 "
-if test "x$ac_cv_have_decl_BTRFS_COMPRESS_NONE" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ICMP_TIMEEXCEED_RATE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_BTRFS_COMPRESS_NONE $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ICMP_TIMEEXCEED_RATE $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_ZLIB" "ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" " #include <stdio.h>
-#include <linux/btrfs.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_PARAMPROB_RATE" "ac_cv_have_decl_NET_IPV4_ICMP_PARAMPROB_RATE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ICMP_PARAMPROB_RATE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_BTRFS_COMPRESS_ZLIB $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ICMP_PARAMPROB_RATE $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_LZO" "ac_cv_have_decl_BTRFS_COMPRESS_LZO" " #include <stdio.h>
-#include <linux/btrfs.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_ECHOREPLY_RATE" "ac_cv_have_decl_NET_IPV4_ICMP_ECHOREPLY_RATE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_BTRFS_COMPRESS_LZO" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ICMP_ECHOREPLY_RATE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_BTRFS_COMPRESS_LZO $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ICMP_ECHOREPLY_RATE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES" "ac_cv_have_decl_NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
+"
+if test "x$ac_cv_have_decl_NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
-
-
-
-for ac_header in linux/cryptouser.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "linux/cryptouser.h" "ac_cv_header_linux_cryptouser_h" "$ac_includes_default"
-if test "x$ac_cv_header_linux_cryptouser_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LINUX_CRYPTOUSER_H 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_IGMP_MAX_MEMBERSHIPS" "ac_cv_have_decl_NET_IPV4_IGMP_MAX_MEMBERSHIPS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-ac_fn_c_check_type "$LINENO" "struct crypto_user_alg" "ac_cv_type_struct_crypto_user_alg" "$ac_includes_default
-#include <linux/cryptouser.h>
 "
-if test "x$ac_cv_type_struct_crypto_user_alg" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_IGMP_MAX_MEMBERSHIPS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_CRYPTO_USER_ALG 1
+#define HAVE_DECL_NET_IPV4_IGMP_MAX_MEMBERSHIPS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_TW_RECYCLE" "ac_cv_have_decl_NET_TCP_TW_RECYCLE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct crypto_user_alg" "cru_flags" "ac_cv_member_struct_crypto_user_alg_cru_flags" "$ac_includes_default
-#include <linux/cryptouser.h>
 "
-if test "x$ac_cv_member_struct_crypto_user_alg_cru_flags" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_TW_RECYCLE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_CRYPTO_USER_ALG_CRU_FLAGS 1
+#define HAVE_DECL_NET_TCP_TW_RECYCLE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ALWAYS_DEFRAG" "ac_cv_have_decl_NET_IPV4_ALWAYS_DEFRAG" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_ALWAYS_DEFRAG" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_ALWAYS_DEFRAG $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_KEEPALIVE_INTVL" "ac_cv_have_decl_NET_IPV4_TCP_KEEPALIVE_INTVL" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct crypto_report_hash" "ac_cv_type_struct_crypto_report_hash" "$ac_includes_default
-#include <linux/cryptouser.h>
 "
-if test "x$ac_cv_type_struct_crypto_report_hash" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_TCP_KEEPALIVE_INTVL" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_CRYPTO_REPORT_HASH 1
+#define HAVE_DECL_NET_IPV4_TCP_KEEPALIVE_INTVL $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_INET_PEER_THRESHOLD" "ac_cv_have_decl_NET_IPV4_INET_PEER_THRESHOLD" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct crypto_report_hash" "digestsize" "ac_cv_member_struct_crypto_report_hash_digestsize" "$ac_includes_default
-#include <linux/cryptouser.h>
 "
-if test "x$ac_cv_member_struct_crypto_report_hash_digestsize" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_INET_PEER_THRESHOLD" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_CRYPTO_REPORT_HASH_DIGESTSIZE 1
+#define HAVE_DECL_NET_IPV4_INET_PEER_THRESHOLD $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_INET_PEER_MINTTL" "ac_cv_have_decl_NET_IPV4_INET_PEER_MINTTL" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_INET_PEER_MINTTL" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_INET_PEER_MINTTL $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_INET_PEER_MAXTTL" "ac_cv_have_decl_NET_IPV4_INET_PEER_MAXTTL" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct crypto_report_cipher" "ac_cv_type_struct_crypto_report_cipher" "$ac_includes_default
-#include <linux/cryptouser.h>
 "
-if test "x$ac_cv_type_struct_crypto_report_cipher" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_INET_PEER_MAXTTL" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_CRYPTO_REPORT_CIPHER 1
+#define HAVE_DECL_NET_IPV4_INET_PEER_MAXTTL $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_INET_PEER_GC_MINTIME" "ac_cv_have_decl_NET_IPV4_INET_PEER_GC_MINTIME" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct crypto_report_cipher" "max_keysize" "ac_cv_member_struct_crypto_report_cipher_max_keysize" "$ac_includes_default
-#include <linux/cryptouser.h>
 "
-if test "x$ac_cv_member_struct_crypto_report_cipher_max_keysize" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_INET_PEER_GC_MINTIME" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_CRYPTO_REPORT_CIPHER_MAX_KEYSIZE 1
+#define HAVE_DECL_NET_IPV4_INET_PEER_GC_MINTIME $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_INET_PEER_GC_MAXTIME" "ac_cv_have_decl_NET_IPV4_INET_PEER_GC_MAXTIME" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_INET_PEER_GC_MAXTIME" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_INET_PEER_GC_MAXTIME $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_ORPHAN_RETRIES" "ac_cv_have_decl_NET_TCP_ORPHAN_RETRIES" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct crypto_report_blkcipher" "ac_cv_type_struct_crypto_report_blkcipher" "$ac_includes_default
-#include <linux/cryptouser.h>
 "
-if test "x$ac_cv_type_struct_crypto_report_blkcipher" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_ORPHAN_RETRIES" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_CRYPTO_REPORT_BLKCIPHER 1
+#define HAVE_DECL_NET_TCP_ORPHAN_RETRIES $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_ABORT_ON_OVERFLOW" "ac_cv_have_decl_NET_TCP_ABORT_ON_OVERFLOW" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct crypto_report_blkcipher" "ivsize" "ac_cv_member_struct_crypto_report_blkcipher_ivsize" "$ac_includes_default
-#include <linux/cryptouser.h>
 "
-if test "x$ac_cv_member_struct_crypto_report_blkcipher_ivsize" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_ABORT_ON_OVERFLOW" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_CRYPTO_REPORT_BLKCIPHER_IVSIZE 1
+#define HAVE_DECL_NET_TCP_ABORT_ON_OVERFLOW $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_SYNACK_RETRIES" "ac_cv_have_decl_NET_TCP_SYNACK_RETRIES" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_TCP_SYNACK_RETRIES" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_TCP_SYNACK_RETRIES $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_MAX_ORPHANS" "ac_cv_have_decl_NET_TCP_MAX_ORPHANS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct crypto_report_aead" "ac_cv_type_struct_crypto_report_aead" "$ac_includes_default
-#include <linux/cryptouser.h>
 "
-if test "x$ac_cv_type_struct_crypto_report_aead" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_MAX_ORPHANS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_CRYPTO_REPORT_AEAD 1
+#define HAVE_DECL_NET_TCP_MAX_ORPHANS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_MAX_TW_BUCKETS" "ac_cv_have_decl_NET_TCP_MAX_TW_BUCKETS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct crypto_report_aead" "ivsize" "ac_cv_member_struct_crypto_report_aead_ivsize" "$ac_includes_default
-#include <linux/cryptouser.h>
 "
-if test "x$ac_cv_member_struct_crypto_report_aead_ivsize" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_MAX_TW_BUCKETS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_CRYPTO_REPORT_AEAD_IVSIZE 1
+#define HAVE_DECL_NET_TCP_MAX_TW_BUCKETS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_FACK" "ac_cv_have_decl_NET_TCP_FACK" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_TCP_FACK" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_TCP_FACK $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_REORDERING" "ac_cv_have_decl_NET_TCP_REORDERING" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct crypto_report_rng" "ac_cv_type_struct_crypto_report_rng" "$ac_includes_default
-#include <linux/cryptouser.h>
 "
-if test "x$ac_cv_type_struct_crypto_report_rng" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_REORDERING" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_CRYPTO_REPORT_RNG 1
+#define HAVE_DECL_NET_TCP_REORDERING $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_ECN" "ac_cv_have_decl_NET_TCP_ECN" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct crypto_report_rng" "seedsize" "ac_cv_member_struct_crypto_report_rng_seedsize" "$ac_includes_default
-#include <linux/cryptouser.h>
 "
-if test "x$ac_cv_member_struct_crypto_report_rng_seedsize" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_ECN" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_CRYPTO_REPORT_RNG_SEEDSIZE 1
+#define HAVE_DECL_NET_TCP_ECN $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_DSACK" "ac_cv_have_decl_NET_TCP_DSACK" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_TCP_DSACK" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_TCP_DSACK $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_MEM" "ac_cv_have_decl_NET_TCP_MEM" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
+"
+if test "x$ac_cv_have_decl_NET_TCP_MEM" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
-
-for ac_header in linux/input.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
-if test "x$ac_cv_header_linux_input_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LINUX_INPUT_H 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_TCP_MEM $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_WMEM" "ac_cv_have_decl_NET_TCP_WMEM" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-ac_fn_c_check_type "$LINENO" "struct input_absinfo" "ac_cv_type_struct_input_absinfo" "$ac_includes_default
-#include <linux/input.h>
 "
-if test "x$ac_cv_type_struct_input_absinfo" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_WMEM" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_INPUT_ABSINFO 1
+#define HAVE_DECL_NET_TCP_WMEM $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_RMEM" "ac_cv_have_decl_NET_TCP_RMEM" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct input_absinfo" "resolution" "ac_cv_member_struct_input_absinfo_resolution" "$ac_includes_default
-#include <linux/input.h>
 "
-if test "x$ac_cv_member_struct_input_absinfo_resolution" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_RMEM" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_INPUT_ABSINFO_RESOLUTION 1
+#define HAVE_DECL_NET_TCP_RMEM $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_APP_WIN" "ac_cv_have_decl_NET_TCP_APP_WIN" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_TCP_APP_WIN" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_TCP_APP_WIN $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_ADV_WIN_SCALE" "ac_cv_have_decl_NET_TCP_ADV_WIN_SCALE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct input_keymap_entry" "ac_cv_type_struct_input_keymap_entry" "$ac_includes_default
-#include <linux/input.h>
 "
-if test "x$ac_cv_type_struct_input_keymap_entry" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_ADV_WIN_SCALE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_INPUT_KEYMAP_ENTRY 1
+#define HAVE_DECL_NET_TCP_ADV_WIN_SCALE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_NONLOCAL_BIND" "ac_cv_have_decl_NET_IPV4_NONLOCAL_BIND" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct input_keymap_entry" "scancode" "ac_cv_member_struct_input_keymap_entry_scancode" "$ac_includes_default
-#include <linux/input.h>
 "
-if test "x$ac_cv_member_struct_input_keymap_entry_scancode" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_NONLOCAL_BIND" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_INPUT_KEYMAP_ENTRY_SCANCODE 1
+#define HAVE_DECL_NET_IPV4_NONLOCAL_BIND $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_RATELIMIT" "ac_cv_have_decl_NET_IPV4_ICMP_RATELIMIT" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_ICMP_RATELIMIT" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_ICMP_RATELIMIT $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_RATEMASK" "ac_cv_have_decl_NET_IPV4_ICMP_RATEMASK" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct input_mask" "ac_cv_type_struct_input_mask" "$ac_includes_default
-#include <linux/input.h>
 "
-if test "x$ac_cv_type_struct_input_mask" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ICMP_RATEMASK" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_INPUT_MASK 1
+#define HAVE_DECL_NET_IPV4_ICMP_RATEMASK $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_TW_REUSE" "ac_cv_have_decl_NET_TCP_TW_REUSE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct input_mask" "codes_ptr" "ac_cv_member_struct_input_mask_codes_ptr" "$ac_includes_default
-#include <linux/input.h>
 "
-if test "x$ac_cv_member_struct_input_mask_codes_ptr" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_TW_REUSE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_INPUT_MASK_CODES_PTR 1
+#define HAVE_DECL_NET_TCP_TW_REUSE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_FRTO" "ac_cv_have_decl_NET_TCP_FRTO" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
-fi
-
-
+"
+if test "x$ac_cv_have_decl_NET_TCP_FRTO" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
-
-for ac_header in linux/io_uring.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "linux/io_uring.h" "ac_cv_header_linux_io_uring_h" "$ac_includes_default"
-if test "x$ac_cv_header_linux_io_uring_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LINUX_IO_URING_H 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_TCP_FRTO $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_LOW_LATENCY" "ac_cv_have_decl_NET_TCP_LOW_LATENCY" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-ac_fn_c_check_type "$LINENO" "struct io_sqring_offsets" "ac_cv_type_struct_io_sqring_offsets" "$ac_includes_default
-#include <linux/io_uring.h>
 "
-if test "x$ac_cv_type_struct_io_sqring_offsets" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_LOW_LATENCY" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IO_SQRING_OFFSETS 1
+#define HAVE_DECL_NET_TCP_LOW_LATENCY $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_SECRET_INTERVAL" "ac_cv_have_decl_NET_IPV4_IPFRAG_SECRET_INTERVAL" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct io_sqring_offsets" "resv2" "ac_cv_member_struct_io_sqring_offsets_resv2" "$ac_includes_default
-#include <linux/io_uring.h>
 "
-if test "x$ac_cv_member_struct_io_sqring_offsets_resv2" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_SECRET_INTERVAL" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IO_SQRING_OFFSETS_RESV2 1
+#define HAVE_DECL_NET_IPV4_IPFRAG_SECRET_INTERVAL $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_IGMP_MAX_MSF" "ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_IGMP_MAX_MSF $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_NO_METRICS_SAVE" "ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct io_cqring_offsets" "ac_cv_type_struct_io_cqring_offsets" "$ac_includes_default
-#include <linux/io_uring.h>
 "
-if test "x$ac_cv_type_struct_io_cqring_offsets" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IO_CQRING_OFFSETS 1
+#define HAVE_DECL_NET_TCP_NO_METRICS_SAVE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_DEFAULT_WIN_SCALE" "ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct io_cqring_offsets" "resv" "ac_cv_member_struct_io_cqring_offsets_resv" "$ac_includes_default
-#include <linux/io_uring.h>
 "
-if test "x$ac_cv_member_struct_io_cqring_offsets_resv" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IO_CQRING_OFFSETS_RESV 1
+#define HAVE_DECL_NET_TCP_DEFAULT_WIN_SCALE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_MODERATE_RCVBUF" "ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_TCP_MODERATE_RCVBUF $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_TSO_WIN_DIVISOR" "ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct io_uring_params" "ac_cv_type_struct_io_uring_params" "$ac_includes_default
-#include <linux/io_uring.h>
 "
-if test "x$ac_cv_type_struct_io_uring_params" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IO_URING_PARAMS 1
+#define HAVE_DECL_NET_TCP_TSO_WIN_DIVISOR $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_BIC_BETA" "ac_cv_have_decl_NET_TCP_BIC_BETA" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct io_uring_params" "cq_off" "ac_cv_member_struct_io_uring_params_cq_off" "$ac_includes_default
-#include <linux/io_uring.h>
 "
-if test "x$ac_cv_member_struct_io_uring_params_cq_off" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_BIC_BETA" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IO_URING_PARAMS_CQ_OFF 1
+#define HAVE_DECL_NET_TCP_BIC_BETA $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" "ac_cv_have_decl_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_CONG_CONTROL" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct io_uring_files_update" "ac_cv_type_struct_io_uring_files_update" "$ac_includes_default
-#include <linux/io_uring.h>
 "
-if test "x$ac_cv_type_struct_io_uring_files_update" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_CONG_CONTROL" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IO_URING_FILES_UPDATE 1
+#define HAVE_DECL_NET_TCP_CONG_CONTROL $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_ABC" "ac_cv_have_decl_NET_TCP_ABC" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct io_uring_files_update" "fds" "ac_cv_member_struct_io_uring_files_update_fds" "$ac_includes_default
-#include <linux/io_uring.h>
 "
-if test "x$ac_cv_member_struct_io_uring_files_update_fds" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_ABC" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IO_URING_FILES_UPDATE_FDS 1
+#define HAVE_DECL_NET_TCP_ABC $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_MAX_DIST" "ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_IPFRAG_MAX_DIST $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_MTU_PROBING" "ac_cv_have_decl_NET_TCP_MTU_PROBING" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
+"
+if test "x$ac_cv_have_decl_NET_TCP_MTU_PROBING" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
-
-for ac_header in linux/rtnetlink.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "$ac_includes_default"
-if test "x$ac_cv_header_linux_rtnetlink_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LINUX_RTNETLINK_H 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_TCP_MTU_PROBING $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_BASE_MSS" "ac_cv_have_decl_NET_TCP_BASE_MSS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-ac_fn_c_check_type "$LINENO" "struct rtnl_link_stats" "ac_cv_type_struct_rtnl_link_stats" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_type_struct_rtnl_link_stats" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_BASE_MSS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_RTNL_LINK_STATS 1
+#define HAVE_DECL_NET_TCP_BASE_MSS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" "ac_cv_have_decl_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct rtnl_link_stats" "rx_nohandler" "ac_cv_member_struct_rtnl_link_stats_rx_nohandler" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_member_struct_rtnl_link_stats_rx_nohandler" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_RTNL_LINK_STATS_RX_NOHANDLER 1
+#define HAVE_DECL_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_DMA_COPYBREAK" "ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_TCP_DMA_COPYBREAK $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_SLOW_START_AFTER_IDLE" "ac_cv_have_decl_NET_TCP_SLOW_START_AFTER_IDLE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct rtnl_link_stats64" "ac_cv_type_struct_rtnl_link_stats64" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_type_struct_rtnl_link_stats64" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_SLOW_START_AFTER_IDLE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_RTNL_LINK_STATS64 1
+#define HAVE_DECL_NET_TCP_SLOW_START_AFTER_IDLE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_ENABLE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct rtnl_link_stats64" "rx_nohandler" "ac_cv_member_struct_rtnl_link_stats64_rx_nohandler" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_member_struct_rtnl_link_stats64_rx_nohandler" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_RTNL_LINK_STATS64_RX_NOHANDLER 1
+#define HAVE_DECL_NET_CIPSOV4_CACHE_ENABLE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_BUCKET_SIZE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_CIPSOV4_CACHE_BUCKET_SIZE $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_OPTFMT" "ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct ifla_bridge_id" "ac_cv_type_struct_ifla_bridge_id" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_type_struct_ifla_bridge_id" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IFLA_BRIDGE_ID 1
+#define HAVE_DECL_NET_CIPSOV4_RBM_OPTFMT $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_STRICTVALID" "ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct ifla_bridge_id" "addr" "ac_cv_member_struct_ifla_bridge_id_addr" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_member_struct_ifla_bridge_id_addr" = xyes; then :
+if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IFLA_BRIDGE_ID_ADDR 1
+#define HAVE_DECL_NET_CIPSOV4_RBM_STRICTVALID $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_AVAIL_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
+"
+if test "x$ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_TCP_AVAIL_CONG_CONTROL $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_ALLOWED_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
+"
+if test "x$ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_TCP_ALLOWED_CONG_CONTROL $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_MAX_SSTHRESH" "ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct ifla_port_vsi" "ac_cv_type_struct_ifla_port_vsi" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_type_struct_ifla_port_vsi" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IFLA_PORT_VSI 1
+#define HAVE_DECL_NET_TCP_MAX_SSTHRESH $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_TCP_FRTO_RESPONSE" "ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct ifla_port_vsi" "pad" "ac_cv_member_struct_ifla_port_vsi_pad" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_member_struct_ifla_port_vsi_pad" = xyes; then :
+if test "x$ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_IFLA_PORT_VSI_PAD 1
+#define HAVE_DECL_NET_TCP_FRTO_RESPONSE $ac_have_decl
 _ACEOF
 
 
-fi
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_FORWARDING" "ac_cv_have_decl_NET_IPV4_CONF_FORWARDING" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
+"
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_FORWARDING" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_CONF_FORWARDING $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_MC_FORWARDING" "ac_cv_have_decl_NET_IPV4_CONF_MC_FORWARDING" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
+"
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_MC_FORWARDING" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
-
-for ac_header in linux/if_bridge.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "linux/if_bridge.h" "ac_cv_header_linux_if_bridge_h" "$ac_includes_default"
-if test "x$ac_cv_header_linux_if_bridge_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LINUX_IF_BRIDGE_H 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_CONF_MC_FORWARDING $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_PROXY_ARP" "ac_cv_have_decl_NET_IPV4_CONF_PROXY_ARP" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-ac_fn_c_check_type "$LINENO" "struct br_port_msg" "ac_cv_type_struct_br_port_msg" "$ac_includes_default
-#include <netinet/in.h>
-#include <linux/if_bridge.h>
 "
-if test "x$ac_cv_type_struct_br_port_msg" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_PROXY_ARP" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BR_PORT_MSG 1
+#define HAVE_DECL_NET_IPV4_CONF_PROXY_ARP $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ACCEPT_REDIRECTS" "ac_cv_have_decl_NET_IPV4_CONF_ACCEPT_REDIRECTS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct br_port_msg" "ifindex" "ac_cv_member_struct_br_port_msg_ifindex" "$ac_includes_default
-#include <netinet/in.h>
-#include <linux/if_bridge.h>
 "
-if test "x$ac_cv_member_struct_br_port_msg_ifindex" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_ACCEPT_REDIRECTS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BR_PORT_MSG_IFINDEX 1
+#define HAVE_DECL_NET_IPV4_CONF_ACCEPT_REDIRECTS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_SECURE_REDIRECTS" "ac_cv_have_decl_NET_IPV4_CONF_SECURE_REDIRECTS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_SECURE_REDIRECTS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_CONF_SECURE_REDIRECTS $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_SEND_REDIRECTS" "ac_cv_have_decl_NET_IPV4_CONF_SEND_REDIRECTS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct br_mdb_entry" "ac_cv_type_struct_br_mdb_entry" "$ac_includes_default
-#include <netinet/in.h>
-#include <linux/if_bridge.h>
 "
-if test "x$ac_cv_type_struct_br_mdb_entry" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_SEND_REDIRECTS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BR_MDB_ENTRY 1
+#define HAVE_DECL_NET_IPV4_CONF_SEND_REDIRECTS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_SHARED_MEDIA" "ac_cv_have_decl_NET_IPV4_CONF_SHARED_MEDIA" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct br_mdb_entry" "addr" "ac_cv_member_struct_br_mdb_entry_addr" "$ac_includes_default
-#include <netinet/in.h>
-#include <linux/if_bridge.h>
 "
-if test "x$ac_cv_member_struct_br_mdb_entry_addr" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_SHARED_MEDIA" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_BR_MDB_ENTRY_ADDR 1
+#define HAVE_DECL_NET_IPV4_CONF_SHARED_MEDIA $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_RP_FILTER" "ac_cv_have_decl_NET_IPV4_CONF_RP_FILTER" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_RP_FILTER" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_CONF_RP_FILTER $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE" "ac_cv_have_decl_NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
+"
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
-
-for ac_header in linux/rtnetlink.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "$ac_includes_default"
-if test "x$ac_cv_header_linux_rtnetlink_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LINUX_RTNETLINK_H 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_BOOTP_RELAY" "ac_cv_have_decl_NET_IPV4_CONF_BOOTP_RELAY" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-ac_fn_c_check_type "$LINENO" "struct ndt_config" "ac_cv_type_struct_ndt_config" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_type_struct_ndt_config" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_BOOTP_RELAY" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_NDT_CONFIG 1
+#define HAVE_DECL_NET_IPV4_CONF_BOOTP_RELAY $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_LOG_MARTIANS" "ac_cv_have_decl_NET_IPV4_CONF_LOG_MARTIANS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct ndt_config" "ndtc_proxy_qlen" "ac_cv_member_struct_ndt_config_ndtc_proxy_qlen" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_member_struct_ndt_config_ndtc_proxy_qlen" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_LOG_MARTIANS" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_NDT_CONFIG_NDTC_PROXY_QLEN 1
+#define HAVE_DECL_NET_IPV4_CONF_LOG_MARTIANS $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_TAG" "ac_cv_have_decl_NET_IPV4_CONF_TAG" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_TAG" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_CONF_TAG $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARPFILTER" "ac_cv_have_decl_NET_IPV4_CONF_ARPFILTER" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
+"
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARPFILTER" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_CONF_ARPFILTER $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_MEDIUM_ID" "ac_cv_have_decl_NET_IPV4_CONF_MEDIUM_ID" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct ndt_stats" "ac_cv_type_struct_ndt_stats" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_type_struct_ndt_stats" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_MEDIUM_ID" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_NDT_STATS 1
+#define HAVE_DECL_NET_IPV4_CONF_MEDIUM_ID $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_NOXFRM" "ac_cv_have_decl_NET_IPV4_CONF_NOXFRM" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct ndt_stats" "ndts_table_fulls" "ac_cv_member_struct_ndt_stats_ndts_table_fulls" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_member_struct_ndt_stats_ndts_table_fulls" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_NOXFRM" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_NDT_STATS_NDTS_TABLE_FULLS 1
+#define HAVE_DECL_NET_IPV4_CONF_NOXFRM $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_NOPOLICY" "ac_cv_have_decl_NET_IPV4_CONF_NOPOLICY" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_NOPOLICY" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_CONF_NOPOLICY $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_FORCE_IGMP_VERSION" "ac_cv_have_decl_NET_IPV4_CONF_FORCE_IGMP_VERSION" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
+"
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_FORCE_IGMP_VERSION" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
-
-for ac_header in linux/rtnetlink.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "$ac_includes_default"
-if test "x$ac_cv_header_linux_rtnetlink_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LINUX_RTNETLINK_H 1
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_CONF_FORCE_IGMP_VERSION $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ANNOUNCE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-ac_fn_c_check_type "$LINENO" "struct rta_mfc_stats" "ac_cv_type_struct_rta_mfc_stats" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_type_struct_rta_mfc_stats" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_RTA_MFC_STATS 1
+#define HAVE_DECL_NET_IPV4_CONF_ARP_ANNOUNCE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_IGNORE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct rta_mfc_stats" "mfcs_wrong_if" "ac_cv_member_struct_rta_mfc_stats_mfcs_wrong_if" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_member_struct_rta_mfc_stats_mfcs_wrong_if" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_RTA_MFC_STATS_MFCS_WRONG_IF 1
+#define HAVE_DECL_NET_IPV4_CONF_ARP_IGNORE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_PROMOTE_SECONDARIES" "ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-fi
-
+"
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_CONF_PROMOTE_SECONDARIES $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ACCEPT" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_type "$LINENO" "struct rtvia" "ac_cv_type_struct_rtvia" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_type_struct_rtvia" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_RTVIA 1
+#define HAVE_DECL_NET_IPV4_CONF_ARP_ACCEPT $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_NOTIFY" "ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_member "$LINENO" "struct rtvia" "rtvia_addr" "ac_cv_member_struct_rtvia_rtvia_addr" "$ac_includes_default
-#include \"$srcdir/netlink.h\"
-#include <linux/rtnetlink.h>
 "
-if test "x$ac_cv_member_struct_rtvia_rtvia_addr" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_RTVIA_RTVIA_ADDR 1
+#define HAVE_DECL_NET_IPV4_CONF_ARP_NOTIFY $ac_have_decl
 _ACEOF
 
 
-fi
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_FLUSH" "ac_cv_have_decl_NET_IPV4_ROUTE_FLUSH" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
+"
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_FLUSH" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_ROUTE_FLUSH $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_MIN_DELAY" "ac_cv_have_decl_NET_IPV4_ROUTE_MIN_DELAY" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
+"
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_MIN_DELAY" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
 
-done
-
-
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV4_ROUTE_MIN_DELAY $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_MAX_DELAY" "ac_cv_have_decl_NET_IPV4_ROUTE_MAX_DELAY" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_decl "$LINENO" "sys_errlist" "ac_cv_have_decl_sys_errlist" "$ac_includes_default"
-if test "x$ac_cv_have_decl_sys_errlist" = xyes; then :
+"
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_MAX_DELAY" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_SYS_ERRLIST $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_MAX_DELAY $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_GC_THRESH" "ac_cv_have_decl_NET_IPV4_ROUTE_GC_THRESH" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-ac_fn_c_check_decl "$LINENO" "PTRACE_PEEKUSER" "ac_cv_have_decl_PTRACE_PEEKUSER" "#include <sys/ptrace.h>
 "
-if test "x$ac_cv_have_decl_PTRACE_PEEKUSER" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_THRESH" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_PTRACE_PEEKUSER $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_GC_THRESH $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "PTRACE_POKEUSER" "ac_cv_have_decl_PTRACE_POKEUSER" "#include <sys/ptrace.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_MAX_SIZE" "ac_cv_have_decl_NET_IPV4_ROUTE_MAX_SIZE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_PTRACE_POKEUSER" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_MAX_SIZE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_PTRACE_POKEUSER $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_MAX_SIZE $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_GC_MIN_INTERVAL" "ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-ac_fn_c_check_decl "$LINENO" "P_PID" "ac_cv_have_decl_P_PID" "#include <sys/wait.h>
 "
-if test "x$ac_cv_have_decl_P_PID" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_P_PID $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "P_PPID" "ac_cv_have_decl_P_PPID" "#include <sys/wait.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_GC_TIMEOUT" "ac_cv_have_decl_NET_IPV4_ROUTE_GC_TIMEOUT" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_P_PPID" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_TIMEOUT" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_P_PPID $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_GC_TIMEOUT $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "P_PGID" "ac_cv_have_decl_P_PGID" "#include <sys/wait.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_GC_INTERVAL" "ac_cv_have_decl_NET_IPV4_ROUTE_GC_INTERVAL" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_P_PGID" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_INTERVAL" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_P_PGID $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_GC_INTERVAL $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "P_SID" "ac_cv_have_decl_P_SID" "#include <sys/wait.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_REDIRECT_LOAD" "ac_cv_have_decl_NET_IPV4_ROUTE_REDIRECT_LOAD" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_P_SID" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_REDIRECT_LOAD" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_P_SID $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_REDIRECT_LOAD $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "P_CID" "ac_cv_have_decl_P_CID" "#include <sys/wait.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_REDIRECT_NUMBER" "ac_cv_have_decl_NET_IPV4_ROUTE_REDIRECT_NUMBER" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_P_CID" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_REDIRECT_NUMBER" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_P_CID $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_REDIRECT_NUMBER $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "P_UID" "ac_cv_have_decl_P_UID" "#include <sys/wait.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_REDIRECT_SILENCE" "ac_cv_have_decl_NET_IPV4_ROUTE_REDIRECT_SILENCE" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_P_UID" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_REDIRECT_SILENCE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_P_UID $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_REDIRECT_SILENCE $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "P_GID" "ac_cv_have_decl_P_GID" "#include <sys/wait.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_ERROR_COST" "ac_cv_have_decl_NET_IPV4_ROUTE_ERROR_COST" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_P_GID" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_ERROR_COST" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_P_GID $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_ERROR_COST $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "P_ALL" "ac_cv_have_decl_P_ALL" "#include <sys/wait.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_ERROR_BURST" "ac_cv_have_decl_NET_IPV4_ROUTE_ERROR_BURST" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_P_ALL" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_ERROR_BURST" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_P_ALL $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_ERROR_BURST $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "P_LWPID" "ac_cv_have_decl_P_LWPID" "#include <sys/wait.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_GC_ELASTICITY" "ac_cv_have_decl_NET_IPV4_ROUTE_GC_ELASTICITY" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_P_LWPID" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_ELASTICITY" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_P_LWPID $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_GC_ELASTICITY $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_MTU_EXPIRES" "ac_cv_have_decl_NET_IPV4_ROUTE_MTU_EXPIRES" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
 
-
-ac_fn_c_check_decl "$LINENO" "LO_FLAGS_READ_ONLY" "ac_cv_have_decl_LO_FLAGS_READ_ONLY" "#include <linux/loop.h>
 "
-if test "x$ac_cv_have_decl_LO_FLAGS_READ_ONLY" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_MTU_EXPIRES" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_LO_FLAGS_READ_ONLY $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_MTU_EXPIRES $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "LO_FLAGS_USE_AOPS" "ac_cv_have_decl_LO_FLAGS_USE_AOPS" "#include <linux/loop.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_MIN_PMTU" "ac_cv_have_decl_NET_IPV4_ROUTE_MIN_PMTU" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_LO_FLAGS_USE_AOPS" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_MIN_PMTU" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_LO_FLAGS_USE_AOPS $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_MIN_PMTU $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "LO_FLAGS_AUTOCLEAR" "ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" "#include <linux/loop.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_MIN_ADVMSS" "ac_cv_have_decl_NET_IPV4_ROUTE_MIN_ADVMSS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_MIN_ADVMSS" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_LO_FLAGS_AUTOCLEAR $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_MIN_ADVMSS $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "LO_FLAGS_PARTSCAN" "ac_cv_have_decl_LO_FLAGS_PARTSCAN" "#include <linux/loop.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_SECRET_INTERVAL" "ac_cv_have_decl_NET_IPV4_ROUTE_SECRET_INTERVAL" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_LO_FLAGS_PARTSCAN" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_SECRET_INTERVAL" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_LO_FLAGS_PARTSCAN $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_SECRET_INTERVAL $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "LO_FLAGS_DIRECT_IO" "ac_cv_have_decl_LO_FLAGS_DIRECT_IO" "#include <linux/loop.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" "ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_LO_FLAGS_DIRECT_IO" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_LO_FLAGS_DIRECT_IO $ac_have_decl
+#define HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl
 _ACEOF
 
 
-ac_fn_c_check_decl "$LINENO" "CTL_PROC" "ac_cv_have_decl_CTL_PROC" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_CONF" "ac_cv_have_decl_NET_IPV6_CONF" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_CTL_PROC" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_CONF" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_CTL_PROC $ac_have_decl
+#define HAVE_DECL_NET_IPV6_CONF $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "CTL_ARLAN" "ac_cv_have_decl_CTL_ARLAN" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_NEIGH" "ac_cv_have_decl_NET_IPV6_NEIGH" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_CTL_ARLAN" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_NEIGH" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_CTL_ARLAN $ac_have_decl
+#define HAVE_DECL_NET_IPV6_NEIGH $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "CTL_S390DBF" "ac_cv_have_decl_CTL_S390DBF" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE" "ac_cv_have_decl_NET_IPV6_ROUTE" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_CTL_S390DBF" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_ROUTE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_CTL_S390DBF $ac_have_decl
+#define HAVE_DECL_NET_IPV6_ROUTE $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "CTL_SUNRPC" "ac_cv_have_decl_CTL_SUNRPC" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_ICMP" "ac_cv_have_decl_NET_IPV6_ICMP" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_CTL_SUNRPC" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_ICMP" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_CTL_SUNRPC $ac_have_decl
+#define HAVE_DECL_NET_IPV6_ICMP $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "CTL_PM" "ac_cv_have_decl_CTL_PM" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_BINDV6ONLY" "ac_cv_have_decl_NET_IPV6_BINDV6ONLY" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_CTL_PM" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_BINDV6ONLY" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_CTL_PM $ac_have_decl
+#define HAVE_DECL_NET_IPV6_BINDV6ONLY $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "CTL_FRV" "ac_cv_have_decl_CTL_FRV" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_IP6FRAG_HIGH_THRESH" "ac_cv_have_decl_NET_IPV6_IP6FRAG_HIGH_THRESH" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_CTL_FRV" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_IP6FRAG_HIGH_THRESH" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_CTL_FRV $ac_have_decl
+#define HAVE_DECL_NET_IPV6_IP6FRAG_HIGH_THRESH $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_IP6FRAG_LOW_THRESH" "ac_cv_have_decl_NET_IPV6_IP6FRAG_LOW_THRESH" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_IP6FRAG_LOW_THRESH" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_PRINTK_RATELIMIT $ac_have_decl
+#define HAVE_DECL_NET_IPV6_IP6FRAG_LOW_THRESH $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_IP6FRAG_TIME" "ac_cv_have_decl_NET_IPV6_IP6FRAG_TIME" "
+#include <sys/types.h>
+#include <linux/sysctl.h>
+
+"
+if test "x$ac_cv_have_decl_NET_IPV6_IP6FRAG_TIME" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_NET_IPV6_IP6FRAG_TIME $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT_BURST" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_IP6FRAG_SECRET_INTERVAL" "ac_cv_have_decl_NET_IPV6_IP6FRAG_SECRET_INTERVAL" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_IP6FRAG_SECRET_INTERVAL" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_PRINTK_RATELIMIT_BURST $ac_have_decl
+#define HAVE_DECL_NET_IPV6_IP6FRAG_SECRET_INTERVAL $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_PTY" "ac_cv_have_decl_KERN_PTY" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_MLD_MAX_MSF" "ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_PTY" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_PTY $ac_have_decl
+#define HAVE_DECL_NET_IPV6_MLD_MAX_MSF $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_NGROUPS_MAX" "ac_cv_have_decl_KERN_NGROUPS_MAX" "#include <sys/types.h>
+
+
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_FLUSH" "ac_cv_have_decl_NET_IPV6_ROUTE_FLUSH" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_NGROUPS_MAX" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_FLUSH" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_NGROUPS_MAX $ac_have_decl
+#define HAVE_DECL_NET_IPV6_ROUTE_FLUSH $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_SPARC_SCONS_PWROFF" "ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_GC_THRESH" "ac_cv_have_decl_NET_IPV6_ROUTE_GC_THRESH" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_THRESH" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_SPARC_SCONS_PWROFF $ac_have_decl
+#define HAVE_DECL_NET_IPV6_ROUTE_GC_THRESH $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_HZ_TIMER" "ac_cv_have_decl_KERN_HZ_TIMER" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_MAX_SIZE" "ac_cv_have_decl_NET_IPV6_ROUTE_MAX_SIZE" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_HZ_TIMER" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_MAX_SIZE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_HZ_TIMER $ac_have_decl
+#define HAVE_DECL_NET_IPV6_ROUTE_MAX_SIZE $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_UNKNOWN_NMI_PANIC" "ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_GC_MIN_INTERVAL" "ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_UNKNOWN_NMI_PANIC $ac_have_decl
+#define HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_BOOTLOADER_TYPE" "ac_cv_have_decl_KERN_BOOTLOADER_TYPE" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_GC_TIMEOUT" "ac_cv_have_decl_NET_IPV6_ROUTE_GC_TIMEOUT" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_BOOTLOADER_TYPE" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_TIMEOUT" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_BOOTLOADER_TYPE $ac_have_decl
+#define HAVE_DECL_NET_IPV6_ROUTE_GC_TIMEOUT $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_RANDOMIZE" "ac_cv_have_decl_KERN_RANDOMIZE" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_GC_INTERVAL" "ac_cv_have_decl_NET_IPV6_ROUTE_GC_INTERVAL" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_RANDOMIZE" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_INTERVAL" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_RANDOMIZE $ac_have_decl
+#define HAVE_DECL_NET_IPV6_ROUTE_GC_INTERVAL $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_SETUID_DUMPABLE" "ac_cv_have_decl_KERN_SETUID_DUMPABLE" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_GC_ELASTICITY" "ac_cv_have_decl_NET_IPV6_ROUTE_GC_ELASTICITY" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_SETUID_DUMPABLE" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_ELASTICITY" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_SETUID_DUMPABLE $ac_have_decl
+#define HAVE_DECL_NET_IPV6_ROUTE_GC_ELASTICITY $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_SPIN_RETRY" "ac_cv_have_decl_KERN_SPIN_RETRY" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_MTU_EXPIRES" "ac_cv_have_decl_NET_IPV6_ROUTE_MTU_EXPIRES" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_SPIN_RETRY" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_MTU_EXPIRES" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_SPIN_RETRY $ac_have_decl
+#define HAVE_DECL_NET_IPV6_ROUTE_MTU_EXPIRES $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_ACPI_VIDEO_FLAGS" "ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_MIN_ADVMSS" "ac_cv_have_decl_NET_IPV6_ROUTE_MIN_ADVMSS" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_MIN_ADVMSS" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_ACPI_VIDEO_FLAGS $ac_have_decl
+#define HAVE_DECL_NET_IPV6_ROUTE_MIN_ADVMSS $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_IA64_UNALIGNED" "ac_cv_have_decl_KERN_IA64_UNALIGNED" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" "ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_IA64_UNALIGNED" = xyes; then :
+if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_IA64_UNALIGNED $ac_have_decl
+#define HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_COMPAT_LOG" "ac_cv_have_decl_KERN_COMPAT_LOG" "#include <sys/types.h>
+
+
+ac_fn_c_check_decl "$LINENO" "NET_UNIX_DESTROY_DELAY" "ac_cv_have_decl_NET_UNIX_DESTROY_DELAY" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_COMPAT_LOG" = xyes; then :
+if test "x$ac_cv_have_decl_NET_UNIX_DESTROY_DELAY" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_COMPAT_LOG $ac_have_decl
+#define HAVE_DECL_NET_UNIX_DESTROY_DELAY $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_MAX_LOCK_DEPTH" "ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_UNIX_DELETE_DELAY" "ac_cv_have_decl_NET_UNIX_DELETE_DELAY" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" = xyes; then :
+if test "x$ac_cv_have_decl_NET_UNIX_DELETE_DELAY" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_MAX_LOCK_DEPTH $ac_have_decl
+#define HAVE_DECL_NET_UNIX_DELETE_DELAY $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_NMI_WATCHDOG" "ac_cv_have_decl_KERN_NMI_WATCHDOG" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "NET_UNIX_MAX_DGRAM_QLEN" "ac_cv_have_decl_NET_UNIX_MAX_DGRAM_QLEN" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_NMI_WATCHDOG" = xyes; then :
+if test "x$ac_cv_have_decl_NET_UNIX_MAX_DGRAM_QLEN" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_NMI_WATCHDOG $ac_have_decl
+#define HAVE_DECL_NET_UNIX_MAX_DGRAM_QLEN $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_PANIC_ON_NMI" "ac_cv_have_decl_KERN_PANIC_ON_NMI" "#include <sys/types.h>
+
+
+ac_fn_c_check_decl "$LINENO" "CTL_KERN" "ac_cv_have_decl_CTL_KERN" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_PANIC_ON_NMI" = xyes; then :
+if test "x$ac_cv_have_decl_CTL_KERN" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_PANIC_ON_NMI $ac_have_decl
+#define HAVE_DECL_CTL_KERN $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_PANIC_ON_WARN" "ac_cv_have_decl_KERN_PANIC_ON_WARN" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "CTL_VM" "ac_cv_have_decl_CTL_VM" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_PANIC_ON_WARN" = xyes; then :
+if test "x$ac_cv_have_decl_CTL_VM" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_PANIC_ON_WARN $ac_have_decl
+#define HAVE_DECL_CTL_VM $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "KERN_PANIC_PRINT" "ac_cv_have_decl_KERN_PANIC_PRINT" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "CTL_NET" "ac_cv_have_decl_CTL_NET" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_KERN_PANIC_PRINT" = xyes; then :
+if test "x$ac_cv_have_decl_CTL_NET" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_KERN_PANIC_PRINT $ac_have_decl
+#define HAVE_DECL_CTL_NET $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_LLC" "ac_cv_have_decl_NET_LLC" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "CTL_FS" "ac_cv_have_decl_CTL_FS" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_LLC" = xyes; then :
+if test "x$ac_cv_have_decl_CTL_FS" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_LLC $ac_have_decl
+#define HAVE_DECL_CTL_FS $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_NETFILTER" "ac_cv_have_decl_NET_NETFILTER" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "CTL_DEBUG" "ac_cv_have_decl_CTL_DEBUG" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_NETFILTER" = xyes; then :
+if test "x$ac_cv_have_decl_CTL_DEBUG" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_NETFILTER $ac_have_decl
+#define HAVE_DECL_CTL_DEBUG $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_DCCP" "ac_cv_have_decl_NET_DCCP" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "CTL_DEV" "ac_cv_have_decl_CTL_DEV" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_DCCP" = xyes; then :
+if test "x$ac_cv_have_decl_CTL_DEV" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_DCCP $ac_have_decl
+#define HAVE_DECL_CTL_DEV $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_IRDA" "ac_cv_have_decl_NET_IRDA" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "CTL_BUS" "ac_cv_have_decl_CTL_BUS" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_IRDA" = xyes; then :
+if test "x$ac_cv_have_decl_CTL_BUS" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_IRDA $ac_have_decl
+#define HAVE_DECL_CTL_BUS $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_CORE_DESTROY_DELAY" "ac_cv_have_decl_NET_CORE_DESTROY_DELAY" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "CTL_ABI" "ac_cv_have_decl_CTL_ABI" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_CORE_DESTROY_DELAY" = xyes; then :
+if test "x$ac_cv_have_decl_CTL_ABI" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_CORE_DESTROY_DELAY $ac_have_decl
+#define HAVE_DECL_CTL_ABI $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_CORE_BUDGET" "ac_cv_have_decl_NET_CORE_BUDGET" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "CTL_CPU" "ac_cv_have_decl_CTL_CPU" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_CORE_BUDGET" = xyes; then :
+if test "x$ac_cv_have_decl_CTL_CPU" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_CORE_BUDGET $ac_have_decl
+#define HAVE_DECL_CTL_CPU $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_ETIME" "ac_cv_have_decl_NET_CORE_AEVENT_ETIME" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "CTL_PROC" "ac_cv_have_decl_CTL_PROC" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_CORE_AEVENT_ETIME" = xyes; then :
+if test "x$ac_cv_have_decl_CTL_PROC" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_CORE_AEVENT_ETIME $ac_have_decl
+#define HAVE_DECL_CTL_PROC $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_RSEQTH" "ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "CTL_ARLAN" "ac_cv_have_decl_CTL_ARLAN" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" = xyes; then :
+if test "x$ac_cv_have_decl_CTL_ARLAN" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_CORE_AEVENT_RSEQTH $ac_have_decl
+#define HAVE_DECL_CTL_ARLAN $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_CORE_WARNINGS" "ac_cv_have_decl_NET_CORE_WARNINGS" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "CTL_S390DBF" "ac_cv_have_decl_CTL_S390DBF" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_CORE_WARNINGS" = xyes; then :
+if test "x$ac_cv_have_decl_CTL_S390DBF" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_CORE_WARNINGS $ac_have_decl
+#define HAVE_DECL_CTL_S390DBF $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_IPV4_IGMP_MAX_MSF" "ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "CTL_SUNRPC" "ac_cv_have_decl_CTL_SUNRPC" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" = xyes; then :
+if test "x$ac_cv_have_decl_CTL_SUNRPC" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_IPV4_IGMP_MAX_MSF $ac_have_decl
+#define HAVE_DECL_CTL_SUNRPC $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_TCP_NO_METRICS_SAVE" "ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "CTL_PM" "ac_cv_have_decl_CTL_PM" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" = xyes; then :
+if test "x$ac_cv_have_decl_CTL_PM" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_TCP_NO_METRICS_SAVE $ac_have_decl
+#define HAVE_DECL_CTL_PM $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_TCP_DEFAULT_WIN_SCALE" "ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "CTL_FRV" "ac_cv_have_decl_CTL_FRV" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" = xyes; then :
+if test "x$ac_cv_have_decl_CTL_FRV" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_TCP_DEFAULT_WIN_SCALE $ac_have_decl
+#define HAVE_DECL_CTL_FRV $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_TCP_MODERATE_RCVBUF" "ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" "#include <sys/types.h>
+
+
+ac_fn_c_check_decl "$LINENO" "VM_OVERCOMMIT_MEMORY" "ac_cv_have_decl_VM_OVERCOMMIT_MEMORY" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" = xyes; then :
+if test "x$ac_cv_have_decl_VM_OVERCOMMIT_MEMORY" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_TCP_MODERATE_RCVBUF $ac_have_decl
+#define HAVE_DECL_VM_OVERCOMMIT_MEMORY $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_TCP_TSO_WIN_DIVISOR" "ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_PAGE_CLUSTER" "ac_cv_have_decl_VM_PAGE_CLUSTER" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" = xyes; then :
+if test "x$ac_cv_have_decl_VM_PAGE_CLUSTER" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_TCP_TSO_WIN_DIVISOR $ac_have_decl
+#define HAVE_DECL_VM_PAGE_CLUSTER $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_TCP_BIC_BETA" "ac_cv_have_decl_NET_TCP_BIC_BETA" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_DIRTY_BACKGROUND" "ac_cv_have_decl_VM_DIRTY_BACKGROUND" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_TCP_BIC_BETA" = xyes; then :
+if test "x$ac_cv_have_decl_VM_DIRTY_BACKGROUND" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_TCP_BIC_BETA $ac_have_decl
+#define HAVE_DECL_VM_DIRTY_BACKGROUND $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" "ac_cv_have_decl_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_DIRTY_RATIO" "ac_cv_have_decl_VM_DIRTY_RATIO" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" = xyes; then :
+if test "x$ac_cv_have_decl_VM_DIRTY_RATIO" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR $ac_have_decl
+#define HAVE_DECL_VM_DIRTY_RATIO $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_TCP_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_CONG_CONTROL" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_DIRTY_WB_CS" "ac_cv_have_decl_VM_DIRTY_WB_CS" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_TCP_CONG_CONTROL" = xyes; then :
+if test "x$ac_cv_have_decl_VM_DIRTY_WB_CS" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_TCP_CONG_CONTROL $ac_have_decl
+#define HAVE_DECL_VM_DIRTY_WB_CS $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_TCP_ABC" "ac_cv_have_decl_NET_TCP_ABC" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_DIRTY_EXPIRE_CS" "ac_cv_have_decl_VM_DIRTY_EXPIRE_CS" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_TCP_ABC" = xyes; then :
+if test "x$ac_cv_have_decl_VM_DIRTY_EXPIRE_CS" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_TCP_ABC $ac_have_decl
+#define HAVE_DECL_VM_DIRTY_EXPIRE_CS $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_MAX_DIST" "ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_NR_PDFLUSH_THREADS" "ac_cv_have_decl_VM_NR_PDFLUSH_THREADS" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" = xyes; then :
+if test "x$ac_cv_have_decl_VM_NR_PDFLUSH_THREADS" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_IPV4_IPFRAG_MAX_DIST $ac_have_decl
+#define HAVE_DECL_VM_NR_PDFLUSH_THREADS $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_TCP_MTU_PROBING" "ac_cv_have_decl_NET_TCP_MTU_PROBING" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_OVERCOMMIT_RATIO" "ac_cv_have_decl_VM_OVERCOMMIT_RATIO" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_TCP_MTU_PROBING" = xyes; then :
+if test "x$ac_cv_have_decl_VM_OVERCOMMIT_RATIO" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_TCP_MTU_PROBING $ac_have_decl
+#define HAVE_DECL_VM_OVERCOMMIT_RATIO $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_TCP_BASE_MSS" "ac_cv_have_decl_NET_TCP_BASE_MSS" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_PAGEBUF" "ac_cv_have_decl_VM_PAGEBUF" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_TCP_BASE_MSS" = xyes; then :
+if test "x$ac_cv_have_decl_VM_PAGEBUF" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_TCP_BASE_MSS $ac_have_decl
+#define HAVE_DECL_VM_PAGEBUF $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" "ac_cv_have_decl_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_HUGETLB_PAGES" "ac_cv_have_decl_VM_HUGETLB_PAGES" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" = xyes; then :
+if test "x$ac_cv_have_decl_VM_HUGETLB_PAGES" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS $ac_have_decl
+#define HAVE_DECL_VM_HUGETLB_PAGES $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_TCP_DMA_COPYBREAK" "ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_SWAPPINESS" "ac_cv_have_decl_VM_SWAPPINESS" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" = xyes; then :
+if test "x$ac_cv_have_decl_VM_SWAPPINESS" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_TCP_DMA_COPYBREAK $ac_have_decl
+#define HAVE_DECL_VM_SWAPPINESS $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_TCP_SLOW_START_AFTER_IDLE" "ac_cv_have_decl_NET_TCP_SLOW_START_AFTER_IDLE" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_LOWMEM_RESERVE_RATIO" "ac_cv_have_decl_VM_LOWMEM_RESERVE_RATIO" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_TCP_SLOW_START_AFTER_IDLE" = xyes; then :
+if test "x$ac_cv_have_decl_VM_LOWMEM_RESERVE_RATIO" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_TCP_SLOW_START_AFTER_IDLE $ac_have_decl
+#define HAVE_DECL_VM_LOWMEM_RESERVE_RATIO $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_ENABLE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_MIN_FREE_KBYTES" "ac_cv_have_decl_VM_MIN_FREE_KBYTES" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" = xyes; then :
+if test "x$ac_cv_have_decl_VM_MIN_FREE_KBYTES" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_CIPSOV4_CACHE_ENABLE $ac_have_decl
+#define HAVE_DECL_VM_MIN_FREE_KBYTES $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_BUCKET_SIZE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_MAX_MAP_COUNT" "ac_cv_have_decl_VM_MAX_MAP_COUNT" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" = xyes; then :
+if test "x$ac_cv_have_decl_VM_MAX_MAP_COUNT" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_CIPSOV4_CACHE_BUCKET_SIZE $ac_have_decl
+#define HAVE_DECL_VM_MAX_MAP_COUNT $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_OPTFMT" "ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_LAPTOP_MODE" "ac_cv_have_decl_VM_LAPTOP_MODE" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" = xyes; then :
+if test "x$ac_cv_have_decl_VM_LAPTOP_MODE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_CIPSOV4_RBM_OPTFMT $ac_have_decl
+#define HAVE_DECL_VM_LAPTOP_MODE $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_STRICTVALID" "ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_BLOCK_DUMP" "ac_cv_have_decl_VM_BLOCK_DUMP" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" = xyes; then :
+if test "x$ac_cv_have_decl_VM_BLOCK_DUMP" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_CIPSOV4_RBM_STRICTVALID $ac_have_decl
+#define HAVE_DECL_VM_BLOCK_DUMP $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_TCP_AVAIL_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_HUGETLB_GROUP" "ac_cv_have_decl_VM_HUGETLB_GROUP" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" = xyes; then :
+if test "x$ac_cv_have_decl_VM_HUGETLB_GROUP" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_TCP_AVAIL_CONG_CONTROL $ac_have_decl
+#define HAVE_DECL_VM_HUGETLB_GROUP $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_TCP_ALLOWED_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_VFS_CACHE_PRESSURE" "ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" = xyes; then :
+if test "x$ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_TCP_ALLOWED_CONG_CONTROL $ac_have_decl
+#define HAVE_DECL_VM_VFS_CACHE_PRESSURE $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_TCP_MAX_SSTHRESH" "ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_LEGACY_VA_LAYOUT" "ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" = xyes; then :
+if test "x$ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_TCP_MAX_SSTHRESH $ac_have_decl
+#define HAVE_DECL_VM_LEGACY_VA_LAYOUT $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_TCP_FRTO_RESPONSE" "ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" "#include <sys/types.h>
+ac_fn_c_check_decl "$LINENO" "VM_SWAP_TOKEN_TIMEOUT" "ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" "
+#include <sys/types.h>
 #include <linux/sysctl.h>
+
 "
-if test "x$ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" = xyes; then :
+if test "x$ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_TCP_FRTO_RESPONSE $ac_have_decl
+#define HAVE_DECL_VM_SWAP_TOKEN_TIMEOUT $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" "ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" "#include <sys/types.h>
-#include <linux/sysctl.h>
+
+
+ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl
+#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_CAPTURE $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_FORCE_IGMP_VERSION" "ac_cv_have_decl_NET_IPV4_CONF_FORCE_IGMP_VERSION" "#include <sys/types.h>
-#include <linux/sysctl.h>
+ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_NET_IPV4_CONF_FORCE_IGMP_VERSION" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_IPV4_CONF_FORCE_IGMP_VERSION $ac_have_decl
+#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ANNOUNCE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" "#include <sys/types.h>
-#include <linux/sysctl.h>
+ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OVERLAY" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OVERLAY" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OVERLAY" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_IPV4_CONF_ARP_ANNOUNCE $ac_have_decl
+#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OVERLAY $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_IGNORE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" "#include <sys/types.h>
-#include <linux/sysctl.h>
+ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VBI_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_VBI_CAPTURE" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VBI_CAPTURE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_IPV4_CONF_ARP_IGNORE $ac_have_decl
+#define HAVE_DECL_V4L2_BUF_TYPE_VBI_CAPTURE $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_PROMOTE_SECONDARIES" "ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" "#include <sys/types.h>
-#include <linux/sysctl.h>
+ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VBI_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_VBI_OUTPUT" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VBI_OUTPUT" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_IPV4_CONF_PROMOTE_SECONDARIES $ac_have_decl
+#define HAVE_DECL_V4L2_BUF_TYPE_VBI_OUTPUT $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ACCEPT" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" "#include <sys/types.h>
-#include <linux/sysctl.h>
+ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SLICED_VBI_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_IPV4_CONF_ARP_ACCEPT $ac_have_decl
+#define HAVE_DECL_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_NOTIFY" "ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" "#include <sys/types.h>
-#include <linux/sysctl.h>
+ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SLICED_VBI_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_IPV4_CONF_ARP_NOTIFY $ac_have_decl
+#define HAVE_DECL_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_IPV6_MLD_MAX_MSF" "ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" "#include <sys/types.h>
-#include <linux/sysctl.h>
+ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_IPV6_MLD_MAX_MSF $ac_have_decl
+#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" "ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" "#include <sys/types.h>
-#include <linux/sysctl.h>
+ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl
+#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "VM_MAX_MAP_COUNT" "ac_cv_have_decl_VM_MAX_MAP_COUNT" "#include <sys/types.h>
-#include <linux/sysctl.h>
+ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_VM_MAX_MAP_COUNT" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_VM_MAX_MAP_COUNT $ac_have_decl
+#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "VM_LAPTOP_MODE" "ac_cv_have_decl_VM_LAPTOP_MODE" "#include <sys/types.h>
-#include <linux/sysctl.h>
+ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SDR_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_SDR_CAPTURE" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_VM_LAPTOP_MODE" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SDR_CAPTURE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_VM_LAPTOP_MODE $ac_have_decl
+#define HAVE_DECL_V4L2_BUF_TYPE_SDR_CAPTURE $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "VM_BLOCK_DUMP" "ac_cv_have_decl_VM_BLOCK_DUMP" "#include <sys/types.h>
-#include <linux/sysctl.h>
+ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SDR_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_SDR_OUTPUT" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_VM_BLOCK_DUMP" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SDR_OUTPUT" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_VM_BLOCK_DUMP $ac_have_decl
+#define HAVE_DECL_V4L2_BUF_TYPE_SDR_OUTPUT $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "VM_HUGETLB_GROUP" "ac_cv_have_decl_VM_HUGETLB_GROUP" "#include <sys/types.h>
-#include <linux/sysctl.h>
+ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_META_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_META_CAPTURE" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_VM_HUGETLB_GROUP" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_META_CAPTURE" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_VM_HUGETLB_GROUP $ac_have_decl
+#define HAVE_DECL_V4L2_BUF_TYPE_META_CAPTURE $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "VM_VFS_CACHE_PRESSURE" "ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" "#include <sys/types.h>
-#include <linux/sysctl.h>
+ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_META_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_META_OUTPUT" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_META_OUTPUT" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_VM_VFS_CACHE_PRESSURE $ac_have_decl
+#define HAVE_DECL_V4L2_BUF_TYPE_META_OUTPUT $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "VM_LEGACY_VA_LAYOUT" "ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" "#include <sys/types.h>
-#include <linux/sysctl.h>
+
+
+ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_DEFAULT" "ac_cv_have_decl_V4L2_COLORSPACE_DEFAULT" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_COLORSPACE_DEFAULT" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_VM_LEGACY_VA_LAYOUT $ac_have_decl
+#define HAVE_DECL_V4L2_COLORSPACE_DEFAULT $ac_have_decl
 _ACEOF
-ac_fn_c_check_decl "$LINENO" "VM_SWAP_TOKEN_TIMEOUT" "ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" "#include <sys/types.h>
-#include <linux/sysctl.h>
+ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SMPTE170M" "ac_cv_have_decl_V4L2_COLORSPACE_SMPTE170M" "
+#include <sys/time.h>
+#include <linux/ioctl.h>
+#include <linux/types.h>
+#include <linux/videodev2.h>
+
 "
-if test "x$ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" = xyes; then :
+if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SMPTE170M" = xyes; then :
   ac_have_decl=1
 else
   ac_have_decl=0
 fi
 
 cat >>confdefs.h <<_ACEOF
-#d