ср, 26 июн. 2019 г. в 17:00, Alon Bar-Lev alon.barlev@gmail.com:
On Wed, Jun 26, 2019 at 4:53 PM Jeffrey Walton noloader@gmail.com wrote:
On Wed, Jun 26, 2019 at 9:45 AM Niels Möller nisse@lysator.liu.se wrote:
... From which autoconf version? I'd be happy to require a recent autoconf and drop this code if it's no longer needed. When this hack was added, it was the case that one or the other of
Please NO. Don't require an updated Autotools version.
It is impossible to update Autotools on existing systems. I've never been able to do it on Linux, OS X and Solaris. The GCC Compile Farm maintainers were not able to do it on compile farm machines like AIX.
Stay with the basics. Things already work well. Allow a user to override libdir using standard options. Don't do fancy things that break builds.
Also see https://www.gnu.org/prep/standards/html_node/Directory-Variables.html.
Since ever, packages should not have modified any of the system autoconf variables. I believe that nettle is one of the few that attempt to override the autoconf detection. I do not want to enter philosophical argument, just to kindly ask to have the option to disable this proprietary logic.
What about just checking if libdir was overwritten via argument and not touching it if it was the case? Will that work for you?