autoconf: autoupdate macros
[openafs.git] / src / cf / solaris-fs-rolled.m4
1 AC_DEFUN([SOLARIS_FS_HAS_FS_ROLLED], [
2   AC_CACHE_CHECK([for fs_rolled in struct proc],
3     [ac_cv_solaris_fs_has_fs_rolled],
4     [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/fs/ufs_fs.h>]], [[struct fs _fs; (void) _fs.fs_rolled;]])],[ac_cv_solaris_fs_has_fs_rolled=yes],[ac_cv_solaris_fs_has_fs_rolled=no])
5   ])
6   AS_IF([test "$ac_cv_solaris_fs_has_fs_rolled" = "yes"],
7         [AC_DEFINE(STRUCT_FS_HAS_FS_ROLLED, 1,
8                    [define if struct fs has fs_rolled])
9   ])
10 ])
11