lib/extconf.rb in picky-4.5.5 vs lib/extconf.rb in picky-4.5.6

- old
+ new

@@ -1,18 +1,16 @@ -Dir.chdir File.expand_path('..', __FILE__) do - # Information. - # - print "Compiling on Ruby 1.9" - if defined?(RbConfig) - RbConfig::MAKEFILE_CONFIG['CC'] = ENV['CC'] if ENV['CC'] - print " with CC set to #{RbConfig::MAKEFILE_CONFIG['CC']}" - end - puts " into #{Dir.pwd}." +# Information. +# +print "Compiling on Ruby 1.9" +if defined?(RbConfig) + RbConfig::MAKEFILE_CONFIG['CC'] = ENV['CC'] if ENV['CC'] + print " with CC set to #{RbConfig::MAKEFILE_CONFIG['CC']}" +end +puts "." - # Compile. - # - require 'mkmf' +# Compile. +# +require 'mkmf' - abort 'need ruby.h' unless have_header("ruby.h") +abort 'need ruby.h' unless have_header("ruby.h") - create_makefile('performant') -end +create_makefile('performant') \ No newline at end of file