On Monday, March 07, 2011 14:46:56 Reuben Thomas wrote: > To allow for multiple architectures, I use > > ./configure --prefix=/home/rrt/local --exec-prefix=/home/rrt/local/`uname > -m` > > to configure code I want to install in my home directory, which may be > copied on to machines with different architectures. (This scheme could > be tweaked, e.g. by using `hostname` instead of `uname -m`, to support > incompatible toolchain versions.)
seems like $host_cpu or just $host would be a better fit, but whatever.
> However, this means that projects which install scripts (e.g. via
> automake's bin_SCRIPTS), also have those programs installed in
> ${exec_prefix}/bin, where I'd expect ${prefix}/bin.
>
> Is there a solution I'm missing?
try naming it "foo_SCRIPTS" instead ? then you'll have a --foodir= configure
option iirc.
-mike
signature.asc
Description: This is a digitally signed message part.
