summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-04-13 05:33:36 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-04-13 05:33:36 +0000
commitf96faa860bfaf119ed379db160c24bd815376fd1 (patch)
treec13edc3bedf6b2dc15e327301ac152883df4ecd1
parent44afc617717bcfc9670242632f8a107099a50cf9 (diff)
ndbm.h check
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/dbm/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dbm/extconf.rb b/ext/dbm/extconf.rb
index 3a96cee..c499df9 100644
--- a/ext/dbm/extconf.rb
+++ b/ext/dbm/extconf.rb
@@ -3,7 +3,7 @@ $LDFLAGS = "-L/usr/local/lib"
have_library("gdbm", "dbm_open") or
have_library("db", "dbm_open") or
have_library("dbm", "dbm_open")
-if have_func("dbm_open")
+if have_header("ndbm.h") and have_func("dbm_open")
have_func("dbm_clearerr")
create_makefile("dbm")
end