ruby-changes:42683
From: nobu <ko1@a...>
Date: Mon, 25 Apr 2016 11:49:14 +0900 (JST)
Subject: [ruby-changes:42683] nobu:r54757 (trunk): configure.in: do not create unnecessary verconf.h
nobu 2016-04-25 12:45:50 +0900 (Mon, 25 Apr 2016) New Revision: 54757 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54757 Log: configure.in: do not create unnecessary verconf.h Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 54756) +++ configure.in (revision 54757) @@ -4282,11 +4282,9 @@ if test ${RUBY_LIB_VERSION_STYLE+set}; t https://github.com/ruby/ruby/blob/trunk/configure.in#L4282 echo "#define RUBY_LIB_VERSION_STYLE $RUBY_LIB_VERSION_STYLE" echo '#define STRINGIZE(x) x' test -f revision.h -o -f "${srcdir}/revision.h" || echo '#define RUBY_REVISION 0' - echo '#include "verconf.h"' echo '#include "version.h"' echo 'ruby_version=RUBY_LIB_VERSION' } > conftest.c - test -f verconf.h || > verconf.h ruby_version="`$CPP -I. -I"${srcdir}" -I"${srcdir}/include" conftest.c | sed '/^ruby_version=/!d;s/ //g'`" eval $ruby_version elif test -z "${ruby_version}"; then -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/