diff options
Diffstat (limited to 'ext/json/ext/parser/extconf.rb')
-rw-r--r-- | ext/json/ext/parser/extconf.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/json/ext/parser/extconf.rb b/ext/json/ext/parser/extconf.rb new file mode 100644 index 0000000..6226394 --- /dev/null +++ b/ext/json/ext/parser/extconf.rb @@ -0,0 +1,11 @@ +require 'mkmf' +require 'rbconfig' + +if CONFIG['CC'] =~ /gcc/ + $CFLAGS += ' -Wall' + #$CFLAGS += ' -O0 -ggdb' +end + +have_header("ruby/st.h") || have_header("st.h") +have_header("re.h") +create_makefile 'parser' |