1 AC_DEFUN([SOLARIS_PROC_HAS_P_COREFILE], [
2 AC_MSG_CHECKING(for p_corefile in struct proc)
3 AC_CACHE_VAL(ac_cv_solaris_proc_has_p_corefile,
7 #include <sys/proc.h>],
9 (void) _proc.p_corefile;],
10 ac_cv_solaris_proc_has_p_corefile=yes,
11 ac_cv_solaris_proc_has_p_corefile=no)])
12 AC_MSG_RESULT($ac_cv_solaris_proc_has_p_corefile)
13 if test "$ac_cv_solaris_proc_has_p_corefile" = "yes"; then
14 AC_DEFINE(HAVE_P_COREFILE, 1, [define if struct proc has p_corefile])