wdiff-bugs
[Top][All Lists]
Advanced

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

[wdiff-bugs] libtool (was: wdiff-0.6.1 build problems)


From: Martin von Gagern
Subject: [wdiff-bugs] libtool (was: wdiff-0.6.1 build problems)
Date: Sat, 03 Apr 2010 13:50:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100322 Thunderbird/3.0.3

On 03.04.2010 10:03, Martin von Gagern wrote:
> If, on the other hand, snprintf is a dependency of termcap, and the
> linker doesn't handle dependencies like I'm used from my ELF-based
> Linux, then the only reasonable solution might be switching wdiff to use
> libtool.

Unfortunately, libtool probably wouldn't help the configure script, as
AC_SEARCH_LIBS doesn't use libtool. Having configure make use of libtool
has been requested on the autoconf mailing list in the past, but as far
as I can tell without any authoritative reply:
http://thread.gmane.org/gmane.comp.sysutils.autoconf.general/3470
http://thread.gmane.org/gmane.comp.sysutils.autoconf.general/5170

So there are hacks to help this, namely modifying the ac_link variable
to include the libtool invocation, but there doesn't seem to be an
officially supported way to do this.

I'm also not sure whether libtool would really help here, as I don't
know if the termcap library on OSF/1 makes use of libtool. I've created
a branch providing libtoolization for wdiff. It's available from
http://bzr.savannah.gnu.org/r/wdiff/branches/libtoolize and can be
merged whenever we decide that libtool would benefit wdiff.

Until then I'd keep this for the record and await further input about
OSF/1 and the reason -lsnprintf has to be named there explicitely.

Martin

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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