1 dnl ######################################################################
2 dnl check the unmount system call arguments needed for
3 AC_DEFUN([AMU_CHECK_UNMOUNT_ARGS],
5 AC_CACHE_CHECK(unmount system-call arguments,
8 # select the correct style to mount(2) a filesystem
9 case "${host_os_name}" in
11 ac_cv_unmount_args="mnt->mnt_passno, 0" ;;
13 ac_cv_unmount_args="mnt->mnt_passno" ;;
15 ac_cv_unmount_args="mnt->mnt_dir" ;;
18 am_utils_unmount_args=$ac_cv_unmount_args
19 AC_SUBST(am_utils_unmount_args)
21 dnl ======================================================================