updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / keepalived / ip_vs_moved.patch
blobe27873810cca5f37a73058013ba447ac064e7d3d
1 --- keepalived-1.2.2/configure 2011-01-06 01:51:33.000000000 +0100
2 +++ keepalived-1.2.2.orig/configure 2011-11-24 19:36:32.051486626 +0100
3 @@ -3973,7 +3973,7 @@
5 IPVS_SUPPORT="_WITHOUT_LVS_"
6 if test "$enable_lvs" != "no"; then
7 - ac_fn_c_check_header_mongrel "$LINENO" "net/ip_vs.h" "ac_cv_header_net_ip_vs_h" "$ac_includes_default"
8 + ac_fn_c_check_header_mongrel "$LINENO" "linux/ip_vs.h" "ac_cv_header_net_ip_vs_h" "$ac_includes_default"
9 if test "x$ac_cv_header_net_ip_vs_h" = x""yes; then :
10 IPVS_SUPPORT="_WITH_LVS_"
11 else
12 diff -ru keepalived-1.2.2/configure.in keepalived-1.2.2.orig/configure.in
13 --- keepalived-1.2.2/configure.in 2011-01-06 01:51:30.000000000 +0100
14 +++ keepalived-1.2.2.orig/configure.in 2011-11-24 19:36:11.797860077 +0100
15 @@ -124,7 +124,7 @@
16 dnl ----[ Checks for LVS and VRRP support ]----
17 IPVS_SUPPORT="_WITHOUT_LVS_"
18 if test "$enable_lvs" != "no"; then
19 - AC_CHECK_HEADER([net/ip_vs.h],
20 + AC_CHECK_HEADER([linux/ip_vs.h],
21 [IPVS_SUPPORT="_WITH_LVS_"],
23 IPVS_SUPPORT="_WITHOUT_LVS_"