~robert-ancell/lightdm/weston-compositor-merge

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Robert Ancell
  • Date: 2013-03-15 00:24:23 UTC
  • Revision ID: robert.ancell@canonical.com-20130315002423-hdbsybrt0wqg9a0f
Conditionally compile Wayland support

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    gio-unix-2.0
30
30
    xdmcp
31
31
    xcb
32
 
    wayland-client
33
32
])
34
33
 
35
34
PKG_CHECK_MODULES(GLIB, [
52
51
    xcb
53
52
])
54
53
 
 
54
AC_ARG_ENABLE(wayland,
 
55
        AS_HELP_STRING([--enable-wayland],[Enable Wayland support [[default=auto]]]),
 
56
        [enable_wayland=$enableval],
 
57
        [enable_wayland="auto"])
 
58
compile_wayland=no
 
59
if test x"$enable_wayland" = "xauto"; then
 
60
    PKG_CHECK_MODULES(WAYLAND, [
 
61
        wayland-client
 
62
    ], compile_wayland=yes, compile_wayland=no)
 
63
elif test x"$enable_wayland" = "xyes"; then
 
64
    PKG_CHECK_MODULES(WAYLAND, [
 
65
        wayland-client
 
66
    ])
 
67
    compile_wayland=yes
 
68
fi
 
69
AM_CONDITIONAL(COMPILE_WAYLAND, test x"$compile_wayland" != "xno")
 
70
 
55
71
AC_ARG_ENABLE(liblightdm-gobject,
56
72
        AS_HELP_STRING([--enable-liblightdm-gobject],[Enable LightDM client gobject libraries [[default=auto]]]),
57
73
        [enable_liblightdm_gobject=$enableval],
197
213
        Greeter session:          $GREETER_SESSION
198
214
        Greeter user:             $GREETER_USER
199
215
        User session:             $USER_SESSION
 
216
        Wayland support:          $compile_wayland
200
217
        liblightdm-gobject:       $compile_liblightdm_gobject
201
218
        GObject introspection:    $found_introspection
202
219
        liblightdm-qt:            $compile_liblightdm_qt