1 dnl ######################################################################
2 dnl check style of mounting filesystems
3 AC_DEFUN([AMU_CHECK_MOUNT_STYLE],
5 AC_CACHE_CHECK(style of mounting filesystems,
8 # select the correct style for mounting filesystems
9 case "${host_os_name}" in
10 solaris1* | sunos[[34]]* | bsdi[[12]]* )
11 ac_cv_style_mount=default ;;
12 hpux[[6-9]]* | hpux10* )
13 ac_cv_style_mount=hpux ;;
14 svr4* | sysv4* | solaris* | sunos* | aoi* | hpux* )
15 ac_cv_style_mount=svr4 ;;
17 ac_cv_style_mount=bsdi3 ;;
19 ac_cv_style_mount=aix3 ;;
21 ac_cv_style_mount=aix ;;
23 ac_cv_style_mount=irix5 ;;
25 ac_cv_style_mount=irix6 ;;
27 ac_cv_style_mount=isc3 ;;
29 ac_cv_style_mount=linux ;;
31 ac_cv_style_mount=mach3 ;;
33 ac_cv_style_mount=stellix ;;
34 * ) # no style needed. Use default filesystem calls ala BSD
35 ac_cv_style_mount=default ;;
38 am_utils_mount_style_file="mountutil.c"
39 am_utils_link_files=${am_utils_link_files}libamu/${am_utils_mount_style_file}:conf/mount/mount_${ac_cv_style_mount}.c" "
41 # append mount utilities object to LIBOBJS for automatic compilation
44 dnl ======================================================================