summaryrefslogtreecommitdiffstats
path: root/configure.ac (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vtysh: respect --disable-daemon configure flagsIgor Ryzhov2020-09-291-0/+60
| | | | | | Don't install nodes for daemons that are disabled by configure flags. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
* build: remove redundant commasIgor Ryzhov2020-09-271-2/+2
| | | | Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
* doc: Update Documentation to note Solaris Unsupported statusDonald Sharp2020-09-211-1/+1
| | | | | | | | With the change of Solaris going from Supported -> UnSupported the documentation needed to be updated to reflect the reality on the ground. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
* *: Remove solaris from FRRDonald Sharp2020-09-211-30/+2
| | | | | | | | | | The Solaris code has gone through a deprecation cycle. No-one has said anything to us and worse of all we don't have any test systems running Solaris to know if we are making changes that are breaking on Solaris. Remove it from the system so we can clean up a bit. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
* *: Update version stringfrr-7.6-devDonald Sharp2020-09-091-1/+1
| | | | | | Update the version string to reflect work towards next release Signed-off-by: Donald Sharp <sharpd@nvidia.com>
* Merge pull request #6376 from opensourcerouting/bump-libyang-req-version-1.xDonald Sharp2020-09-081-2/+2
|\ | | | | build, yang: bump libyang minimum required version to 1.0.184
| * build, yang: bump libyang minimum required version to 1.0.184Renato Westphal2020-08-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's time to say good bye to libyang 0.16.105. The recently released libyang 1.0.184 includes numerous bug fixes and performance improvements that we need. Despite the major version bump from 0.x to 1.x, the libyang API is the same except for a single backward-incompatible change in the user types interface (which we're currently not using). Hence no code changes were necessary to adapt FRR to libyang 1.x. This commit also reintroduces some leafrefs that needed to be removed from our YANG modules due to a bug that was present on libyang 0.16.105. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* | zebra: remove fuzzing stuffJakub Urbańczyk2020-08-251-12/+0
|/ | | | | | | | | The fuzzing code that is in the master branch is outdated and unused, so it is worth to remove it to improve readablity of the code. All the code related to the fuzzing is in the `fuzz` branch. Signed-off-by: Jakub Urbańczyk <xthaid@gmail.com>
* build: Allow removal of build configs from version stringJafar Al-Gharaibeh2020-06-191-0/+7
| | | | | | | | A new config option `--disable-version-build-config` allows you to show short version string by dropping "configured with:" and all of its build configs Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
* build: use configfile mode in init scriptDavid Lamparter2020-05-111-0/+1
| | | | | | | | This only applies for split-config; the init script would create an empty config file with default permissions. Reported-by: Robert Scheck <robert@fedoraproject.org> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* *: Update version stringDonald Sharp2020-05-111-1/+1
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* build: silence idiotic libtool warningsDavid Lamparter2020-04-271-0/+3
| | | | Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: make clippy Makefile rules nicerDavid Lamparter2020-04-271-1/+7
| | | | | | | These are easy to get subtly wrong, and doing so can cause nondeterministic failures when racing in parallel builds. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* Merge pull request #5451 from opensourcerouting/rcu-logSantosh P K2020-04-161-17/+11
|\ | | | | logging subsystem rewrite
| * lib: rewrite zlog lock-free & TLS-bufferedDavid Lamparter2020-04-011-17/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a full rewrite of the "back end" logging code. It now uses a lock-free list to iterate over logging targets, and the targets themselves are as lock-free as possible. (syslog() may have a hidden internal mutex in the C library; the file/fd targets use a single write() call which should ensure atomicity kernel-side.) Note that some functionality is lost in this patch: - Solaris printstack() backtraces are ditched (unlikely to come back) - the `log-filter` machinery is gone (re-added in followup commit) - `terminal monitor` is temporarily stubbed out. The old code had a race condition with VTYs going away. It'll likely come back rewritten and with vtysh support. - The `zebra_ext_log` hook is gone. Instead, it's now much easier to add a "proper" logging target. v2: TLS buffer to get some actual performance Signed-off-by: David Lamparter <equinox@diac24.net>
* | build: fix git detection for worktreesDavid Lamparter2020-04-081-1/+1
|/ | | | | | When using additional git worktrees, .git is not a directory. Signed-off-by: David Lamparter <equinox@diac24.net>
* build: enable -Wundef warningsRuben Kerkhof2020-03-301-0/+1
| | | | | | | Now that we've fixed all of them, enable them by default if the compiler supports it. Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
* build: gcc -fplugin=frr-format supportDavid Lamparter2020-03-291-2/+42
| | | | | | Try to find the plugin and add it to CFLAGS if successful. Signed-off-by: David Lamparter <equinox@diac24.net>
* sharpd: add "logpump" to bulk test loggingDavid Lamparter2020-03-241-0/+4
| | | | | | | | | This just generates log messages in bulk for testing logging backend performance. It's in sharpd so the full "context" of being in a daemon is available (e.g. different logging configs, parallel load in the main thread.) Signed-off-by: David Lamparter <equinox@diac24.net>
* build: disable pimd on MacOSRuben Kerkhof2020-03-201-1/+5
| | | | Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
* build: really disable pimd on OpenBSDRuben Kerkhof2020-03-181-10/+16
| | | | | | For some reason the check did not work Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
* build: disable VRRPD if not linuxMark Stapp2020-03-181-0/+16
| | | | | | | Only allow configure to try to build VRRPD on linux; other platforms disable it. Signed-off-by: Mark Stapp <mjs@voltanet.io>
* build: no need for braces in variablesRuben Kerkhof2020-03-111-84/+84
| | | | | | | If the variable is the only word between quotes, there's no need to use braces. Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
* build: no need to compare with "x"Ruben Kerkhof2020-03-111-66/+66
| | | | | | | | | As long as the arguments of the test are quoted, modern shells handle it just fine. A bunch of the tests already did this, convert the rest. Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
* build: quote the right hand side of tests tooRuben Kerkhof2020-03-111-20/+20
| | | | | | For consistency Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
* build: always quote variables in testsRuben Kerkhof2020-03-111-8/+8
| | | | | | | | If they are not defined, ./configure will throw hard to debug errors like: ./configure: line 1678: test: =: unary operator expected Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
* build: fix building with -Werror=undefRuben Kerkhof2020-03-101-12/+12
| | | | | | | In the unlikely event you are building with -Werror=undef, several configure checks fail. Fix those. Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
* configure: Fixup `--disable-irdp` option to reflect realityDonald Sharp2020-02-161-1/+1
| | | | | | | The help text was not properly setup for `--disable-irdp` fix it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* build: accept libunwind without pkg-configDavid Lamparter2020-01-171-1/+14
| | | | | | | NetBSD installs LLVM's libunwind without a pkg-config file, but it works perfectly fine. Signed-off-by: David Lamparter <equinox@diac24.net>
* build: fix shell == mis-useDavid Lamparter2020-01-171-1/+1
| | | | | | | The "test" program uses =, not ==. A lot of shells accept == as an extension, but not all do and it's technically out of spec. Signed-off-by: David Lamparter <equinox@diac24.net>
* configure.ac: add --enable-clang-coverageQuentin Young2020-01-161-2/+15
| | | | | | | | Like gcov but better! Also has a driveby fix for --enable-dev-build being mutually exclusive with --enable-gcov... Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* *: Modify version number of buildfrr-7.4-devDonald Sharp2020-01-141-1/+1
| | | | | | | With the pull of the 7.3 stabilization branch, update the version number we will auto generate. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* configure.ac: make msan & ubsan flags additiveQuentin Young2020-01-031-2/+2
| | | | | | | | | These were setting = SAN_FLAGS, we want to add to the variable. Note MSAN can't be used with any other sanitizer (except UBSan) but the compiler will complain about that if you use it wrong so we don't need to enforce it here. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* configure.ac: add --enable-undefined-sanitizerQuentin Young2020-01-021-0/+9
| | | | | | For UBSan Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* zebra: Do not build mlag protobuf support if version 3 is not availDonald Sharp2019-12-151-3/+11
| | | | | | | | Older versions of protobuf-c do not support version 3 of the protocol. Add a check into the system to see if we have version 3 available and if so, compile it in. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* zebra: create zebra_cumulus_mlag moduleDavid Lamparter2019-12-111-0/+5
| | | | | | | This is pretty much just to get rid of the HAVE_CUMULUS. The hook/module API is as "wtf" as it was before... Signed-off-by: David Lamparter <equinox@diac24.net>
* build: apply DFLT_NAME/profiles in init scriptDavid Lamparter2019-12-061-0/+1
| | | | | | | | | | | | | Hopefully at some point we can get rid of the --enable-datacenter switch and just have the init script do magic. Should already work for Cumulus as it is. NB: the profile name can't be baked into the package. The whole point is to make the package profile-agnostic; in theory at some point the exact same package files should work on both, say, a Cumulus switch and a Linux software BGP DFZ router. Signed-off-by: David Lamparter <equinox@diac24.net>
* *: Allow disabling of `getrusage` callsDonald Sharp2019-10-161-0/+10
| | | | | | | | | | getrusage, in a heavily stressed system, can account for signficant running time due to process switching to the kernel. Allow the end-operator to specify `--disable-cpu-time` to avoid this call. Additionally we cause `show thread cpu` to not show up if this is selected. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* configure.ac: fix memory sanitizer testRafael Zalamena2019-10-091-2/+2
| | | | | | | We should test for `-fsanitize=memory` instead of `-fsanitize=thread` when enabling memory sanitizer. While here, fix the error message. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
* Merge pull request #4912 from lucize/carescrossDonald Sharp2019-09-241-6/+10
|\ | | | | clippy: don't fail on CARES and libcap when clippy-only selected
| * clippy: fail libcap test only when !enable_clippy_onlyLucian Cristian2019-09-131-0/+2
| | | | | | | | | | | | when building native clippy we don't need libcap Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
| * clippy: CARES fail only if !enable_clippy_onlyLucian Cristian2019-09-131-6/+8
| | | | | | | | | | | | test for CARES otherwise config will fail with conditional "CARES" not defined Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* | configure: Update versioningDonald Sharp2019-09-201-1/+1
|/ | | | | | | We have pulled the 7.2 branch let's update the master branch to say it's 7.3 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* Merge pull request #4919 from opensourcerouting/config-warningsQuentin Young2019-09-031-0/+14
|\ | | | | build: error out on implicit missing libcap, warn for protobuf FPM
| * build: only build without libcap on requestDavid Lamparter2019-09-021-0/+14
| | | | | | | | | | | | | | | | | | | | Linux FRR builds without libcap are massively slow due to the signal-based UID/GID synchronization across threads. This disables the automatic fallback to build without libcap; it can still be requested with "--disable-capabilities" but if the option isn't given in either direction and we can't find libcap that's an error now. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | build: Fix checks for c_aresMartin Winter2019-08-301-4/+4
| | | | | | | | Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
* | build: make BMP optionalDavid Lamparter2019-08-301-13/+47
| | | | | | | | | | | | Sigh. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | bgpd/bmp: BMP implementationDavid Lamparter2019-08-301-6/+4
|/ | | | | | | | This implements BMP. There's no fine-grained history here, the non-BMP preparations are already split out from here so all that remains is BMP proper. Signed-off-by: David Lamparter <equinox@diac24.net>
* *: Start process of possibly deprecating SolarisDonald Sharp2019-08-271-0/+1
| | | | | | | | | | | | | | | | | | The FRR community has run into an issue where keeping up our CI system to work with solaris has become a fairly large burden. We have also sent emails and asked around and have not found anyone standing up saying that they are using Solaris. Given the fact that we do not have any comprehensive testing being done w/ solaris and the fact that we are getting a steady stream of new features that will never work on solaris and we cannot find anyone to say that they are using it. Let's start the drawn out process of deprecating the code. If in the mean-time someone comes forward with the fact that they are using it we can then not deprecate it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* ospfd,ripd: Enabling build with opensslMichal Ruprich2019-08-081-0/+14
| | | | | | Enabling openssl library for md5 authentication in RIP and OSPF Signed-off-by: Michal Ruprich <michalruprich@gmail.com>