summaryrefslogtreecommitdiff
path: root/ext/sdbm/extconf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-16 01:06:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-16 01:06:13 +0000
commit7e0920723c0915673bcb52e1d4f4f3338ad68697 (patch)
tree63ca6463cf870e2e080adb1ae856d6b5626cbc0c /ext/sdbm/extconf.rb
parent92a7cf0455f716b7e5031d1a9ee60b14c3bef92a (diff)
* ext/sdbm/_sdbm.c (SEEDUPS, BADMESS): make settable using command
line options. * ext/sdbm/_sdbm.c (makroom): suppress unused result warning. * ext/sdbm/extconf.rb: disable BADMESS, a library should not emit messages directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/sdbm/extconf.rb')
-rw-r--r--ext/sdbm/extconf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/sdbm/extconf.rb b/ext/sdbm/extconf.rb
index cc6c8ce..67796fb 100644
--- a/ext/sdbm/extconf.rb
+++ b/ext/sdbm/extconf.rb
@@ -1,3 +1,4 @@
require 'mkmf'
+$defs << "-D""BADMESS=0"
create_makefile("sdbm")