summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2013-09-13build-sys: prepare 207Lennart Poettering
2013-09-11Add pam configuration to allow user sessions to work out of the boxZbigniew Jędrzejewski-Szmek
systemd-logind will start user@.service. user@.service unit uses PAM with service name 'systemd-user' to perform account and session managment tasks. Previously, the name was 'systemd-shared', it is now changed to 'systemd-user'. Most PAM installations use one common setup for different callers. Based on a quick poll, distributions fall into two camps: those that have system-auth (Redhat, Fedora, CentOS, Arch, Gentoo, Mageia, Mandriva), and those that have common-auth (Debian, Ubuntu, OpenSUSE). Distributions that have system-auth have just one configuration file that contains auth, password, account, and session blocks, and distributions that have common-auth also have common-session, common-password, and common-account. It is thus impossible to use one configuration file which would work for everybody. systemd-user now refers to system-auth, because it seems that the approach with one file is more popular and also easier, so let's follow that.
2013-08-16build-sys: Add configure check for linux/btrfs.hMichael Marineau
btrfs.h was added to uapi in Linux 3.9. To fix building with older header versions this adds a configure check for the header and re-adds btrfs definitions to missing.h which was removed in bed2e820 along with two other ioctls used by gpt-auto-generator. [ Apparently, btrfs.h was only added recently: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=55e301fd57a6239ec14b91a1cf2e70b3dd135194 let's re-add it for now -- kay ]
2013-08-14backlight: add minimal tool to save/restore screen brightness across rebootsLennart Poettering
As many laptops don't save/restore screen brightness across reboots, let's do this in systemd with a minimal tool, that restores the brightness as early as possible, and saves it as late as possible. This will cover consoles and graphical logins, but graphical desktops should do their own per-user stuff probably. This only touches firmware brightness controls for now.
2013-08-02zsh_completion: fix zsh completion installationWilliam Giokas
Moved zsh shell completion to shell-completion/zsh/_systemd for automake's sake. Also allow users to specify where the files should go with:: ./configure --with-zshcompletiondir=/path/to/some/where and by default going to `$datadir/zsh/site-functions`
2013-07-30build-sys: support old glibc versions without clock_gettime()Kay Sievers
2013-07-30build: do not link everything with -lrt (and therefore -pthread)Shawn Landden
2013-07-26build-sys: use pkg-config for python compilation flagsZbigniew Jędrzejewski-Szmek
Python 2.7, and 3.2 and higher support querying compilation flags through pkg-config. This makes python support follow rules similar to various other optional compilation-time libraries. New flags are called PYTHON_DEVEL_CFLAGS and PYTHON_DEVEL_LIBS, because PYTHON (without _DEVEL), is already used for the python binary name, and things would be confusing if the same prefix was used for two things. configure has --disable-python-devel to disable python modules. One advantage is that CFLAGS for modules gets smaller: - -I/usr/include/python3.3m -I/usr/include/python3.3m -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv + -I/usr/include/python3.3m as does LIBS: - -lpthread -ldl -lutil -lm -lpython3.3m + -lpython3.3m Support for Python 2.6 is removed, but can be easily restored by using PYTHON_DEVEL_CFLAGS="$(python2.6-config --cflags)", etc., as ./configure parameters. https://bugs.freedesktop.org/show_bug.cgi?id=57800
2013-07-23build-sys: prepare 206systemd/v206Lennart Poettering
2013-07-17systemd-python: fix iterationZbigniew Jędrzejewski-Szmek
Back in 6a58bf4135 raising stop iteration was removed from the C code, but wasn't added in the Python counterpart.
2013-07-16switch from udev keymaps to hwdbKay Sievers
2013-07-15build-sys: discover the path to kexec during build timeZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=55248
2013-07-16cryptsetup: Add tcrypt supportJan Janssen
Tcrypt uses a different approach to passphrases/key files. The passphrase and all key files are incorporated into the "password" to open the volume. So, the idea of slots that provide a way to open the volume with different passphrases/key files that are independent from each other like with LUKS does not apply. Therefore, we use the key file from /etc/crypttab as the source for the passphrase. The actual key files that are combined with the passphrase into a password are provided as a new option in /etc/crypttab and can be given multiple times if more than one key file is used by a volume.
2013-07-13Add test coverage and generate report with lcovThomas H.P. Andersen
Enable coverage with --enable-coverage. "make coverage" will create the report locally, "make coverage-sync" will upload the report to http://www.freedesktop.org/software/systemd/coverage/. Requires lcov version 1.10 to handle naming in systemd and to use the --no-external option. [zj: make the coverage at least generate something with separate build dir, simplify rules a bit: all errors are mine. ]
2013-07-12Revert "build-sys: don't enable color gcc on dumb terminals"Zbigniew Jędrzejewski-Szmek
This reverts commit cd3069559a09b4e4f85a6f02aa8f0521f48359ca. Emacs compilation can be fixed by putting (custom-set-variables '(compilation-environment (quote ("GCC_COLORS=")))) in ~/.emacs.
2013-07-12build-sys: don't enable color gcc on dumb terminalsLennart Poettering
Guys, we know that emacs is the best editor on earth, but unfortunately its "M-x compile" terminal cannot do colors (well, it does its own highlighting of the output anyway), and it will inform the programs it calls about this with TERM=dumb, and gcc should check for that. But you guys turned that off. Not cool. Let's turn it on again.
2013-07-11configure: split checks for libkmod >= 14Dave Reisner
PKG_CHECK_EXISTS won't created a cached variable that later messes with our PKG_CHECK_MODULES check for an explicit version. Unfortunately, nesting these checks as the code existed lead to an odd error. Rather, split the checks apart. This also improves to the error message when the requisite version isn't found, and supplies the literal version systemd needs.
2013-07-09configure: fail if out-of-date kmod found and kmod not disabledTom Gundersen
Almost everyone wants kmod support, so don't fail silently if the libs are out-of-date. kmod can still be explicitly disabled and if it is not found at all, we still default to disabling it.
2013-07-08static-nodes: move creation of static nodes from udevd to tmpfilesTom Gundersen
As of kmod v14, it is possible to export the static node information from /lib/modules/`uname -r`/modules.devname in tmpfiles.d(5) format. Use this functionality to let systemd-tmpfilesd create the static device nodes at boot, and drop the functionality from systemd-udevd. As an effect of this we can move from systemd-udevd to systemd-tmpfiles-setup-dev: * the conditional CAP_MKNOD (replaced by checking if /sys is mounted rw) * ordering before local-fs-pre.target (see 89d09e1b5c65a2d97840f682e0932c8bb499f166)
2013-07-03build-sys: prepare v205Lennart Poettering
2013-07-02machined: split out machine registration stuff from logindLennart Poettering
Embedded folks don't need the machine registration stuff, hence it's nice to make this optional. Also, I'd expect that machinectl will grow additional commands quickly, for example to join existing containers and suchlike, hence it's better keeping that separate from loginctl.
2013-06-06build-sys: we do not support --disable-largefile buildsLennart Poettering
2013-06-06build-sys: do not allow --enable staticCristian Rodríguez
2013-06-02build-sys: option to disable tmpfilesUmut Tezduyar
2013-05-30build-sys: more pretty colorsZbigniew Jędrzejewski-Szmek
2013-05-17Make it possible to disable smack separately from xattr supportKarol Lewandowski
Additionally, compile out rule loading if feature is disabled.
2013-05-14build-sys: fix gtkdocize checkZbigniew Jędrzejewski-Szmek
gtkdocize: GTK_DOC_CHECK not called in configure.ac Fixup for 6581f00f7ea.
2013-05-14build-sys: properly report missing gtk-docZbigniew Jędrzejewski-Szmek
This brings the check for ENABLE_GTK_DOC in line with HAVE_INTROSPECTION and other similar checks. Only the status line that is printed with uninstalled gtk-doc is changed. https://bugs.freedesktop.org/show_bug.cgi?id=63108
2013-05-09build-sys: prepare 204systemd/v204Lennart Poettering
2013-05-06build-sys: prepare new releaseLennart Poettering
2013-04-25build-sys: add --with-debug-shell=PATHCristian Rodríguez
Distributions may have selinux but not sushell or might need to set a custom debug shell. Defaults to /sbin/sushell if selinux is enabled, /bin/sh if not. [zj: Renamed --with-debugshelltty to --with-debug-tty, and added a line in output showing DEBUGSHELL and DEBUGTTY. I figure that debug shell is pretty useful, and I hope the extra line in configure status will draw attention to it.]
2013-04-19build-sys: prevent library underlinkingEvangelos Foutras
Underlinking can cause subtle bugs like the recent issue with libnss_myhostname (which was fixed in commit 1e335af7).
2013-04-19build-sys: prepare release 202Lennart Poettering
2013-04-18buildsys: Add --disable-tests to avoid building testsHenrik Grindal Bakken
This patch adds --disable-tests to configure. It is based on a patch posted by Thierry Reding in 2010. The motivation for adding it is that some tests fail link-time when cross-compiling. The patch adds a new Makefile variable -- manual_tests -- and uses that instead of noinst_PROGRAMS. However, if ENABLE_TESTS is true, the former is added to the latter. It also renames noinst_tests to simply tests.
2013-04-17configure: use AC_CHECK_TOOL for objcopy, strings and gperfMartin Jansa
* using AC_PATH_TOOL does not allow to override it from shell environment which is useful when cross-compiling * with external toolchain I have different HOST_PREFIX and HOST_SYS AC_PATH_TOOL is using HOST_SYS as prefix and fails to find objcopy which is available only as ${TARGET_PREFIX}-objcopy then it tries objcopy without prefix which is found on host, but that objcopy does not work for !host (e.g. arm when building on x86) libs
2013-04-12bus: make the kdbus code valgrind cleanLennart Poettering
2013-04-08build-sys: prepare 201Lennart Poettering
2013-03-29build-sys: prepare release 200Lennart Poettering
2013-03-28build-sys: fix HAVE/ENABLE_FIRMWAREKay Sievers
https://bugs.freedesktop.org/show_bug.cgi?id=62864
2013-03-26build-sys: bump version and .so revisionsLennart Poettering
2013-03-25build-sys: add missing sed substitution for DEBUGTTYKay Sievers
2013-03-25build-sys: configurable debug shell tty pathUmut Tezduyar
2013-03-23add --with-telinit=PATH configure optionCristian Rodríguez
Distributions that never shipped upstart do not have "telinit" in /lib/upstart/.. Defaults to /lib/upstart/telinit so there is no change for systems existing installs.
2013-03-21build-sys: use _FORTIFY_SOURCE with new gcc level -OgZbigniew Jędrzejewski-Szmek
2013-03-20bus: add basic implementation of a native bus client libraryLennart Poettering
2013-03-20build-sys: fix typo in human-readable outputJan Engelhardt
2013-03-18udev: make firmware loading optional and disable by defaultTom Gundersen
Distros that whish to support old kernels should set --with-firmware-dirs="/usr/lib/firmware/updates:/usr/lib/firmware" to retain the old behaviour.
2013-03-07build-sys: bump release and sonamesLennart Poettering
2013-03-04build-sys: be more tolerant if dbus directories do not existMichael Biebl
use readlink -m instead of -f since we might be building in a minimal chroot where those directories do not actually exist and readlink -f would return an empty string.
2013-03-04build-sys: resolve absolute path for the dbus directoriesMichael Biebl
/usr/share/dbus-1/system-services simply looks a lot nicer then /usr/share/dbus-1/services/../system-services