Karsten Hopp f24da6
To: vim_dev@googlegroups.com
Karsten Hopp f24da6
Subject: Patch 7.4.224
Karsten Hopp f24da6
Fcc: outbox
Karsten Hopp f24da6
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp f24da6
Mime-Version: 1.0
Karsten Hopp f24da6
Content-Type: text/plain; charset=UTF-8
Karsten Hopp f24da6
Content-Transfer-Encoding: 8bit
Karsten Hopp f24da6
------------
Karsten Hopp f24da6
Karsten Hopp f24da6
Patch 7.4.224
Karsten Hopp f24da6
Problem:    /usr/bin/grep on Solaris does not support -F.
Karsten Hopp f24da6
Solution:   Add configure check to find a good grep. (Danek Duvall)
Karsten Hopp f24da6
Files:	    src/configure.in, src/auto/configure
Karsten Hopp f24da6
Karsten Hopp f24da6
Karsten Hopp f24da6
*** ../vim-7.4.223/src/configure.in	2014-03-27 17:40:53.384696360 +0100
Karsten Hopp f24da6
--- src/configure.in	2014-03-27 18:49:24.900759361 +0100
Karsten Hopp f24da6
***************
Karsten Hopp f24da6
*** 14,19 ****
Karsten Hopp f24da6
--- 14,20 ----
Karsten Hopp f24da6
  AC_PROG_CC	dnl required by almost everything
Karsten Hopp f24da6
  AC_PROG_CPP	dnl required by header file checks
Karsten Hopp f24da6
  AC_PROGRAM_EGREP dnl required by AC_EGREP_CPP
Karsten Hopp f24da6
+ AC_PROG_FGREP	dnl finds working grep -F
Karsten Hopp f24da6
  AC_ISC_POSIX	dnl required by AC_C_CROSS
Karsten Hopp f24da6
  AC_PROG_AWK	dnl required for "make html" in ../doc
Karsten Hopp f24da6
  
Karsten Hopp f24da6
***************
Karsten Hopp f24da6
*** 936,942 ****
Karsten Hopp f24da6
  	  PERL_CFLAGS=`echo "$perlcppflags" | sed -e 's/-pipe //' -e 's/-W[[^ ]]*//'`
Karsten Hopp f24da6
  	fi
Karsten Hopp f24da6
  	if test "X$perlldflags" != "X"; then
Karsten Hopp f24da6
! 	  if test "X`echo \"$LDFLAGS\" | grep -F -e \"$perlldflags\"`" = "X"; then
Karsten Hopp f24da6
  	    LDFLAGS="$perlldflags $LDFLAGS"
Karsten Hopp f24da6
  	  fi
Karsten Hopp f24da6
  	fi
Karsten Hopp f24da6
--- 937,943 ----
Karsten Hopp f24da6
  	  PERL_CFLAGS=`echo "$perlcppflags" | sed -e 's/-pipe //' -e 's/-W[[^ ]]*//'`
Karsten Hopp f24da6
  	fi
Karsten Hopp f24da6
  	if test "X$perlldflags" != "X"; then
Karsten Hopp f24da6
! 	  if test "X`echo \"$LDFLAGS\" | $FGREP -e \"$perlldflags\"`" = "X"; then
Karsten Hopp f24da6
  	    LDFLAGS="$perlldflags $LDFLAGS"
Karsten Hopp f24da6
  	  fi
Karsten Hopp f24da6
  	fi
Karsten Hopp f24da6
***************
Karsten Hopp f24da6
*** 1727,1733 ****
Karsten Hopp f24da6
  	  dnl configure, so strip these flags first (if present)
Karsten Hopp f24da6
  	  rubyldflags=`echo "$rubyldflags" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'`
Karsten Hopp f24da6
  	  if test "X$rubyldflags" != "X"; then
Karsten Hopp f24da6
! 	    if test "X`echo \"$LDFLAGS\" | grep -F -e \"$rubyldflags\"`" = "X"; then
Karsten Hopp f24da6
  	      LDFLAGS="$rubyldflags $LDFLAGS"
Karsten Hopp f24da6
  	    fi
Karsten Hopp f24da6
  	  fi
Karsten Hopp f24da6
--- 1728,1734 ----
Karsten Hopp f24da6
  	  dnl configure, so strip these flags first (if present)
Karsten Hopp f24da6
  	  rubyldflags=`echo "$rubyldflags" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'`
Karsten Hopp f24da6
  	  if test "X$rubyldflags" != "X"; then
Karsten Hopp f24da6
! 	    if test "X`echo \"$LDFLAGS\" | $FGREP -e \"$rubyldflags\"`" = "X"; then
Karsten Hopp f24da6
  	      LDFLAGS="$rubyldflags $LDFLAGS"
Karsten Hopp f24da6
  	    fi
Karsten Hopp f24da6
  	  fi
