1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/psych/extconf.rb

17 lines
286 B
Ruby
Raw Normal View History

require 'mkmf'
# :stopdoc:
dir_config 'libyaml'
def asplode missing
abort "#{missing} is missing. Please install libyaml."
end
asplode('yaml.h') unless find_header 'yaml.h'
asplode('libyaml') unless find_library 'yaml', 'yaml_get_version'
create_makefile 'psych'
# :startdoc: