File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6741,6 +6741,9 @@ $as_echo "$rubyhdrdir" >&6; }
67416741 RUBY_CFLAGS=" $RUBY_CFLAGS -I$rubyhdrdir /$rubyarch "
67426742 fi
67436743 rubyversion=` $vi_cv_path_ruby -r rbconfig -e " print $ruby_rbconfig ::CONFIG['ruby_version'].gsub(/\./, '')[0,2]" `
6744+ if test " X$rubyversion " = " X" ; then
6745+ rubyversion=` $vi_cv_path_ruby -e " print ((VERSION rescue RUBY_VERSION)).gsub(/\./, '')[0,2]" `
6746+ fi
67446747 RUBY_CFLAGS=" $RUBY_CFLAGS -DRUBY_VERSION=$rubyversion "
67456748 rubylibs=` $vi_cv_path_ruby -r rbconfig -e " print $ruby_rbconfig ::CONFIG['LIBS']" `
67466749 if test " X$rubylibs " ! = " X" ; then
Original file line number Diff line number Diff line change @@ -1659,6 +1659,9 @@ if test "$enable_rubyinterp" = "yes" -o "$enable_rubyinterp" = "dynamic"; then
16591659 RUBY_CFLAGS="$RUBY_CFLAGS -I$rubyhdrdir/$rubyarch"
16601660 fi
16611661 rubyversion=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG[['ruby_version']].gsub(/\./, '')[[0,2]]"`
1662+ if test "X$rubyversion" = "X"; then
1663+ rubyversion=`$vi_cv_path_ruby -e "print ((VERSION rescue RUBY_VERSION)).gsub(/\./, '')[[0,2]]"`
1664+ fi
16621665 RUBY_CFLAGS="$RUBY_CFLAGS -DRUBY_VERSION=$rubyversion"
16631666 rubylibs=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG[['LIBS']]"`
16641667 if test "X$rubylibs" != "X"; then
Original file line number Diff line number Diff line change @@ -727,6 +727,8 @@ static char *(features[]) =
727727
728728static int included_patches [] =
729729{ /* Add new patch number below this line */
730+ /**/
731+ 16 ,
730732/**/
731733 15 ,
732734/**/
You can’t perform that action at this time.
0 commit comments