diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-03-09 19:00:19 +0100 |
---|---|---|
committer | Christian Franke <chris@opensourcerouting.org> | 2017-03-28 19:18:42 +0200 |
commit | 8efe88eacfcbffcefd274238105b932dff76803a (patch) | |
tree | e39da13452c6573f36dce8da6c64612b0565390c /configure.ac | |
parent | Merge pull request #277 from donaldsharp/proto-dev-build (diff) | |
download | frr-8efe88eacfcbffcefd274238105b932dff76803a.tar.xz frr-8efe88eacfcbffcefd274238105b932dff76803a.zip |
*: track version & "defaults" in configs
[CF]: Move default name to autoconf and update tests
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 6ff64d086..9fc3cb72f 100755 --- a/configure.ac +++ b/configure.ac @@ -346,7 +346,12 @@ AC_SUBST(MPLS_METHOD) if test "${enable_cumulus}" = "yes" ; then AC_DEFINE(HAVE_CUMULUS,,Compile Special Cumulus Code in) + DFLT_NAME="datacenter" +else + DFLT_NAME="traditional" fi +AC_SUBST(DFLT_NAME) +AC_DEFINE_UNQUOTED(DFLT_NAME,["$DFLT_NAME"], Name of the configuration default set) if test "${enable_shell_access}" = "yes"; then AC_DEFINE(HAVE_SHELL_ACCESS,,Allow user to use ssh/telnet/bash) @@ -1599,6 +1604,7 @@ AC_CONFIG_FILES([Makefile lib/Makefile qpb/Makefile zebra/Makefile ripd/Makefile snapcraft/Makefile snapcraft/snapcraft.yaml lib/version.h + tests/lib/cli/test_cli.refout doc/defines.texi doc/bgpd.8 doc/isisd.8 |