configure is (correctly) checking for function fstatvfs(), and finding it. However there is also a configure test for vsf.h which sets HAVE_SYS_VFS_H, and results in
By inspection, windows target does not provide for fstatvsf(), and both AIX and linux provide this prototype in <sys/statvsf.h>, not in <sys/vsf.h>. I dunno which other OS targets you guys have on your radar where perhaps vsf.h is the correct answer?
I have altered the include to be <sys/statvsf.h> and all is well. I am happy to provide a patch for the c code, but am reluctant to fiddle with automake / autoconf tests - my version of auto-tools is very different from that shipped with fontconfig.
You mean vfs.h
Well, it is not for fstatvfs() but statfs().
Anyway, it is just a typo while it is used for checking members for struct statvfs. I'll fix it in git soon.
Sorry, yes vfs.h not vsf.h ......
fixed in git 7d756532.