Discussion:
[PATCH] Allow configuring without systemd-only dependencies
Bryan Kadzban
2012-06-08 06:35:00 UTC
Permalink
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 <***@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.
William Hubbs
2012-06-08 16:15:55 UTC
Permalink
Post by Bryan Kadzban
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.
How about using --disable-systemd to take out these dependencies instead
of adding another switch?

William
Bryan Kadzban
2012-06-09 07:01:17 UTC
Permalink
Post by William Hubbs
Post by Bryan Kadzban
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.
How about using --disable-systemd to take out these dependencies instead
of adding another switch?
Well, this is the minimum to let us (LFS) at least get a build process
together to upgrade from udev-182. systemd as-is has too many build
dependencies for us to use it the way it is today. I figured I'd see
what upstream thought about just doing the minimum we need first. (We
can override variables at make time to build just the udev binary and
helpers.)

But if a --disable-systemd switch ends up getting committed, sure,
that'd work too.
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Loading...