+ if test $have_xattr = no -a \
+ x${HAVE_TRU64_OS}_TRUE = x; then
+ AC_CHECK_HEADER(sys/proplist.h, [ AC_DEFINE(HAVE_SYS_PROPLIST_H,1,[Defines if your system have the sys/proplist.h header file])] , )
+ AC_CHECK_FUNCS(getproplist get_proplist_entry sizeof_proplist_entry add_proplist_entry setproplist,
+ [
+ have_xattr=yes
+ AC_DEFINE([HAVE_GETPROPLIST],1,[Define to 1 if you have the 'getproplist' function.])
+ AC_DEFINE([HAVE_GET_PROPLIST_ENTRY],1,[Define to 1 if you have the 'get_proplist_entry' function.])
+ AC_DEFINE([HAVE_SIZEOF_PROPLIST_ENTRY],1,[Define to 1 if you have the 'sizeof_proplist_entry' function.])
+ AC_DEFINE([HAVE_ADD_PROPLIST_ENTRY],1,[Define to 1 if you have the 'add_proplist_entry' function.])
+ AC_DEFINE([HAVE_SETPROPLIST],1,[Define to 1 if you have the 'setproplist' function.])
+ ]
+ )
+ fi
+
+ dnl
+ dnl If we failed to find TRU64 support try the SOLARIS implementation of extented and extensible attributes
+ dnl when running on a Solaris.
+ dnl
+ if test $have_xattr = no -a \
+ x${HAVE_SUN_OS}_TRUE = x; then