From aeedcfb39ff5981a0495d6effd749e542950a885 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Sat, 7 Jun 2008 20:22:51 +0000 Subject: merge revision(s) 14222:14225: * configure.in (RUBY_CHECK_VARTYPE): check if a variable is defined and its type. * configure.in (timezone, altzone): check for recent cygwin. * missing/strftime.c (strftime): fix for timezone. [ruby-dev:32536] * lib/mkmf.rb (try_var): should fail for functions. * ext/readline/extconf.rb: should use have_func for functions instead of have_var. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@16986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/readline/extconf.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ext') diff --git a/ext/readline/extconf.rb b/ext/readline/extconf.rb index b67a443dad..b820c0b32f 100644 --- a/ext/readline/extconf.rb +++ b/ext/readline/extconf.rb @@ -42,7 +42,9 @@ else end end -have_readline_var("rl_filename_completion_function") +have_func("rl_filename_completion_function") +have_func("rl_username_completion_function") +have_func("rl_completion_matches") have_readline_var("rl_deprep_term_function") have_readline_var("rl_completion_append_character") have_readline_var("rl_basic_word_break_characters") @@ -57,7 +59,6 @@ have_func("rl_cleanup_after_signal") have_func("rl_clear_signals") have_func("rl_vi_editing_mode") have_func("rl_emacs_editing_mode") -have_func("rl_clear_signals") have_func("replace_history_entry") have_func("remove_history") create_makefile("readline") -- cgit v1.2.3