class Object

Public Instance Methods

compiler_is_gcc() click to toggle source
# File ext/extconf.rb, line 19
def compiler_is_gcc
  if CONFIG["GCC"] && CONFIG["GCC"] != ""
    return true
  elsif ( # This could stand to be more generic...  but I am afraid.
    CONFIG["CC"] =~ /\bgcc\b/
  )
    return true
  end
  return false
end