summaryrefslogtreecommitdiff
path: root/meson_options.txt
AgeCommit message (Collapse)AuthorFilesLines
2018-09-19build: autodetect ebpf supportBeniamino Galvani1-1/+1
2018-09-19build: meson: check vapi prerequisites and allow autodetectionBeniamino Galvani1-1/+1
Turn the vapi option into a combo that allows autodetection and check whether all prerequisites are satisfied (including introspection support) when vapi is explicitly enabled. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/28
2018-09-18build: allow disabling eBPF support in n-acdBeniamino Galvani1-0/+1
Add a configure option to disable eBPF support in n-acd. Note that, even if eBPF is not supported, n-acd requires a kernel > 3.19, which means that the setsockopt(..., SO_ATTACH_BPF) option must be defined. To allow building on older kernels without modifying the n-acd code, we inject the SO_ATTACH_BPF value as a preprocessor define in the compiler the command line.
2018-09-13build: meson: uniform handling of rc managersBeniamino Galvani1-2/+2
Handle all rc managers paths through the same code. (cherry picked from commit 2fd7559819c2de392d6964cacc0032d2066d0d6e)
2018-09-13build: meson: uniform handling of dhcp client pathsBeniamino Galvani1-3/+3
Handle all dhcp client paths through the same code. (cherry picked from commit 36b0e46146ec7f67acb365e83e306d781f198d1c)
2018-09-13build: remove check on dhcpcd version numberBeniamino Galvani1-2/+1
dhcpcd version 6, the first supporting IPv6, was released more than 5 years ago. Remove all checks on version number and IPv6 support. (cherry picked from commit e0c49d7341a0329e2c40e25fee5d3ce249f5ebe6)
2018-09-13build: remove check on dhclient versionBeniamino Galvani1-1/+1
dhclient 4.0 was released more than 10 years ago. I think it is reasonable to expect that nobody is using an older version today. https://source.isc.org/cgi-bin/gitweb.cgi?p=dhcp.git;a=shortlog;h=refs/tags/v4_0_0 (cherry picked from commit 9e61ea70402b5d8140de512bdcf84252fcb0d11c)
2018-09-13build: meson: fix pppd pathBeniamino Galvani1-1/+1
Allow specifying a non-existent path. (cherry picked from commit 794e499ab8b8825d9794d7c2e320b10909fc3ba3)
2018-09-13build: meson: fix setting iptables/dnsmasq/dnssec-trigger pathsBeniamino Galvani1-3/+3
Handle the iptables, dnsmasq and dnssec-trigger paths in the same way through common code. The path set by user must be accepted as is, even if does not exist, because this is a requirement for cross-compilation. When user does not specify a path, search a predefined set of paths and fall back to an hardcoded one. (cherry picked from commit 220dea0948a22dfbdddb91ed76a23ae20d2c5810)
2018-08-27build/meson: fix build options for suspend-resumeThomas Haller1-1/+1
suspend-resume must be selectable, out of for possible options. We can do auto-detection based on present libraries, but it shall be selectable. Like it is with autotools.
2018-08-27build: cleanup build defines for session-trackingThomas Haller1-1/+1
- always define the SESSION_TRACKING_* defines to replace "#ifdef" with "#if". - drop defining the consolekit database path CKDB_PATH in config.h. The path was not customizable via configure/meson. - fix meson build to enable consolekit support for session tracking without also enabling logind/elogind session tracking. logind/elogind is mutually exclusive, but consolekit session tracking goes together just fine.
2018-06-27logging: warn about invalid logging backends and drop "debug" backendThomas Haller1-1/+1
"debug" was documentation in `man NetworkManager.conf` as a valid logging backend. However, it was completely ignored by nm_logging_syslog_openlog(). In fact, it makes not sense. Passing debug = TRUE to nm_logging_syslog_openlog(), means that all messages will be printed to stderr in addition to syslog/journal. However, when NetworkManager is daemonizing, stderr is closed. Whether NetworkManager is daemonizing depends entirely on command line options --no-daemon and --debug. Hence, the logging backend "debug" from the configuration file either conflicts or is redundant. Also, adjust logging backend description in `man NetworkManager.conf`. Also, log a warning about invalid/unsupported logging backend. (cherry picked from commit 2ccf6168dc1c54fde350ec669b777c29d566fb4a)
2018-06-15build: disable libnm-glib by defaultLubomir Rintel1-1/+1
It's deprecated and has been replaced by libnm for 6 major releases now. Its use in modern distributions has faded to the point it can probably be safely removed.
2018-01-12build: Rename settings-docs.c fileIñigo Martínez1-1/+1
The `settings-docs.c` file is generated by processing the `nm-property-docs.xml` file. Although this works in autotools, the `.c` extension makes meson not to handle it properly. Given the fact that it only contains a number of defines it makes sense to change its extension to `.h` an use it as a header. This also makes meson to handle it properly and build it before its used. https://mail.gnome.org/archives/networkmanager-list/2018-January/msg00057.html
2018-01-10build/meson: rename config_plugin_ibft option to just ibftThomas Haller1-1/+1
2017-12-21settings: drop unmaintained ifnet settings plugin of GentooThomas Haller1-1/+0
Even Gentoo disables this plugin since before 0.9.8 release of NetworkManager. Time to say goodbye. If somebody happens to show up to maintain it, we may resurrect it later. If "$distro_plugins=ifnet" was set, configure.ac would use that to autodetect --with-hostname-persist=gentoo. Replace that autodetect part by checking for /etc/gentoo-release file.
2017-12-21build/meson: drop option for deprecated ifcfg-suse setting pluginsThomas Haller1-1/+0
2017-12-18build: Move default path values to options fileIñigo Martínez1-10/+10
Since meson 0.44 there is a new option type called `array`, which allows to use an array with different values in those options. These fits the needs of different options that are used to pass binary paths, which have multiple paths as an alternate locations. meson's version has been bumped to 0.44 and different options have been changed to `array` type options. https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00062.html
2017-12-13build: add initial support for meson build systemIñigo Martínez1-0/+79
meson is a build system focused on speed an ease of use, which helps speeding up the software development. This patch adds meson support along autotools. [thaller@redhat.com: rebased patch and adjusted for iwd support] https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00022.html