From fec298f49cce93c4cd875250510ae03089544215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Fri, 5 Dec 2014 13:31:15 +0100 Subject: [PATCH] Fix --with-ruby-version configuration option. --- configure.in | 2 +- template/verconf.h.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index d0f2270..ce9939c 100644 --- a/configure.in +++ b/configure.in @@ -4000,7 +4000,7 @@ if test ${RUBY_LIB_VERSION_STYLE+set}; then elif test -z "${ruby_version}"; then AC_MSG_ERROR([No ruby version, No place for bundled libraries]) else - RUBY_LIB_VERSION="\"${ruby_version}\"" + RUBY_LIB_VERSION="${ruby_version}" fi AC_SUBST(RUBY_LIB_VERSION_STYLE) AC_SUBST(RUBY_LIB_VERSION) diff --git a/template/verconf.h.tmpl b/template/verconf.h.tmpl index 79c003e..5ee8a0e 100644 --- a/template/verconf.h.tmpl +++ b/template/verconf.h.tmpl @@ -8,7 +8,7 @@ % elsif !C["RUBY_LIB_VERSION"] #define RUBY_LIB_VERSION_STYLE 3 /* full */ % else -#define RUBY_LIB_VERSION ${RUBY_LIB_VERSION} +#define RUBY_LIB_VERSION "${RUBY_LIB_VERSION}" % end #define RUBY_EXEC_PREFIX "<%='${RUBY_EXEC_PREFIX}' if C['RUBY_EXEC_PREFIX']%>" #define RUBY_LIB_PREFIX "${rubylibprefix}" -- 2.1.0