depends xextproto             &&
depends libx11                &&
depends libice                &&
depends libsm                 &&
depends libxext               &&
depends libxxf86misc          &&
depends libxscrnsaver         &&
depends glib2                 &&
depends dbus-glib             &&
depends gtk+2                 &&
depends gconf2                &&
depends gnome-desktop         &&
depends gnome-menus           &&
depends gnome-control-center  &&

optional_depends libxxf86vm                                              \
                 "--with-xf86gamma-ext"                                  \
                 "--without-xf86gamma-ext"                               \
                 "Include support for XFree86 gamma fading?"             &&

optional_depends OPENGL                                                  \
                 "--with-libgl"                                          \
                 "--without-libgl"                                       \
                 "Build with GL support?"                                &&

optional_depends libnotify                                               \
                 "--with-libnotify"                                      \
                 "--without-libnotify"                                   \
                 "Enable libnotify support?"                             &&

optional_depends libgnomekbd                                             \
                 "--with-kbd-layout-indicator"                           \
                 "--without-kbd-layout-indicator"                        \
                 "Enable keyboard layout indicator?"                     &&

optional_depends -sub CHKPWDSUID linux-pam                               \
                 "--enable-pam --with-pam-prefix=/etc/"                  \
                 "--disable-pam"                                         \
                 "Enable PAM support?"                                   &&

optional_depends shadow                                                  \
                 "--with-shadow"                                         \
                 "--without-shadow"                                      \
                 "Compile shadow support?"                               &&

optional_depends xscreensaver                                            \
                 "--with-xscreensaverdir=/usr/share/xscreensaver/config  \
                  --with-xscreensaverhackdir=/usr/libexec/xscreensaver"  \
                 ""                                                      \
                 "Install to use xscreensaver hacks?"                    &&

optional_depends xmlto                                                   \
                 "--enable-docbook-docs"                                 \
                 "--disable-docbook-docs"                                \
                 "Build documentation?"
