X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=acinclude.m4;h=64384d90fb4ba69234a7c5727b6e66e15c5e4abe;hb=3b3289fcb969fa3eab708b55d1b7d24d32644d1b;hp=23097b2e3a04968de230f7630f2ae88783474928;hpb=6f643e4946016399f0b217c2226284e3892b6267;p=openvswitch diff --git a/acinclude.m4 b/acinclude.m4 index 23097b2e..64384d90 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -162,6 +162,8 @@ AC_DEFUN([OVS_CHECK_LINUX26_COMPAT], [ [OVS_DEFINE([HAVE_NLA_GET_BE16])]) OVS_GREP_IFELSE([$KSRC26/include/linux/in.h], [ipv4_is_multicast], [OVS_DEFINE([HAVE_IPV4_IS_MULTICAST])]) + OVS_GREP_IFELSE([$KSRC26/include/linux/string.h $KSRC26/include/linux/slab.h], + [kmemdup], [OVS_DEFINE([HAVE_KMEMDUP])]) # Check for the proto_data_valid member in struct sk_buff. The [^@] # is necessary because some versions of this header remove the # member but retain the kerneldoc comment that describes it (which