aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-25 03:45:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-25 03:45:50 +0000
commit847654a3c8e362f6b42f0f75a6acfad3c2d59f25 (patch)
tree8806be980f6bcf6441af61e8f3f2e71fcd8f47c4
parentba692a488eb8565e4789dccd6ceaab66e90611a7 (diff)
downloadruby-847654a3c8e362f6b42f0f75a6acfad3c2d59f25.tar.gz
configure.in: do not create unnecessary verconf.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--configure.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 633b49d6bd..feb1fffa8f 100644
--- a/configure.in
+++ b/configure.in
@@ -4282,11 +4282,9 @@ if test ${RUBY_LIB_VERSION_STYLE+set}; then
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