1dnl ######################################################################
2dnl check for type of pte_t (for Irix, usually in <sys/immu.h>)
3dnl Note: some gcc's on Irix 6.5 are broken and don't recognize pte_t,
4dnl so I'm defining it here to unsigned int, which is not necessarily correct,
5dnl but at least it gets am-utils to compile.
6AC_DEFUN([AMU_TYPE_PTE_T],
7[AC_CHECK_TYPE(pte_t, ,
8[AC_DEFINE_UNQUOTED(pte_t, unsigned int,
9	 [Check if pte_t is defined in <sys/immu.h>])],
10[
11#ifdef HAVE_SYS_IMMU_H
12# include <sys/immu.h>
13#endif /* HAVE_SYS_IMMU_H */
14])])
15dnl ======================================================================
16