|
- Use POSIX `=` instead of `==` in test expressions
- Always recurse into udev/ and systemd/ via SUBDIRS and guard their
contents with the WANT_UDEV/WANT_SYSTEMD automake conditionals, so
that make dist keeps shipping the .in files (EXTRA_DIST is kept
outside the guards)
- Add --with-udev[=yes|no|auto] (default: auto). Auto enables udev on
non-Windows/non-macOS hosts if udev.pc is found, a udev rules
directory exists (native builds), or when cross-compiling for Linux
- Disable systemd support if no systemd unit directory can be found,
so the udev rule and HAVE_SYSTEMD no longer claim systemd activation
when no unit is installed
- Do not call pkg-config for udevdir/systemdsystemunitdir if it is
unavailable
- Report the actual activation method (systemd, udev or manual) in the
configure summary
Co-authored-by: Nikias Bassen <nikias@gmx.li>
|