8 Jun 2012 08:35
[PATCH] Allow configuring without systemd-only dependencies
Bryan Kadzban <bryan <at> kadzban.is-a-geek.net>
2012-06-08 06:35:00 GMT
2012-06-08 06:35:00 GMT
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.
diff --git a/configure.ac b/configure.ac index 70f3e96..446fb95 100644 --- a/configure.ac +++ b/configure.ac <at> <at> -44,8 +44,15 <at> <at> AS_IF([test "x$host_cpu" = "xmips" || test "x$host_cpu" = "xmipsel" || LT_PREREQ(2.2)(Continue reading)
RSS Feed