Blame SOURCES/7.4.222

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.222
22c937
Fcc: outbox
22c937
From: Bram Moolenaar <Bram@moolenaar.net>
22c937
Mime-Version: 1.0
22c937
Content-Type: text/plain; charset=UTF-8
22c937
Content-Transfer-Encoding: 8bit
22c937
------------
22c937
22c937
Patch 7.4.222
22c937
Problem:    The Ruby directory is constructed from parts.
22c937
Solution:   Use 'rubyarchhdrdir' if it exists. (James McCoy)
22c937
Files:	    src/configure.in, src/auto/configure
22c937
22c937
22c937
*** ../vim-7.4.221/src/configure.in	2014-02-23 22:52:33.356764716 +0100
22c937
--- src/configure.in	2014-03-27 17:13:09.624670867 +0100
22c937
***************
22c937
*** 1692,1700 ****
22c937
        if test "X$rubyhdrdir" != "X"; then
22c937
  	AC_MSG_RESULT($rubyhdrdir)
22c937
  	RUBY_CFLAGS="-I$rubyhdrdir"
22c937
!         rubyarch=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG[['arch']]"`
22c937
!         if test -d "$rubyhdrdir/$rubyarch"; then
22c937
!           RUBY_CFLAGS="$RUBY_CFLAGS -I$rubyhdrdir/$rubyarch"
22c937
          fi
22c937
          rubyversion=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG[['ruby_version']].gsub(/\./, '')[[0,2]]"`
22c937
  	if test "X$rubyversion" = "X"; then
22c937
--- 1692,1700 ----
22c937
        if test "X$rubyhdrdir" != "X"; then
22c937
  	AC_MSG_RESULT($rubyhdrdir)
22c937
  	RUBY_CFLAGS="-I$rubyhdrdir"
22c937
!         rubyarchdir=`$vi_cv_path_ruby -r rbconfig -e "print ($ruby_rbconfig::CONFIG.has_key? 'rubyarchhdrdir') ? $ruby_rbconfig::CONFIG[['rubyarchhdrdir']] : '$rubyhdrdir/'+$ruby_rbconfig::CONFIG[['arch']]"`
22c937
!         if test -d "$rubyarchdir"; then
22c937
!           RUBY_CFLAGS="$RUBY_CFLAGS -I$rubyarchdir"
22c937
          fi
22c937
          rubyversion=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG[['ruby_version']].gsub(/\./, '')[[0,2]]"`
22c937
  	if test "X$rubyversion" = "X"; then
22c937
*** ../vim-7.4.221/src/auto/configure	2014-02-23 22:52:33.364764715 +0100
22c937
--- src/auto/configure	2014-03-27 17:14:25.256672026 +0100
22c937
***************
22c937
*** 6777,6785 ****
22c937
  	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyhdrdir" >&5
22c937
  $as_echo "$rubyhdrdir" >&6; }
22c937
  	RUBY_CFLAGS="-I$rubyhdrdir"
22c937
!         rubyarch=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG['arch']"`
22c937
!         if test -d "$rubyhdrdir/$rubyarch"; then
22c937
!           RUBY_CFLAGS="$RUBY_CFLAGS -I$rubyhdrdir/$rubyarch"
22c937
          fi
22c937
          rubyversion=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG['ruby_version'].gsub(/\./, '')[0,2]"`
22c937
  	if test "X$rubyversion" = "X"; then
22c937
--- 6777,6785 ----
22c937
  	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyhdrdir" >&5
22c937
  $as_echo "$rubyhdrdir" >&6; }
22c937
  	RUBY_CFLAGS="-I$rubyhdrdir"
22c937
!         rubyarchdir=`$vi_cv_path_ruby -r rbconfig -e "print ($ruby_rbconfig::CONFIG.has_key? 'rubyarchhdrdir') ? $ruby_rbconfig::CONFIG['rubyarchhdrdir'] : '$rubyhdrdir/'+$ruby_rbconfig::CONFIG['arch']"`
22c937
!         if test -d "$rubyarchdir"; then
22c937
!           RUBY_CFLAGS="$RUBY_CFLAGS -I$rubyarchdir"
22c937
          fi
22c937
          rubyversion=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG['ruby_version'].gsub(/\./, '')[0,2]"`
22c937
  	if test "X$rubyversion" = "X"; then
22c937
*** ../vim-7.4.221/src/version.c	2014-03-27 17:02:22.084660944 +0100
22c937
--- src/version.c	2014-03-27 17:13:29.220671167 +0100
22c937
***************
22c937
*** 736,737 ****
22c937
--- 736,739 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     222,
22c937
  /**/
22c937
22c937
-- 
22c937
Engineers are always delighted to share wisdom, even in areas in which they
22c937
have no experience whatsoever.  Their logic provides them with inherent
22c937
insight into any field of expertise.  This can be a problem when dealing with
22c937
the illogical people who believe that knowledge can only be derived through
22c937
experience.
22c937
				(Scott Adams - The Dilbert principle)
22c937
22c937
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
22c937
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
22c937
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
22c937
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///