Ignore:
Timestamp:
Jan 23, 2014, 8:08:33 PM (5 years ago)
Author:
sean@…
Message:

compilers-1.0: add is_c_only proc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/compilers-1.0.tcl

    r116300 r116301  
    381381}
    382382
     383proc compilers.is_c_only {} {
     384    global compilers.list
     385
     386    foreach c {f77 f90 fc} {
     387        if {[lsearch -exact ${compilers.list} $c] >= 0} {
     388            return 0
     389        }
     390    }
     391
     392    return 1
     393}
     394
    383395proc compilers.setup {args} {
    384396    global cdb compilers.variants compilers.clang_variants compilers.gcc_variants
Note: See TracChangeset for help on using the changeset viewer.