❦ 14 décembre 2013 23:36 CET, Michael Stapelberg <stapelb...@debian.org> :
> The text you quote speaks about a pkgconfig file. Are you familiar with > autotools and pkgconfig in particular? pkgconfig is an elegant mechanism > to declare a build dependency (which I also use when I’m not using > autotools). Adding a new build dependency to a project using autotools > with pkgconfig is _really_ simple. In case a project already declared at > least one pkgconfig dependency, it is literally a one-line change :-). You also need to make use of *_CFLAGS and *_LIBS variables. The main point is that this is still a dependency and you have to handle the fact that a user doesn't have it on its system. It will compile your daemon without systemd support but may still use the .service file and this won't work. Of course, you can tell him to install the dependency or to not use systemd support, but for something as simple as telling "I am ready", this is quite a bummer to add difficulties. When adding systemd support to my personal pet project, I have just reimplemented `sd_notify()` myself to avoid this dependency. -- Take care to branch the right way on equality. - The Elements of Programming Style (Kernighan & Plauger)
signature.asc
Description: PGP signature