2d308e5
To: vim-dev@vim.org
2d308e5
Subject: Patch 7.0.047
2d308e5
Fcc: outbox
2d308e5
From: Bram Moolenaar <Bram@moolenaar.net>
2d308e5
Mime-Version: 1.0
2d308e5
Content-Type: text/plain; charset=ISO-8859-1
2d308e5
Content-Transfer-Encoding: 8bit
2d308e5
------------
2d308e5
2d308e5
Patch 7.0.047
2d308e5
Problem:    When running configure the exit status is wrong.
2d308e5
Solution:   Handle the exit status properly. (Matthew Woehlke)
2d308e5
Files:	    configure, src/configure
2d308e5
2d308e5
2d308e5
*** ../vim-7.0.046/configure	Sun Jun 13 21:32:42 2004
2d308e5
--- configure	Mon Jul 10 20:26:26 2006
2d308e5
***************
2d308e5
*** 3,6 ****
2d308e5
  # This is just a stub for the Unix configure script, to provide support for
2d308e5
  # doing "./configure" in the top Vim directory.
2d308e5
  
2d308e5
! cd src && ./configure "$@"
2d308e5
--- 3,6 ----
2d308e5
  # This is just a stub for the Unix configure script, to provide support for
2d308e5
  # doing "./configure" in the top Vim directory.
2d308e5
  
2d308e5
! cd src && exec ./configure "$@"
2d308e5
*** ../vim-7.0.046/src/configure	Thu Dec 22 23:38:38 2005
2d308e5
--- src/configure	Mon Jul 10 20:26:53 2006
2d308e5
***************
2d308e5
*** 2,6 ****
2d308e5
--- 2,10 ----
2d308e5
  # run the automatically generated configure script
2d308e5
  CONFIG_STATUS=auto/config.status \
2d308e5
  	auto/configure "$@" --srcdir="${srcdir:-.}" --cache-file=auto/config.cache
2d308e5
+ result=$?
2d308e5
+ 
2d308e5
  # Stupid autoconf 2.5x causes this file to be left behind.
2d308e5
  if test -f configure.lineno; then rm -f configure.lineno; fi
2d308e5
+ 
2d308e5
+ exit $result
2d308e5
*** ../vim-7.0.046/src/version.c	Tue Aug  8 18:08:54 2006
2d308e5
--- src/version.c	Tue Aug  8 19:09:54 2006
2d308e5
***************
2d308e5
*** 668,669 ****
2d308e5
--- 668,671 ----
2d308e5
  {   /* Add new patch number below this line */
2d308e5
+ /**/
2d308e5
+     47,
2d308e5
  /**/
2d308e5
2d308e5
-- 
2d308e5
The primary purpose of the DATA statement is to give names to constants;
2d308e5
instead of referring to pi as 3.141592653589793 at every appearance, the
2d308e5
variable PI can be given that value with a DATA statement and used instead
2d308e5
of the longer form of the constant.  This also simplifies modifying the
2d308e5
program, should the value of pi change.
2d308e5
	-- FORTRAN manual for Xerox Computers
2d308e5
2d308e5
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
2d308e5
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
2d308e5
\\\        download, build and distribute -- http://www.A-A-P.org        ///
2d308e5
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///