original ports could not build on -CURRENT, which complains errors in activity.h. I've check activity.h, there is no errors, but has lots of comments in it. There for i moved the problem line before those comments, and then it passed. Maybe it's a compiler-related problem? Fix: this diff fixed the problem described above, and it also contains changes to made java & hdf5 support to optional.
State Changed From-To: open->closed Commited, thanks!