brew has migrated hdf5 and autoconf does seem to be up to date. As a result, the code cannot be run on a mac if following the readme.