https://cgit.freedesktop.org/xorg/driver/xf86-video-vmware/commit/configure.ac?id=
755e38f373a511bd774a61c9420a67f630f71037
added a check for libudev which fails if the check is not disabled.
Fixes
http://autobuild.buildroot.net/results/7b3/
7b38105dd1115ac622964cf243ac137b7624fb43/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
XDRIVER_XF86_VIDEO_VMWARE_LICENSE_FILES = COPYING
XDRIVER_XF86_VIDEO_VMWARE_DEPENDENCIES = mesa3d xserver_xorg-server xproto_fontsproto xproto_randrproto xproto_renderproto xproto_xextproto xproto_xineramaproto xproto_xproto
+ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
+XDRIVER_XF86_VIDEO_VMWARE_CONF_OPTS += --with-libudev
+XDRIVER_XF86_VIDEO_VMWARE_DEPENDENCIES += udev
+else
+XDRIVER_XF86_VIDEO_VMWARE_CONF_OPTS += --without-libudev
+endif
+
$(eval $(autotools-package))