diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2011-09-03 22:14:06 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2011-09-03 22:14:06 +0900 |
commit | 37349f8b8062bc7f84a49c6649c8cc80c72046fa (patch) | |
tree | 2e765d5e68b5f975271873bc84de059342be0fc9 /ext/json/ext/generator/extconf.rb | |
parent | 3dab4c5a6a97fac03dacf19446b9ff2a6b397591 (diff) | |
download | json-37349f8b8062bc7f84a49c6649c8cc80c72046fa.tar.gz |
HAVE_RUBY_RE_H and HAVE_RUBY_RE_H are defined in ruby.h by default.
Diffstat (limited to 'ext/json/ext/generator/extconf.rb')
-rw-r--r-- | ext/json/ext/generator/extconf.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/json/ext/generator/extconf.rb b/ext/json/ext/generator/extconf.rb index 149f22c..a9eae14 100644 --- a/ext/json/ext/generator/extconf.rb +++ b/ext/json/ext/generator/extconf.rb @@ -1,5 +1,4 @@ require 'mkmf' -require 'rbconfig' unless $CFLAGS.gsub!(/ -O[\dsz]?/, ' -O3') $CFLAGS << ' -O3' @@ -11,10 +10,4 @@ if CONFIG['CC'] =~ /gcc/ #end end -if RUBY_VERSION < "1.9" - have_header("re.h") -else - have_header("ruby/re.h") - have_header("ruby/encoding.h") -end create_makefile 'json/ext/generator' |