@conf
def find_gfortran(conf):
    """Find the gfortran program (will look in the environment variable 'FC')"""
    fc = conf.find_program(['gfortran', 'g77'], var='FC')
    conf.get_gfortran_version(fc)
    conf.env.FC_NAME = 'GFORTRAN'
