Sha256: 28977842e23cfdcf208d781d56c5d6d36f12f25692a925e59ed5a715c81cde77
Contents?: true
Size: 547 Bytes
Versions: 3
Compression:
Stored size: 547 Bytes
Contents
require 'mkmf' require "extconf_task/mkmf_utils" i = 0 while i < ARGV.size case ARGV[i] when '--ldflags' if args = ARGV[i+1] i += 1 $LDFLAGS += " #{args}" end else raise "Invalid option: #{ARGV[i]}" end i += 1 end $CFLAGS += " -Wall" dir_config("mpfr") dir_config("mpc") dir_config("gmp") if have_header('mpfr.h') && have_library('mpfr') && have_header('mpc.h') && have_library('mpc') && have_header('gmp.h') && have_library('gmp') find_header_in_gem("ruby_mpfr.h", "ruby-mpfr") create_makefile("mpc") end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-mpc-0.0.9 | ext/mpc/extconf.rb |
ruby-mpc-0.0.8 | ext/mpc/extconf.rb |
ruby-mpc-0.0.7 | ext/mpc/extconf.rb |