home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.2.289 < prev    next >
Encoding:
Internet Message Format  |  2004-02-23  |  3.6 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.289
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.2.289
  11. Problem:    Compiling the Tcl interface with thread support causes ":make" to
  12.         fail.  (Juergen Salk)
  13. Solution:   Use $TCL_DEFS from the Tcl config script to obtain the required
  14.         compile flags for using the thread library.
  15. Files:        src/auto/configure, src/configure.in
  16.  
  17.  
  18. *** ../vim-6.2.288/src/auto/configure    Thu Feb 19 14:48:06 2004
  19. --- src/auto/configure    Tue Feb 24 17:08:05 2004
  20. ***************
  21. *** 2068,2080 ****
  22.           echo "$ac_t""$try/tclConfig.sh" 1>&6
  23.           . $try/tclConfig.sh
  24.                   TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
  25.           break
  26.         fi
  27.       done
  28.       if test -z "$TCL_LIBS"; then
  29.         echo "$ac_t""<not found>" 1>&6
  30.         echo $ac_n "checking for Tcl library by myself""... $ac_c" 1>&6
  31. ! echo "configure:1931: checking for Tcl library by myself" >&5
  32.         tcllib=`echo $tclinc | sed s/include/lib/g`
  33.         for ext in .so .a ; do
  34.           for ver in "" $tclver ; do
  35. --- 2068,2081 ----
  36.           echo "$ac_t""$try/tclConfig.sh" 1>&6
  37.           . $try/tclConfig.sh
  38.                   TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
  39. +                         TCL_DEFS=`echo $TCL_DEFS | tr ' ' '\012' | sed -e '/^-[^D]/d' -e '/-D[^_]/d' -e 's/-D_/ -D_/' | tr -d '\012'`
  40.           break
  41.         fi
  42.       done
  43.       if test -z "$TCL_LIBS"; then
  44.         echo "$ac_t""<not found>" 1>&6
  45.         echo $ac_n "checking for Tcl library by myself""... $ac_c" 1>&6
  46. ! echo "configure:2079: checking for Tcl library by myself" >&5
  47.         tcllib=`echo $tclinc | sed s/include/lib/g`
  48.         for ext in .so .a ; do
  49.           for ver in "" $tclver ; do
  50. ***************
  51. *** 2105,2111 ****
  52.         TCL_SRC=if_tcl.c
  53.         TCL_OBJ=objects/if_tcl.o
  54.         TCL_PRO=if_tcl.pro
  55. !       TCL_CFLAGS="-I$TCL_INC"
  56.       fi
  57.         fi
  58.       else
  59. --- 2106,2112 ----
  60.         TCL_SRC=if_tcl.c
  61.         TCL_OBJ=objects/if_tcl.o
  62.         TCL_PRO=if_tcl.pro
  63. !       TCL_CFLAGS="-I$TCL_INC $TCL_DEFS"
  64.       fi
  65.         fi
  66.       else
  67. *** ../vim-6.2.288/src/configure.in    Thu Feb 19 14:48:06 2004
  68. --- src/configure.in    Tue Feb 24 17:08:02 2004
  69. ***************
  70. *** 611,616 ****
  71. --- 611,619 ----
  72.           . $try/tclConfig.sh
  73.           dnl use eval, because tcl 8.2 includes ${TCL_DBGX}
  74.           TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
  75. +         dnl Use $TCL_DEFS for -D_THREAD_SAFE et al.  But only use the
  76. +         dnl "-D_ABC" items.
  77. +         TCL_DEFS=`echo $TCL_DEFS | tr ' ' '\012' | sed -e '/^-[[^D]]/d' -e '/-D[[^_]]/d' -e 's/-D_/ -D_/' | tr -d '\012'`
  78.           break
  79.         fi
  80.       done
  81. ***************
  82. *** 644,650 ****
  83.         TCL_SRC=if_tcl.c
  84.         TCL_OBJ=objects/if_tcl.o
  85.         TCL_PRO=if_tcl.pro
  86. !       TCL_CFLAGS="-I$TCL_INC"
  87.       fi
  88.         fi
  89.       else
  90. --- 647,653 ----
  91.         TCL_SRC=if_tcl.c
  92.         TCL_OBJ=objects/if_tcl.o
  93.         TCL_PRO=if_tcl.pro
  94. !       TCL_CFLAGS="-I$TCL_INC $TCL_DEFS"
  95.       fi
  96.         fi
  97.       else
  98. *** ../vim-6.2.288/src/version.c    Tue Feb 24 20:56:55 2004
  99. --- src/version.c    Tue Feb 24 22:13:25 2004
  100. ***************
  101. *** 639,640 ****
  102. --- 639,642 ----
  103.   {   /* Add new patch number below this line */
  104. + /**/
  105. +     289,
  106.   /**/
  107.  
  108. -- 
  109. hundred-and-one symptoms of being an internet addict:
  110. 250. You've given up the search for the "perfect woman" and instead,
  111.      sit in front of the PC until you're just too tired to care.
  112.  
  113.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  114. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  115. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  116.  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
  117.