Karsten Hopp a8ac23
To: vim_dev@googlegroups.com
Karsten Hopp a8ac23
Subject: Patch 7.4.300
Karsten Hopp a8ac23
Fcc: outbox
Karsten Hopp a8ac23
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp a8ac23
Mime-Version: 1.0
Karsten Hopp a8ac23
Content-Type: text/plain; charset=UTF-8
Karsten Hopp a8ac23
Content-Transfer-Encoding: 8bit
Karsten Hopp a8ac23
------------
Karsten Hopp a8ac23
Karsten Hopp a8ac23
Patch 7.4.300
Karsten Hopp a8ac23
Problem:    The way config.cache is removed doesn't always work.
Karsten Hopp a8ac23
Solution:   Always remove config.cache. (Ken Takata)
Karsten Hopp a8ac23
Files:	    src/Makefile
Karsten Hopp a8ac23
Karsten Hopp a8ac23
Karsten Hopp a8ac23
*** ../vim-7.4.299/src/Makefile	2014-04-29 20:04:05.331539784 +0200
Karsten Hopp a8ac23
--- src/Makefile	2014-05-22 14:48:23.034475967 +0200
Karsten Hopp a8ac23
***************
Karsten Hopp a8ac23
*** 1664,1675 ****
Karsten Hopp a8ac23
  # auto/config.h isn't updated.  The dependency on auto/config.mk should make
Karsten Hopp a8ac23
  # sure configure is run when it's needed.
Karsten Hopp a8ac23
  #
Karsten Hopp a8ac23
  config auto/config.mk: auto/configure config.mk.in config.h.in
Karsten Hopp a8ac23
! 	if test -f auto/config.cache && \
Karsten Hopp a8ac23
! 	    grep '^ac_cv_env_CFLAGS_value=' auto/config.cache > /dev/null && \
Karsten Hopp a8ac23
! 	    ! grep -x -F 'ac_cv_env_CFLAGS_value=$(CFLAGS)' auto/config.cache > /dev/null; then \
Karsten Hopp a8ac23
! 		rm auto/config.cache; \
Karsten Hopp a8ac23
! 	fi
Karsten Hopp a8ac23
  	if test "X$(MAKECMDGOALS)" != "Xclean" \
Karsten Hopp a8ac23
  		-a "X$(MAKECMDGOALS)" != "Xdistclean" \
Karsten Hopp a8ac23
  		-a "X$(MAKECMDGOALS)" != "Xautoconf" \
Karsten Hopp a8ac23
--- 1664,1674 ----
Karsten Hopp a8ac23
  # auto/config.h isn't updated.  The dependency on auto/config.mk should make
Karsten Hopp a8ac23
  # sure configure is run when it's needed.
Karsten Hopp a8ac23
  #
Karsten Hopp a8ac23
+ # Remove the config.cache every time, once in a while it causes problems that
Karsten Hopp a8ac23
+ # are very hard to figure out.
Karsten Hopp a8ac23
+ #
Karsten Hopp a8ac23
  config auto/config.mk: auto/configure config.mk.in config.h.in
Karsten Hopp a8ac23
! 	-rm -f auto/config.cache
Karsten Hopp a8ac23
  	if test "X$(MAKECMDGOALS)" != "Xclean" \
Karsten Hopp a8ac23
  		-a "X$(MAKECMDGOALS)" != "Xdistclean" \
Karsten Hopp a8ac23
  		-a "X$(MAKECMDGOALS)" != "Xautoconf" \
Karsten Hopp a8ac23
*** ../vim-7.4.299/src/version.c	2014-05-22 14:44:08.098481148 +0200
Karsten Hopp a8ac23
--- src/version.c	2014-05-22 14:51:36.022472045 +0200
Karsten Hopp a8ac23
***************
Karsten Hopp a8ac23
*** 736,737 ****
Karsten Hopp a8ac23
--- 736,739 ----
Karsten Hopp a8ac23
  {   /* Add new patch number below this line */
Karsten Hopp a8ac23
+ /**/
Karsten Hopp a8ac23
+     300,
Karsten Hopp a8ac23
  /**/
Karsten Hopp a8ac23
Karsten Hopp a8ac23
Karsten Hopp a8ac23
-- 
Karsten Hopp a8ac23
What is the difference between a professional and an amateur?
Karsten Hopp a8ac23
The ark was built by an amateur; professionals gave us the Titanic.
Karsten Hopp a8ac23
Karsten Hopp a8ac23
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp a8ac23
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp a8ac23
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp a8ac23
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///