From 608b183335725bcc1c2dd8b615551c49ec3b9c88 Mon Sep 17 00:00:00 2001
From: Yousong Zhou <yszhou4tech@gmail.com>
Date: Mon, 11 May 2020 10:46:37 +0800
Subject: [PATCH] configure: allow enabling/disabling libudev from command line

---
 configure | 4 ++++
 1 file changed, 4 insertions(+)

--- a/configure
+++ b/configure
@@ -1581,6 +1581,10 @@ for opt do
   ;;
   --disable-slirp-smbd) slirp_smbd=no
   ;;
+  --enable-libudev) libudev=yes
+  ;;
+  --disable-libudev) libudev=no
+  ;;
   --disable-fortify-source) fortify_source="no"
   ;;
   *)
