Mercurial > hg > octave-lojdl > gnulib-hg
view m4/fstypename.m4 @ 5103:ec9fb052682f
s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 13 Jul 2004 17:22:56 +0000 |
parents | 7141ea4946af |
children | 87c42e194f4a |
line wrap: on
line source
#serial 4 dnl From Jim Meyering. dnl dnl See if struct statfs has the f_fstypename member. dnl If so, define HAVE_F_FSTYPENAME_IN_STATFS. dnl AC_DEFUN([gl_FSTYPENAME], [ AC_CACHE_CHECK([for f_fstypename in struct statfs], fu_cv_sys_f_fstypename_in_statfs, [ AC_TRY_COMPILE( [ #include <sys/param.h> #include <sys/types.h> #include <sys/mount.h> ], [struct statfs s; int i = sizeof s.f_fstypename;], fu_cv_sys_f_fstypename_in_statfs=yes, fu_cv_sys_f_fstypename_in_statfs=no ) ] ) if test $fu_cv_sys_f_fstypename_in_statfs = yes; then AC_DEFINE(HAVE_F_FSTYPENAME_IN_STATFS, 1, [Define if struct statfs has the f_fstypename member.]) fi ] )