summaryrefslogtreecommitdiff
path: root/ext/gdbm/extconf.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-05-07 08:23:54 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-05-07 08:23:54 +0000
commitc09a226803d177f2ab3426ec2c72a3186d789010 (patch)
treef4ac6a3db1949e27067568e445919f1ec005c64c /ext/gdbm/extconf.rb
parent3383b32856a3da7e74964402d4d8f7bac1bc1801 (diff)
gdbm module
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/gdbm/extconf.rb')
-rw-r--r--ext/gdbm/extconf.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/gdbm/extconf.rb b/ext/gdbm/extconf.rb
new file mode 100644
index 0000000000..3c36f29f14
--- /dev/null
+++ b/ext/gdbm/extconf.rb
@@ -0,0 +1,7 @@
+require 'mkmf'
+$LDFLAGS = "-L/usr/local/lib"
+have_library("gdbm", "gdbm_open")
+have_header("gdbm.h")
+if have_func("gdbm_open")
+ create_makefile("gdbm")
+end