build: bump minimum udev version to 219

This is the version of systemd RHEL/CentOS 7 uses:
https://repology.org/project/systemd/versions
Oldest tracked openSUSE distros have 228,
Ubuntu 16.04 has 229 and Gentoo's alternative eudev
has bumped the version to 219 back in 2015.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Ján Tomko 2019-05-13 16:17:46 +02:00
parent 0541b65464
commit 385d4b851f

View File

@ -18,12 +18,12 @@ dnl <http://www.gnu.org/licenses/>.
dnl
AC_DEFUN([LIBVIRT_ARG_UDEV],[
LIBVIRT_ARG_WITH_FEATURE([UDEV], [libudev], [check], [145])
LIBVIRT_ARG_WITH_FEATURE([UDEV], [libudev], [check], [219])
])
AC_DEFUN([LIBVIRT_CHECK_UDEV],[
AC_REQUIRE([LIBVIRT_CHECK_PCIACCESS])
LIBVIRT_CHECK_PKG([UDEV], [libudev], [145])
LIBVIRT_CHECK_PKG([UDEV], [libudev], [219])
if test "$with_udev" = "yes" && test "$with_pciaccess" != "yes" ; then
AC_MSG_ERROR([You must install the pciaccess module to build with udev])