Things to do:

- use autoconf
- at the moment it only works for unified diffs; fix that
