diff options
author | Florian Frank <flori@ping.de> | 2009-08-24 16:20:32 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2009-08-24 16:20:32 +0200 |
commit | 10f03df1f6a54edaae86e87e1fd7d9a6a6a319f1 (patch) | |
tree | d7133d6f5ba8bc2f195ee6e070b34331bd4f5d04 /ext/json/ext/generator/extconf.rb | |
download | json-10f03df1f6a54edaae86e87e1fd7d9a6a6a319f1.tar.gz |
initial commit
Diffstat (limited to 'ext/json/ext/generator/extconf.rb')
-rw-r--r-- | ext/json/ext/generator/extconf.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/json/ext/generator/extconf.rb b/ext/json/ext/generator/extconf.rb new file mode 100644 index 0000000..797b566 --- /dev/null +++ b/ext/json/ext/generator/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("ruby/encoding.h") +create_makefile 'generator' |