multiple changes

- copy in local copies of external headers
- copy in local copies of external m4 macros
- run doxygen
- fiddle with build system