diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2017-07-19 19:32:41 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2018-01-16 16:59:33 +0100 |
commit | a85e0b599a4e19eb2f864090748df72bd98375fb (patch) | |
tree | 02eea9add50afc12edefc50e01a0dd9874e85270 | |
parent | 2fdb48fa3333638cee889b8bb80dc1d2b65aaa4a (diff) | |
download | gnome-settings-daemon-a85e0b599a4e19eb2f864090748df72bd98375fb.tar.gz |
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
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | plugins/common/Makefile.am | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index bee9abe6..d04f8b66 100644 --- a/configure.ac +++ b/configure.ac @@ -140,6 +140,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 706be129..36cf17cc 100644 --- a/plugins/common/Makefile.am +++ b/plugins/common/Makefile.am @@ -40,7 +40,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 |