Browse Source

net/ipsec-tools: Update configure.ac to force HAVE_POLICY_FWD=true, which is

appropriate on Linux but not properly detected in the openwrt build currently.

Signed-off-by: Noah Meyerhans <noahm@debian.org>
Noah Meyerhans 10 years ago
parent
commit
cc919289a3
1 changed files with 14 additions and 0 deletions
  1. 14
    0
      net/ipsec-tools/patches/force_HAVE_POLICY_FWD

+ 14
- 0
net/ipsec-tools/patches/force_HAVE_POLICY_FWD View File

1
+diff --git a/configure.ac b/configure.ac
2
+index 8506245..eca8895 100644
3
+--- a/configure.ac
4
++++ b/configure.ac
5
+@@ -724,7 +724,8 @@ case $host in
6
+ 			],
7
+ 			[AC_MSG_RESULT(yes)
8
+ 			 AC_DEFINE([HAVE_POLICY_FWD], [], [Have forward policy])],
9
+-			[AC_MSG_RESULT(no)])
10
++			[AC_MSG_RESULT(forced)
11
++			 AC_DEFINE([HAVE_POLICY_FWD], [], [Have forward policy])])
12
+ 		;;
13
+ 	*)
14
+ 		AC_MSG_RESULT(no)