No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / am-utils / dist / m4 / macros / check_checkmount_style.m4
blob404a3ecc800cac703541b4d339f2668ea38e7979
1 dnl ######################################################################
2 dnl check style of fixmount check_mount() function
3 AC_DEFUN([AMU_CHECK_CHECKMOUNT_STYLE],
5 AC_CACHE_CHECK(style of fixmount check_mount(),
6 ac_cv_style_checkmount,
8 # select the correct style for unmounting filesystems
9 case "${host_os_name}" in
10         svr4* | sysv4* | solaris2* | sunos5* )
11                         ac_cv_style_checkmount=svr4 ;;
12         bsd44* | bsdi* | freebsd* | netbsd* | openbsd* | darwin* | macosx* | rhapsody* )
13                         ac_cv_style_checkmount=bsd44 ;;
14         aix* )
15                         ac_cv_style_checkmount=aix ;;
16         osf* )
17                         ac_cv_style_checkmount=osf ;;
18         ultrix* )
19                         ac_cv_style_checkmount=ultrix ;;
20         * )
21                         ac_cv_style_checkmount=default ;;
22 esac
24 am_utils_checkmount_style_file="check_mount.c"
25 am_utils_link_files=${am_utils_link_files}fixmount/${am_utils_checkmount_style_file}:conf/checkmount/checkmount_${ac_cv_style_checkmount}.c" "
28 dnl ======================================================================