From f2ff3eb6ec1473f0ec584557a32315ff74f8ef91 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 24 Aug 2010 01:11:14 +0000 Subject: * configure.in: read API version from include/ruby/version.h. * {bcc,win}32/setup.mak (-version-): ditto. * version.h (RUBY_LIB_VERSION): use API version numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 35c41abfef..7f0dde71a3 100644 --- a/configure.in +++ b/configure.in @@ -66,7 +66,7 @@ fi GNU_LD=$rb_cv_prog_gnu_ld AC_SUBST(GNU_LD)]) -eval `sed -n 's/^#define RUBY_VERSION_\([A-Z][A-Z_0-9]*\) \([0-9][0-9]*\)/\1=\2/p' $srcdir/version.h` +eval `sed -n 's/^#define RUBY_API_VERSION_\([A-Z][A-Z_0-9]*\) \([0-9][0-9]*\)/\1=\2/p' $srcdir/include/ruby/version.h` for v in MAJOR MINOR TEENY; do if eval "test \"\$$v\" = ''"; then AC_MSG_ERROR(could not determine $v number from version.h) -- cgit v1.2.3