From c4544321cbab43afe53fb65c1f7e41f02309e64a Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 9 Feb 2013 08:46:02 +0000 Subject: configure.in: empty version * configure.in, version.c: prevent duplicated load paths by empty version string, it does not work right now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 86b42a70d8..5eed90dfe2 100644 --- a/configure.in +++ b/configure.in @@ -3235,6 +3235,8 @@ if test ${RUBY_LIB_VERSION_STYLE+set}; then 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 + AC_MSG_ERROR([No ruby version, No place for bundled libraries]) else RUBY_LIB_VERSION="\"${ruby_version}\"" fi -- cgit v1.2.3