summaryrefslogtreecommitdiff
path: root/ext/readline/extconf.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-01-20 04:59:32 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-01-20 04:59:32 +0000
commit9c5b1986a36c7a700b4c76817e35aa874ba7907c (patch)
tree5951a3d3d9a696af427384e6128c42ec2256e687 /ext/readline/extconf.rb
parentedf2e9b7c75d2fff380f03c9ae279e53fe05ab59 (diff)
Initial revision
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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