Sha256: 5a2e6a8fc2b613b9fa2f5f8dc92d989136dfb2fee47c46c0794f480879048ce7

Contents?: true

Size: 461 Bytes

Versions: 5

Compression:

Stored size: 461 Bytes

Contents

#!/usr/bin/ruby

require 'mkmf'

$CFLAGS = "-DHAVE_INTTYPES_H"

Config::CONFIG['CC']  = 'g++'
Config::CONFIG['CPP'] = 'g++'

dir_config("mimetic", ["/usr/local", "/opt/local", "/usr"])

headers = [ 'stdio.h', 'mimetic/mimetic.h' ]
if have_library('mimetic',  nil, headers)
  create_makefile 'mimetic'
else
  puts <<-ERROR
    Cannot find mimetic headers or libraries.
    Try sudo apt-get install libmimetic-dev on debian flavors of linux.
  ERROR
  exit 1
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pony-express-0.2.5 ext/extconf.rb
pony-express-0.2.4 ext/extconf.rb
pony-express-0.2.2 ext/extconf.rb
pony-express-0.2.1 ext/extconf.rb
pony-express-0.2.0 ext/extconf.rb