Sha256: c3e819f98b5c48a81d5e230c15476ffb79fbd464d504963f9b2a9f1e8f680d1e

Contents?: true

Size: 455 Bytes

Versions: 2

Compression:

Stored size: 455 Bytes

Contents

require 'mkmf'

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

dir_config('mpfr')
dir_config('mpfi')
dir_config('gmp')

if have_header('mpfr.h') && have_library('mpfr') && have_header('mpfi.h') && have_library('mpfi') && have_header('gmp.h') && have_library('gmp')
  create_makefile("mpfi/matrix")
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-mpfi-0.0.6 ext/mpfi_matrix/mpfi/extconf.rb
ruby-mpfi-0.0.5 ext/mpfi_matrix/mpfi/extconf.rb