summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetwroks.com>2016-02-21 18:43:50 +0100
committerDonald Sharp <sharpd@cumulusnetwroks.com>2016-02-23 13:46:54 +0100
commit000cf1fb358dd7a7ce44e1e4c8bfdc332c335b9a (patch)
tree1528a5e822769fe0e34428412535a7bfe48f5b6e /configure.ac
parentZebra: Ignore status change for VRF (temporary) (diff)
downloadfrr-000cf1fb358dd7a7ce44e1e4c8bfdc332c335b9a.tar.xz
frr-000cf1fb358dd7a7ce44e1e4c8bfdc332c335b9a.zip
debian, config, zebra: Ensure Cumulus Extensions are not auto turned on
There exist cases where Cumulus Code( in this case code surrounding when we want to send Router Advertisements ) should only be turned on for Cumulus Switches. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
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 5a7744a06..74020ad73 100755
--- a/configure.ac
+++ b/configure.ac
@@ -302,6 +302,8 @@ AC_ARG_ENABLE(systemd,
[ --enable-systemd enable Systemd support])
AC_ARG_ENABLE(werror,
AS_HELP_STRING([--enable-werror], [enable -Werror (recommended for developers only)]))
+AC_ARG_ENABLE(cumulus,
+[ --enable-cumulus enable Cumulus Switch Special Extensions])
if test x"${enable_gcc_ultra_verbose}" = x"yes" ; then
CFLAGS="${CFLAGS} -W -Wcast-qual -Wstrict-prototypes"
@@ -329,6 +331,10 @@ if test "${enable_systemd}" = "yes" ; then
LIBS="$LIBS -lsystemd "
fi
+if test "${enable_cumulus}" = "yes" ; then
+ AC_DEFINE(HAVE_CUMULUS,,Compile Special Cumulus Code in)
+fi
+
if test "${enable_shell_access}" = "yes"; then
AC_DEFINE(HAVE_SHELL_ACCESS,,Allow user to use ssh/telnet/bash)
fi