summaryrefslogtreecommitdiffstats
path: root/configure.ac (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* lib: adapt to version 2 of libyangChristian Hopps2021-05-131-2/+2
| | | | | | | | | Compile with v2.0.0 tag of `libyang2` branch of: https://github.com/CESNET/libyang staticd init load time of 10k routes now 6s vs ly1 time of 150s Signed-off-by: Christian Hopps <chopps@labn.net>
* build: Limit libyang version to under 2.0Donald Sharp2021-05-021-1/+1
| | | | | | | | Ensure that master is not built with libyang version 2 or greater since we'll fail. Fixes: #8524 Signed-off-by: Donald Sharp <sharpd@nvidia.com>
* build: fix pthread CFLAGS for function checksDavid Lamparter2021-04-271-5/+10
| | | | | | | The pthread_* checks for extra pthread features really need PTHREAD_CFLAGS... Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: run autoupdateDavid Lamparter2021-04-211-43/+66
| | | | | | AC_TRY_COMPILE is deprecated too. Also configure.ac isn't executable. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: remove deprecated AC_WORDS_BIGENDIANDavid Lamparter2021-04-211-8/+9
| | | | Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: use AC_CONFIG_AUX_DIRDavid Lamparter2021-04-211-0/+1
| | | | | | aka the "put shit into a subdirectory" option Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: properly split CFLAGS from AC_CFLAGSDavid Lamparter2021-04-211-9/+12
| | | | | | | | `CFLAGS` is a "user variable", not intended to be controlled by configure itself. Let's put all the "important" stuff in AC_CFLAGS and only leave debug/optimization controls in CFLAGS. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* Merge pull request #8318 from qlyoung/improve-lua-autoconf-detectionDavid Lamparter2021-03-241-4/+10
|\ | | | | configure.ac: better lua detection
| * configure.ac: better lua detectionQuentin Young2021-03-231-4/+10
| | | | | | | | | | | | | | Make sure to constrain the Lua autoconf search to Lua 5.3 interpreter and libraries. Signed-off-by: Quentin Young <qlyoung@nvidia.com>
* | build: add -ggdb3 to dev buildMark Stapp2021-03-191-0/+2
|/ | | | | | Add a little more gdb-specific debugging info for dev builds. Signed-off-by: Mark Stapp <mjs@voltanet.io>
* Merge pull request #7963 from volta-networks/feat_pceplib_into_frr_githubDonald Sharp2021-03-161-12/+10
|\ | | | | pceplib: Integrate pcelib into frr
| * pceplib: Integrate pcelib into frrJavier Garcia2021-03-051-12/+10
| | | | | | | | | | | | Signed-off-by: Brady Johnson <brady@voltanet.io> Co-authored-by: Javier Garcia <javier.garcia@voltanet.io> Signed-off-by: Javier Garcia <javier.garcia@voltanet.io>
* | lib/clippy: add libelf wrapperDavid Lamparter2021-02-231-0/+14
|/ | | | | | | | | | | This adds _clippy.ELFFile, which provides a fast wrapper around libelf. The API is similar to / a subset of pyelfutils, which unfortunately is painfully slow (to the tune of minutes instead of seconds.) The idea is that xrefs can be read out of ELF files by reading out the "xref_array" section or "FRRouting/XREF" note. Signed-off-by: David Lamparter <equinox@diac24.net>
* build: detect ICC, only try ICC options if ICCMark Stapp2021-02-151-2/+11
| | | | | | | | Some ICC command-line options can cause confusion for other compilers; test for ICC specifically, and only try to use those options if ICC is being used. Signed-off-by: Mark Stapp <mjs@voltanet.io>
* lib: support mallinfo2()Quentin Young2021-02-111-0/+23
| | | | | | | mallinfo() is deprecated as of glibc 2.33 and emits a warning if used. Support mallinfo2() if available. Signed-off-by: Quentin Young <qlyoung@qlyoung.net>
* lib: "xref" identifier infrastructureDavid Lamparter2021-02-011-0/+15
| | | | | | | | | | | | This adds the machinery for cross reference points (hence "xref") for things to be annotated with source code location or other metadata and/or to be uniquely identified and found at runtime or by dissecting executable files. The extraction tool to walk down an ELF file is done and working but needs some more cleanup and will be added in a separate commit. Signed-off-by: David Lamparter <equinox@diac24.net>
* *: Update version stringDonald Sharp2021-01-271-1/+1
| | | | | | Update the version string to reflect work towards next release Signed-off-by: Donald Sharp <sharpd@nvidia.com>
* Merge pull request #7368 from eololab/add-pidfile-in-frr.serviceDonald Sharp2021-01-261-0/+2
|\ | | | | tools: add PIDFile option in frr.service
| * tools: add PIDFile option in frr.serviceEmanuele Bovisio2020-10-301-0/+2
| | | | | | | | | | | | | | when type is forking, it is recommended to also use the PIDFile= option, so that systemd can reliably identify the main process of the service. Signed-off-by: Emanuele Bovisio <emanuele.bovisio@eolo.it>
* | Merge pull request #7639 from qlyoung/frr-luaRuss White2021-01-191-13/+22
|\ \ | | | | | | Scripting
| * | build: fix default scriptdir pathQuentin Young2020-12-021-1/+1
| | | | | | | | | | | | | | | | | | Should be /etc/frr/scripts, not /usr/lib/frr/scripts :) Signed-off-by: Quentin Young <qlyoung@nvidia.com>
| * | lib: add support for scripts directoryQuentin Young2020-12-021-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Specify default via --with-scriptdir at compile time, override default with --scriptdir at runtime. If unspecified, it's {sysconfdir}/scripts (usually /etc/frr/scripts) Signed-off-by: Quentin Young <qlyoung@nvidia.com>
| * | build: HAVE_LUA -> HAVE_SCRIPTINGQuentin Young2020-12-021-13/+11
| | | | | | | | | | | | | | | | | | And also guard all scripting-related stuff with HAVE_SCRIPTING. Signed-off-by: Quentin Young <qlyoung@nvidia.com>
* | | configure.ac: Correct library name for sysrepoBo Zhang2021-01-161-1/+1
| | | | | | | | | | | | | | | | | | Northbound_sysrepo: Correct sysrepo library name in configure.ac Signed-off-by: Bo Zhang <logbob0401@gmail.com>
* | | pathd: Add optional support for PCEP to pathdSebastien Merle2020-12-181-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new dynamic module makes pathd behave as a PCC for dynamic candidate path using the external library pcpelib https://github.com/volta-networks/pceplib . The candidate paths defined as dynamic will trigger computation requests to the configured PCE, and the PCE response will be used to update the policy. It supports multiple PCE. The one with smaller precedence will be elected as the master PCE, and only if the connection repeatedly fails, the PCC will switch to another PCE. Example of configuration: segment-routing traffic-eng pcep pce-config CONF source-address ip 10.10.10.10 sr-draft07 ! pce PCE1 config CONF address ip 1.1.1.1 ! pce PCE2 config CONF address ip 2.2.2.2 ! pcc peer PCE1 precedence 10 peer PCE2 precedence 20 ! ! ! ! Co-authored-by: Brady Johnson <brady@voltanet.io> Co-authored-by: Emanuele Di Pascale <emanuele@voltanet.io> Co-authored-by: GalaxyGorilla <sascha@netdef.org> Co-authored-by: Javier Garcia <javier.garcia@voltanet.io> Co-authored-by: Renato Westphal <renato@opensourcerouting.org> Co-authored-by: Sebastien Merle <sebastien@netdef.org> Signed-off-by: Sebastien Merle <sebastien@netdef.org>
* | | pathd: New SR-TE policy management daemonSebastien Merle2020-12-181-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new daemon manages Segment-Routing Traffic-Engineering (SR-TE) Policies and installs them into zebra. It provides the usual yang support and vtysh commands to define or change SR-TE Policies. In a nutshell SR-TE Policies provide the possibility to steer traffic through a (possibly dynamic) list of Segment Routing segments to the endpoint of the policy. This list of segments is part of a Candidate Path which again belongs to the SR-TE Policy. SR-TE Policies are uniquely identified by their color and endpoint. The color can be used to e.g. match BGP communities on incoming traffic. There can be multiple Candidate Paths for a single policy, the active Candidate Path is chosen according to certain conditions of which the most important is its preference. Candidate Paths can be explicit (fixed list of segments) or dynamic (list of segment comes from e.g. PCEP, see below). Configuration example: segment-routing traffic-eng segment-list SL index 10 mpls label 1111 index 20 mpls label 2222 ! policy color 4 endpoint 10.10.10.4 name POL4 binding-sid 104 candidate-path preference 100 name exp explicit segment-list SL candidate-path preference 200 name dyn dynamic ! ! ! There is an important connection between dynamic Candidate Paths and the overall topic of Path Computation. Later on for pathd a dynamic module will be introduced that is capable of communicating via the PCEP protocol with a PCE (Path Computation Element) which again is capable of calculating paths according to its local TED (Traffic Engineering Database). This dynamic module will be able to inject the mentioned dynamic Candidate Paths into pathd based on calculated paths from a PCE. https://tools.ietf.org/html/draft-ietf-spring-segment-routing-policy-06 Co-authored-by: Sebastien Merle <sebastien@netdef.org> Co-authored-by: Renato Westphal <renato@opensourcerouting.org> Co-authored-by: GalaxyGorilla <sascha@netdef.org> Co-authored-by: Emanuele Di Pascale <emanuele@voltanet.io> Signed-off-by: Sebastien Merle <sebastien@netdef.org>
* | | Merge pull request #7162 from opensourcerouting/zebra-human-netlinkStephen Worley2020-12-141-0/+9
|\ \ \ | |/ / |/| | zebra: human readable netlink dumps
| * | zebra: human readable netlink dumpsRafael Zalamena2020-09-241-0/+9
| | | | | | | | | | | | | | | | | | | | | Add new compile option to enable human readable netlink dumps with `debug zebra kernel msgdump`. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
* | | Merge pull request #7475 from eololab/add-more-parameters-for-crosscompilationQuentin Young2020-11-241-0/+7
|\ \ \ | | | | | | | | build: add more precious variables for cross-compilation
| * | | build: add more precious variables for cross-compilationEmanuele Bovisio2020-11-061-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using AC_ARG_VAR function, it's possible to add LD, AR, OBJCOPY, OBJDUMP, RANLIB and STRIP to the list of precious variables in $ac_precious_vars for configure tool. Doing this, we are enabling a new set of variables (HOST_LD, HOST_AR, HOST_OBJCOPY, HOST_OBJDUMP, HOST_RANLIB and HOST_STRIP) useful for cross-compiling when the target toolchain is prepending a prefix to these tools. Signed-off-by: Emanuele Bovisio <emanuele.bovisio@eolo.it>
* | | | Revert "debian: Adjust tarsource.sh to use native debian/changelog"Quentin Young2020-11-191-1/+1
| | | | | | | | | | | | | | | | This reverts commit 4ffb9a4c9ddd0ef3f770c0bc2674c4818331780d.
* | | | Revert "debian: Remove the changelog-auto automation in favor of dch"Quentin Young2020-11-191-0/+1
| | | | | | | | | | | | | | | | This reverts commit cace1d9bf178d447599fe7caa5ccad9a89babe03.
* | | | debian: Remove the changelog-auto automation in favor of dchOndřej Surý2020-11-191-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Ondřej Surý <ondrej@sury.org>
* | | | debian: Adjust tarsource.sh to use native debian/changelogOndřej Surý2020-11-191-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Ondřej Surý <ondrej@sury.org>
* | | | Merge pull request #7210 from idryzhov/route-types-disable-daemonDonald Sharp2020-11-191-13/+0
|\ \ \ \ | |/ / / |/| | | lib: respect --disable-daemon flags in route_types.h
| * | | lib: respect --disable-daemon flags in route_types.hIgor Ryzhov2020-10-021-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove pre-generation of route_types.h from configure This change is a partial revert of commit 306ed6816. This is a little drawback, but at least "make lib/libfrr.la", mentioned in the commit, still works because route_types.h is forced to be built in f1b32b2e5. * add "enabled" field to route_types.txt to track which daemon should be enabled to add the routing protocol to "show ip route" header and to redistribution list Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
* | | | Merge pull request #7366 from eololab/add-disable-rpath-option-in-configureDonald Sharp2020-10-281-0/+13
|\ \ \ \ | | | | | | | | | | build: add --disable-rpath option in configure
| * | | | build: add --disable-rpath option in configureEmanuele Bovisio2020-10-231-0/+13
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Add an option to remove RPATH entry from binary files. Useful for cross-compilation, otherwise libtool hardcodes the building path. Signed-off-by: Emanuele Bovisio <emanuele.bovisio@eolo.it>
* | | | lib: add trace.h, frrtrace(), support for USDTQuentin Young2020-10-231-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous commits added LTTng tracepoints. This was primarily for testing / trial purposes; in practice we'd like to support arbitrary tracing methods, and especially USDT probes, which SystemTap and dtrace expect, and which are supported on at least one flavor of BSD (FreeBSD). To that end this patch adds an frr-specific tracing macro, frrtrace(), which proxies into either DTRACE_PROBEn() or tracepoint() macros depending on whether --enable-usdt or --enable-lttng is passed at compile time. At some point this could be tweaked to allow compiling in both types of probes. Ideally there should be some logic there to use LTTng's optional support for generating USDT probes when both are requested. No additional libraries are required to use USDT, since these probes are a kernel feature and only need the <sys/sdt.h> header. - add --enable-usdt to toggle use of LTTng tracepoints or USDT probes - add new trace.h library header for use with tracepoint definition headers - add frrtrace() wrapper macro; this should be used to define tracepoints instead of using tracepoint() or DTRACE_PROBEn() Compilation with USDT does nothing as of this commit; the existing LTTng tracepoints need to be converted to use the frrtrace*() macros in a subsequent commit. Signed-off-by: Quentin Young <qlyoung@nvidia.com>
* | | | lib, configure.ac: initial LTTng supportQuentin Young2020-10-231-0/+14
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds initial support for LTTng. When --enable-lttng=no or is not specified, no tracing code is included. When --enable-lttng=yes, LTTng tracing events are (will be) generated. configure.ac: - add --enable-lttng - define HAVE_LTTNG when enabled - minimum LTTng version: 2.12.0 lib: - add trace.[ch] - update subdir.am Signed-off-by: Quentin Young <qlyoung@nvidia.com>
* / / nhrp: Make vici socket path configurableZoran Pericic2020-10-121-0/+8
|/ / | | | | | | | | | | | | | | | | | | nhrp: Configure vici socket path using configure --with-vici-socket=/var/run/charon.vici If not specified default to /var/run/charon.vici Signed-off-by: Zoran Peričić <zpericic@netst.org>
* | 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>