# File lib/makeconf/compiler.rb, line 369 def initialize(options = {}) @search_list = options.has_key?(:search) ? options[:search] : [ 'cc', 'gcc', 'clang', 'cl.exe'] @search_list = [ @search_list ] unless @search_list.kind_of?(Array) @output_type = nil super('C', '.c') printf "checking for a C compiler.. " self.path = search(@search_list) end
Generated with the Darkfish Rdoc Generator 2.