mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/dbm/extconf.rb: revert a part of the patch in [ruby-dev:41531].
don't use db.h with other headers. [ruby-dev:44884]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b37c003e24
commit
09d2180d2d
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Nov 17 20:43:34 2011 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* ext/dbm/extconf.rb: revert a part of the patch in [ruby-dev:41531].
|
||||||
|
don't use db.h with other headers. [ruby-dev:44884].
|
||||||
|
|
||||||
Thu Nov 17 20:23:03 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
Thu Nov 17 20:23:03 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* benchmark/bm_io_select[23].rb: use Process::RLIMIT_NOFILE only when
|
* benchmark/bm_io_select[23].rb: use Process::RLIMIT_NOFILE only when
|
||||||
|
|
|
@ -50,7 +50,7 @@ def headers.db_check2(db, hdr)
|
||||||
have_library("gdbm") or return false
|
have_library("gdbm") or return false
|
||||||
end
|
end
|
||||||
|
|
||||||
if (have_type("DBM", hdr, hsearch) || have_type("DBM", ["db.h", hdr], hsearch)) and
|
if have_type("DBM", hdr, hsearch) and
|
||||||
(db == 'libc' ? have_func('dbm_open("", 0, 0)', hdr, hsearch) :
|
(db == 'libc' ? have_func('dbm_open("", 0, 0)', hdr, hsearch) :
|
||||||
have_library(db, 'dbm_open("", 0, 0)', hdr, hsearch)) and
|
have_library(db, 'dbm_open("", 0, 0)', hdr, hsearch)) and
|
||||||
have_func('dbm_clearerr((DBM *)0)', hdr, hsearch)
|
have_func('dbm_clearerr((DBM *)0)', hdr, hsearch)
|
||||||
|
|
Loading…
Add table
Reference in a new issue