summaryrefslogtreecommitdiff
path: root/trunk/ext/gdbm/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/ext/gdbm/extconf.rb')
-rw-r--r--trunk/ext/gdbm/extconf.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/trunk/ext/gdbm/extconf.rb b/trunk/ext/gdbm/extconf.rb
new file mode 100644
index 0000000000..5a09492e5e
--- /dev/null
+++ b/trunk/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