Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / am-utils / dist / m4 / macros / check_unmount_args.m4
blob678f5ba9c997891fe26729e056af26f1b3bd7924
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,
6 ac_cv_unmount_args,
8 # select the correct style to mount(2) a filesystem
9 case "${host_os_name}" in
10         aix* )
11                 ac_cv_unmount_args="mnt->mnt_passno, 0" ;;
12         ultrix* )
13                 ac_cv_unmount_args="mnt->mnt_passno" ;;
14         * )
15                 ac_cv_unmount_args="mnt->mnt_dir" ;;
16 esac
18 am_utils_unmount_args=$ac_cv_unmount_args
19 AC_SUBST(am_utils_unmount_args)
21 dnl ======================================================================