1 dnl ######################################################################
2 dnl Find if type 'fhandle' exists
3 AC_DEFUN([AMU_CHECK_FHANDLE],
5 AC_CACHE_CHECK(if plain fhandle type exists,
8 # try to compile a program which may have a definition for the type
9 # set to a default value
11 # look for "struct nfs_fh"
12 if test "$ac_cv_have_fhandle" = no
16 ], ac_cv_have_fhandle=yes, ac_cv_have_fhandle=no)
20 if test "$ac_cv_have_fhandle" != no
22 AC_DEFINE(HAVE_FHANDLE)
25 dnl ======================================================================