Sha256: bc9637e1f030a80a30a25d869dbdd8475394c6e9ef3031fc3473819123ec660b

Contents?: true

Size: 617 Bytes

Versions: 4

Compression:

Stored size: 617 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 NotImplemented => 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.16 ext/Flate/extconf.rb
tioga-1.15 ext/Flate/extconf.rb
tioga-1.14 ext/Flate/extconf.rb
tioga-1.13 ext/Flate/extconf.rb