Changing libtool defaults causes inconsistent results
Ben Huntsman <[email protected]> Mon, 25 Nov 2024 21:32:30 +0000
| Newsgroups | gmane.comp.file-systems.openafs.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi there! Anyone know much about libtool defaults? On AIX, if we build without selecting —disable-shared or —disable-static at configure time causes a conflict where both versions of the library are named libwhatever.a, and then the shared version gets overwritten at install time. For this reason I think that setting the default to svr4-style libraries would be more consistent with how distributions were done in the past. This can be done by using the configure option —with-aix-soname=svr4. But according to the libtool documentation, we should be able to specify this in the configure macros when we call LT_INIT. This is done in src/cf/afs-libtool.m4. If we change the call to LT_INIT([aix-soname=svr4]) And then run ./configure without any options, that should be identical to —with-aix-soname=svr4, yet it doesn’t. Specifying it as an argument works, but modifying the m4 source doesn’t. I can post a diff but there’s quite a bit of differences. Anyone know enough about libtool to understand why these two things wouldn’t give identical results? Many thanks in advance!! -Ben Sent from my iPhone