summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* doc,all: fix spelling of Open vSwitch (instead of OpenVSwitch)Thomas Haller2018-11-281-2/+2
| | | | | | Also affects documentation and translated strings. Reported-by: Flavio Leitner <fbl@redhat.com>
* build: add configure check for having memfd_create() APIThomas Haller2018-10-251-0/+6
|
* build: autodetect ebpf supportBeniamino Galvani2018-09-191-6/+11
|
* build: disable ibft settings plugin by defaultLubomir Rintel2018-09-181-2/+2
|
* build: allow disabling eBPF support in n-acdbg/n-acd-updateBeniamino Galvani2018-09-181-0/+10
| | | | | | | | | | 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.
* build: don't change CFLAGS from configure.acBeniamino Galvani2018-09-181-2/+3
| | | | | | | | If configure.ac automatically adds compiler flags to CFLAGS, it becomes hard to override one of them for a specific target because CFLAGS is added last. It is better to use AM_CFLAGS. See [1]. [1] https://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html
* docs: misc. typos pt2luz.paz2018-09-171-1/+1
| | | | | | | | | | | | | | | | | | | | | Remainder of typos found using `codespell -q 3 --skip="./shared,./src/systemd,*.po" -I ../NetworkManager-word-whitelist.txt` whereby whitelist consists of: ``` ans busses cace cna conexant crasher iff liftime creat nd sav technik uint ``` https://github.com/NetworkManager/NetworkManager/pull/205
* release: bump version to 1.15.1-dev after 1.14.0 release1.15.1-devThomas Haller2018-09-141-2/+2
|\ | | | | | | | | | | | | | | | | | | After 1.14.0 is released, merge it back into master so that 1.14.0 is part of the history of master. That means, $ git log --first-parent master will also traverse 1.14.0 and 1.14-rc*. Also bump the micro version to 1.15.1-dev to indicate that this is after 1.14.0 is out.
| * build: fix error message in configure script about gtk-docThomas Haller2018-09-141-1/+1
| |
| * build/autotools: fail configure if netconfig/resolveconf tool is not foundThomas Haller2018-09-131-7/+14
| | | | | | | | | | | | | | If the user explicitly passes --with-netconfig=$PATH or --with-resolvconf=$PATH, the path is accepted as is. We only do autodetection, if the binary was not found. In that case, if the binary cannot be found in the common paths fail compilation.
| * build: rename DNSSEC_TRIGGER_SCRIPT to DNSSEC_TRIGGER_PATHBeniamino Galvani2018-09-131-4/+4
| | | | | | | | | | Rename the define for consistency, since the configure option is named 'dnssec-trigger'.
| * build: print both pppd path and plugins path in configure summaryBeniamino Galvani2018-09-131-1/+1
| | | | | | | | | | | | Reported-by: Michael Biebl <biebl@debian.org> https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/25
| * build: autotools: remove unused definesBeniamino Galvani2018-09-131-22/+0
| | | | | | | | Remove AC_DEFINE()s that add unused entries to config.h.
| * build: move paths of dhcp clients from config-extra.h to config.hBeniamino Galvani2018-09-131-3/+3
| | | | | | | | | | | | | | | | Some path variable like $(bindir), $(datadir), etc. are special for autotools and must be handled separately through config-extra.h. But dhcp path variables are just normal variables defined through the configure script and should go into config.h.
| * build: remove check on dhcpcd version numberBeniamino Galvani2018-09-131-32/+0
| | | | | | | | | | dhcpcd version 6, the first supporting IPv6, was released more than 5 years ago. Remove all checks on version number and IPv6 support.
| * build: remove check on dhclient versionBeniamino Galvani2018-09-131-5/+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
| * release: bump version to 1.15.0 (development)1.15.0-devThomas Haller2018-09-081-2/+2
| |
* | release: bump version to 1.14.01.14.0Thomas Haller2018-09-141-2/+2
| |
* | build: fix error message in configure script about gtk-docThomas Haller2018-09-141-1/+1
| | | | | | | | (cherry picked from commit 815834aebcdf4b65311952163a8d38805e950407)
* | build/autotools: fail configure if netconfig/resolveconf tool is not foundThomas Haller2018-09-131-7/+14
| | | | | | | | | | | | | | | | | | If the user explicitly passes --with-netconfig=$PATH or --with-resolvconf=$PATH, the path is accepted as is. We only do autodetection, if the binary was not found. In that case, if the binary cannot be found in the common paths fail compilation. (cherry picked from commit 5b36585a3ddd9bc54419e71aef0c244c8015d6d6)
* | build: rename DNSSEC_TRIGGER_SCRIPT to DNSSEC_TRIGGER_PATHBeniamino Galvani2018-09-131-4/+4
| | | | | | | | | | | | | | Rename the define for consistency, since the configure option is named 'dnssec-trigger'. (cherry picked from commit 8e776955ee53b80536f017d2c5bbfc7c9a7b0f10)
* | build: print both pppd path and plugins path in configure summaryBeniamino Galvani2018-09-131-1/+1
| | | | | | | | | | | | | | Reported-by: Michael Biebl <biebl@debian.org> https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/25 (cherry picked from commit ff837b2686cf8f88bbdb95b2ddd8efd7fc9f809e)
* | build: autotools: remove unused definesBeniamino Galvani2018-09-131-22/+0
| | | | | | | | | | | | Remove AC_DEFINE()s that add unused entries to config.h. (cherry picked from commit 8b313d4c549b33f0cff163f6fc0d951e7e9e480a)
* | build: move paths of dhcp clients from config-extra.h to config.hBeniamino Galvani2018-09-131-3/+3
| | | | | | | | | | | | | | | | | | | | Some path variable like $(bindir), $(datadir), etc. are special for autotools and must be handled separately through config-extra.h. But dhcp path variables are just normal variables defined through the configure script and should go into config.h. (cherry picked from commit 087c367d626a4c5b58dae5bc11670f3ab34b0e44)
* | build: remove check on dhcpcd version numberBeniamino Galvani2018-09-131-32/+0
| | | | | | | | | | | | | | 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)
* | build: remove check on dhclient versionBeniamino Galvani2018-09-131-5/+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)
* release: bump version to 1.13.90 (1.14-rc1)1.14-rc1Thomas Haller2018-09-081-1/+1
|
* libnm/crypto: rework endianness detection for crypto_verify_pkcs12()Thomas Haller2018-09-041-5/+0
| | | | | | | | At other places, we already use __BYTE_ORDER define to detect endianness. We don't need multiple mechanisms. Also note that meson did not do the correct thing as AC_C_BIGENDIAN, so meson + nss + big-endian was possibly broken.
* build: enable building both crypto backends for testsThomas Haller2018-09-041-8/+28
| | | | | | | | | | | | If the library is available, let's at least compile both crypto backends. That is helpful when developing on crypto backends, so that one does not have to configure the build twice. With autotools, the build is only run during `make check`. Not for meson, but that is generally the case with our meson setup, that it also builds tests during the regular build step.
* build: cleanup build defines for session-trackingThomas Haller2018-08-271-1/+6
| | | | | | | | | | | | | - 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.
* build: always define NM_MORE_LOGGING define and don't check with #ifdefThomas Haller2018-08-271-0/+2
| | | | | | | | | | | | Using '#ifdef' is generally error prone. It's better to always define a define and check for it explicitly. This way, the compiler can issue a warning if the define does not exist. Also, note how meson would always define NM_MORE_LOGGING, possibly to "0". That means, for meson, we unintentionally always enabled more logging because the define was always present. Fix that.
* release: bump version to 1.13.3 (development)1.13.3-devThomas Haller2018-08-131-1/+1
|
* build: avoid AC_CHECK_FILE() due to problems with cross-compilationThomas Haller2018-07-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | AC_CHECK_FILE() does not work for cross compilation. Autoconf documentation says: Be aware that, like most Autoconf macros, they test a feature of the host machine, and therefore, they die when cross-compiling. [1] Test for the existance of the file directly. Of course, when cross compiling, it's not at all clear that the host machine will run the same distribution. And thus detecting --enable-ifcfg-rh based on the build machine is likely wrong. Note, that we already did AS_IF([test -z "$hostname_persist" -a -f /etc/SuSE-release], hostname_persist=suse) which has the same problem. At least, build no longer fails, and the user can inspect the ./configure summary and see which features were misdetected. [1] https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Files.html
* release: bump version to 1.13.2 (development)1.13.2-devLubomir Rintel2018-07-251-1/+1
|
* release: bump version to 1.13.1-dev after 1.12.0 release1.13.1-devThomas Haller2018-06-291-2/+2
|\ | | | | | | | | | | | | | | | | | | After 1.12.0 is released, merge it back into master so that 1.12.0 is part of the history of master. That means, $ git log --first-parent master will also traverse 1.12.0 and 1.12-rc*. Also bump the micro version to 1.13.1-dev to indicate that this is after 1.12.0 is out.
| * logging: warn about invalid logging backends and drop "debug" backendThomas Haller2018-06-271-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "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.
| * release: bump version to 1.13.0 (development)1.13.0-devth/releaseThomas Haller2018-06-151-2/+2
| |
* | release: bump version to 1.12.01.12.0Thomas Haller2018-06-291-2/+2
| |
* | logging: warn about invalid logging backends and drop "debug" backendThomas Haller2018-06-271-4/+2
|/ | | | | | | | | | | | | | | | | | | "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)
* release: bump version to 1.11.90 (1.12-rc1)1.12-rc1Thomas Haller2018-06-151-1/+1
|
* build: disable libnm-glib by defaultLubomir Rintel2018-06-151-6/+6
| | | | | | | 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.
* release: bump version to 1.11.4 (development)1.11.4-devLubomir Rintel2018-05-311-1/+1
|
* build: print used crypto library in ./configure result outputThomas Haller2018-05-241-19/+7
| | | | And cleanup handling --with-crypto in configure.ac.
* build: qualify plugin dir name with a version stringLubomir Rintel2018-05-141-4/+3
| | | | | | | | | | | | | | | | | This makes package updates more robust, avoiding in-place replaces of the plugins. Previously, if an upgrade transaction was terminated, NetworkManager library could end up being of a different version than the plugins. If the user was unfortunate enough to connect using a connection that required a plugin (say, Wi-Fi), he would be left without a network connection making it somewhat inconvenient to recover from the botched upgrade. This makes the whole situation a little bit less sad. The VPN plugins are kept where they always have been -- the path is not qualified with a version number.
* build: set LD_LIBRARY_PATH and GI_TYPELIB_PATH variables in run-nm-test.shThomas Haller2018-05-111-1/+1
| | | | | | | | | | With autotools, we use libtool so that the right libraries are automatically found. Still, we won't find the right GI typelib. Add a mechanism so that when make/meson invokes the run-nm-test.sh runner, it passes the build-root directory. Also, try to autodetect when invoked manually.
* Revert "build: qualify plugin dir name with a version string"Lubomir Rintel2018-05-111-3/+4
| | | | | | | This is broken -- looks for VPN plugins in a version-qualified path, which is wrong and break installed VPN plugins. This reverts commit 6384ad4ee16f31dd103f790bd193c4049d89a6fc.
* build: qualify plugin dir name with a version stringlr/version-dirLubomir Rintel2018-05-091-4/+3
| | | | | | | | | | | | | | This makes package updates more robust, avoiding in-place replaces of the plugins. Previously, if an upgrade transaction was terminated, NetworkManager library could end up being of a different version than the plugins. If the user was unfortunate enough to connect using a connection that required a plugin (say, Wi-Fi), he would be left without a network connection making it somewhat inconvenient to recover from the botched upgrade. This makes the whole situation a little bit less sad.
* release: bump version to 1.11.3 (development)1.11.3-devThomas Haller2018-04-231-1/+1
|
* auth-manager: always compile D-Bus calls to polkitThomas Haller2018-04-131-18/+8
| | | | | | | | | | | | | | | | | Supporting PolicyKit required no additional library, just extra code to handle the D-Bus calls. For that, there was a compile time option to even stip out that code. Note, that you could (and still can) configure the system not to use policy-kit. The point was to reduce the binary size in case you don't need it. Remove this. I guess, we we aim for such aggressive optimization of the binary size, we should instead make all device types disablable at configuration time. We don't do that either and other low hanging fruits, because it's better to always enable features, unless they require external dependencies. Also, the next commit will make more use of NMAuthManager. So, having it disabled at compile time, makes even less sense.
* systemd: merge branch systemd into masterThomas Haller2018-04-041-0/+6
|\