Karsten Hopp 318c03
To: vim-dev@vim.org
Karsten Hopp 318c03
Subject: Patch 7.1.257
Karsten Hopp 318c03
Fcc: outbox
Karsten Hopp 318c03
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 318c03
Mime-Version: 1.0
Karsten Hopp 318c03
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 318c03
Content-Transfer-Encoding: 8bit
Karsten Hopp 318c03
------------
Karsten Hopp 318c03
Karsten Hopp 318c03
Patch 7.1.257
Karsten Hopp 318c03
Problem:    Configure can't always find the Tcl header files.
Karsten Hopp 318c03
Solution:   Also look in /usr/local/include/tcl$tclver and
Karsten Hopp 318c03
	    /usr/include/tcl$tclver (James Vega)
Karsten Hopp 318c03
Files:	    src/auto/configure, src/configure.in
Karsten Hopp 318c03
Karsten Hopp 318c03
Karsten Hopp 318c03
*** ../vim-7.1.256/src/auto/configure	Wed Feb 13 10:27:28 2008
Karsten Hopp 318c03
--- src/auto/configure	Wed Feb 13 11:20:00 2008
Karsten Hopp 318c03
***************
Karsten Hopp 318c03
*** 4669,4678 ****
Karsten Hopp 318c03
        echo "$as_me:$LINENO: checking for location of Tcl include" >&5
Karsten Hopp 318c03
  echo $ECHO_N "checking for location of Tcl include... $ECHO_C" >&6
Karsten Hopp 318c03
        if test "x$MACOSX" != "xyes"; then
Karsten Hopp 318c03
! 	tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/include"
Karsten Hopp 318c03
        else
Karsten Hopp 318c03
  		tclinc="/System/Library/Frameworks/Tcl.framework/Headers"
Karsten Hopp 318c03
        fi
Karsten Hopp 318c03
        for try in $tclinc; do
Karsten Hopp 318c03
  	if test -f "$try/tcl.h"; then
Karsten Hopp 318c03
  	  echo "$as_me:$LINENO: result: $try/tcl.h" >&5
Karsten Hopp 318c03
--- 4669,4679 ----
Karsten Hopp 318c03
        echo "$as_me:$LINENO: checking for location of Tcl include" >&5
Karsten Hopp 318c03
  echo $ECHO_N "checking for location of Tcl include... $ECHO_C" >&6
Karsten Hopp 318c03
        if test "x$MACOSX" != "xyes"; then
Karsten Hopp 318c03
! 	tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/include /usr/include/tcl$tclver"
Karsten Hopp 318c03
        else
Karsten Hopp 318c03
  		tclinc="/System/Library/Frameworks/Tcl.framework/Headers"
Karsten Hopp 318c03
        fi
Karsten Hopp 318c03
+       TCL_INC=
Karsten Hopp 318c03
        for try in $tclinc; do
Karsten Hopp 318c03
  	if test -f "$try/tcl.h"; then
Karsten Hopp 318c03
  	  echo "$as_me:$LINENO: result: $try/tcl.h" >&5
Karsten Hopp 318c03
*** ../vim-7.1.256/src/configure.in	Wed Feb 13 10:27:28 2008
Karsten Hopp 318c03
--- src/configure.in	Wed Feb 13 11:23:55 2008
Karsten Hopp 318c03
***************
Karsten Hopp 318c03
*** 794,804 ****
Karsten Hopp 318c03
  
Karsten Hopp 318c03
        AC_MSG_CHECKING(for location of Tcl include)
Karsten Hopp 318c03
        if test "x$MACOSX" != "xyes"; then
Karsten Hopp 318c03
! 	tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/include"
Karsten Hopp 318c03
        else
Karsten Hopp 318c03
  	dnl For Mac OS X 10.3, use the OS-provided framework location
Karsten Hopp 318c03
  	tclinc="/System/Library/Frameworks/Tcl.framework/Headers"
Karsten Hopp 318c03
        fi
Karsten Hopp 318c03
        for try in $tclinc; do
Karsten Hopp 318c03
  	if test -f "$try/tcl.h"; then
Karsten Hopp 318c03
  	  AC_MSG_RESULT($try/tcl.h)
Karsten Hopp 318c03
--- 794,805 ----
Karsten Hopp 318c03
  
Karsten Hopp 318c03
        AC_MSG_CHECKING(for location of Tcl include)
Karsten Hopp 318c03
        if test "x$MACOSX" != "xyes"; then
Karsten Hopp 318c03
! 	tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/local/include/tcl$tclver /usr/include /usr/include/tcl$tclver"
Karsten Hopp 318c03
        else
Karsten Hopp 318c03
  	dnl For Mac OS X 10.3, use the OS-provided framework location
Karsten Hopp 318c03
  	tclinc="/System/Library/Frameworks/Tcl.framework/Headers"
Karsten Hopp 318c03
        fi
Karsten Hopp 318c03
+       TCL_INC=
Karsten Hopp 318c03
        for try in $tclinc; do
Karsten Hopp 318c03
  	if test -f "$try/tcl.h"; then
Karsten Hopp 318c03
  	  AC_MSG_RESULT($try/tcl.h)
Karsten Hopp 318c03
*** ../vim-7.1.256/src/version.c	Wed Feb 20 12:22:59 2008
Karsten Hopp 318c03
--- src/version.c	Wed Feb 20 12:42:17 2008
Karsten Hopp 318c03
***************
Karsten Hopp 318c03
*** 668,669 ****
Karsten Hopp 318c03
--- 668,671 ----
Karsten Hopp 318c03
  {   /* Add new patch number below this line */
Karsten Hopp 318c03
+ /**/
Karsten Hopp 318c03
+     257,
Karsten Hopp 318c03
  /**/
Karsten Hopp 318c03
Karsten Hopp 318c03
-- 
Karsten Hopp 318c03
He who laughs last, thinks slowest.
Karsten Hopp 318c03
Karsten Hopp 318c03
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 318c03
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 318c03
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 318c03
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///