ext/bindex/extconf.rb in bindex-0.2.0 vs ext/bindex/extconf.rb in bindex-0.3.0
- old
+ new
@@ -1,23 +1,8 @@
case RUBY_ENGINE
when "ruby"
require "mkmf"
- case "#{RUBY_VERSION}#{RUBY_PATCHLEVEL}"
- when /1\.9\.3/
- $CFLAGS << " -D RUBY_193"
- $INCFLAGS << " -I./ruby_193/"
- when /2\.0\.*/
- $CFLAGS << " -D RUBY_20"
- $INCFLAGS << " -I./ruby_20/"
- when "2.1.0-1"
- $CFLAGS << " -D RUBY_21PREVIEW"
- $INCFLAGS << " -I./ruby_21PREVIEW/"
- when /2\.1\.*/
- $CFLAGS << " -D RUBY_21"
- $INCFLAGS << " -I./ruby_21/"
- end
-
$CFLAGS << " -Wall"
$CFLAGS << " -g3 -O0" if ENV["DEBUG"]
create_makefile("bindex/cruby")
else