Sha256: 07e96bef2f89fa8992924f38295e8d01c55a68a1114289c8fbc7e0361504ea5a

Contents?: true

Size: 465 Bytes

Versions: 1

Compression:

Stored size: 465 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("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')
  create_makefile("mpc")
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-mpc-0.0.5 ext/mpc/extconf.rb