Try to detect a D compiler from the list of supported compilers:
def options(opt):
opt.load('compiler_d')
def configure(cnf):
cnf.load('compiler_d')
def build(bld):
bld.program(source='main.d', target='app')
Only two D compilers are really present at the moment:
Try to find a suitable D compiler or raise a waflib.Errors.ConfigurationError.