summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Remove systemd-bootchartDaniel Mack2016-02-231-9/+0
| | | | | | | This commit rips out systemd-bootchart. It will be given a new home, outside of the systemd repository. The code itself isn't actually specific to systemd and can be used without systemd even, so let's put it somewhere else.
* missing.h: Explicitly check for IFLA_BRPORT_PROXYARPDaniel Mack2016-02-221-0/+1
| | | | | | | | | | | | | | | RHEL explicitly disables IFLA_BRPORT_PROXYARP by renaming the enum value. In order to support unpatched builds, we have two options: a) redefine the enum value through missing.h and ignore the fact that it is really unsupported, or b) omit that enum value on rtnl_prot_info_bridge_port_types[] As we are not actually using this netlink type anywhere, and because it is only hooked up for the sake of completeness, this patch opts for the former.
* Merge pull request #2621 from keszybz/wheel-groupMartin Pitt2016-02-181-0/+9
|\ | | | | build-sys: allow wheel group name to be specified
| * build-sys: allow references to wheel group to be omittedZbigniew Jędrzejewski-Szmek2016-02-171-0/+9
| | | | | | | | https://github.com/systemd/systemd/issues/2492
* | build-sys: fix type detectionLennart Poettering2016-02-161-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | Before this patch existence of char16_t, char32_t, key_serial_t was checked with AC_CHECK_DECLS() which doesn't actually work for types. Correct this to use AC_CHECK_TYPES() instead. Also, while we are at it, change the check for memfd_create() to use AC_CHECK_DECLS() instead of AC_CHECK_FUNCS(). This is a better choice, since a couple of syscalls are defined by glibc but not exported in the header files (pivot_root() for example), and we hence should probably be more picky with memfd_create() too, which glibc might decide to expose one day, but not necessarily in the headers too.
* | resolved: turn on DNSSEC by default, unless configured otherwiseLennart Poettering2016-02-161-2/+17
|/ | | | | | | | | | | | | | | | Let's make sure DNSSEC gets more testing, by defaulting DNSSEC to "allow-downgrade" mode. Since distros should probably not ship DNSSEC enabled by default add a configure switch to disable this again. DNSSEC in "allow-downgrade" mode should mostly work without affecting user experience. There's one exception: some captive portal systems rewrite DNS in order to redirect HTTP traffic to the captive portal. If these systems implement DNS servers that are otherwise DNSSEC-capable (which in fact is pretty unlikely, but still...), then this will result in the captive portal being inaccessible. To fix this support in NetworkManager (or any other network management solution that does captive portal detection) is required, which simply turns off DNSSEC during the captive portal detection, and resets it back to the default (i.e. on) after captive portal authentication is complete.
* build-sys: drop libsystemd-{id128,daemon,login,journal}.so compat libsLennart Poettering2016-02-131-12/+0
| | | | | They have long been obsolete, and upstream distros and packages have mostly switched over, let's get rid of it for good.
* Merge pull request #2587 from haraldh/tpmv3Lennart Poettering2016-02-111-0/+23
|\ | | | | sd-boot: put hashed kernel command line in a PCR of the TPM
| * sd-boot: put hashed kernel command line in a PCR of the TPMHarald Hoyer2016-02-111-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The UEFI BIOS already hashes the contents of the loaded image, so the initrd and the command line of the binary are recorded. Because manually added LoadOptions are not taken into account, these should be recorded also. This patch logs and extends a TPM PCR register with the LoadOptions. This feature can be enabled with configure --enable-tpm The PCR register index can be specified with configure --with-tpm-pcrindex=<NUM>
* | configure: bump version numberv229Lennart Poettering2016-02-111-1/+1
|/
* coredump: dump priviliges when processing system coredumpsLennart Poettering2016-02-101-0/+1
| | | | | | | | Let's add an extra-safety net and change UID/GID to the "systemd-coredump" user when processing coredumps from system user. For coredumps of normal users we keep the current logic of processing the coredumps from the user id the coredump was created under. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=87354
* configure.ac: Fix help text of --enable-* optionsDaniel Mack2016-02-101-2/+2
| | | | Fixes #2567
* utf8.[ch] et al: use char32_t and char16_t instead of int, int32_t, int16_tShawn Landden2016-01-271-1/+2
| | | | | | | | | | | | rework C11 utf8.[ch] to use char32_t instead of uint32_t when referring to unicode chars, to make things more expressive. [ @zonque: * rebased to current master * use AC_CHECK_DECLS to detect availibility of char{16,32}_t * make utf8_encoded_to_unichar() return int ]
* build-sys: allow building man pages even if disabled in ./configureZbigniew Jędrzejewski-Szmek2016-01-181-1/+1
| | | | | | | | | | | | | | This is purely for developer convenience: building man pages is slow so people tend to disable them when not working on documentation. But sometimes it is useful to build the man page to look something up, especially when working on an older machine which has outdated documentation, or to test some change to documentation. The rules to build man pages are now outside of the ENABLE_MANPAGES conditional, but they are not used unless manually invoked, and only the inclusion of man pages in build and install targets is affected by the conditional. Also, more generated files are removed in clean, which seems to be good thing, and Makefile.am is simplified.
* build-sys: refactor `have_smack` detectionEvgeny Vereshchagin2015-12-121-6/+3
|
* build-sys: fix ./configure --enable-smackEvgeny Vereshchagin2015-12-121-1/+1
| | | | | | | | | | | | | | Fixes: $ ./configure ... --enable-smack $ make src/core/load-fragment-gperf.c $ grep -i smack src/core/load-fragment-gperf.c {"Swap.SmackProcessLabel", config_parse_warn_compat, DISABLED_CONFIGURATION, 0}, ... should be {"Swap.SmackProcessLabel", config_parse_exec_smack_process_label, 0, offsetof(Swap, exec_context)}, ...
* importd: drop dkr supportLennart Poettering2015-12-101-9/+0
| | | | | | | | The current code is not compatible with current dkr protocols anyway, and dkr has a different focus ("microservices") than nspawn anyway ("whole machine containers"), hence drop support for it, we cannot reasonably keep this up to date, and it creates the impression we'd actually care for the microservices usecase.
* Merge pull request #2129 from poettering/dnssec3Tom Gundersen2015-12-101-4/+14
|\ | | | | Third DNSSEC patch series
| * build-sys: libgcrypt error messages make no sense without libgpg-errorLennart Poettering2015-12-101-4/+14
| | | | | | | | Hence, pull in this library too, if we need libgcrypt.
* | build: fix systemd-journal-upload installationEvgeny Vereshchagin2015-12-091-13/+22
|/ | | | | | | | | | | | Fixes: $ ./configure ... --disable-microhttpd --enable-libcurl --enable-sysusers $ make && make install DESTDIR=$(pwd)/INST $ ls INST/usr/lib/sysusers.d/ basic.conf systemd.conf There is no a file with `systemd-journald-upload`
* build: bump version numbersv228David Herrmann2015-11-181-1/+1
| | | | Prepare for v228 release and bump version numbers.
* build-sys: temporarily lower libmount version checkMartin Pitt2015-11-031-1/+1
| | | | | | | util-linux 2.27.1's configure.ac still claims to be 2.27.0, which breaks our version check. Lower it back to 2.27.0 until util-linux gets a fixed tarball. See #1754
* core: drop check for /etc/mtabMartin Pitt2015-11-021-1/+1
| | | | | | | | | | util-linux 2.27.1 now entirely stops looking at /etc/mtab, so we don't need to verify /etc/mtab during early boot any more. Later on, tmpfiles.d/etc.conf will fix /etc/mtab anyway, so there's not even a point in warning about it. Drop test_mtab() and bump the util-linux dependency to >= 2.17.1. Fixes #1495
* Merge pull request #1527 from keszybz/lz4Lennart Poettering2015-10-151-20/+26
|\ | | | | Using lz4 frame api for coredump files
| * build-sys: enable lz4 by default if availableZbigniew Jędrzejewski-Szmek2015-10-141-19/+25
| | | | | | | | | | | | | | | | --enable-lz4 can be used to force lz4 requirement, --disable-lz4 can be used to skip lz4 support even if available. Also, make surrounding checks for bzip2, xz, and zlib similar in structure. This fixes the check for requested but missing bzip2.
| * build-sys: use pkgconfig and lz4 and bump versionZbigniew Jędrzejewski-Szmek2015-10-101-2/+2
| | | | | | | | The new frame api was released in v. 125.
* | build: libdl is needed only for libnss_resolveMichal Schmidt2015-10-141-3/+4
| | | | | | | | | | Not everything needs to link to libdl. dlopen+dlsym are used only by libnss_resolve.
* | build: don't link everything to libcapMichal Schmidt2015-10-141-0/+1
| | | | | | | | | | | | | | | | | | The intent of the assignments around the check for libcap was obviously to avoid polluting LIBS. To work properly, LIBS must be restored from the save_LIBS variable. The practical effect is small though, because pretty much everything links with libbasic, which links with CAP_LIBS.
* | build: fix overlinking to libdwMichal Schmidt2015-10-141-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We have two AC_CHECK_LIB checks for libdw. The first one has an empty action-if-found, so it defaults to adding "-ldw" to LIBS. LIBS are applied to everything we build. But only systemd-coredump needs libdw. It already links to ELFUTILS_LIBS correctly in Makefile.am. Drop the first AC_CHECK_LIB check. The second check is sufficient. Q: Don't we already use "-Wl,--as-needed" to eliminate overlinking? A: We do, but it is effective only for executables, not for shared libraries. This is due to a libtool bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347650
* | build-sys: check for xsltproc when building manpagesZbigniew Jędrzejewski-Szmek2015-10-121-2/+6
| | | | | | | | | | | | | | Only check for xsltproc if it will be used. If not found, complain. https://github.com/systemd/systemd/issues/1521
* | configure.ac: bump version numberDaniel Mack2015-10-071-1/+1
| |
* | ask-password: add support for caching passwords in the kernel keyringLennart Poettering2015-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for caching harddisk passwords in the kernel keyring if it is available, thus supporting caching without Plymouth being around. This is also useful for hooking up "gdm-auto-login" with the collected boot-time harddisk password, in order to support gnome keyring passphrase unlocking via the HDD password, if it is the same. Any passwords added to the kernel keyring this way have a timeout of 2.5min at which time they are purged from the kernel.
* | missing.h : add bridge paramsSusant Sahani2015-10-051-0/+1
| |
* | Merge pull request #1374 from olof/autoconf_gcrypt_depLennart Poettering2015-09-241-6/+15
|\ \ | | | | | | build-sys: only use AM_PATH_LIBGCRYPT macro if it exists
| * | build-sys: only use AM_PATH_LIBGCRYPT macro if it existsOlof Johansson2015-09-241-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | If gcrypt's m4 macro files aren't installed, with this change, gcrypt will be disabled --- unless gcrypt support was explicitly requested by passing --enable-gcrypt to configure, in which case it will fail. Without this change, autoconf would fail either way with not being able to resolve AM_PATH_LIBGCRYPT.
* | | build: remove AC_FUNC_MALLOCJan Engelhardt2015-09-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | What is the rationale to have AC_FUNC_MALLOC? It does not actually abort the configure run if an "unsuitable" malloc was found, and instead just replaces malloc by rpl_malloc, for which systemd however has no definition, either. Remove the call.
* | | build-sys: Check behavior of -Werror=shadow before deciding to use itFilipe Brandenburger2015-09-221-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc versions 4.6 and earlier used to complain when a local variable shadows a global function, 4.7 and above only complain if a local variable shadows a global variable. Fix this by checking whether gcc 4.7+ behavior is in place before deciding to use -Werror=shadow in $(CFLAGS), by using a custom test program source that shadows a global function with a local variable and confirming that -Werror=shadow does not make the compile to break. Tested: - On gcc 4.7 and 4.8, confirmed nothing changed (other than the order of the -Werror=shadow argument, going to the end of CFLAGS.) - On gcc 4.6, confirmed by looking at the config.log output that the check for -Werror=shadow failed and it was not included in CFLAGS. - Ran `make V=1` to confirm -Werror=shadow was still in use, introduced a bogus shadowing issue and confirmed it was caught when building with a recent gcc.
* | | mount: use libmount to monitor mountinfo & utabKarel Zak2015-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current implementation directly monitor /proc/self/mountinfo and /run/mount/utab files. It's really not optimal because utab file is private libmount stuff without any official guaranteed semantic. The libmount since v2.26 provides API to monitor mount kernel & userspace changes and since v2.27 the monitor is usable for non-root users too. This patch replaces the current implementation with libmount based solution. Signed-off-by: Karel Zak <kzak@redhat.com>
* | | smack: label /etc/mtab as "_" when '--with-smack-run-label' is enabled.Sangjung Woo2015-09-101-1/+6
| |/ |/| | | | | | | | | | | | | /etc/mtab should be labeled as "_", even though systemd has its own smack label using '--with-smack-run-label' configuration. This is mainly because all processes could read that file and the origin of this file (i.e. /proc/mounts) is labeled as "_". This labels /etc/mtab as "_" when '--with-smack-run-label' is enabled.
* | build: prepare for v226David Herrmann2015-09-081-1/+1
| | | | | | | | Bump version info and update NEWS for the upcoming release.
* | build-sys: remove sphinx binary from configure summaryMichael Biebl2015-09-061-1/+0
| | | | | | | | | | | | We no longer use sphinx as part of the build process so remove it from the configure summary as well. This is a leftover from commit 2799e519cabb6dfa99341b9a56ebd4dc2a4ec22a.
* | build-sys: Look for gcc-* binutils wrappers only if we're using GCCJan Alexander Steffens (heftig)2015-09-011-5/+8
| | | | | | | | | | | | | | If we don't look for them, LT_INIT will and default to the unprefixed tools. Apparently clang doesn't like the wrappers being used. Should fix #1077.
* | build-sys: bump versionsKay Sievers2015-08-261-1/+1
| |
* | build-sys: line-wrap message about google serversZbigniew Jędrzejewski-Szmek2015-08-061-1/+3
| | | | | | | | This way it is more readable in a wall of configure output.
* | build-sys: allow skipping installation of completionsZbigniew Jędrzejewski-Szmek2015-08-051-0/+2
| | | | | | | | | | | | | | ./configure --with-bashcompletiondir=no or --without-bashcompletiondir now works as expected. Similarly for zsh. https://github.com/systemd/systemd/issues/533
* | build: bump version to 224David Herrmann2015-07-311-1/+1
| | | | | | | | Prepare for bug-fix release and bump versions.
* | build-sys: use 'test -f' instead of AC_CHECK_FILEJohannes Nixdorf2015-07-311-2/+2
| | | | | | | | | | | | | | | | | | AC_CHECK_FILE fails when cross-compiling. It is intended to be used to check for files that are used at runtime during build time (e.g. /etc/passwd, /dev/*) [1]. For files which are only used at build time 'test -f' is sufficient. [1]: https://lists.gnu.org/archive/html/autoconf/2000-10/msg00018.html
* | build: bump version infov223David Herrmann2015-07-291-1/+1
| | | | | | | | | | Bump version to 223 and increase libsystemd libtool-info as we added a structure-member (without increasing structure size) to sd-bus-vtable.
* | terminal: drop unfinished codeDavid Herrmann2015-07-271-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This drops the libsystemd-terminal and systemd-consoled code for various reasons: * It's been sitting there unfinished for over a year now and won't get finished any time soon. * Since its initial creation, several parts need significant rework: The input handling should be replaced with the now commonly used libinput, the drm accessors should coordinate the handling of mode-object hotplugging (including split connectors) with other DRM users, and the internal library users should be converted to sd-device and friends. * There is still significant kernel work required before sd-console is really useful. This includes, but is not limited to, simpledrm and drmlog. * The authority daemon is needed before all this code can be used for real. And this will definitely take a lot more time to get done as no-one else is currently working on this, but me. * kdbus maintenance has taken up way more time than I thought and it has much higher priority. I don't see me spending much time on the terminal code in the near future. If anyone intends to hack on this, please feel free to contact me. I'll gladly help you out with any issues. Once kdbus and authorityd are finished (whenever that will be..) I'll definitely pick this up again. But until then, lets reduce compile times and maintenance efforts on this code and drop it for now.
* | Merge pull request #682 from ssahani/bridgeLennart Poettering2015-07-231-1/+1
|\ \ | | | | | | networkd: add bridge link properties