diff options
Diffstat (limited to 'ruby_1_9_3/ext/psych/extconf.rb')
-rw-r--r-- | ruby_1_9_3/ext/psych/extconf.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ruby_1_9_3/ext/psych/extconf.rb b/ruby_1_9_3/ext/psych/extconf.rb new file mode 100644 index 0000000000..ccc8c9c304 --- /dev/null +++ b/ruby_1_9_3/ext/psych/extconf.rb @@ -0,0 +1,16 @@ +require 'mkmf' + +# :stopdoc: + +dir_config 'libyaml' + +def asplode missing + raise "#{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: |