]> git.ipfire.org Git - thirdparty/libtool.git/commit
ltoptions.m4: Make aix-soname assignment more clear
authorIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Sat, 18 Jan 2025 13:46:34 +0000 (15:46 +0200)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Thu, 13 Feb 2025 15:02:15 +0000 (17:02 +0200)
commit64ecee50f576ddbd70e914546587216871109253
tree7449bbf2be7b35534d14297b862d0a69aa3a07b0
parent7dc108c32456ca20f0775eca180e67b6333705f7
ltoptions.m4: Make aix-soname assignment more clear

The option --with-aix-soname=svr4 does not work the same as using
LT_INIT([aix-soname=svr4]), since the configure script is reordered
depending on which is used. The reordering causes 'enable_shared'
to not be set before processing for 'aix-soname' when using LT_INIT.

For LT_INIT([aix-soname=svr4]) to be set as intended, 'shared' must
be set before 'aix-soname=svr4', like LT_INIT([shared aix-soname=svr4]).

* m4/ltoptions.m4: Warn user if 'enable_shared' has not been set when
  setting 'aix-soname' and add configuration messages to show which
  variant of shared library versioning has been set for 'aix-soname'.
* doc/libtool.texi: Update to specify need for 'shared' to be used
  before 'aix-soname' for LT_INIT.
doc/libtool.texi
m4/ltoptions.m4