Sha256: 79417b359de2f6f963be28717be751e6774cf6421a3ad4700440306bc30248d8

Contents?: true

Size: 868 Bytes

Versions: 34

Compression:

Stored size: 868 Bytes

Contents

# -*- coding: us-ascii -*-
# frozen_string_literal: true
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

34 entries across 34 versions & 4 rubygems

Version Path
talon_one-2.0.0 vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/extconf.rb
dadapush_client-1.0.1 vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/extconf.rb
psych-3.1.0-x86-mingw32 ext/psych/extconf.rb
psych-3.1.0-x64-mingw32 ext/psych/extconf.rb
psych-3.1.0-java ext/psych/extconf.rb
psych-3.1.0 ext/psych/extconf.rb
psych-3.0.3-x86-mingw32 ext/psych/extconf.rb
psych-3.0.3-x64-mingw32 ext/psych/extconf.rb
psych-3.0.3 ext/psych/extconf.rb
psych-3.0.3-java ext/psych/extconf.rb
psych-3.0.3.pre5-java ext/psych/extconf.rb
psych-3.0.3.pre4-java ext/psych/extconf.rb
psych-3.0.3.pre3-x64-mingw32 ext/psych/extconf.rb
psych-3.0.3.pre3-java ext/psych/extconf.rb
psych-3.0.3.pre3 ext/psych/extconf.rb
psych-3.0.3.pre2-x86-mingw32 ext/psych/extconf.rb
psych-3.0.3.pre2-x64-mingw32 ext/psych/extconf.rb
psych-3.0.3.pre2-java ext/psych/extconf.rb
psych-3.0.3.pre2 ext/psych/extconf.rb
psych-3.0.3.pre1 ext/psych/extconf.rb