summaryrefslogtreecommitdiffstats
path: root/src/preflight.h
diff options
context:
space:
mode:
authorGravatar Masatake Daimon2026-11-22 17:59:13 +0100
committerGravatar Nikias Bassen2026-11-22 17:59:13 +0100
commit493b41ba0028d1c7c8d718c75103187598013188 (patch)
tree9acda5d525c054d87e587e2ff967312459256006 /src/preflight.h
parente0216f30e1d34812354ee0cd6e91711bbf704bbe (diff)
downloadusbmuxd-493b41ba0028d1c7c8d718c75103187598013188.tar.gz
usbmuxd-493b41ba0028d1c7c8d718c75103187598013188.tar.bz2
build: improve portability and auto-detect udev/systemd
- 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>
Diffstat (limited to 'src/preflight.h')
0 files changed, 0 insertions, 0 deletions