diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-06 22:38:42 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-06 22:38:42 +0000 |
commit | b60d64b001c8819e6626b00efbeae96560368a08 (patch) | |
tree | 5f4596a1a68c41d917a4aacb43b9804c2121158b /ext/json | |
parent | 6d2dee14f3d5d4224effd0ec2d8fbc07dc54cbac (diff) |
* lib/json/common.rb: Ponder offering parse\! method.
* lib/json/editor.rb: be a bit more robust while loading data.
* ext/json/ext/{generator,parser}/extconf.rb:
add a have_header directive for st.h
* test/json: fix some tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/json')
-rw-r--r-- | ext/json/ext/generator/extconf.rb | 1 | ||||
-rw-r--r-- | ext/json/ext/parser/extconf.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ext/json/ext/generator/extconf.rb b/ext/json/ext/generator/extconf.rb index db721a92f8..d1d0401721 100644 --- a/ext/json/ext/generator/extconf.rb +++ b/ext/json/ext/generator/extconf.rb @@ -6,4 +6,5 @@ if CONFIG['CC'] =~ /gcc/ #CONFIG['CC'] += ' -Wall' end +have_header 'st.h' create_makefile 'json/ext/generator' diff --git a/ext/json/ext/parser/extconf.rb b/ext/json/ext/parser/extconf.rb index 085c8d060c..cef706a4b9 100644 --- a/ext/json/ext/parser/extconf.rb +++ b/ext/json/ext/parser/extconf.rb @@ -6,4 +6,5 @@ if CONFIG['CC'] =~ /gcc/ CONFIG['CC'] += ' -Wall' end +have_header 'st.h' create_makefile 'json/ext/parser' |