summaryrefslogtreecommitdiffstats
path: root/configure.ac (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #12707 from donaldsharp/missed_enumsDonatas Abraitis2023-02-071-0/+1
|\ | | | | Missed enums
| * *: Add -Wswitch-enum to buildDonald Sharp2023-01-311-0/+1
| | | | | | | | | | | | | | | | | | The -Wswitch-enum will allow the compiler to warn us when a developer creates a switch over a enum and is using `default:` when they should be iterating over every enum Signed-off-by: Donald Sharp <sharpd@nvidia.com>
* | build: FRR 9.0 development versionfrr-9.0-devDonatas Abraitis2023-02-071-1/+1
|/ | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* build: enable format string warningsDavid Lamparter2023-01-271-0/+2
| | | | | | I thought these were included in `-Wall -Wextra`, but apparently not. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: pim6d is Linux onlyDavid Lamparter2022-12-081-7/+3
| | | | | | This stops breaking build on FreeBSD. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: enable pim6d by defaultMark Stapp2022-12-011-4/+21
| | | | | | | Change configure.ac so that pim6d is enabled by default; a command-line option can disable it. Signed-off-by: Mark Stapp <mjs@labn.net>
* lib: Add PCRE2 supportDonatas Abraitis2022-11-071-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some results: ``` ==== PCRE ==== % ./a.out "^65001" "65001" comparing: ^65001 / 65001 ret status: 0 [14:31] donatas-pc donatas /home/donatas % ./a.out "^65001_" "65001" comparing: ^65001_ / 65001 ret status: 0 ===== PCRE2 ===== % ./a.out "^65001" "65001" comparing: ^65001 / 65001 ret status: 0 [14:30] donatas-pc donatas /home/donatas % ./a.out "^65001_" "65001" comparing: ^65001_ / 65001 ret status: 1 ``` Seems that if using PCRE2, we need to escape outer `()` chars and `|`. Sounds like a bug. But this is only with some older PCRE2 versions. With >= 10.36, I wasn't able to reproduce this, everything is fine and working as expected. Adding _FRR_PCRE2_POSIX definition because pcre2posix.h does not have include's guard. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* build, vtysh: extract vtysh commands from .xrefDavid Lamparter2022-10-261-1/+0
| | | | | | | | | | | | | | | | | | | Rather than running selected source files through the preprocessor and a bunch of perl regex'ing to get the list of all DEFUNs, use the data collected in frr.xref. This not only eliminates issues we've been having with preprocessor failures due to nonexistent header files, but is also much faster. Where extract.pl would take 5s, this now finishes in 0.2s. And since this is a non-parallelizable build step towards the end of the build (dependent on a lot of other things being done already), the speedup is actually noticeable. Also files containing CLI no longer need to be listed in `vtysh_scan` since the .xref data covers everything. `#ifndef VTYSH_EXTRACT_PL` checks are equally obsolete. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* Merge pull request #11980 from isabelladeleon12/set_overload_startupRuss White2022-10-131-0/+1
|\ | | | | isisd: Add support for set-overload on-startup
| * isisd: Add JSON object functions to save overload status between restarts.Isabella de Leon2022-10-131-0/+1
| | | | | | | | Signed-off-by: Isabella de Leon <ideleon@microsoft.com>
* | build: FRR 8.5 development versionfrr-8.5-devDonatas Abraitis2022-10-041-1/+1
|/ | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* configure: Check for readline() function instead of mainKhem Raj2022-09-011-1/+1
| | | | | | | main is not a function found in libreadline, its better to check for a function thats provided by it. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pim6d: Disable pim6d compilation by defaultMobashshera Rasool2022-07-071-0/+7
| | | | | | | | By default, disable pim6d compilation. If someone wants to enable the compilation, should use ./configure option with --enable-pim6d. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
* configure, zebra: include DPDK headers and shared libs in the dp-dpdk buildAnuradha Karuppiah2022-06-271-0/+12
| | | | | | Signed-off-by: Donald Sharp <sharpd@nvidia.com> -> Moved new capabilities needed to under HAVE_DPDK Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
* zebra: infastructure for the new dataplane pluginAnuradha Karuppiah2022-06-271-1/+1
| | | | Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
* lib: Require at least 2.1.42 version of sysrepo when compilingDonatas Abraitis2022-06-091-1/+1
| | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* build: FRR 8.4 development versionfrr-8.4-devDonatas Abraitis2022-06-071-1/+1
| | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* Merge pull request #11158 from cyberstormdotmu/masterPushpasis Sarkar2022-06-071-0/+1
|\ | | | | lib/md5,lib/sha256: Use explicit_bzero to clean up sensitive data.
| * lib/md5,lib/sha256: Use explicit_bzero to clean up sensitive data.Loganaden Velvindron2022-05-311-0/+1
| | | | | | | | | | | | | | explicit_bzero() is available as an API to clean up sensitive data and avoid compiler optimizations that remove calls to memset() or bzero(). Signed-off-by: Loganaden Velvindron <logan@cyberstorm.mu>
* | configure: Require librtr >= 0.8.0Donatas Abraitis2022-05-101-1/+1
| | | | | | | | | | | | We ship 0.8.0 in our repos. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* | configure: Drop trailing whitespacesDonatas Abraitis2022-05-101-2/+2
|/ | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* Merge pull request #10961 from opensourcerouting/build-ms-extDonald Sharp2022-04-201-0/+14
|\ | | | | build: enable `-fms-extensions`
| * build: enable `-fms-extensions`David Lamparter2022-04-041-0/+14
| | | | | | | | | | | | This eases incorporating fields from/"subclassing" another struct. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | *: Fix spelling of neccessaryDonald Sharp2022-04-191-1/+1
|/ | | | Signed-off-by: Donald Sharp <sharpd@nvidia.com>
* build: stick `-g` into LDFLAGSDavid Lamparter2022-03-311-0/+3
| | | | | | | | Without `-g` in LDFLAGS we won't get debug info even if it's enabled in CFLAGS. Since we're controlling debug info through CFLAGS, there's no harm in always having `-g` in LDFLAGS. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* vtysh: show live log messagesDavid Lamparter2022-02-281-0/+2
| | | | | | https://www.youtube.com/watch?v=8psFQCEgA18 Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* Merge pull request #9947 from mjstapp/mpls_incomingDavid Lamparter2022-02-261-1/+1
|\
| * build: correct help output about netlink debugMark Stapp2022-02-251-1/+1
| | | | | | | | | | | | | | The configure flag _disables_ netlink debug; make the help text match that. Signed-off-by: Mark Stapp <mstapp@nvidia.com>
* | pim6d: IPv6-adjust mroute codeDavid Lamparter2022-02-161-0/+7
|/ | | | | | | | This is just hitting the pim_mroute code with a hammer until it doesn't print warnings anymore. This is NOT quite tested or working yet, it just compiles. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* ospf6d: Stitching the auth trailer code with rest of ospf6.Abhinay Ramesh2022-02-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Problem Statement: ================== RFC 7166 support for OSPF6 in FRR code. RCA: ==== This feature is newly supported in FRR Fix: ==== Core functionality implemented in previous commit is stitched with rest of ospf6 code as part of this commit. Risk: ===== Low risk Tests Executed: =============== Have executed the combination of commands. Signed-off-by: Abhinay Ramesh <rabhinay@vmware.com>
* Merge pull request #8458 from opensourcerouting/xref-5424Donald Sharp2022-02-081-0/+3
|\ | | | | lib: RFC5424 syslog support
| * build: check for sendmmsg() and struct mmsghdrDavid Lamparter2022-01-171-0/+3
| | | | | | | | | | | | These will be used by the RFC5424 log target. Signed-off-by: David Lamparter <equinox@diac24.net>
* | build: FRR 8.3 development versionfrr-8.3-devDonatas Abraitis2022-02-011-1/+1
|/ | | | Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
* build: add "--with-service-timeout" in configure.acanlan_cs2022-01-061-0/+16
| | | | | | | | | | On lower CPU with lots of static routes, it will cost more than 2 minutes. 2 minutes is the default timeout value, we can adjust it by configure: ./configure --with-service-timeout=<digit> Signed-off-by: anlan_cs <anlan_cs@tom.com>
* configure.ac: fix enable_bmp typoFabrice Fontaine2021-12-161-1/+1
| | | | | | enable_bmp doesn't exist, use enable_bgp_bmp Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
* configure.ac: drop --enable-pcep option and HAVE_PATHD_PCEPFabrice Fontaine2021-12-151-3/+0
| | | | | | | Drop --enable-pcep option and HAVE_PATHD_PCEP which does nothing since https://github.com/FRRouting/frr/commit/749714731ee9a59ae39be77e7db3915ce3ad0bd8 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
* Merge pull request #9798 from abuibrahim/masterQuentin Young2021-11-301-0/+1
|\ | | | | fix broken northbound confd
| * yang: confd: compile yang modules to fxsRuslan Babayev2021-11-121-0/+1
| | | | | | | | Signed-off-by: Ruslan Babayev <ruslan@babayev.com>
* | build: link libcrypt & libdl to libfrr onlyDavid Lamparter2021-11-111-2/+19
| | | | | | | | | | | | They're not needed elsewhere. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | build: link libelf to clippy onlyDavid Lamparter2021-11-111-0/+4
| | | | | | | | | | | | It's not needed elsewhere & generates a bogus dependency. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | build: fix more libtool stupidity for modulesDavid Lamparter2021-11-111-0/+9
| | | | | | | | | | | | | | | | | | libtool, the radioactive dumpster fire of the GNU ecosystem. A module should not have a SONAME set. SONAMEs are for (versioned) libraries on search paths. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | build: adjust compiler/C11 bits for autoconf 2.70+David Lamparter2021-11-111-7/+17
| | | | | | | | | | | | `autoconf` finally arrived in the 2010s and tries to do ISO C11. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | build: work around AC_PROG_LEX deprecation warningDavid Lamparter2021-11-111-1/+10
|/ | | | | | | | `AC_PROG_LEX without either yywrap or noyywrap is obsolete`, says autoconf 2.70. Sadly, there is no transition window for this, in 2.69 the macro takes no arguments. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* *: If building clippy we must have python3Donald Sharp2021-10-121-0/+1
| | | | | | | | When building clippy we must have python 3. Let's ensure that we test for it and stop the auto-make if it is not installed on the system. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
* build: bump configure.ac to `8.2-dev`David Lamparter2021-10-061-1/+1
| | | | | | | [needs to happen ASAP to make sure we're not building confusing packages.] Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* tools: Require a lower LTTng version to compileDonatas Abraitis2021-09-231-1/+1
| | | | | | Debian 9 has 2.9.x, only Ubuntu >= 18 has 2.10.x. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
* Merge pull request #8985 from opensourcerouting/ospf6d-grRuss White2021-09-171-0/+1
|\ | | | | ospf6d: introduce support for Graceful Restart (restarting mode)
| * ospf6d: introduce support for Graceful Restart (restarting mode)Renato Westphal2021-09-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RFC 5187 specifies the Graceful Restart enhancement to the OSPFv3 routing protocol. This commit implements support for the GR restarting mode. Here's a quick summary of how the GR restarting mode works: * GR can be enabled on a per-instance basis using the `graceful-restart [grace-period (1-1800)]` command; * To perform a graceful shutdown, the `graceful-restart prepare ipv6 ospf` EXEC-level command needs to be issued before restarting the ospf6d daemon (there's no specific requirement on how the daemon should be restarted); * `graceful-restart prepare ospf` will initiate the graceful restart for all GR-enabled instances by taking the following actions: o Flooding Grace-LSAs over all interfaces o Freezing the OSPF routes in the RIB o Saving the end of the grace period in non-volatile memory (a JSON file stored in `$frr_statedir`) * Once ospf6d is started again, it will follow the procedures described in RFC 3623 until it detects it's time to exit the graceful restart (either successfully or unsuccessfully). Testing done: * New topotest featuring a multi-area OSPF topology (including stub and NSSA areas); * Successful interop tests against IOS-XR routers acting as helpers. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* | build: change the lttng version requirements in frrAnuradha Karuppiah2021-09-151-1/+1
|/ | | | | | Lower the version requirements from 2.12 to 2.10 Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
* build: make `sed` calls portableDavid Lamparter2021-09-021-5/+9
| | | | | | | The `-i` option on sed isn't standard, and e.g. FreeBSD sed behaves different regarding the parameter. Avoid it. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>