diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-14 03:36:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-14 03:36:37 +0000 |
commit | e9ac3573f0025893957d785aa6f0ce361411c8e0 (patch) | |
tree | 05596dff2206d79ce6627eccb115b6c138303d76 | |
parent | 3cce5965da45677a6f219ebea422425ade2d9d3b (diff) | |
download | ruby-e9ac3573f0025893957d785aa6f0ce361411c8e0.tar.gz |
* ext/readline/extconf.rb: should use have_func for functions instead
of have_var.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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") |