krb-struct-spwd.m4 revision 55682
1dnl $Id: krb-struct-spwd.m4,v 1.3 1999/07/13 21:04:11 assar Exp $ 2dnl 3dnl Test for `struct spwd' 4 5AC_DEFUN(AC_KRB_STRUCT_SPWD, [ 6AC_MSG_CHECKING(for struct spwd) 7AC_CACHE_VAL(ac_cv_struct_spwd, [ 8AC_TRY_COMPILE( 9[#include <pwd.h> 10#ifdef HAVE_SHADOW_H 11#include <shadow.h> 12#endif], 13[struct spwd foo;], 14ac_cv_struct_spwd=yes, 15ac_cv_struct_spwd=no) 16]) 17AC_MSG_RESULT($ac_cv_struct_spwd) 18 19if test "$ac_cv_struct_spwd" = "yes"; then 20 AC_DEFINE(HAVE_STRUCT_SPWD, 1, [define if you have struct spwd]) 21fi 22]) 23