summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-04-27 21:18:41 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-04-27 21:18:41 +0200
commit2222a71653a693bb92c5bd2193c142f712e442c4 (patch)
tree5e562649cf936441f7e3d3a6c22244809de46c24 /configure.ac
parent*: Actually allow end users to not build pbrd (diff)
downloadfrr-2222a71653a693bb92c5bd2193c142f712e442c4.tar.xz
frr-2222a71653a693bb92c5bd2193c142f712e442c4.zip
*: Move sharpd from developmental build to have to explicity enable it
sharpd has started to see some use from our field engineers as well as people attempting to build/test their environments as a way of easily injecting a large number of routes. Modify configure.ac to move sharpd from a development build option to having to explicity enable it via `--enable-sharpd=yes` in order for it to be built. This will allow those who want to build it, to build it without having to use the development build option. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 13652ad64..1b94b6d45 100755
--- a/configure.ac
+++ b/configure.ac
@@ -232,7 +232,6 @@ else
fi
fi
AM_CONDITIONAL([DEV_BUILD], [test "x$enable_dev_build" = "xyes"])
-AM_CONDITIONAL([SHARPD], [test "x$enable_dev_build" = "xyes"])
dnl always want these CFLAGS
AC_C_FLAG([-fno-omit-frame-pointer])
@@ -356,6 +355,8 @@ AC_ARG_ENABLE(pimd,
AS_HELP_STRING([--disable-pimd], [do not build pimd]))
AC_ARG_ENABLE(pbrd,
AS_HELP_STRING([--disable-pbrd], [do not build pbrd]))
+AC_ARG_ENABLE(sharpd,
+ AS_HELP_STRING([--enable-sharpd], [do not build sharpd]))
AC_ARG_ENABLE(bgp-announce,
AS_HELP_STRING([--disable-bgp-announce,], [turn off BGP route announcement]))
AC_ARG_ENABLE(bgp-vnc,
@@ -1380,6 +1381,7 @@ AM_CONDITIONAL(OSPF6D, test "${enable_ospf6d}" != "no")
AM_CONDITIONAL(ISISD, test "${enable_isisd}" != "no")
AM_CONDITIONAL(PIMD, test "${enable_pimd}" != "no")
AM_CONDITIONAL(PBRD, test "${enable_pbrd}" != "no")
+AM_CONDITIONAL(SHARPD, test "${enable_sharpd}" = "yes")
if test "${enable_bgp_announce}" = "no";then
AC_DEFINE(DISABLE_BGP_ANNOUNCE,1,Disable BGP installation to zebra)