<html><head></head><body><div class="ydp70845bcdyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div><div><div>Hello,</div><div><br></div><div>I'm not entirely sure which version
of systemd removed libsystemd-daemon completely but it looks like it
was a while ago now (around end of 2014 I think).</div><div><br></div><div>libsystemd
is API compatible so linking against libsystemd works fine. I've made a
very hacky patch in autoconf to detect it but it may be cleaner to
just test against libsystemd instead.</div><div><br></div><div>Regards,</div><div>Ross</div><div><br></div><div>PS: I can resend this to a mailing list is that is appropriate.<br></div><div><br></div><div><br></div><div><br></div><span>mojo 12:17:27 xdm-1.1.12$ diff -c configure.ac.orig configure.ac<br>*** configure.ac.orig 2019-03-14 11:53:38.157485274 +0000<br>--- configure.ac 2019-03-14 12:08:13.510417541 +0000<br>***************<br>*** 173,186 ****<br> [Add support for systemd startup notification (default is autodetected)]),<br> [USE_SYSTEMD_DAEMON=$withval], [USE_SYSTEMD_DAEMON=auto])<br> AS_IF([test "x$USE_SYSTEMD_DAEMON" != "xno"], [<br>! PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon],<br> [AC_DEFINE(USE_SYSTEMD_DAEMON,1,[Use systemd startup notification])],<br> [AS_IF([test "x$USE_SYSTEMD_DAEMON" = "xyes"],<br>! [AC_MSG_ERROR([systemd startup notification support requested, but libsystemd-daemon not found.])]<br> )]<br> )<br>- ])<br> AM_CONDITIONAL(USE_SYSTEMD_DAEMON, [test "x$USE_SYSTEMD_DAEMON" != "xno"])<br><br> # FIXME: Find better test for which OS'es use su -m - for now, just try to<br> # mirror the Imakefile setting of:<br>--- 173,191 ----<br> [Add support for systemd startup notification (default is autodetected)]),<br> [USE_SYSTEMD_DAEMON=$withval], [USE_SYSTEMD_DAEMON=auto])<br> AS_IF([test "x$USE_SYSTEMD_DAEMON" != "xno"], [<br>! PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd >= 209],<br> [AC_DEFINE(USE_SYSTEMD_DAEMON,1,[Use systemd startup notification])],<br> [AS_IF([test "x$USE_SYSTEMD_DAEMON" = "xyes"],<br>! [PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon < 209],<br>! [AC_DEFINE(USE_SYSTEMD_DAEMON,1,[Use systemd startup notification])],<br>! [AS_IF([test "x$USE_SYSTEMD_DAEMON" = "xyes"],<br>! [AC_MSG_ERROR([systemd startup notification support requested, but libsystemd-daemon not found.])]<br>! )]<br> )]<br>+ )]<br> )<br> AM_CONDITIONAL(USE_SYSTEMD_DAEMON, [test "x$USE_SYSTEMD_DAEMON" != "xno"])<br>+ ])<br><br> # FIXME: Find better test for which OS'es use su -m - for now, just try to<br> # mirror the Imakefile setting of:</span></div><br></div></div></body></html>