From 083bf237596abd7b317bc891c5b6d766f299c62e Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 2 Mar 2014 06:22:27 +0000 Subject: A comment added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/readline/extconf.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext') diff --git a/ext/readline/extconf.rb b/ext/readline/extconf.rb index 5e3c9ea982..70dfd0b6c2 100644 --- a/ext/readline/extconf.rb +++ b/ext/readline/extconf.rb @@ -99,6 +99,9 @@ readline.have_func("rl_redisplay") readline.have_func("rl_insert_text") readline.have_func("rl_delete_text") unless readline.have_type("rl_hook_func_t") + # rl_hook_func_t is available since readline-4.2 (2001). + # Function is removed at readline-6.3 (2014). + # However, editline (NetBSD 6.1.3, 2014) doesn't have rl_hook_func_t. $DEFS << "-Drl_hook_func_t=Function" end -- cgit v1.2.3