Sha256: 5df4ea484c0b282f12ddc2978d31b6db2571e604290b606a00fe1408080c19c2

Contents?: true

Size: 996 Bytes

Versions: 1899

Compression:

Stored size: 996 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)}.sort

  header = 'yaml/yaml.h'
  header = "{$(VPATH)}#{header}" if $nmake
  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' do |mk|
  mk << "YAML_H = #{header}".strip << "\n"
end

# :startdoc:

Version data entries

1,899 entries across 1,896 versions & 17 rubygems

Version Path
mux_ruby-3.20.0 vendor/bundle/ruby/3.2.0/gems/psych-4.0.4/ext/psych/extconf.rb
ory-client-1.15.12 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
ory-client-1.15.10 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
mux_ruby-3.19.0 vendor/bundle/ruby/3.2.0/gems/psych-4.0.4/ext/psych/extconf.rb
ory-client-1.15.7 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
ory-client-1.15.6 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
ory-client-1.15.5 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
ory-client-1.15.4 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
ory-client-1.15.3 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
ory-client-1.15.0 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
ory-client-1.14.5 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
mux_ruby-3.18.0 vendor/bundle/ruby/3.2.0/gems/psych-4.0.4/ext/psych/extconf.rb
ory-client-1.14.4 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
ory-client-1.14.3 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
ory-client-1.14.2 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
ory-kratos-client-1.2.1 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
ory-client-1.14.1 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
ory-client-1.14.0 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
ory-hydra-client-2.2.1 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb
ory-oathkeeper-client-0.40.8 vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/extconf.rb