ruby-changes:43601
From: nobu <ko1@a...>
Date: Thu, 14 Jul 2016 13:04:52 +0900 (JST)
Subject: [ruby-changes:43601] nobu:r55674 (trunk): Unicode version check
nobu 2016-07-14 13:04:48 +0900 (Thu, 14 Jul 2016) New Revision: 55674 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55674 Log: Unicode version check * common.mk (RBCONFIG): check if Unicode versions match. Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 55673) +++ common.mk (revision 55674) @@ -624,6 +624,11 @@ extconf: $(PREP) https://github.com/ruby/ruby/blob/trunk/common.mk#L624 $(RUNRUBY) -C "$(EXTCONFDIR)" $(EXTCONF) $(EXTCONFARGS) $(RBCONFIG): $(srcdir)/tool/mkconfig.rb config.status $(srcdir)/version.h + $(Q)$(BOOTSTRAPRUBY) -n \ + -e 'BEGIN{version=ARGV.shift;ok=false}' \ + -e 'END{abort "UNICODE version mismatch" unless ok}' \ + -e '(ARGF.close; ok = true) if /ONIG_UNICODE_VERSION_STRING +"#{Regexp.quote(version)}"/o' \ + $(UNICODE_VERSION) $(srcdir)/enc/unicode/casefold.h $(Q)$(BOOTSTRAPRUBY) $(srcdir)/tool/mkconfig.rb \ -cross_compiling=$(CROSS_COMPILING) \ -arch=$(arch) -version=$(RUBY_PROGRAM_VERSION) \ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/