From 0a81ab50306539788e2dd0471f3b1ed5b9dcc5ef Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Wed, 3 Jan 2018 10:57:31 +0100 Subject: Backport patch: netfilter: ipset: Convert timers to use timer_setup() --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 0c01680..9b6c907 100644 --- a/configure.ac +++ b/configure.ac @@ -589,6 +589,16 @@ else AC_SUBST(HAVE_TYPEDEF_SCTP_SCTPHDR_T, undef) fi +AC_MSG_CHECKING([kernel source for timer_setup in timer.h]) +if test -f $ksourcedir/include/linux/timer.h && \ + $GREP -q ' timer_setup' $ksourcedir/include/linux/timer.h; then + AC_MSG_RESULT(yes) + AC_SUBST(HAVE_TIMER_SETUP, define) +else + AC_MSG_RESULT(no) + AC_SUBST(HAVE_TIMER_SETUP, undef) +fi + AC_MSG_CHECKING([kernel source for struct net_generic]) if test -f $ksourcedir/include/net/netns/generic.h && \ $GREP -q 'struct net_generic' $ksourcedir/include/net/netns/generic.h; then -- cgit v1.2.3