diff options
author | Jesse Gross <jesse@nicira.com> | 2009-12-06 15:10:35 -0800 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2009-12-07 12:48:03 -0800 |
commit | c3e3d2a1e72f2fec8580e7974f809846788bc8ff (patch) | |
tree | 4fbab5a054859213bb11cf4cb3ab357492054972 /acinclude.m4 | |
parent | db12f2fc076e2d5bb5ae364e217ca2d84c8b0154 (diff) |
gre: Add kernel GRE support.
This implements the kernel portion of GRE on Linux. It consists
of a backported module that provides the GRE capabilities of 2.6.32
plus bug fixes to kernels 2.6.18+.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index e37a316d..e4fa5e62 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -111,6 +111,16 @@ AC_DEFUN([OVS_CHECK_VETH], [ fi ]) +AC_DEFUN([OVS_CHECK_GRE], [ + AC_MSG_CHECKING([whether to build gre module]) + if test "$sublevel" -ge 18; then + AC_MSG_RESULT([yes]) + AC_SUBST([BUILD_GRE], 1) + else + AC_MSG_RESULT([no]) + fi +]) + AC_DEFUN([OVS_CHECK_LOG2_H], [ AC_MSG_CHECKING([for $KSRC26/include/linux/log2.h]) if test -e $KSRC26/include/linux/log2.h; then @@ -153,6 +163,7 @@ AC_DEFUN([OVS_CHECK_LINUX26_COMPAT], [ [OVS_DEFINE([HAVE_PROTO_DATA_VALID])]) OVS_CHECK_LOG2_H OVS_CHECK_VETH + OVS_CHECK_GRE if cmp -s datapath/linux-2.6/kcompat.h.new \ datapath/linux-2.6/kcompat.h >/dev/null 2>&1; then rm datapath/linux-2.6/kcompat.h.new |