diff options
author | William Deegan <bill@baddogconsulting.com> | 2022-06-15 18:12:05 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2022-06-15 18:12:05 (GMT) |
commit | a9f2f54194698559bc248a8926fddb5edde98d32 (patch) | |
tree | 242a03b0d0dc7cd21fe14ddecf7b054d40b2d17b /SCons/Tool/fortran.py | |
parent | 49e50671de9309fd38e5006071332a802161e7c1 (diff) | |
download | SCons-a9f2f54194698559bc248a8926fddb5edde98d32.zip SCons-a9f2f54194698559bc248a8926fddb5edde98d32.tar.gz SCons-a9f2f54194698559bc248a8926fddb5edde98d32.tar.bz2 |
trivial cleanups. Change internal flag in internal methods from 0/1 to True/False for support_module
Diffstat (limited to 'SCons/Tool/fortran.py')
-rw-r--r-- | SCons/Tool/fortran.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SCons/Tool/fortran.py b/SCons/Tool/fortran.py index 9a095ae..d21b930 100644 --- a/SCons/Tool/fortran.py +++ b/SCons/Tool/fortran.py @@ -32,6 +32,7 @@ from SCons.Tool.FortranCommon import add_all_to_env, add_fortran_to_env compilers = ['f95', 'f90', 'f77'] + def generate(env): add_all_to_env(env) add_fortran_to_env(env) @@ -41,6 +42,7 @@ def generate(env): if 'SHFORTRAN' not in env: env['SHFORTRAN'] = '$FORTRAN' + def exists(env): return env.Detect(compilers) |