1dnl ###################################################################### 2dnl check for type of xdrproc_t (usually in <rpc/xdr.h>) 3AC_DEFUN([AMU_TYPE_XDRPROC_T], 4[ 5AC_CACHE_CHECK(for xdrproc_t, 6ac_cv_type_xdrproc_t, 7[ 8# try to compile a program which may have a definition for the type 9dnl need a series of compilations, which will test out every possible type 10# look for "xdrproc_t" 11AC_TRY_COMPILE_RPC( 12[ xdrproc_t xdr_int; 13], ac_cv_type_xdrproc_t=yes, ac_cv_type_xdrproc_t=no) 14]) 15if test "$ac_cv_type_xdrproc_t" = yes 16then 17 AC_DEFINE_UNQUOTED(XDRPROC_T_TYPE, xdrproc_t) 18fi 19]) 20dnl ====================================================================== 21