summaryrefslogtreecommitdiff
path: root/ext/readline
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-30 09:48:24 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-30 09:48:24 +0000
commit6db72c0166bc3e9ba846a3aaf469e5d7457980dc (patch)
treecd3b2fc8a88ceb792bc6b307f291fce8e77e70c6 /ext/readline
parent794fb410993c0c2ef7a1eb398f0f3e263ca7d1c9 (diff)
* ext/readline/extconf.rb: call dir_config("libedit")
if --enable-libedit is spcified. [Bug #11751] patched by John Hein git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/readline')
-rw-r--r--ext/readline/extconf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/readline/extconf.rb b/ext/readline/extconf.rb
index c79370bf..5cbcc0e 100644
--- a/ext/readline/extconf.rb
+++ b/ext/readline/extconf.rb
@@ -37,6 +37,7 @@ have_library("ncurses", "tgetnum") ||
case enable_libedit
when true
# --enable-libedit
+ dir_config("libedit")
unless (readline.have_header("editline/readline.h") ||
readline.have_header("readline/readline.h")) &&
have_library("edit", "readline")