[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Infering the operation mode
From: |
Albert Chin |
Subject: |
Re: Infering the operation mode |
Date: |
Thu, 25 Jul 2002 14:04:43 -0500 |
User-agent: |
Mutt/1.2.5i |
On Thu, Jul 25, 2002 at 11:36:55AM -0700, Bruce Korb wrote:
> Albert Chin wrote:
> >
> > >From 1.5 ltmain.in:
> > # Infer the operation mode.
> > if test -z "$mode"; then
> > case $nonopt in
> > *cc | *++ | gcc* | *-gcc*)
> > mode=link
> ...
> >
> > The C compiler on AIX is "xlc". Shoudl this be added to the list
> > above?
>
> Just make the test be this?
>
> > bare_cc=`echo $CC | sed 's, .*,,'`
> > case $nonopt in
> > *cc | *++ | gcc* | *-gcc* | $bare_cc )
We we really need to care of ' '* is in $CC?
--
albert chin (address@hidden)