diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/dbm/extconf.rb | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Sat Dec 14 02:03:51 2002 WATANABE Hirofumi <eban@ruby-lang.org> + + * ext/dbm/extconf.rb (db_check): support for GNU dbm 1.8.3. + backported from 1.7. + Fri Dec 13 23:39:09 2002 WATANABE Hirofumi <eban@ruby-lang.org> * ext/dbm/extconf.rb: backported from 1.7. diff --git a/ext/dbm/extconf.rb b/ext/dbm/extconf.rb index 5c1afe7d34..e67ede88f5 100644 --- a/ext/dbm/extconf.rb +++ b/ext/dbm/extconf.rb @@ -24,6 +24,9 @@ def db_check(db) hsearch = "-DDB_DBM_HSEARCH " when "gdbm" $dbm_conf_have_gdbm = true + when "gdbm_compat" + $dbm_conf_have_gdbm = true + have_library("gdbm") or return false end if have_library(db, db_prefix("dbm_open")) || have_func(db_prefix("dbm_open")) |