On 24 June 2016 at 14:00, Jesse Gross <je...@kernel.org> wrote: > On Wed, Jun 22, 2016 at 6:00 PM, Joe Stringer <j...@ovn.org> wrote: >> diff --git a/acinclude.m4 b/acinclude.m4 >> index 52d0209ab88a..8760948fcf9b 100644 >> --- a/acinclude.m4 >> +++ b/acinclude.m4 >> @@ -408,7 +408,8 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [ >> [OVS_DEFINE([HAVE_INET_GET_LOCAL_PORT_RANGE_USING_NET])]) >> OVS_GREP_IFELSE([$KSRC/include/net/ip.h], [ip_defrag.*net], >> [OVS_DEFINE([HAVE_IP_DEFRAG_TAKES_NET])]) >> - OVS_GREP_IFELSE([$KSRC/include/net/ip.h], [ip_do_fragment]) >> + OVS_GREP_IFELSE([$KSRC/include/net/ip.h], [ip_do_fragment.*net], >> + [OVS_DEFINE([HAVE_IP_DO_FRAGMENT_USING_NET])]) > > This might be a good use for Jarno's newly introduced > OVS_FIND_PARAM_IFELSE macro.
True, I can update this. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev