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