diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-11-20 17:42:34 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-11-25 01:49:36 +0100 |
commit | b0f23d1e562e753cb78a473fdade956a25cc337b (patch) | |
tree | fe4a5908d1e39e24ec6df66052e866ed72421a79 /package/dbus/patches | |
parent | 49a817b44be5695a87f6b4c8eadef3bb0f9419f9 (diff) |
finalize systemd as alternative init system
Most important is the fix in patch-src_journal_journald-server_c,
which breaks startup of systemd-journald when code is compiled
with -DNDEBUG.
A lot of base-files reorganizing to only install required files
on sysv systems.
Diffstat (limited to 'package/dbus/patches')
-rw-r--r-- | package/dbus/patches/patch-configure_ac | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/dbus/patches/patch-configure_ac b/package/dbus/patches/patch-configure_ac new file mode 100644 index 000000000..cd50a7b14 --- /dev/null +++ b/package/dbus/patches/patch-configure_ac @@ -0,0 +1,26 @@ +--- dbus-1.10.8.orig/configure.ac 2016-03-07 17:06:22.000000000 +0100 ++++ dbus-1.10.8/configure.ac 2016-11-21 11:25:39.000000000 +0100 +@@ -1186,23 +1186,9 @@ dnl systemd detection + if test x$enable_systemd = xno ; then + have_systemd=no; + else +- PKG_CHECK_MODULES([SYSTEMD], +- [libsystemd >= 209], +- [have_systemd=yes], +- [PKG_CHECK_MODULES([SYSTEMD], +- [libsystemd-login >= 32, libsystemd-daemon >= 32, libsystemd-journal >= 32], +- [have_systemd=yes], +- [have_systemd=no])]) +-fi +- +-if test x$have_systemd = xyes; then + AC_DEFINE(HAVE_SYSTEMD,1,[Have systemd]) + fi + +-if test x$enable_systemd = xyes -a x$have_systemd != xyes ; then +- AC_MSG_ERROR([Explicitly requested systemd support, but systemd not found]) +-fi +- + # If not found in $PATH, we might still have systemd and systemctl at runtime + # (perhaps dbus is being compiled in a minimal chroot with no systemd). + # Assume the upstream-recommended location. Distributors with split /usr |