5 dnl See if struct statfs has the f_fstypename member.
6 dnl If so, define HAVE_F_FSTYPENAME_IN_STATFS.
9 AC_DEFUN(jm_FSTYPENAME,
11 AC_CACHE_CHECK([for f_fstypename in struct statfs],
12 fu_cv_sys_f_fstypename_in_statfs,
16 #include <sys/param.h>
17 #include <sys/types.h>
18 #include <sys/mount.h>
20 [struct statfs s; int i = sizeof s.f_fstypename;],
21 fu_cv_sys_f_fstypename_in_statfs=yes,
22 fu_cv_sys_f_fstypename_in_statfs=no
27 if test $fu_cv_sys_f_fstypename_in_statfs = yes; then
28 AC_DEFINE_UNQUOTED(HAVE_F_FSTYPENAME_IN_STATFS, 1,
29 [Define if struct statfs has the f_fstypename member.])