[PATCH 10/11] Define templates for protocols

Ruben Kerkhof ruben at rubenkerkhof.com
Sat Mar 4 18:13:26 CET 2017


Right now there are empty defines for these in sysdeps/autoconf.h.in,
but if we want to start using autoheader we'll need to generate these.
---
 configure.ac | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/configure.ac b/configure.ac
index d9213ed6..fdf2c69d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -218,6 +218,15 @@ if test "$with_protocols" = all ; then
 	with_protocols="$all_protocols"
 fi
 
+AH_TEMPLATE(CONFIG_BABEL)
+AH_TEMPLATE(CONFIG_BFD)
+AH_TEMPLATE(CONFIG_BGP)
+AH_TEMPLATE(CONFIG_OSPF)
+AH_TEMPLATE(CONFIG_PIPE)
+AH_TEMPLATE(CONFIG_RADV)
+AH_TEMPLATE(CONFIG_RIP)
+AH_TEMPLATE(CONFIG_STATIC)
+
 AC_MSG_CHECKING([protocols])
 protocols=`echo "$with_protocols" | sed 's/,/ /g'`
 if test "$protocols" = no ; then protocols= ; fi
-- 
2.12.0



More information about the Bird-users mailing list