Karsten Hopp f24da6
*** ../vim-7.4.223/src/auto/configure	2014-03-27 17:40:53.396696361 +0100
Karsten Hopp f24da6
--- src/auto/configure	2014-03-27 18:49:34.356759506 +0100
Karsten Hopp f24da6
***************
Karsten Hopp f24da6
*** 719,724 ****
Karsten Hopp f24da6
--- 719,725 ----
Karsten Hopp f24da6
  CPP_MM
Karsten Hopp f24da6
  STRIP
Karsten Hopp f24da6
  AWK
Karsten Hopp f24da6
+ FGREP
Karsten Hopp f24da6
  EGREP
Karsten Hopp f24da6
  GREP
Karsten Hopp f24da6
  CPP
Karsten Hopp f24da6
***************
Karsten Hopp f24da6
*** 3695,3701 ****
Karsten Hopp f24da6
  
Karsten Hopp f24da6
  fi
Karsten Hopp f24da6
  rm -f conftest*
Karsten Hopp f24da6
!  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
Karsten Hopp f24da6
  $as_echo_n "checking for library containing strerror... " >&6; }
Karsten Hopp f24da6
  if ${ac_cv_search_strerror+:} false; then :
Karsten Hopp f24da6
    $as_echo_n "(cached) " >&6
Karsten Hopp f24da6
--- 3696,3768 ----
Karsten Hopp f24da6
  
Karsten Hopp f24da6
  fi
Karsten Hopp f24da6
  rm -f conftest*
Karsten Hopp f24da6
!  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
Karsten Hopp f24da6
! $as_echo_n "checking for fgrep... " >&6; }
Karsten Hopp f24da6
! if ${ac_cv_path_FGREP+:} false; then :
Karsten Hopp f24da6
!   $as_echo_n "(cached) " >&6
Karsten Hopp f24da6
! else
Karsten Hopp f24da6
!   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
Karsten Hopp f24da6
!    then ac_cv_path_FGREP="$GREP -F"
Karsten Hopp f24da6
!    else
Karsten Hopp f24da6
!      if test -z "$FGREP"; then
Karsten Hopp f24da6
!   ac_path_FGREP_found=false
Karsten Hopp f24da6
!   # Loop through the user's path and test for each of PROGNAME-LIST
Karsten Hopp f24da6
!   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Karsten Hopp f24da6
! for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
Karsten Hopp f24da6
! do
Karsten Hopp f24da6
!   IFS=$as_save_IFS
Karsten Hopp f24da6
!   test -z "$as_dir" && as_dir=.
Karsten Hopp f24da6
!     for ac_prog in fgrep; do
Karsten Hopp f24da6
!     for ac_exec_ext in '' $ac_executable_extensions; do
Karsten Hopp f24da6
!       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
Karsten Hopp f24da6
!       as_fn_executable_p "$ac_path_FGREP" || continue
Karsten Hopp f24da6
! # Check for GNU ac_path_FGREP and select it if it is found.
Karsten Hopp f24da6
!   # Check for GNU $ac_path_FGREP
Karsten Hopp f24da6
! case `"$ac_path_FGREP" --version 2>&1` in
Karsten Hopp f24da6
! *GNU*)
Karsten Hopp f24da6
!   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
Karsten Hopp f24da6
! *)
Karsten Hopp f24da6
!   ac_count=0
Karsten Hopp f24da6
!   $as_echo_n 0123456789 >"conftest.in"
Karsten Hopp f24da6
!   while :
Karsten Hopp f24da6
!   do
Karsten Hopp f24da6
!     cat "conftest.in" "conftest.in" >"conftest.tmp"
Karsten Hopp f24da6
!     mv "conftest.tmp" "conftest.in"
Karsten Hopp f24da6
!     cp "conftest.in" "conftest.nl"
Karsten Hopp f24da6
!     $as_echo 'FGREP' >> "conftest.nl"
Karsten Hopp f24da6
!     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
Karsten Hopp f24da6
!     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
Karsten Hopp f24da6
!     as_fn_arith $ac_count + 1 && ac_count=$as_val
Karsten Hopp f24da6
!     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
Karsten Hopp f24da6
!       # Best one so far, save it but keep looking for a better one
Karsten Hopp f24da6
!       ac_cv_path_FGREP="$ac_path_FGREP"
Karsten Hopp f24da6
!       ac_path_FGREP_max=$ac_count
Karsten Hopp f24da6
!     fi
Karsten Hopp f24da6
!     # 10*(2^10) chars as input seems more than enough
Karsten Hopp f24da6
!     test $ac_count -gt 10 && break
Karsten Hopp f24da6
!   done
Karsten Hopp f24da6
!   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
Karsten Hopp f24da6
! esac
Karsten Hopp f24da6
! 
Karsten Hopp f24da6
!       $ac_path_FGREP_found && break 3
Karsten Hopp f24da6
!     done
Karsten Hopp f24da6
!   done
Karsten Hopp f24da6
!   done
Karsten Hopp f24da6
! IFS=$as_save_IFS
Karsten Hopp f24da6
!   if test -z "$ac_cv_path_FGREP"; then
Karsten Hopp f24da6
!     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
Karsten Hopp f24da6
!   fi
Karsten Hopp f24da6
! else
Karsten Hopp f24da6
!   ac_cv_path_FGREP=$FGREP
Karsten Hopp f24da6
! fi
Karsten Hopp f24da6
! 
Karsten Hopp f24da6
!    fi
Karsten Hopp f24da6
! fi
Karsten Hopp f24da6
! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
Karsten Hopp f24da6
! $as_echo "$ac_cv_path_FGREP" >&6; }
Karsten Hopp f24da6
!  FGREP="$ac_cv_path_FGREP"
Karsten Hopp f24da6
! 
Karsten Hopp f24da6
! 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
Karsten Hopp f24da6
  $as_echo_n "checking for library containing strerror... " >&6; }
