summaryrefslogtreecommitdiff
path: root/ruby_2_2/ext/psych/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_2_2/ext/psych/extconf.rb')
-rw-r--r--ruby_2_2/ext/psych/extconf.rb38
1 files changed, 0 insertions, 38 deletions
diff --git a/ruby_2_2/ext/psych/extconf.rb b/ruby_2_2/ext/psych/extconf.rb
deleted file mode 100644
index 65e83a3554..0000000000
--- a/ruby_2_2/ext/psych/extconf.rb
+++ /dev/null
@@ -1,38 +0,0 @@
-# -*- 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: