On Fri, Aug 25, 2000 at 12:49:29AM -0300, Alexandre Oliva wrote:
> On Aug 24, 2000, Michael Matz <[EMAIL PROTECTED]> wrote:
> 
> >> If libtool understood -LANG:std, one less thing for the authors to
> >> deal with.
> 
> > Yep, I also like this solution most, even if this means a very special
> > case in ltmain.
> 
> Maybe we shouldn't make it a special case.  How about creating a new
> variable containing a command to check whether $arg is some command to
> be passed through or not.  Then, ltmain would run:
> 
> if eval $compiler_arg_pass_through; then
>   do it
> else
>   case $arg in
>   ...
> fi

In principle this seems like a good idea... but is libtool ever going
to have to deal with `libANG:whatever.la'??  It seems unlikely that we
will ever come across more than a handful of architectures which have
peculiar flags that clash with libtool's normal processing.

A pragmatic approach might be:

  case $arg in
  .
  .
  .
  -LANG:*) continue ;;
  -L*)
    ...
    ;;
  .
  .
  .
  esac

This is *much* less work (for me, and for libtool).  Shall I post a
patch?

Cheers,
        Gary.
-- 
  ___              _   ___   __              _         mailto: [EMAIL PROTECTED]
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       [EMAIL PROTECTED] 
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc

Reply via email to