forked from aniani/vim
updated for version 7.4.222
Problem: The Ruby directory is constructed from parts. Solution: Use 'rubyarchhdrdir' if it exists. (James McCoy)
This commit is contained in:
6
src/auto/configure
vendored
6
src/auto/configure
vendored
@@ -6777,9 +6777,9 @@ $as_echo_n "checking Ruby header files... " >&6; }
|
|||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyhdrdir" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyhdrdir" >&5
|
||||||
$as_echo "$rubyhdrdir" >&6; }
|
$as_echo "$rubyhdrdir" >&6; }
|
||||||
RUBY_CFLAGS="-I$rubyhdrdir"
|
RUBY_CFLAGS="-I$rubyhdrdir"
|
||||||
rubyarch=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG['arch']"`
|
rubyarchdir=`$vi_cv_path_ruby -r rbconfig -e "print ($ruby_rbconfig::CONFIG.has_key? 'rubyarchhdrdir') ? $ruby_rbconfig::CONFIG['rubyarchhdrdir'] : '$rubyhdrdir/'+$ruby_rbconfig::CONFIG['arch']"`
|
||||||
if test -d "$rubyhdrdir/$rubyarch"; then
|
if test -d "$rubyarchdir"; then
|
||||||
RUBY_CFLAGS="$RUBY_CFLAGS -I$rubyhdrdir/$rubyarch"
|
RUBY_CFLAGS="$RUBY_CFLAGS -I$rubyarchdir"
|
||||||
fi
|
fi
|
||||||
rubyversion=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG['ruby_version'].gsub(/\./, '')[0,2]"`
|
rubyversion=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG['ruby_version'].gsub(/\./, '')[0,2]"`
|
||||||
if test "X$rubyversion" = "X"; then
|
if test "X$rubyversion" = "X"; then
|
||||||
|
@@ -1692,9 +1692,9 @@ if test "$enable_rubyinterp" = "yes" -o "$enable_rubyinterp" = "dynamic"; then
|
|||||||
if test "X$rubyhdrdir" != "X"; then
|
if test "X$rubyhdrdir" != "X"; then
|
||||||
AC_MSG_RESULT($rubyhdrdir)
|
AC_MSG_RESULT($rubyhdrdir)
|
||||||
RUBY_CFLAGS="-I$rubyhdrdir"
|
RUBY_CFLAGS="-I$rubyhdrdir"
|
||||||
rubyarch=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG[['arch']]"`
|
rubyarchdir=`$vi_cv_path_ruby -r rbconfig -e "print ($ruby_rbconfig::CONFIG.has_key? 'rubyarchhdrdir') ? $ruby_rbconfig::CONFIG[['rubyarchhdrdir']] : '$rubyhdrdir/'+$ruby_rbconfig::CONFIG[['arch']]"`
|
||||||
if test -d "$rubyhdrdir/$rubyarch"; then
|
if test -d "$rubyarchdir"; then
|
||||||
RUBY_CFLAGS="$RUBY_CFLAGS -I$rubyhdrdir/$rubyarch"
|
RUBY_CFLAGS="$RUBY_CFLAGS -I$rubyarchdir"
|
||||||
fi
|
fi
|
||||||
rubyversion=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG[['ruby_version']].gsub(/\./, '')[[0,2]]"`
|
rubyversion=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG[['ruby_version']].gsub(/\./, '')[[0,2]]"`
|
||||||
if test "X$rubyversion" = "X"; then
|
if test "X$rubyversion" = "X"; then
|
||||||
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
222,
|
||||||
/**/
|
/**/
|
||||||
221,
|
221,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user