Skip to content
Browse files

Moved lib/ext/readline to lib/18/readline/ext.

  • Loading branch information...
1 parent 11c2e71 commit 40f8e6abc192211c0ca3efedb196770697ab2dc0 @brixen brixen committed Nov 3, 2011
View
2 lib/c-readline.rb → lib/18/c-readline.rb
@@ -1,4 +1,4 @@
-require 'ext/readline/readline'
+require 'readline/ext/readline'
module Readline
def self.readline(prompt="", add_hist=true)
View
0 lib/ext/readline/Rakefile → lib/18/readline/ext/Rakefile
File renamed without changes.
View
0 lib/ext/readline/readline.c → lib/18/readline/ext/readline.c
File renamed without changes.
View
5 rakelib/extensions.rake
@@ -109,7 +109,6 @@ File.open(build_ruby, "wb") do |f|
end
compile_ext "bigdecimal"
-compile_ext "readline" if BUILD_CONFIG[:defines].include? "HAS_READLINE"
compile_ext "digest"
compile_ext "digest:md5"
compile_ext "digest:rmd160"
@@ -121,6 +120,10 @@ compile_ext "melbourne", :task => "rbx", :doc => "for Rubinius"
compile_ext "melbourne", :task => "build", :doc => "for bootstrapping"
compile_ext "nkf"
+if BUILD_CONFIG[:defines].include? "HAS_READLINE"
+ compile_ext "readline", :dir => "lib/18/readline/ext"
+end
+
# rbx must be able to run to build these because they use
# extconf.rb, so they must be after melbourne for Rubinius.
compile_ext "openssl", :deps => ["Makefile", "extconf.h"]

0 comments on commit 40f8e6a

Please sign in to comment.
Something went wrong with that request. Please try again.