def generate(env): add_all_to_env(env) add_f08_to_env(env) fcomp = env.Detect(compilers) or 'f08' env['F08'] = fcomp env['SHF08'] = fcomp env['FORTRAN'] = fcomp env['SHFORTRAN'] = fcomp
def generate(env): add_all_to_env(env) add_f08_to_env(env) fcomp = env.Detect(compilers) or 'f08' if 'F08' not in env: env['F08'] = fcomp if 'SHF08' not in env: env['SHF08'] = '$F08' if 'FORTRAN' not in env: env['FORTRAN'] = fcomp if 'SHFORTRAN' not in env: env['SHFORTRAN'] = '$FORTRAN'