[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Infering the operation mode
From: |
Bruce Korb |
Subject: |
Re: Infering the operation mode |
Date: |
Thu, 25 Jul 2002 11:36:55 -0700 |
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 )