1 dnl ######################################################################
2 dnl check style of accessing the mount table file
3 AC_DEFUN([AMU_CHECK_MNTTAB_STYLE],
5 AC_CACHE_CHECK(mount table style,
8 # select the correct style for mount table manipulation functions
9 case "${host_os_name}" in
11 ac_cv_style_mnttab=aix ;;
12 bsd* | bsdi* | freebsd* | netbsd* | openbsd* | darwin* | macosx* | rhapsody* )
13 ac_cv_style_mnttab=bsd ;;
15 ac_cv_style_mnttab=isc3 ;;
17 ac_cv_style_mnttab=mach3 ;;
19 ac_cv_style_mnttab=osf ;;
20 svr4* | sysv4* | solaris2* | sunos5* | aoi* )
21 ac_cv_style_mnttab=svr4 ;;
23 ac_cv_style_mnttab=ultrix ;;
25 ac_cv_style_mnttab=linux ;;
27 ac_cv_style_mnttab=file ;;
30 am_utils_link_files=${am_utils_link_files}libamu/mtabutil.c:conf/mtab/mtab_${ac_cv_style_mnttab}.c" "
32 # append mtab utilities object to LIBOBJS for automatic compilation
35 dnl ======================================================================