Hi Peter! Bob Friesenhahn wrote: > On Thu, 24 Feb 2005, Peter O'Gorman wrote: > >> Okay to apply to branch-1-5 and then forward port? > > Doesn't it make most sense to fix cc_basename so that it doesn't include > any trailing cruft? Then the switch would not need to be changed. The > wildcard might match a command name which differs by later characters.
My thoughts exactly. cc_basename is only ever used in case statements,
so lets set it with:
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%;s%[ ].*$%%'`
Also I notice that there are a couple of instances of:
case "$cc_basename" in
where we should remove the quotes.
Cheers,
Gary.
--
Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature
