summaryrefslogtreecommitdiff
path: root/ext/json/ext/parser/extconf.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-04 12:31:26 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-04 12:31:26 +0000
commitaf1c4167287b9353fec766f932fe4afe97116ad4 (patch)
treefe952114fed9f49b11fa58533478ef130eddeba7 /ext/json/ext/parser/extconf.rb
parent6b3ef2249cc6d03b9e153a1bbfb24eb12d4032a5 (diff)
* lib/json.rb, lib/json, ext/json, test/json:
import JSON library. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/json/ext/parser/extconf.rb')
-rw-r--r--ext/json/ext/parser/extconf.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/json/ext/parser/extconf.rb b/ext/json/ext/parser/extconf.rb
new file mode 100644
index 0000000000..085c8d060c
--- /dev/null
+++ b/ext/json/ext/parser/extconf.rb
@@ -0,0 +1,9 @@
+require 'mkmf'
+require 'rbconfig'
+
+if CONFIG['CC'] =~ /gcc/
+ #CONFIG['CC'] += ' -Wall -ggdb'
+ CONFIG['CC'] += ' -Wall'
+end
+
+create_makefile 'json/ext/parser'