On Apr 22, 2001, [EMAIL PROTECTED] wrote:

> It does retain the original behaviour on other platforms. The case
> statement is only for particular hosts. All other hosts keep the
> result from the fgrep test.

Indeed.

> BTW, another possible solution is to compile with CFLAGS=-s. Compiling
> without CFLAGS=-g solves the problem on Solaris and with CFLAGS=-s
> solves the problem on IRIX 6.x.

I'm not sure how portable -s is.  Hmm...  Any takers?

> Good point about host != build. How would I even begin to solve that?

Only do the improved test when host = build.  Which amounts to falling
back to the original version when cross compiling.  And then, I wonder
whether we really want potentially different results for the same host
platform...

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to