From 27ea07c8ada0cba880479e356c7c9da604ed6218 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 17 Mar 2008 07:41:12 +0000 Subject: * configure.in: unset GREP_OPTIONS. [ruby-core:15918] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ configure.in | 10 ++++++++++ version.h | 6 +++--- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index babb82ccb5..05b3f8fb36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Mar 17 16:41:08 2008 Nobuyoshi Nakada + + * configure.in: unset GREP_OPTIONS. [ruby-core:15918] + Fri Mar 14 16:59:23 2008 Nobuyoshi Nakada * configure.in (RUBY_LIB_PREFIX): fix for prefix. diff --git a/configure.in b/configure.in index 342cca90eb..c8fdca42d1 100644 --- a/configure.in +++ b/configure.in @@ -44,10 +44,20 @@ fi GNU_LD=$rb_cv_prog_gnu_ld AC_SUBST(GNU_LD)]) +unset GREP_OPTIONS rb_version=`grep RUBY_VERSION $srcdir/version.h` MAJOR=`expr "$rb_version" : '#define RUBY_VERSION "\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*"'` MINOR=`expr "$rb_version" : '#define RUBY_VERSION "[0-9][0-9]*\.\([0-9][0-9]*\)\.[0-9][0-9]*"'` TEENY=`expr "$rb_version" : '#define RUBY_VERSION "[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\)"'` +if test "$MAJOR" = ""; then + AC_MSG_ERROR(could not determine MAJOR number from version.h) +fi +if test "$MINOR" = ""; then + AC_MSG_ERROR(could not determine MINOR number from version.h) +fi +if test "$TEENY" = ""; then + AC_MSG_ERROR(could not determine TEENY number from version.h) +fi AC_SUBST(MAJOR) AC_SUBST(MINOR) AC_SUBST(TEENY) diff --git a/version.h b/version.h index 925c299c06..358a6b7be6 100644 --- a/version.h +++ b/version.h @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.8.6" -#define RUBY_RELEASE_DATE "2008-03-14" +#define RUBY_RELEASE_DATE "2008-03-17" #define RUBY_VERSION_CODE 186 -#define RUBY_RELEASE_CODE 20080314 +#define RUBY_RELEASE_CODE 20080317 #define RUBY_PATCHLEVEL 5000 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 6 #define RUBY_RELEASE_YEAR 2008 #define RUBY_RELEASE_MONTH 3 -#define RUBY_RELEASE_DAY 14 +#define RUBY_RELEASE_DAY 17 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; -- cgit v1.2.3