net/quagga: fix r23654

git-svn-id: svn://svn.openwrt.org/openwrt/packages@23664 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acoul 2010-10-27 13:13:05 +00:00
parent 5518a263c7
commit 0f157e5bbc

View File

@ -9,24 +9,6 @@
dnl Utility macro to avoid retyping includes all the time
m4_define([QUAGGA_INCLUDES],
@@ -779,6 +779,17 @@ AC_SUBST(RT_METHOD)
AC_SUBST(KERNEL_METHOD)
AC_SUBST(OTHER_METHOD)
+dnl ----------
+dnl Check for RTA_MP_ALGO in linux/rtnetlink.h
+dnl ----------
+AC_MSG_CHECKING(for support of multipath alg. in netlink)
+ if grep RTA_MP_ALGO linux/rtnetlink.h >/dev/null 2>&1; then
+ AC_DEFINE(HAVE_LINUX_IP_MP_ALG_H,,RTA_MP exist in rtnetlink)
+ AC_MSG_RESULT(yes)
+ else
+ AC_MSG_RESULT(no)
+ fi
+
dnl --------------------------
dnl Determine IS-IS I/O method
dnl --------------------------
--- a/lib/command.h
+++ b/lib/command.h
@@ -101,6 +101,7 @@ enum node_type