diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/readline/extconf.rb | 7 |
2 files changed, 7 insertions, 5 deletions
@@ -1,4 +1,4 @@ -Fri Dec 14 11:54:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> +Fri Dec 14 12:36:35 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * configure.in (RUBY_CHECK_VARTYPE): check if a variable is defined and its type. @@ -9,6 +9,9 @@ Fri Dec 14 11:54:06 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/mkmf.rb (try_var): should fail for functions. + * ext/readline/extconf.rb: should use have_func for functions instead + of have_var. + Fri Dec 14 08:17:24 2007 Tanaka Akira <akr@fsij.org> * eval.c (rb_protect): restore root_jmpbuf even if proc exits by diff --git a/ext/readline/extconf.rb b/ext/readline/extconf.rb index b57a36f3a5..b820c0b32f 100644 --- a/ext/readline/extconf.rb +++ b/ext/readline/extconf.rb @@ -42,9 +42,9 @@ else end end -have_readline_var("rl_filename_completion_function") -have_readline_var("rl_username_completion_function") -have_readline_var("rl_completion_matches") +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") @@ -59,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") |