ext/ruby_debug/extconf.rb in debugger-1.0.1 vs ext/ruby_debug/extconf.rb in debugger-1.1.0

- old
+ new

@@ -8,11 +8,11 @@ ruby_include = "#{$1}/#{$2}/include/ruby-1.9.1/#{$2}" ARGV << "--with-ruby-include=#{ruby_include}" end require "mkmf" -require "ruby_core_source" +require "debugger/ruby_core_source" require 'fileutils' if RUBY_VERSION < "1.9" STDERR.print("Ruby version is too old\n") exit(1) @@ -53,10 +53,10 @@ %w{ruby_debug.h ruby_debug.c breakpoint.c}.each do |file| FileUtils.cp("#{current_dir}/#{header_dir}/#{file}", current_dir) end dir_config("ruby") -if !Ruby_core_source::create_makefile_with_core(hdrs, "ruby_debug") +if !Debugger::RubyCoreSource.create_makefile_with_core(hdrs, "ruby_debug") STDERR.print("Makefile creation failed\n") STDERR.print("*************************************************************\n\n") STDERR.print(" NOTE: If your headers were not found, try passing\n") STDERR.print(" --with-ruby-include=PATH_TO_HEADERS \n\n") STDERR.print("*************************************************************\n\n")