On Apr 1, 2001, "Gary V. Vaughan" <[EMAIL PROTECTED]> 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 aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me