* Kyle Wheeler wrote on Wed, Sep 06, 2006 at 07:49:48PM CEST:
>
> With my version of libtool, it seems to be an ordering issue. As long
> as the libtool script is *created* while CC=xlc (AC_PROG_LIBTOOL),
> then it seems to use the correct arguments, even if $CC becomes mpicc
> by the time libtool is actually used.
Well, there is a catch: while creating shared libraries, libtool will
ignore what you put in $CC, but use what it found to be $CC during its
configure tests. So really there would be a benefit to the changes I
outlined earlier.
Cheers,
Ralf
|