[Top][All Lists]

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

AC_TRY_LINK with libtool libraries

From: s_a_white
Subject: AC_TRY_LINK with libtool libraries
Date: Sun, 1 Apr 2001 12:18:40 +0100


I've been using libtool 1.3c for a while due to needing it so dependency
information is correctly obtained from the la files.  However, I came to
build a binary which uses libtool libraries and found that this version
detects that my system should use an executable extention of ".C".  This is
wrong for my Linux Mandrake 7.2 system.  I have however realised that I can
also use 1.3b and it detects correctly as "no" in that version.

Lastly, I've been trying to check for working version of a custom static
library created with libtool which has dependencies on other libraries.  In
acinclude.m4 I have code which seaches for what it thinks is the correct
library and then does an AC_TRY_LINK on it to see if it works ok.  The
AC_TRY_LINK is failing because it does not use libtool to convert the link
line to what it should be.  Is there anyway to achieve this as when it does
the proper build with libtool it works fine?

Thanks for your help,

reply via email to

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