Hi Helmut, Thanks for the bugreport and patch, but did you realized that there's a FTBFS on linux when this patch is applied?
It results in configure being called with the "--with-diskstats" flag twice. I'll look further into these changes on the next days (i'll have to check if there's a doubled flag on kfreebsd with this patch too). -- Samuel Henrique <samueloph>