1 dnl ######################################################################
2 dnl check style of unmounting filesystems
3 AC_DEFUN([AMU_CHECK_UMOUNT_STYLE],
5 AC_CACHE_CHECK(style of unmounting filesystems,
8 # select the correct style for unmounting filesystems
9 case "${host_os_name}" in
11 ac_cv_style_umount=linux ;;
12 bsd44* | bsdi* | freebsd* | netbsd* | openbsd* | darwin* | macosx* | rhapsody* )
13 ac_cv_style_umount=bsd44 ;;
15 ac_cv_style_umount=osf ;;
17 ac_cv_style_umount=aix ;;
19 ac_cv_style_umount=default ;;
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
28 dnl ======================================================================