GNU bug report logs - #41819
[libtool-2.4.6] --enable-shared=PKG does not work if LT_INIT is called before AM_INIT_AUTOMAKE

Previous Next

Package: libtool;

Reported by: Van de Bugger <van.de.bugger <at> gmail.com>

Date: Thu, 11 Jun 2020 23:27:01 UTC

Severity: normal

Done: Bruno Haible <bruno <at> clisp.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bruno Haible <bruno <at> clisp.org>
To: van.de.bugger <at> gmail.com
Cc: 41819-done <at> debbugs.gnu.org, 41819 <at> debbugs.gnu.org
Subject: bug#41819: [libtool-2.4.6] --enable-shared=PKG does not work if LT_INIT is called before AM_INIT_AUTOMAKE
Date: Wed, 22 Jul 2020 17:04:01 +0200
> libtool manual says nothing about relative order of LT_INIT
> and AM_INIT_AUTOMAKE, while it is not obvious for newbies.

But the automake manual says it [1]:

  "add an ‘AM_INIT_AUTOMAKE’ call just after ‘AC_INIT’"

> Could you
> please note in libtool manual that LT_INIT must be called  *after*
> AM_INIT_AUTOMAKE?

Most macros need to be invoked after, not before, AC_INIT and AM_INIT_AUTOMAKE.
This is not specific to libtool macros.

Bruno

[1] https://www.gnu.org/software/automake/manual/html_node/Complete.html





This bug report was last modified 4 years and 302 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.