summaryrefslogtreecommitdiff
path: root/ruby_1_8_5/ext/gdbm/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_8_5/ext/gdbm/extconf.rb')
-rw-r--r--ruby_1_8_5/ext/gdbm/extconf.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/ruby_1_8_5/ext/gdbm/extconf.rb b/ruby_1_8_5/ext/gdbm/extconf.rb
new file mode 100644
index 0000000000..5a09492e5e
--- /dev/null
+++ b/ruby_1_8_5/ext/gdbm/extconf.rb
@@ -0,0 +1,7 @@
+require 'mkmf'
+
+dir_config("gdbm")
+if have_library("gdbm", "gdbm_open") and
+ have_header("gdbm.h")
+ create_makefile("gdbm")
+end