libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_TRY_LINK with libtool libraries


From: Gary V . Vaughan
Subject: Re: AC_TRY_LINK with libtool libraries
Date: Tue, 3 Apr 2001 19:28:53 +0100

On Tuesday 03 April 2001  9:28 am, Alexandre Oliva wrote:
> On Apr  3, 2001, "s_a_white" <address@hidden> 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: address@hidden
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       address@hidden
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]