summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-06 22:38:42 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-06 22:38:42 +0000
commit327060e0d340159222d74ca79b0e0acfdd571b91 (patch)
tree5f4596a1a68c41d917a4aacb43b9804c2121158b /ext
parentb81063497c0411050a4495afe87a9c8f7a0da82c (diff)
downloadruby-327060e0d340159222d74ca79b0e0acfdd571b91.tar.gz
ruby-327060e0d340159222d74ca79b0e0acfdd571b91.tar.xz
ruby-327060e0d340159222d74ca79b0e0acfdd571b91.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@12456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/json/ext/generator/extconf.rb1
-rw-r--r--ext/json/ext/parser/extconf.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/ext/json/ext/generator/extconf.rb b/ext/json/ext/generator/extconf.rb
index db721a92f..d1d040172 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 085c8d060..cef706a4b 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'