[systemd-devel] [PATCH] man/daemon: Use pkg-config as default for --with-systemdsystemunitdir

Lucas De Marchi lucas.demarchi at profusion.mobi
Mon Jun 27 07:41:49 PDT 2011


On Mon, Jun 27, 2011 at 10:28 AM, Dave Reisner <d at falconindy.com> wrote:
> Behavior is such that:
>
> * if --with-systemdsystemunitdir is specified without arguments, it
>  tries to autodetect it using pkg-config
> * if --without-systemdsystemunitdir is specified, it does nothing
> * if --with-systemdsystemunitdir is specified with an argument, it
>  uses that directory

Why do you need this? Currently if you want to disable systemd you
should pass "--with-systemdsystemunitdir=" which will do exactly the
opposite of what you are proposing. If you do not give a
"--with-systemsystemunitdir" option, it will autodetect with
pkg-config.


Am I missing something? I don't see a reason to change this behavior
and lots of packages already use this. E.g., packages may use
"--with-systemdsystemunitdir=" in 'make distcheck' rule in order to
not break dist.


Lucas De Marchi


More information about the systemd-devel mailing list