I want, in a libtoolized project, ../configure CC='pgcc-78.9 -foo-option' to succeed in choosing Portland compiler options. No multiple compilers involved here.
Libtool also lives as a stand-alone utility, which may be installed!
I am going to stand up again (because I like being shot down) and ask if the "stand alone utility" bit is really necessary. I think I asked this before and was told to shut up :)
Libtool does not handle changes to compiler switches very well, -m to gcc will confuse it, it certainly can not handle multiple compilers, why not just stop pretending that it is useful as a stand alone utility?
I'll go into hiding now, Peter -- Peter O'Gorman - http://www.pogma.com
