[Top][All Lists]

[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 (X11/20080223)


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 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... 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:

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.

 Martin von Gagern

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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