libtool
[Top][All Lists]
Advanced

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

Incompatible behaviour of AC_LIB_LTDL


From: Martin von Gagern
Subject: Incompatible behaviour of AC_LIB_LTDL
Date: Thu, 15 May 2008 12:40:42 +0200
User-agent: Thunderbird 2.0.0.9 (X11/20080223)

Hi!

In libtool 2 the behaviour of the (deprecated) AC_LIB_LTDL differs from what it was in 1.5. It now calls AC_CONFIG_SUBDIRS which it didn't do previously.

I encountered this while building GNUnet on Gentoo Linux. There I got this message:

$ aclocal -I m4
configure.ac:44: error: `libltdl' is already registered with AC_CONFIG_SUBDIRS.
../../lib/autoconf/status.m4:1092: AC_CONFIG_SUBDIRS is expanded from...
/usr/share/aclocal/ltdl.m4:383: _LTDL_SETUP is expanded from...
/usr/share/aclocal/ltdl.m4:242: LTDL_INIT is expanded from...
/usr/share/aclocal/ltdl.m4:368: AC_LIB_LTDL is expanded from...
configure.ac:44: the top level
autom4te-2.62: /usr/bin/m4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1

See also:
http://bugs.gentoo.org/show_bug.cgi?id=220765
https://gnunet.org/mantis/view.php?id=1340

I would assume that functions should keep their semantics so that the config scripts won't need to check libtool versions to choose the right commands. This is especially true for deprecated functions only present for backward compatibility like AC_LIB_LTDL. Otherwise we'll soon need meta-auto-tools which configure the autotools input depending on autotools versions and features...

I'm not subscribed to this list, but I hope this mail gets accepted anyway, and I'll try to keep track of the archives.

Greetings,
 Martin von Gagern

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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