Sha256: ad96debf2352f14a7b552159ae40df65342e976c1a9872e690e39d1f09484dce

Contents?: true

Size: 838 Bytes

Versions: 23

Compression:

Stored size: 838 Bytes

Contents

# -*- coding: us-ascii -*-
require 'mkmf'
require 'fileutils'

# :stopdoc:

dir_config 'libyaml'

if enable_config("bundled-libyaml", false) || !(find_header('yaml.h') && find_library('yaml', 'yaml_get_version'))
  # Embed libyaml since we could not find it.

  $VPATH << "$(srcdir)/yaml"
  $INCFLAGS << " -I$(srcdir)/yaml"

  $srcs = Dir.glob("#{$srcdir}/{,yaml/}*.c").map {|n| File.basename(n)}

  if have_macro("_WIN32")
    $CPPFLAGS << " -DYAML_DECLARE_STATIC -DHAVE_CONFIG_H"
  end

  have_header 'dlfcn.h'
  have_header 'inttypes.h'
  have_header 'memory.h'
  have_header 'stdint.h'
  have_header 'stdlib.h'
  have_header 'strings.h'
  have_header 'string.h'
  have_header 'sys/stat.h'
  have_header 'sys/types.h'
  have_header 'unistd.h'

  find_header 'yaml.h'
  have_header 'config.h'
end

create_makefile 'psych'

# :startdoc:

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
psych-2.0.17-java ext/psych/extconf.rb
psych-2.0.17 ext/psych/extconf.rb
psych-2.0.16-java ext/psych/extconf.rb
psych-2.0.16 ext/psych/extconf.rb
psych-2.0.15-java ext/psych/extconf.rb
psych-2.0.15 ext/psych/extconf.rb
psych-2.0.14-java ext/psych/extconf.rb
psych-2.0.14 ext/psych/extconf.rb
psych-2.0.14.pre1-java ext/psych/extconf.rb
psych-2.0.13 ext/psych/extconf.rb
psych-2.0.12 ext/psych/extconf.rb
psych-2.0.11 ext/psych/extconf.rb
psych-2.0.10 ext/psych/extconf.rb
psych-2.0.9 ext/psych/extconf.rb
psych-2.0.8 ext/psych/extconf.rb
psych-2.0.7 ext/psych/extconf.rb
psych-2.0.6 ext/psych/extconf.rb
psych-2.0.5 ext/psych/extconf.rb
psych-2.0.4 ext/psych/extconf.rb
psych-2.0.3 ext/psych/extconf.rb