optional_depends "xaw3d"                               \
                 ""                                    \
                 ""                                    \
                 "for fancy 3D-style scroll bars"      &&

optional_depends "imlib"                               \
                 ""                                    \
                 ""                                    \
                 "lets Emacs use its own color allocation functions" &&

optional_depends "libpng"                              \
                 "--with-png"                          \
                 "--without-png"                       \
                 "for PNG format support"              &&

optional_depends "JPEG"                                \
                 "--with-jpeg"                         \
                 "--without-jpeg"                      \
                 "for JPEG format support"             &&

optional_depends "tiff"                                \
                 "--with-tiff"                         \
                 "--without-tiff"                      \
                 "for TIFF format support"             &&

optional_depends giflib                                \
                 "--with-gif"                          \
                 "--without-gif"                       \
                 "for GIF format support"              &&

optional_depends "gpm"                                 \
                 "--with-gpm"                          \
                 "--without-gpm"                       \
                 "for mouse support on a GNU/Linux console"  &&

optional_depends "gtk+2"                               \
                 "--with-x-toolkit=gtk"                \
                 ""                                    \
                 "for GTK+2 look"                      &&

if [[ "$EMACS_BRANCH" == "scm" ]]; then
  depends bzr
fi
