depends  automake  &&
depends  bison     &&
depends  flex      &&
depends  GETTEXT   &&
depends  smgl-fhs  &&

if [[ "${GRUB2_RELEASE}" != "stable" ]]; then
  depends autoconf
fi &&

optional_depends  LZMA \
                  '--enable-lzma'   \
                  '--disable-lzma'  \
                  'for liblzma integration' &&

optional_depends  lvm \
                  '--enable-device-mapper'   \
                  '--disable-device-mapper'  \
                  'device Mapper/ RAID support' &&

optional_depends  freetype2                  \
                  '--enable-grub-mkfont'     \
                  '--disable-grub-mkfont'    \
                  'for grub-mkfont utility' &&

optional_depends  unifont  '' '' 'for the default font (needed for gfxterm)' &&

optional_depends  sdl \
                  '--enable-grub-emu-sdl' \
                  '--disable-grub-emu-sdl' \
                  'To build and install the grub-emu debugging utility with SDL support' &&

suggest_depends efibootmgr \
                '' \
                '' \
                'for booting via EFI'
