ruby-changes:2734
From: ko1@a...
Date: 14 Dec 2007 12:39:26 +0900
Subject: [ruby-changes:2734] nobu - Ruby:r14225 (ruby_1_8, trunk): * ext/readline/extconf.rb: should use have_func for functions instead
nobu 2007-12-14 12:36:37 +0900 (Fri, 14 Dec 2007) New Revision: 14225 Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/ext/readline/extconf.rb trunk/ChangeLog trunk/ext/readline/extconf.rb Log: * ext/readline/extconf.rb: should use have_func for functions instead of have_var. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=14225&r2=14224 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14225&r2=14224 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ext/readline/extconf.rb?r1=14225&r2=14224 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/readline/extconf.rb?r1=14225&r2=14224 Index: ChangeLog =================================================================== --- ChangeLog (revision 14224) +++ ChangeLog (revision 14225) @@ -1,4 +1,4 @@ -Fri Dec 14 11:54:06 2007 Nobuyoshi Nakada <nobu@r...> +Fri Dec 14 12:36:35 2007 Nobuyoshi Nakada <nobu@r...> * configure.in (RUBY_CHECK_VARTYPE): check if a variable is defined and its type. @@ -9,6 +9,9 @@ * 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@f...> * eval.c (rb_protect): restore root_jmpbuf even if proc exits by Index: ext/readline/extconf.rb =================================================================== --- ext/readline/extconf.rb (revision 14224) +++ ext/readline/extconf.rb (revision 14225) @@ -42,9 +42,9 @@ 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_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") Index: ruby_1_8/ext/readline/extconf.rb =================================================================== --- ruby_1_8/ext/readline/extconf.rb (revision 14224) +++ ruby_1_8/ext/readline/extconf.rb (revision 14225) @@ -42,9 +42,9 @@ 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_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") Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 14224) +++ ruby_1_8/ChangeLog (revision 14225) @@ -1,4 +1,4 @@ -Fri Dec 14 11:54:06 2007 Nobuyoshi Nakada <nobu@r...> +Fri Dec 14 12:36:35 2007 Nobuyoshi Nakada <nobu@r...> * configure.in (RUBY_CHECK_VARTYPE): check if a variable is defined and its type. @@ -9,6 +9,9 @@ * 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@i...> * array.c (rb_ary_slice_bang): If an invalid negative index (< -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml