Sha256: 9858a64f5f7a2da4edce29311c4d38e4b419314d9efa0bb0c53bc0414d345f33

Contents?: true

Size: 620 Bytes

Versions: 4

Compression:

Stored size: 620 Bytes

Contents

# Flate installation file
require 'mkmf'

if have_header("zlib.h") and have_library("z", "compress", "zlib.h")
  puts "Using the system zlib library"
else
  require 'fileutils'
  puts "Using the private copy of zlib: copying the files from zlib/"
  files = Dir["zlib/*.[ch]"]
  for f in files do
    target = File::basename(f)
    begin
      FileUtils::symlink(f, target)
    rescue NotImplementedError => e  # For platforms when that isn't implemented
      FileUtils::copy(f, target)
    end
    $distcleanfiles << target
  end
end

# We add include directories
$INCFLAGS += " -I../includes"

create_makefile 'Flate'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tioga-1.19.1 ext/Flate/extconf.rb
tioga-1.19 ext/Flate/extconf.rb
tioga-1.18 ext/Flate/extconf.rb
tioga-1.17 ext/Flate/extconf.rb