I just pushed 5 patches containing the beginnings of an implementation of a new 'benchmark' section:
* Add a Benchmark data type for representing 'benchmark' sections
* Parse 'benchmark' sections and handle configurations (flags) for benchmarks
* Parse the --{enable,disable}-benchmarks command line flag
* Implement 'configure' and preprocessing for benchmarks
* Add unit test for benchmark section
I've implemented everything up to (and including) 'configure'. I've also added a unit test.
Next up is actual build support and a few things surrounding tarball generation, installation, etc.