Actually  it was not removed  

In config.mk  it gets generated correctly  

But the makefile  has    a  hard-coded value  that  overrides  config.mk   and 
is incorrect   

The reference in  the  makefile  should be removed    ( Only the value in  
config.mk  should be used )  

If I comment the entry in the makefile  everything works  peachy-keen  :)  

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Ralf Schandl
Sent: Friday, December 16, 2011 4:26 PM
To: [email protected]
Subject: Re: What is up with this QUOTESED ?? ( why do we need it ?? ) Broken 
on z/OS



On 16/12/11 16:41, Bovy, Stephen wrote:
> QUOTESED = sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$$/";/'
> auto/pathdef.c: Makefile auto/config.mk
>       -@echo creating $@
>       -@echo '/* pathdef.c */'>  $@
>       -@echo '/* This file is automatically created by Makefile'>>  $@
>       -@echo ' * DO NOT EDIT!  Change Makefile only. */'>>  $@
>       -@echo '#include "vim.h"'>>  $@
>       -@echo 'char_u *default_vim_dir = (char_u *)"$(VIMRCLOC)";' | 
> $(QUOTESED)>>  $@
>       -@echo 'char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)";' 
> | $(QUOTESED)>>  $@
>       -@echo 'char_u *all_cflags = (char_u *)"$(CC) -c -I$(srcdir) 
> $(ALL_CFLAGS)";' | $(QUOTESED)>>   $@
>       -@echo 'char_u *all_lflags = (char_u *)"$(CC) $(ALL_LIB_DIRS) 
> $(LDFLAGS) -o $(VIMTARGET) $(ALL_LIBS) ";' | $(QUOTESED)>>   $@
>

Stephen,

just double all backslashes in QUOTESED.

The last time i compiled vim on zOS was in May 2010. At that time I created a 
patch for a few quirks, which was included in the source.
Also the QUOTESED was fixed by creating it via configure in a 
platform-dependent manner. For some (likely absolute valid) reasons this was 
removed again later.

Ralf

PS: Good to see someone else is trying vim on zOS.

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui