1
dnl ######################################################################
2
dnl Find the correct type for CACHEFS mount(2) arguments structure
3
AC_DEFUN(AC_TYPE_CACHEFS_ARGS,
5
AC_CACHE_CHECK(for structure type of cachefs mount(2) arguments,
6
ac_cv_type_cachefs_args,
8
# set to a default value
9
ac_cv_type_cachefs_args=notfound
10
# look for "struct cachefs_mountargs"
11
if test "$ac_cv_type_cachefs_args" = notfound
14
[ struct cachefs_mountargs a;
15
], ac_cv_type_cachefs_args="struct cachefs_mountargs", ac_cv_type_cachefs_args=notfound)
18
if test "$ac_cv_type_cachefs_args" != notfound
20
AC_DEFINE_UNQUOTED(cachefs_args_t, $ac_cv_type_cachefs_args)
23
dnl ======================================================================