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.1.444 < prev    next >
Encoding:
Internet Message Format  |  2003-04-05  |  4.0 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.444 (extra)
  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.1.444 (extra)
  11. Problem:    Win32: Enabling a build with gettext support is not consistant.
  12. Solution:   Use "GETTEXT" for Borland and msvc makefiles. (Dan Sharp)
  13. Files:        src/Make_bc5.mak, src/Make_mvc.mak
  14.  
  15.  
  16. *** ../vim61.443/src/Make_bc5.mak    Sat Mar 15 17:55:18 2003
  17. --- src/Make_bc5.mak    Tue Apr  1 21:24:20 2003
  18. ***************
  19. *** 51,56 ****
  20. --- 51,57 ----
  21.   #        of Ruby will cause a compile error on these systems.
  22.   #   DYNAMIC_RUBY no or yes: use yes to load the Ruby DLL dynamically (no)
  23.   # MBYTE        no or yes: set to yes for multi-byte support (yes)
  24. + # GETTEXT    no or yes: set to yes for multi-language support (yes)
  25.   # ICONV        no or yes: set to yes for dynamic iconv support (yes)
  26.   # OLE        no or yes: set to yes to make OLE gvim (no)
  27.   # OSTYPE    DOS16 or WIN32 (WIN32)
  28. ***************
  29. *** 86,91 ****
  30. --- 87,97 ----
  31.   MBYTE = yes
  32.   !endif
  33.   #
  34. + ### GETTEXT: yes for multilanguage support, no to disable it.
  35. + !if ("$(GETTEXT)"=="")
  36. + GETTEXT = yes
  37. + !endif
  38. + #
  39.   ### ICONV: yes to enable dynamic-iconv support, no to disable it
  40.   !if ("$(ICONV)"=="")
  41.   ICONV = yes
  42. ***************
  43. *** 313,323 ****
  44.   !endif
  45.   #
  46.   !if ("$(MBYTE)"=="yes")
  47. ! MBDEFINES = $(MBDEFINES) -DFEAT_MBYTE -DDYNAMIC_GETTEXT -DDYNAMIC_IME
  48.   !endif
  49.   !if ("$(ICONV)"=="yes")
  50.   MBDEFINES = $(MBDEFINES) -DDYNAMIC_ICONV
  51.   !endif
  52.   
  53.   !if ("$(GUI)"=="yes")
  54.   DEFINES = $(DEFINES) -DFEAT_GUI_W32 -DFEAT_CLIPBOARD
  55. --- 319,332 ----
  56.   !endif
  57.   #
  58.   !if ("$(MBYTE)"=="yes")
  59. ! MBDEFINES = $(MBDEFINES) -DFEAT_MBYTE -DDYNAMIC_IME
  60.   !endif
  61.   !if ("$(ICONV)"=="yes")
  62.   MBDEFINES = $(MBDEFINES) -DDYNAMIC_ICONV
  63.   !endif
  64. + !if ("$(GETTEXT)"=="yes")
  65. + MBDEFINES = $(MBDEFINES) -DDYNAMIC_GETTEXT
  66. + !endif
  67.   
  68.   !if ("$(GUI)"=="yes")
  69.   DEFINES = $(DEFINES) -DFEAT_GUI_W32 -DFEAT_CLIPBOARD
  70. ***************
  71. *** 532,537 ****
  72. --- 541,549 ----
  73.   !endif
  74.   !if ("$(MBYTE)"=="yes")
  75.   MSG = $(MSG) MBYTE
  76. + !endif
  77. + !if ("$(GETTEXT)"=="yes")
  78. + MSG = $(MSG) GETTEXT
  79.   !endif
  80.   !if ("$(ICONV)"=="yes")
  81.   MSG = $(MSG) ICONV
  82. *** ../vim61.443/src/Make_mvc.mak    Mon Mar 31 20:07:27 2003
  83. --- src/Make_mvc.mak    Tue Apr  1 21:24:24 2003
  84. ***************
  85. *** 47,53 ****
  86.   #    Iconv library support (always dynamically loaded):
  87.   #      ICONV=[yes or no]  (default is yes)
  88.   #    Intl library support (always dynamically loaded):
  89. ! #      INTL=[yes or no]  (default is yes)
  90.   #    See http://sourceforge.net/projects/gettext/
  91.   #       PostScript printing: POSTSCRIPT=yes
  92.   #       Feature Set: FEATURES=[TINY, SMALL, NORMAL, BIG, or HUGE]
  93. --- 47,53 ----
  94.   #    Iconv library support (always dynamically loaded):
  95.   #      ICONV=[yes or no]  (default is yes)
  96.   #    Intl library support (always dynamically loaded):
  97. ! #      GETTEXT=[yes or no]  (default is yes)
  98.   #    See http://sourceforge.net/projects/gettext/
  99.   #       PostScript printing: POSTSCRIPT=yes
  100.   #       Feature Set: FEATURES=[TINY, SMALL, NORMAL, BIG, or HUGE]
  101. ***************
  102. *** 355,364 ****
  103.   !endif
  104.   
  105.   # libintl.dll library
  106. ! !ifndef INTL
  107. ! INTL = yes
  108.   !endif
  109. ! !if "$(INTL)" == "yes"
  110.   CFLAGS = $(CFLAGS) -DDYNAMIC_GETTEXT
  111.   !endif
  112.   
  113. --- 355,364 ----
  114.   !endif
  115.   
  116.   # libintl.dll library
  117. ! !ifndef GETTEXT
  118. ! GETTEXT = yes
  119.   !endif
  120. ! !if "$(GETTEXT)" == "yes"
  121.   CFLAGS = $(CFLAGS) -DDYNAMIC_GETTEXT
  122.   !endif
  123.   
  124. *** ../vim61.443/src/version.c    Sun Apr  6 14:54:37 2003
  125. --- src/version.c    Sun Apr  6 14:59:42 2003
  126. ***************
  127. *** 613,614 ****
  128. --- 613,616 ----
  129.   {   /* Add new patch number below this line */
  130. + /**/
  131. +     444,
  132.   /**/
  133.  
  134. -- 
  135. ARTHUR:   Ni!
  136. BEDEVERE: Nu!
  137. ARTHUR:   No.  Ni!  More like this. "Ni"!
  138. BEDEVERE: Ni, ni, ni!
  139.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  140.  
  141.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  142. ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
  143. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  144.  \\\     Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
  145.