No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / am-utils / dist / m4 / macros / check_umount_style.m4
blobc5abcf12ea74438952208a30c4916c8aaa997ede
1 dnl ######################################################################
2 dnl check style of unmounting filesystems
3 AC_DEFUN([AMU_CHECK_UMOUNT_STYLE],
5 AC_CACHE_CHECK(style of unmounting filesystems,
6 ac_cv_style_umount,
8 # select the correct style for unmounting filesystems
9 case "${host_os_name}" in
10         linux* )
11                         ac_cv_style_umount=linux ;;
12         bsd44* | bsdi* | freebsd* | netbsd* | openbsd* | darwin* | macosx* | rhapsody* )
13                         ac_cv_style_umount=bsd44 ;;
14         osf* )
15                         ac_cv_style_umount=osf ;;
16         aix* )
17                         ac_cv_style_umount=aix ;;
18         * )
19                         ac_cv_style_umount=default ;;
20 esac
22 am_utils_umount_style_file="umount_fs.c"
23 am_utils_link_files=${am_utils_link_files}libamu/${am_utils_umount_style_file}:conf/umount/umount_${ac_cv_style_umount}.c" "
25 # append un-mount utilities object to LIBOBJS for automatic compilation
26 AC_LIBOBJ(umount_fs)
28 dnl ======================================================================