(from #31338 comment:13)
These changes are preparation for modularization and is also intended to make downstream packaging easier.
CC: @kiwifb @antonio-rojas @dimpase @videlec @jhpalmieri
Component: build: configure
Author: Matthias Koeppe, François Bissey
Branch/Commit: 985af6e
Reviewer: Dima Pasechnik, François Bissey
Issue created by migration from https://trac.sagemath.org/ticket/32036