[gnome-settings-daemon/gnome-3-24] common: Check for wayland before building GsdUdevDeviceManager
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/gnome-3-24] common: Check for wayland before building GsdUdevDeviceManager
- Date: Tue, 16 Jan 2018 17:21:35 +0000 (UTC)
commit 134a4056984600ccc62f6ddd401195cb3c50e83d
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Jul 19 19:32:41 2017 +0200
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
configure.ac | 1 +
plugins/common/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 73fe91e..8ce8006 100644
--- a/configure.ac
+++ b/configure.ac
@@ -139,6 +139,7 @@ if test x$enable_wayland != xno; then
fi
fi
fi
+AM_CONDITIONAL(HAVE_WAYLAND, test x$have_wayland = xyes)
dnl ================================================================
dnl Plugins
diff --git a/plugins/common/Makefile.am b/plugins/common/Makefile.am
index 239c601..747c5a3 100644
--- a/plugins/common/Makefile.am
+++ b/plugins/common/Makefile.am
@@ -38,7 +38,7 @@ libcommon_la_SOURCES = \
gsd-shell-helper.c \
gsd-shell-helper.h
-if HAVE_GUDEV
+if HAVE_WAYLAND
libcommon_la_SOURCES += \
gsd-device-manager-udev.c \
gsd-device-manager-udev.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]