aboutsummaryrefslogtreecommitdiff
path: root/m4/macros/type_rpcvers_t.m4
blob: d0fa8c14088447ee718bce02eb32aaadebc9282a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
dnl ######################################################################
dnl check for type of rpcvers_t (usually in <rpc/types.h>)
AC_DEFUN([AMU_TYPE_RPCVERS_T],
[AC_CHECK_TYPE(rpcvers_t, ,
[AC_DEFINE_UNQUOTED(rpcvers_t, unsigned long, [Check if rpcvers_t is defined in <rpc/types.h>])],
[
#ifdef HAVE_RPC_TYPES_H
# include <rpc/types.h>
#endif /* HAVE_RPC_TYPES_H */
])])
dnl ======================================================================