From: Roy Marples Date: Fri, 11 Jan 2019 12:39:33 +0000 (+0000) Subject: configure: --with-udev explicity requires libudev to be present X-Git-Tag: v7.1.0~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18b036c11bc576e244bfff96924a2ada69d5ab05;p=thirdparty%2Fdhcpcd.git configure: --with-udev explicity requires libudev to be present --- 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