This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: obtaining configure args from config.status
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, bonzini at gnu dot org
- Date: Tue, 8 Sep 2009 20:26:14 +0200
- Subject: Re: obtaining configure args from config.status
- References: <20090628183334.GA5401@gmx.de> <20090728181748.GA3134@gmx.de> <20090826151719.GA22276@host0.dyn.jankratochvil.net> <20090826164636.GA15791@ins.uni-bonn.de> <20090826165410.GA28796@host0.dyn.jankratochvil.net> <20090831202938.GC21485@gmx.de> <20090908162826.GA31394@host0.dyn.jankratochvil.net>
* Jan Kratochvil wrote on Tue, Sep 08, 2009 at 06:28:26PM CEST:
> On Mon, 31 Aug 2009 22:29:39 +0200, Ralf Wildenhues wrote:
> > + eval $(SHELL) "\"\$$rootsrc/testsuite/configure\" $$configargs" \
> > + "\"--srcdir=\$$rootsrc/testsuite\"" \
>
> do I miss anything if here would be just such simple quoting?
>
> eval $(SHELL) $${rootsrc}/testsuite/configure "$$configargs" \
> --srcdir=\$${rootsrc}/testsuite \
>
> Other parts of Makefile.in already cannot cope with spaces in $srcdir.
True. The quoting also avoids globbing, though, so I've become used to
using it consistently, also because many other packages do cope with
spaces in the absolute directory name, as long as $srcdir is relative
and doesn't contain any spaces. But hey, if it's desired, I'll gladly
change the patch as above.
Thanks,
Ralf