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

Raspunde prin e-mail lui