From: Daniel Jacobowitz <drow@mvista.com>
To: gdb-patches@sources.redhat.com
Subject: Re: RFC: Use program_transform_name correctly
Date: Wed, 08 Oct 2003 01:05:00 -0000 [thread overview]
Message-ID: <20031008010510.GA15693@nevyn.them.org> (raw)
In-Reply-To: <20031007235921.8FB0B158F81@kanga.canids.net>
On Tue, Oct 07, 2003 at 04:59:21PM -0700, Felix Lee wrote:
> Daniel Jacobowitz <drow@mvista.com>:
> > Eh, you're right, this will teach me to answer without looking. From
> > gcc/Makefile.in:
> > t='$(program_transform_cross_name)'; echo ar | sed -e $$t ; \
> > That's the idiom we should use here.
>
> yeah, $$t should be unquoted because configure does the quoting,
> so that a transformation that has quotes will work correctly.
> however, this is only for "recent" versions of autoconf, where
> recent is "some version of autoconf after 2.13 that still says
> 'generated by 2.13' at the top of configure".
>
> autoconf 2.13 and before will sometimes leave
> program_transform_name null, which will cause that sed to fail.
How horrid.
> the newer autoconfs will make sure program_transform_name is
> 's,x,x,' if it would otherwise be null.
Conveniently this is no longer an issue in the src repository (or in
gcc). The toplevel configure script now guarantees that
$(program_transform_name) will not be empty. So $$t it is.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2003-10-08 1:05 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-07 21:42 Jim Blandy
2003-10-07 21:50 ` Daniel Jacobowitz
2003-10-07 22:03 ` Theodore A. Roth
2003-10-07 22:53 ` Daniel Jacobowitz
2003-10-07 23:59 ` Felix Lee
2003-10-08 1:05 ` Daniel Jacobowitz [this message]
2003-10-08 19:15 ` Jim Blandy
2003-10-08 19:18 ` Jim Blandy
2003-10-08 19:31 ` Daniel Jacobowitz
2003-10-08 19:51 ` Andreas Schwab
2003-10-08 21:22 ` Felix Lee
2003-10-08 19:32 ` Jim Blandy
2003-10-08 19:52 ` Theodore A. Roth
2003-10-08 21:32 ` Felix Lee
2003-10-09 2:09 ` Daniel Jacobowitz
2003-10-08 19:14 ` Jim Blandy
2003-10-07 22:48 ` Felix Lee
2003-10-08 17:44 ` Jim Blandy
-- strict thread matches above, loose matches on Subject: below --
2003-01-29 22:48 [RFC] Move ``length'' from struct main_type to struct type Kevin Buettner
2003-01-29 23:14 ` Daniel Jacobowitz
[not found] ` <drow@mvista.com>
2003-01-30 0:57 ` Kevin Buettner
2003-02-07 21:45 ` Kevin Buettner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031008010510.GA15693@nevyn.them.org \
--to=drow@mvista.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox