diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-16 01:06:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-16 01:06:13 +0000 |
commit | 7e0920723c0915673bcb52e1d4f4f3338ad68697 (patch) | |
tree | 63ca6463cf870e2e080adb1ae856d6b5626cbc0c /ext/sdbm/extconf.rb | |
parent | 92a7cf0455f716b7e5031d1a9ee60b14c3bef92a (diff) | |
download | ruby-7e0920723c0915673bcb52e1d4f4f3338ad68697.tar.gz |
* 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.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/sdbm/extconf.rb b/ext/sdbm/extconf.rb index cc6c8cefd1..67796fbf8a 100644 --- a/ext/sdbm/extconf.rb +++ b/ext/sdbm/extconf.rb @@ -1,3 +1,4 @@ require 'mkmf' +$defs << "-D""BADMESS=0" create_makefile("sdbm") |