[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mangled argument vector choking on spaces?

From: Paul Eggert
Subject: Re: Mangled argument vector choking on spaces?
Date: Wed, 31 Dec 2014 11:31:58 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

David A. Wheeler wrote:

Sure, but this minor variation WOULD work in a makefile, and it's an easy fix:
  $(MAKE) SBCL='$(SBCL)'

That won't work if SBCL contains single quotes, another common practice.

The best place to start fixing it would be with GNU Make...

But that only works with GNU make.

GNU make would be just the first step. The next step would be to get the fix into POSIX and into other 'make' implementations. This sort of thing has been done before.

They can do workarounds with symlinks

How about fixing Autoconf to create a symlink from /tmp to srcdir if srcdir contains a space, and using the symlink instead? That should work too. Please feel free to propose a patch along those lines.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]