>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:

 Alexandre> On May 26, 2001, Tom Tromey <[EMAIL PROTECTED]> wrote:
 >>>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:
>>> Note that I'm writing of a performance.  Install-sh is a serious
>>> performance hit for non-trivial installs.

 Alexandre> How about only use install-sh for install-strip on cross builds?

 >> I'm ok with this idea.  Can it be easily done with autoconf 2.13
 >> compatibility?

 Alexandre> Not easily.  cross_compiling used to be set only
 Alexandre> after compiler tests in 2.13.  But we could just
 Alexandre> compare $host with $build, like 2.50 does, to decide
 Alexandre> whether to use install-sh -s or install -s.  How
 Alexandre> does this sound?

Kludgy, if that word exists :)  Something similar to this was
done before we decided to use install-sh unconditionally, and
the selection of install-sh versus install led to very ugly
Makefile constructs involving submake evaluations to preserve
relative filenames and the like.

I'd really prefer the MAYBE_STRIP solution suggested in a
separate mail.
-- 
Alexandre Duret-Lutz

Reply via email to