Sha256: 05d54bc7bc5b7b4776a5011e268ccaeec72bca19e7d7160e784c9c7423b492cc

Contents?: true

Size: 605 Bytes

Versions: 10

Compression:

Stored size: 605 Bytes

Contents

require 'mkmf'

# :stopdoc:

RbConfig::MAKEFILE_CONFIG['CC'] = ENV['CC'] if ENV['CC']

INCLUDEDIR = Config::CONFIG['includedir']
LIBDIR     = Config::CONFIG['libdir']
LIB_DIRS   = ['/opt/local/lib', '/usr/local/lib', LIBDIR, '/usr/lib']
libyaml    = dir_config 'libyaml', '/opt/local/include', '/opt/local/lib'

def asplode missing
  abort "#{missing} is missing. Try 'port install libyaml +universal' " +
        "or 'yum install libyaml-devel'"
end

asplode('yaml.h')  unless find_header  'yaml.h'
asplode('libyaml') unless find_library 'yaml', 'yaml_get_version'

create_makefile 'psych'

# :startdoc:

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
psych-1.3.3 ext/psych/extconf.rb
psych-1.3.2 ext/psych/extconf.rb
psych-1.3.1 ext/psych/extconf.rb
psych-1.3.0 ext/psych/extconf.rb
psych-1.2.2 ext/psych/extconf.rb
psych-1.2.2.rc1 ext/psych/extconf.rb
psych-1.2.1 ext/psych/extconf.rb
psych-1.2.0 ext/psych/extconf.rb
psych-1.1.1 ext/psych/extconf.rb
psych-1.1.0 ext/psych/extconf.rb