Don't use .Xo/.Xc. Fix date format.
[netbsd-mini2440.git] / external / bsd / am-utils / dist / m4 / macros / check_nfs_sa_dref.m4
blob5fa1bea6d9b631cb2f533002850ab0c7631bde82
1 dnl ######################################################################
2 dnl check the correct way to dereference the address part of the nfs fhandle
3 AC_DEFUN([AMU_CHECK_NFS_SA_DREF],
5 AC_CACHE_CHECK(nfs address dereferencing style,
6 ac_cv_nfs_sa_dref_style,
8 # select the correct nfs address dereferencing style
9 case "${host_os}" in
10         hpux[[6-9]]* | hpux10* | sunos[[34]]* | solaris1* )
11                 ac_cv_nfs_sa_dref_style=default ;;
12         svr4* | sysv4* | solaris* | sunos* | hpux* )
13                 ac_cv_nfs_sa_dref_style=svr4 ;;
14         386bsd* | bsdi1* )
15                 ac_cv_nfs_sa_dref_style=386bsd ;;
16         bsd44* | bsdi* | freebsd* | netbsd* | openbsd* | darwin* | macosx* | rhapsody* )
17                 ac_cv_nfs_sa_dref_style=bsd44 ;;
18         linux* )
19                 ac_cv_nfs_sa_dref_style=linux ;;
20         aix* )
21                 ac_cv_nfs_sa_dref_style=aix3 ;;
22         aoi* )
23                 ac_cv_nfs_sa_dref_style=aoi ;;
24         isc3 )
25                 ac_cv_nfs_sa_dref_style=isc3 ;;
26         * )
27                 ac_cv_nfs_sa_dref_style=default ;;
28 esac
30 am_utils_nfs_sa_dref=$srcdir"/conf/sa_dref/sa_dref_"$ac_cv_nfs_sa_dref_style".h"
31 AC_SUBST_FILE(am_utils_nfs_sa_dref)
33 dnl ======================================================================