Dominique Pellé write:
> But the comma after wildcard was there before the patch
> so I suspect that the syntax error has to do with the "else ifneq"
> construct which may not be accepted by all versions of make.
> (it's fine with GNU-make-3.81 at least). Line 218 (where it
> complains) is in fact the only place where a "else if" is used
> in Vim's Makefiles:
>
> $ cd vim/src ; grep -n 'else if' Make*
>
> Make_ming.mak:218:else ifneq ("X$(wildcard,
> $(RUBY)/lib/ruby/$(RUBY_VER_LONG)/i386-mingw32)", X)
I just see now that the non-nested "else if" feature in GNU make is new
in GNU make-3.81 (released April 1, 2006) according to this link:
http://www.cmcrossroads.com/ask-mr-make/6789-whats-new-in-gnu-make-381
So it confirm my suspicion in previous email. It's best to avoid it.
-- Dominique
--
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