summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-22 16:06:06 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-22 16:06:06 -0700
commit98c5476432c7a5d9b6eb79ef60262f79efa4588f (patch)
treebae10ae44fae81ecae1eea8e570c2894d60075c4 /configure.ac
parenta352c7a182f86d926191c31ed9d7e180e9a6287e (diff)
downloadquagga-98c5476432c7a5d9b6eb79ef60262f79efa4588f.tar.bz2
quagga-98c5476432c7a5d9b6eb79ef60262f79efa4588f.tar.xz
Turn on kernel link-detect
If interface has link-detect enabled, try and turn on link-detect in the kernel.
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9f18bd39..e679632f 100755
--- a/configure.ac
+++ b/configure.ac
@@ -931,6 +931,12 @@ if test -r /proc/net/if_inet6; then
fi
AC_SUBST(IF_PROC)
+if test -r /proc/sys/net/ipv4/conf; then
+ AC_DEFINE(HAVE_PROC_NET_IPV4_CONF,,/proc/sys/net/ipv4/conf)
+ LINK_DETECT=if_linkdetect.o
+fi
+AC_SUBST(LINK_DETECT)
+
dnl -----------------------------
dnl check ipforward detect method
dnl -----------------------------