Changeset 1332


Ignore:
Timestamp:
04/18/07 16:17:26 (18 years ago)
Author:
mar637
Message:

small patch for fortran detection, when no fortran is found.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scons/utils.py

    r1325 r1332  
    4949            # auto-detect fortran
    5050            detect_fortran = conf.env.Detect(['gfortran', 'g77', 'f77'])
     51            if not detect_fortran:
     52                print "No fortran compiler found. Specify FORTRAN and f2clib."
     53                conf.env.Exit(1)
    5154            conf.env["FORTRAN"] = detect_fortran
    5255            fdict = {'gfortran': 'gfortran', 'g77': 'g2c', 'f77': 'f2c'}
Note: See TracChangeset for help on using the changeset viewer.