RFC: Use program_transform_name correctly

Felix Lee felix.1@canids.net
Wed Oct 8 21:32:00 GMT 2003


"Theodore A. Roth" <troth@openavr.org>:
> As long as gdb is using a autoconf-2.13 generated configure script, I
> think that this will still have a problem when the user tries to pass
> both --program-prefix=PREFIX and --program-suffix=SUFFIX to configure
> at the same time. That was why I had added the double quotes around
> $$t in the install-only rule.

ah, right.  but doublequotes aren't necessarily any better...

hmm.  the autoconf 2.13 and 2.57 info files say to use
    transform=@program_transform_name@
    echo $$p|sed '$(transform)'

so use that, and fix things to make that work.  it doesn't really
matter what the quoting convention is as long as it's consistent.
--



More information about the Gdb-patches mailing list