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
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 ;;
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 ;;
19 ac_cv_nfs_sa_dref_style=linux ;;
21 ac_cv_nfs_sa_dref_style=aix3 ;;
23 ac_cv_nfs_sa_dref_style=aoi ;;
25 ac_cv_nfs_sa_dref_style=isc3 ;;
27 ac_cv_nfs_sa_dref_style=default ;;
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 ======================================================================