On Sun, Jun 14, 2009 at 11:16:19AM +0200, Andreas Metzler wrote: > On 2009-06-13 Kurt Roeckx <k...@roeckx.be> wrote: > > On Sat, Jun 13, 2009 at 06:27:59PM +0200, Simon Josefsson wrote: > >> Kurt Roeckx <k...@roeckx.be> writes: > > >>> reassign 405239 libgnutls26 > [...] > >> gnutls26's link problem is not caused by a convenience library. It is > >> caused by direct linking, and I tried to provide a self-contained > >> explanation in > >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405239#39 > > > Is that with a Debian version of libtool, or with the upstream > > version? Did you try with the current version in > > testing/unstable? The Debian version has been patched for a long > > time not to add that depedency, except in that case of convience > > libraries. > [...] > > Recent versions of gnutls indeed are not using Debian libtool anymore. > When using Debian's patched libtool some unnecessary linkage is > removed, but libgpg-error stays. However afaict the problem used to be > masked by a libtool problem, but currently is not a libtool problem > anymore. The culprit seems to be that this test > > --------------------------- > AC_LIB_HAVE_LINKFLAGS(gcrypt,, [#include <gcrypt.h>], > [enum gcry_cipher_algos i = GCRY_CIPHER_CAMELLIA128]) > if test "$ac_cv_libgcrypt" != yes; then > AC_MSG_ERROR([[ > *** > *** libgcrypt was not found. You may want to get it from > *** ftp://ftp.gnupg.org/gcrypt/libgcrypt/ > *** > ]]) > fi > --------------------------- > gives us "checking how to link with libgcrypt... /usr/lib/libgcrypt.so > /usr/lib/libgpg-error.so", since AC_LIB_HAVE_LINKFLAGS recursively > expands la files. We therefore end up with
I really can't see any reason why it should be doing that, specially if you're already using libtool. I suggest you either don't call AC_LIB_HAVE_LINKFLAGS or get AC_LIB_HAVE_LINKFLAGS fixed not to do that. AC_LIB_HAVE_LINKFLAGS seems to be in /usr/share/aclocal/lib-link.m4 which is part of gettext. Kurt -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org