summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-14 03:36:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-14 03:36:37 +0000
commit4e5d2b1190e43a3ecf250c6ef1b394e8de801fa8 (patch)
tree33f81eec12c6ad60c98ac6954cfb316857fcc8f7
parent7919e7f7e8fa4965ae297ecfed826b0f0ecfea93 (diff)
* 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@14225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--ext/readline/extconf.rb7
2 files changed, 7 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index ff68f55fea..6757821075 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
+
Tue Dec 11 00:04:05 2007 Akinori MUSHA <knu@iDaemons.org>
* array.c (rb_ary_slice_bang): If an invalid negative index (<
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")