summaryrefslogtreecommitdiff
path: root/libgdm
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2014-03-19 15:42:31 -0400
committerRay Strode <rstrode@redhat.com>2014-03-19 15:44:16 -0400
commit80f6ebee026c5cfc83b548318cbe5a9513f6b3ca (patch)
treed2db43824f8791223701a06ad2d43517bdbc0f05 /libgdm
parenta100e01237a89ad50ca7eb118e62f2e40eb44a11 (diff)
downloadgdm-80f6ebee026c5cfc83b548318cbe5a9513f6b3ca.tar.gz
wayland: make optional for FreeBSD
FreeBSD build broke, so this commit makes wayland a configure time argument https://bugzilla.gnome.org/show_bug.cgi?id=726380
Diffstat (limited to 'libgdm')
-rw-r--r--libgdm/gdm-sessions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgdm/gdm-sessions.c b/libgdm/gdm-sessions.c
index 2971f17b..08220fe0 100644
--- a/libgdm/gdm-sessions.c
+++ b/libgdm/gdm-sessions.c
@@ -193,7 +193,9 @@ collect_sessions (void)
DMCONFDIR "/Sessions/",
DATADIR "/gdm/BuiltInSessions/",
DATADIR "/xsessions/",
+#ifdef ENABLE_WAYLAND_SUPPORT
DATADIR "/wayland-sessions/",
+#endif
NULL
};