default_pre_build      &&
cd  $SOURCE_DIRECTORY  &&

# Prevent configure & build of unselected components
case "$DSSI_HOST:$DSSI_PLUGINS" in
n:*)
  sedit 's/^SUBDIRS =.*/SUBDIRS = tests/' Makefile.in
  ;;
y:n)
  sedit 's/^SUBDIRS =.*/SUBDIRS = jack-dssi-host tests/' Makefile.in
  ;;
esac &&
sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub
