common: Check for wayland before building GsdUdevDeviceManager
Udev is rather common, so this check doesn't suffice if anyone wants to build with no wayland support whatsoever. https://bugzilla.gnome.org/show_bug.cgi?id=780544
This commit is contained in:
parent
7ce6bd1e55
commit
f24b528695
2 changed files with 2 additions and 1 deletions
|
@ -191,6 +191,7 @@ if test "x$have_wayland" = xyes ; then
|
||||||
AC_MSG_ERROR([udev is required for Wayland support])
|
AC_MSG_ERROR([udev is required for Wayland support])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
AM_CONDITIONAL(HAVE_WAYLAND, [test "x$have_wayland" = "xyes"])
|
||||||
|
|
||||||
# Panels that must be built on Linux systems
|
# Panels that must be built on Linux systems
|
||||||
linux_error_or_warn()
|
linux_error_or_warn()
|
||||||
|
|
|
@ -62,7 +62,7 @@ libdevice_la_SOURCES = \
|
||||||
libdevice_la_LIBADD = \
|
libdevice_la_LIBADD = \
|
||||||
$(DEVICES_LIBS)
|
$(DEVICES_LIBS)
|
||||||
|
|
||||||
if HAVE_UDEV
|
if HAVE_WAYLAND
|
||||||
AM_CPPFLAGS += $(UDEV_CFLAGS)
|
AM_CPPFLAGS += $(UDEV_CFLAGS)
|
||||||
libdevice_la_LIBADD += $(UDEV_LIBS)
|
libdevice_la_LIBADD += $(UDEV_LIBS)
|
||||||
libdevice_la_SOURCES += \
|
libdevice_la_SOURCES += \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue