1dnl ###################################################################### 2dnl check style of fixmount check_mount() function 3AC_DEFUN([AMU_CHECK_CHECKMOUNT_STYLE], 4[ 5AC_CACHE_CHECK(style of fixmount check_mount(), 6ac_cv_style_checkmount, 7[ 8# select the correct style for unmounting filesystems 9case "${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 ;; 22esac 23]) 24am_utils_checkmount_style_file="check_mount.c" 25am_utils_link_files=${am_utils_link_files}fixmount/${am_utils_checkmount_style_file}:conf/checkmount/checkmount_${ac_cv_style_checkmount}.c" " 26 27]) 28dnl ====================================================================== 29