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: Alexandre Oliva
Subject: Re: AC_TRY_LINK with libtool libraries
Date: 03 Apr 2001 02:08:51 -0300
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

On Apr  1, 2001, "Gary V. Vaughan" <address@hidden> wrote:

> This is a known deficiency in the coupling between libtool and autoconf, 
> which needs fixing at some point.  In the mean time how about (wild guess 
> here!):

>   save_CC=$CC
>   CC="${SHELL-/bin/sh} ${top_srcdir)/libtool $CC"
>   AC_TRY_LINK(blah)
>   CC=$save_CC

This doesn't work.  libtool needs two-pass compile&link, whereas
AC_TRY_LINK assumes $CC can take a source file and generate an
executable directly out of it.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



reply via email to

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