#
# mkfont moved to an optional dependency
#
list_remove  GRUB2_OPTS  '--enable-grub-mkfont'  &&
list_remove  GRUB2_OPTS  '--enable-grub-emu'  &&
list_remove  GRUB2_OPTS  '--enable-grub-pe2elf'  &&
# fstest is no longer an option as of 1.99
list_remove  GRUB2_OPTS  '--enable-grub-fstest'  &&
list_remove  GRUB2_OPTS  '--disable-grub-fstest'  &&

config_query_option GRUB2_OPTS 'include memory manger debugging?' n \
                             '--enable-mm-debug' \
                             '--disable-mm-debug' &&
config_query_option GRUB2_OPTS 'build and install the grub-emu-usb debugging utility?' n \
                             '--enable-grub-emu-usb' \
                             '--disable-grub-emu-usb' &&
config_query_option GRUB2_OPTS 'build and install the efiemu runtimes?' y \
                             '--enable-efiemu' \
                             '--disable-efiemu'
