1dnl ###################################################################### 2dnl Find the correct type for CACHEFS mount(2) arguments structure 3AC_DEFUN([AMU_TYPE_CACHEFS_ARGS], 4[ 5AC_CACHE_CHECK(for structure type of cachefs mount(2) arguments, 6ac_cv_type_cachefs_args, 7[ 8# set to a default value 9ac_cv_type_cachefs_args=notfound 10# look for "struct cachefs_mountargs" 11if test "$ac_cv_type_cachefs_args" = notfound 12then 13AC_TRY_COMPILE_ANYFS( 14[ struct cachefs_mountargs a; 15], ac_cv_type_cachefs_args="struct cachefs_mountargs", ac_cv_type_cachefs_args=notfound) 16fi 17]) 18if test "$ac_cv_type_cachefs_args" != notfound 19then 20 AC_DEFINE_UNQUOTED(cachefs_args_t, $ac_cv_type_cachefs_args) 21fi 22]) 23dnl ====================================================================== 24