From a985c5898cb2efd83e817dd476999f28af73f763 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 29 Nov 2012 06:54:53 +0000 Subject: * ext/psych/extconf.rb: added --enable-bundled-libyaml option. this enforces using bundled libyaml. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/psych/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/psych') diff --git a/ext/psych/extconf.rb b/ext/psych/extconf.rb index bba3ab2c63..65e83a3554 100644 --- a/ext/psych/extconf.rb +++ b/ext/psych/extconf.rb @@ -6,7 +6,7 @@ require 'fileutils' dir_config 'libyaml' -unless find_header('yaml.h') && find_library('yaml', 'yaml_get_version') +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" -- cgit v1.2.3