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
Branch
deprecate_autotools
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 10379
Build 18579: Default Diff Build & Tests
Build 18578: arc lint + arc unit

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