This doesn't belong in sbuild itself; it's too high a layer. However, you can do this easily by using dh_auto_configure, which nowadays automatically does this if configure fails.
This doesn't belong in sbuild itself; it's too high a layer. However, you can do this easily by using dh_auto_configure, which nowadays automatically does this if configure fails.