# for get_sorcery_kernel_config
source $GRIMOIRE/FUNCTIONS  &&

### soundcore test
if [[ $(get_sorcery_kernel_config CONFIG_SOUND) != y &&
$(get_sorcery_kernel_config CONFIG_SOUND) != m &&
`grep -c 'CONFIG_SOUND is not set' ${CONFIG_CACHE}/kernel.config` != 1 ]]
then
  message "${SPELL_COLOR} You *must* configure your kernel with CONFIG_SOUND on${DEFAULT_COLOR}"  &&
  return 1
fi &&

config_query  ALSA_GIT  "Build latest version from development tree?"  n  &&

if  [[ $ALSA_GIT == y ]];  then
  config_query  ALSA_GIT_AUTOUPDATE  \
                "Automatically update on every system update?"  n
fi
