Page MenuHomePhabricator

Add a deprecation notice for the autotools build system
ClosedPublic

Authored by Fabien on Apr 24 2020, 13:14.

Details

Summary

This add a mandatory option to run the configure script. The configure
stage will fail if the --enable-deprecated-build-system is not set,
and an error message instructs the user of the deprecation.

Depends on D5823.

Test Plan
./configure

Check it fails early with the error message

./configure --enable-deprecated-build-system
make

Check the build succeeds as usual.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Are we 100% positive this is at feature parity?

configure.ac
109 ↗(On Diff #19080)

link to doc would be handy here

deadalnix requested changes to this revision.Apr 24 2020, 15:17
This revision now requires changes to proceed.Apr 24 2020, 15:17

Link to the doc in the deprecation message.

I did another pass of review of the configure.ac and *.am files before submitting this diff, and the only missing feature is the option to use the system version of univalue.
This option was introduced by core for people willing to use the upstream version rather than their own fork, but since we are following the upstream version I don't think it is very useful for us.

This revision is now accepted and ready to land.Apr 24 2020, 16:57