mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
Andrew Edmunds
858dae181b
ubuntu: Treat Ubuntu as a distinct distro in configure.ac etc
Previously Ubuntu was treated as being equivalent to Debian, but the two distributions require different behaviour in certain places. This commit does not change the behaviour of systemd on either distro but it creates a framework for changes to be introduced by later commits. The following previously meant "Target is Debian or Ubuntu". * configure option "--with-distro=debian" * C preprocessor symbol "TARGET_DEBIAN" * Automake conditional "TARGET_DEBIAN" After this commit, all of the above are redefined to mean "Target is Debian" The following are introduced to mean "Target is Ubuntu". * configure option "--with-distro=ubuntu" * C preprocessor symbol "TARGET_UBUNTU" * Automake conditional "TARGET_UBUNTU" Most code written for Debian will also be applicable to Ubuntu. An extra Automake conditional "TARGET_DEBIAN_OR_UBUNTU" is introduced to avoid duplication of code that would otherwise occur. This commit updates configure.ac, Makefile.am and distro-specific source files in line with the above definitions.
systemd System and Session Manager DETAILS: http://0pointer.de/blog/projects/systemd.html WEB SITE: http://www.freedesktop.org/wiki/Software/systemd GIT: git://anongit.freedesktop.org/systemd ssh://git.freedesktop.org/git/systemd GITWEB: http://cgit.freedesktop.org/systemd/ MAILING LIST: http://lists.freedesktop.org/mailman/listinfo/systemd-devel http://lists.freedesktop.org/mailman/listinfo/systemd-commits IRC: #systemd on irc.freenode.org BUG REPORTS: https://bugs.freedesktop.org/enter_bug.cgi?product=systemd AUTHOR: Lennart Poettering with major support from Kay Sievers REQUIREMENTS: Linux kernel >= 2.6.30 (with autofs4, devtmpfs, cgroups) libudev >= 160 libcgroup >= 0.35 vala >= 0.80 gtk+ >= 2.20 dbus >= 1.2.24 libcap PAM >= 1.1.2 (optional)
Languages
C
89.2%
Python
5.3%
Shell
4.1%
Meson
1.2%