From 18b036c11bc576e244bfff96924a2ada69d5ab05 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 11 Jan 2019 12:39:33 +0000 Subject: [PATCH] configure: --with-udev explicity requires libudev to be present --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 0f24a759..d0a80ba2 100755 --- a/configure +++ b/configure @@ -91,6 +91,7 @@ for x do --without-sha256) SHA2=no;; --without-hmac) HMAC=no;; --without-dev) DEV=no;; + --with-udev) DEV=yes; UDEV=yes;; --without-udev) UDEV=no;; --with-poll) POLL="$var";; --serviceexists) SERVICEEXISTS=$var;; @@ -1344,6 +1345,10 @@ EOF rm -f _udev.c _udev elif [ "$DEV" != no -a "$UDEV" != no ]; then echo "no" + if [ -n "$UDEV" ]; then + echo "udev has been explicity requested ... aborting" >&2 + exit 1 + fi fi if [ "$DEV" = yes ]; then -- 2.47.3