Backport #6021 » dbm.patch
ext/dbm/extconf.rb 2012-02-15 16:08:55.509671062 +0100 | ||
---|---|---|
end
|
||
if (have_library(db, db_prefix+"dbm_open") || have_func(db_prefix+"dbm_open")) and
|
||
hdr = self.fetch(db, ["ndbm.h"]).find {|h| have_type("DBM", h, hsearch)} or
|
||
hdr = self.fetch(db, ["ndbm.h"]).find {|h| have_type("DBM", ["db.h", h], hsearch)}
|
||
(hdr = self.fetch(db, ["ndbm.h"]).find {|h| have_type("DBM", h, hsearch)} or
|
||
hdr = self.fetch(db, ["ndbm.h"]).find {|h| have_type("DBM", ["db.h", h], hsearch)})
|
||
have_func(db_prefix+"dbm_clearerr") unless have_gdbm
|
||
$defs << hsearch if hsearch
|
||
case db
|
- « Previous
- 1
- 2
- Next »