summaryrefslogtreecommitdiff
path: root/ext/readline/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/readline/extconf.rb')
-rw-r--r--ext/readline/extconf.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/readline/extconf.rb b/ext/readline/extconf.rb
new file mode 100644
index 0000000..e55233e
--- /dev/null
+++ b/ext/readline/extconf.rb
@@ -0,0 +1,8 @@
+require "mkmf"
+
+have_library("termcap", "tgetnum")
+if have_header("readline/readline.h") and
+ have_header("readline/history.h") and
+ have_library("readline", "readline")
+ create_makefile("readline")
+end