From 327060e0d340159222d74ca79b0e0acfdd571b91 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 6 Jun 2007 22:38:42 +0000 Subject: * 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 --- ext/json/ext/generator/extconf.rb | 1 + ext/json/ext/parser/extconf.rb | 1 + 2 files changed, 2 insertions(+) (limited to 'ext/json') 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' -- cgit