autoconf
[Top][All Lists]
Advanced

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

Re: Mangled argument vector choking on spaces?


From: Kip Warner
Subject: Re: Mangled argument vector choking on spaces?
Date: Tue, 30 Dec 2014 07:15:44 -0800

On Tue, 2014-12-30 at 08:53 -0600, Bob Friesenhahn wrote:
> On Mon, 29 Dec 2014, Kip Warner wrote:
> >
> > Unfortunately I need spaces on GNU systems and possibly elsewhere. I'm
> > sure there is a way to do this and it's simply a matter of coalescing
> > parts of the argument vector. From what I can see configure has the
> > correct arguments, but some were accidentally split. Remember that the
> > arguments are already correctly escaped and if I run what was logged in
> > config.log, it runs fine with the spaces.
> 
> The problem is that configure is a huge shell script and any arguments 
> passed to subordinate utilities need to be escaped properly to avoid 
> accidental splitting.  There is also the problem that 'make' 
> automatically splits on white space and there is no portable way to 
> make it not do that.

Hey Bob,

After getting tired banging my head on the desk, I came to the same
conclusion. Users will have to build from within a path without spaces.

Since inevitably someone might try, do you recommend a recipe for
checking at configure time so I can issue an AC_MSG_ERROR?

-- 
Kip Warner -- Senior Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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