Sha256: 0f970f009b6393e74bf0362695bdd9d6aef4d4b21db95ce03899d3cfe6204b86

Contents?: true

Size: 468 Bytes

Versions: 2

Compression:

Stored size: 468 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('mpfi.h') && have_library('mpfi') && have_header('gmp.h') && have_library('gmp')
  create_makefile("mpfi")
end

Version data entries

2 entries across 2 versions & 1 rubygems

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