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