1 dnl $Heimdal: krb-struct-spwd.m4 14166 2004-08-26 12:35:42Z joda $
4 dnl Test for `struct spwd'
6 AC_DEFUN([AC_KRB_STRUCT_SPWD], [
7 AC_MSG_CHECKING(for struct spwd)
8 AC_CACHE_VAL(ac_cv_struct_spwd, [
9 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
13 #endif]],[[struct spwd foo;]])],
14 [ac_cv_struct_spwd=yes],
15 [ac_cv_struct_spwd=no])
17 AC_MSG_RESULT($ac_cv_struct_spwd)
19 if test "$ac_cv_struct_spwd" = "yes"; then
20 AC_DEFINE(HAVE_STRUCT_SPWD, 1, [define if you have struct spwd])