old-build: accidental rewrite

This started as a bunch of smaller changes to make the old configure
script maintainable with minimum effort. It ended up as complete
rewrite, because at once point I started to like shell programming (I
hope this sickness is curable), and I wanted to see how small I can
make the configure script. The typical configure test is now 1 or 2
lines big, located in 1 or 2 places, instead of >15 lines and being
spread over 5 or 6 places.

The main "trick" is factoring the tests into a few generic, commonly
needed tests, instead of writing everything manually.
This commit is contained in:
wm4
2014-05-14 20:29:00 +02:00
parent eb4487cc4f
commit d0a66dbd5d
2 changed files with 494 additions and 2068 deletions

View File

File diff suppressed because it is too large Load Diff