Sha256: 25dbf952f3fd1340f8d877727ec99b2bcbf8aadf30806434675b33c4ba18e662

Contents?: true

Size: 427 Bytes

Versions: 2

Compression:

Stored size: 427 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

$CFLAGS += " -Wall"

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

Version data entries

2 entries across 2 versions & 1 rubygems

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