[systemd-devel] [PATCH] Allow configuring without systemd-only dependencies
Bryan Kadzban
bryan at kadzban.is-a-geek.net
Thu Jun 7 23:35:00 PDT 2012
Some dependencies (intltool, m4, dbus, pkg-config, PAM) are only
required or useful for systemd, not for udev. Leave these required by
default, but allow them to be made optional if the right flag is used to
./configure.
Signed-Off-By: Bryan Kadzban <bryan at kadzban.is-a-geek.net>
-----
This is necessary for anyone who wants to build udev only. It's not
sufficient, but without this or something like it, ./configure fails
hard. This change touches *only* configure; if the dependencies are
made optional in a ./configure run, and they don't exist on the system
(or in some cases, even if they do) make will fail hard.
I'm not attached to the --with-X flag's name; coming up with a better
one would be fine.
Unfortunately there's no "use intltool if it's present, otherwise don't
bother" variant of IT_PROG_INTLTOOL. If that's wanted, I could hack it
together with another invocation of AC_PATH_PROG, but this is slightly
simpler.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: systemd-make-systemd-dependencies-optional.patch
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120607/2a1f4020/attachment.txt>
More information about the systemd-devel
mailing list