On Tuesday 03 April 2001  9:28 am, Alexandre Oliva wrote:
> On Apr  3, 2001, "s_a_white" <[EMAIL PROTECTED]> wrote:
> > Gary second suggestion worked after removing the back slashes:
>
> Really?  Wow!  This is very good news, indeed.  I'm quite surprised!
> I suppose we could arrange for AC_PROG_LIBTOOL to pre-pend
> '${CONFIG_SHELL-/bin/sh} `pwd`/libtool ' to ac_link, then?
>
> Modifying CC or CXX doesn't look like a good idea to me, if they're
> going to be AC_SUBSTed.
>
> > Btw, what would be your solution?
>
> Modifying ac_link such that it would compile without libtool, then
> link with it.  I'm very surprised doing it in a single pass worked.
> Maybe by accident, just because it happened to pass the source
> filename through to the link command, which wouldn't have worked in
> case the linker were called directly, instead of using the compiler
> driver?

This sounds like a good idea.  It would be cleaner if we could get autoconf 
to publish an interface to allow us to do it proerly without mangling 
incidental shell variables...

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