blob: 11f44ac10410cccf0ec4edded4315f738e34aa5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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:
|