To: [email protected]
Subject: Patch 7.2b.011
Fcc: outbox
From: Bram Moolenaar <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 7.2b.011
Problem:    Configure for TCL ends up with include file in compiler command.
           (Richard Hogg)
Solution:   Delete items from $TCL_DEFS that do not start with a dash.
Files:      src/auto/configure, src/configure.in


*** ../vim-7.2b.010/src/auto/configure  Sun Jul 13 19:15:10 2008
--- src/auto/configure  Mon Jul 21 17:37:09 2008
***************
*** 5598,5604 ****
 $as_echo "$try/tclConfig.sh" >&6; }
           . $try/tclConfig.sh
                   TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
!                           TCL_DEFS=`echo $TCL_DEFS | sed -e 's/\\\\ /\\\\X/g' | tr ' ' '\012' | sed -e '/^-[^D]/d' -e '/-D[^_]/d' -e 's/-D_/ -D_/' | tr '\012' ' ' | sed -e 's/\\\\X/\\\\ /g'`
           break
         fi
       done
--- 5599,5605 ----
 $as_echo "$try/tclConfig.sh" >&6; }
           . $try/tclConfig.sh
                   TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
!                           TCL_DEFS=`echo $TCL_DEFS | sed -e 's/\\\\ /\\\\X/g' | tr ' ' '\012' | sed -e '/^[^-]/d' -e '/^-[^D]/d' -e '/-D[^_]/d' -e 's/-D_/ -D_/' | tr '\012' ' ' | sed -e 's/\\\\X/\\\\ /g'`
           break
         fi
       done
*** ../vim-7.2b.010/src/configure.in    Sun Jul 13 19:15:10 2008
--- src/configure.in    Mon Jul 21 17:37:02 2008
***************
*** 866,872 ****
           TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
           dnl Use $TCL_DEFS for -D_THREAD_SAFE et al.  But only use the
           dnl "-D_ABC" items.  Watch out for -DFOO=long\ long.
!           TCL_DEFS=`echo $TCL_DEFS | sed -e 's/\\\\ /\\\\X/g' | tr ' ' '\012' | sed -e '/^-[[^D]]/d' -e '/-D[[^_]]/d' -e 's/-D_/ -D_/' | tr '\012' ' ' | sed -e 's/\\\\X/\\\\ /g'`
           break
         fi
       done
--- 867,873 ----
           TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
           dnl Use $TCL_DEFS for -D_THREAD_SAFE et al.  But only use the
           dnl "-D_ABC" items.  Watch out for -DFOO=long\ long.
!           TCL_DEFS=`echo $TCL_DEFS | sed -e 's/\\\\ /\\\\X/g' | tr ' ' '\012' | sed -e '/^[[^-]]/d' -e '/^-[[^D]]/d' -e '/-D[[^_]]/d' -e 's/-D_/ -D_/' | tr '\012' ' ' | sed -e 's/\\\\X/\\\\ /g'`
           break
         fi
       done
*** ../vim-7.2b.010/src/version.c       Tue Jul 22 18:58:05 2008
--- src/version.c       Thu Jul 24 13:18:20 2008
***************
*** 678,679 ****
--- 678,681 ----
 {   /* Add new patch number below this line */
+ /**/
+     11,
 /**/

--
A vacation is a period of travel during which you find that you
took twice as many clothes and half as much money as you needed.

/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
\\\            help me help AIDS victims -- http://ICCF-Holland.org    ///