Karsten Hopp f24da6
  if ${ac_cv_search_strerror+:} false; then :
Karsten Hopp f24da6
    $as_echo_n "(cached) " >&6
Karsten Hopp f24da6
***************
Karsten Hopp f24da6
*** 5480,5486 ****
Karsten Hopp f24da6
  	  	  PERL_CFLAGS=`echo "$perlcppflags" | sed -e 's/-pipe //' -e 's/-W[^ ]*//'`
Karsten Hopp f24da6
  	fi
Karsten Hopp f24da6
  	if test "X$perlldflags" != "X"; then
Karsten Hopp f24da6
! 	  if test "X`echo \"$LDFLAGS\" | grep -F -e \"$perlldflags\"`" = "X"; then
Karsten Hopp f24da6
  	    LDFLAGS="$perlldflags $LDFLAGS"
Karsten Hopp f24da6
  	  fi
Karsten Hopp f24da6
  	fi
Karsten Hopp f24da6
--- 5547,5553 ----
Karsten Hopp f24da6
  	  	  PERL_CFLAGS=`echo "$perlcppflags" | sed -e 's/-pipe //' -e 's/-W[^ ]*//'`
Karsten Hopp f24da6
  	fi
Karsten Hopp f24da6
  	if test "X$perlldflags" != "X"; then
Karsten Hopp f24da6
! 	  if test "X`echo \"$LDFLAGS\" | $FGREP -e \"$perlldflags\"`" = "X"; then
Karsten Hopp f24da6
  	    LDFLAGS="$perlldflags $LDFLAGS"
Karsten Hopp f24da6
  	  fi
Karsten Hopp f24da6
  	fi
Karsten Hopp f24da6
***************
Karsten Hopp f24da6
*** 6838,6844 ****
Karsten Hopp f24da6
  	if test "X$rubyldflags" != "X"; then
Karsten Hopp f24da6
  	  	  	  	  rubyldflags=`echo "$rubyldflags" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'`
Karsten Hopp f24da6
  	  if test "X$rubyldflags" != "X"; then
Karsten Hopp f24da6
! 	    if test "X`echo \"$LDFLAGS\" | grep -F -e \"$rubyldflags\"`" = "X"; then
Karsten Hopp f24da6
  	      LDFLAGS="$rubyldflags $LDFLAGS"
Karsten Hopp f24da6
  	    fi
Karsten Hopp f24da6
  	  fi
Karsten Hopp f24da6
--- 6905,6911 ----
Karsten Hopp f24da6
  	if test "X$rubyldflags" != "X"; then
Karsten Hopp f24da6
  	  	  	  	  rubyldflags=`echo "$rubyldflags" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'`
Karsten Hopp f24da6
  	  if test "X$rubyldflags" != "X"; then
Karsten Hopp f24da6
! 	    if test "X`echo \"$LDFLAGS\" | $FGREP -e \"$rubyldflags\"`" = "X"; then
Karsten Hopp f24da6
  	      LDFLAGS="$rubyldflags $LDFLAGS"
Karsten Hopp f24da6
  	    fi
Karsten Hopp f24da6
  	  fi
Karsten Hopp f24da6
*** ../vim-7.4.223/src/version.c	2014-03-27 17:40:53.396696361 +0100
Karsten Hopp f24da6
--- src/version.c	2014-03-27 18:48:59.488758971 +0100
Karsten Hopp f24da6
***************
Karsten Hopp f24da6
*** 736,737 ****
Karsten Hopp f24da6
--- 736,739 ----
Karsten Hopp f24da6
  {   /* Add new patch number below this line */
Karsten Hopp f24da6
+ /**/
Karsten Hopp f24da6
+     224,
Karsten Hopp f24da6
  /**/
Karsten Hopp f24da6
Karsten Hopp f24da6
-- 
Karsten Hopp f24da6
Female engineers become irresistible at the age of consent and remain that
Karsten Hopp f24da6
way until about thirty minutes after their clinical death.  Longer if it's a
Karsten Hopp f24da6
warm day.
Karsten Hopp f24da6
				(Scott Adams - The Dilbert principle)
Karsten Hopp f24da6
Karsten Hopp f24da6
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp f24da6
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp f24da6
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp f24da6
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///