On 02/12/08 05:34, Bill McCarthy wrote:
> On Sun 30-Nov-08 4:47pm -0600, Tony Mechelynck wrote:
>
>> On 30/11/08 12:53, Bram Moolenaar wrote:
>>> Patch 7.2.058
>>> Problem:    Can't add a patch name to the ":version" output.
>>> Solution:   Add the extra_patches array.
>>> Files:            src/version.c
>
>> Nice new feature :-). However, unlike the "Modified by" line and the
>
> How do you get that "Modified by" to work?  There doesn't
> appear to be anything to modify in the "make" line.
>

It depends on your compiler, which, in turn, depends on your OS: on 
Unix-like systems one should use gcc with the top-level Makefile; on 
Windows you can use Cygwin gcc, MinGW gcc, Borland BCC32, Microsoft 
Visual C/C++, and maybe others, each with its own makefile among the 
various src/Make_*.mak; it also depends on how you configure Vim.

I used until a short time ago the line

export CONF_ARGS='--with-modified-by="Bill McCarthy (float)"'

in the file which I have bash source (not run) before running Vim make. 
Since the above patch came out I have, as you know, taken advantage of 
it instead.

See lines 316-317 of vim72/src/Makefile

To regenerate the config cache and recompile immediately, use (only on 
Unix-like platforms) "make reconfig". It can be run in the top-level 
Makefile, which will pass it to src/Makefile.


On Windows, you may have to check the particular makefile for your 
compiler, and maybe search
        /modif
There may or may not be a make variable for it; if there isn't (but, I 
suppose, only if there isn't) you may uncomment (and edit) line 974 of 
src/feature.h (which is the file where most of the user-selectable 
features can be enabled or disabled).

See also:
(U*x) http://users.skynet.be/antoine.mechelynck/vim/compunix.htm
(W32) http://users.skynet.be/antoine.mechelynck/vim/compile.htm

which show how to set the most commonly used make variables when 
compiling Vim. For lesser variables you may have to check the particular 
makefile you use for which particular names and values to use. I 
recommend not to modify the makefile but to set the variables either on 
the make command-line (where on the command line depends on your 
particular version of make) or in the environment, as shown in the above 
howto pages.


Best regards,
Tony.
-- 
Bizoos, n.:
        The millions of tiny individual bumps that make up a
basketball.
                -- Rich Hall, "Sniglets"

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui