dnl ###################################################################### dnl check style of mounting filesystems AC_DEFUN([AMU_CHECK_MOUNT_STYLE], [ AC_CACHE_CHECK(style of mounting filesystems, ac_cv_style_mount, [ # select the correct style for mounting filesystems case "${host_os_name}" in solaris1* | sunos[[34]]* | bsdi[[12]]* ) ac_cv_style_mount=default ;; hpux[[6-9]]* | hpux10* ) ac_cv_style_mount=hpux ;; svr4* | sysv4* | solaris* | sunos* | aoi* | hpux* ) ac_cv_style_mount=svr4 ;; bsdi* ) ac_cv_style_mount=bsdi3 ;; aix3* | aix4* ) ac_cv_style_mount=aix3 ;; aix* ) ac_cv_style_mount=aix ;; irix5* ) ac_cv_style_mount=irix5 ;; irix* ) ac_cv_style_mount=irix6 ;; isc3* ) ac_cv_style_mount=isc3 ;; linux* ) ac_cv_style_mount=linux ;; mach3* ) ac_cv_style_mount=mach3 ;; stellix* ) ac_cv_style_mount=stellix ;; * ) # no style needed. Use default filesystem calls ala BSD ac_cv_style_mount=default ;; esac ]) am_utils_mount_style_file="mountutil.c" am_utils_link_files=${am_utils_link_files}libamu/${am_utils_mount_style_file}:conf/mount/mount_${ac_cv_style_mount}.c" " # append mount utilities object to LIBOBJS for automatic compilation AC_LIBOBJ(mountutil) ]) dnl ====================================================================== |