Sha256: 8112384afb1c5591b022de9ad7206622ef489a249d7dc6c723c5cc947f839ba8
Contents?: true
Size: 773 Bytes
Versions: 1
Compression:
Stored size: 773 Bytes
Contents
require "mkmf" # placate rubygems when running `make install` def dummy_makefile File.open(File.join(File.dirname(__FILE__), "Makefile"), "w") {|f| f.puts %[install:\n\techo "This is a dummy extension"] } end if RUBY_VERSION >= '1.9.2' || RUBY_PLATFORM[/java|mswin|mingw|bccwin|wince/i] || ARGV.include?('--without-readline') dummy_makefile else dir_config("readline") have_library('readline') if !have_header('readline/readline.h') abort "\n** Bond Install Error: Unable to find readline.h. Please try again. **\n"+ "To install with your readline: gem install bond -- --with-readline-dir=/path/to/readline\n"+ "To install without readline: gem install bond -- --without-readline" else create_makefile 'readline_line_buffer' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bond-0.4.0 | ext/readline_line_buffer/extconf.rb |