Fixed compilation of Fortran samples with user-specified compiler

cherry-pick of r1635 from 2.0 maintenance branch
This commit is contained in:
Ray Speth 2012-08-13 20:14:07 +00:00
parent c77539e577
commit 9d9a22f16b

View file

@ -600,6 +600,7 @@ if env['f90_interface'] in ('y','default'):
if foundF90:
env['f90_interface'] = 'y'
env['FORTRAN'] = env['F90']
elif env['f90_interface'] == 'y':
print "ERROR: Couldn't find a suitable Fortran compiler to build the Fortran 90 interface"
sys.exit(1)