diff options
| author | Roy Marples <roy@marples.name> | 2019-01-11 12:39:33 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-01-11 12:39:33 +0000 |
| commit | 2baa28fe39f3c1e780f8b1585c0ca518241f9677 (patch) | |
| tree | f56d60772403874d4065cd0eb9108d061d95b822 | |
| parent | 5b735a784bffed91d83ec5ad6ceb43069424fe4c (diff) | |
| download | dhcpcd-2baa28fe39f3c1e780f8b1585c0ca518241f9677.tar.xz | |
configure: --with-udev explicity requires libudev to be present
| -rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |
