Remove building with NOCRYPTO option
[minix.git] / crypto / external / bsd / heimdal / dist / cf / krb-struct-spwd.m4
blobf93ba0198fb9afe57d8862c7531129103c92ff50
1 dnl Id
2 dnl
3 dnl Test for `struct spwd'
5 AC_DEFUN([AC_KRB_STRUCT_SPWD], [
6 AC_MSG_CHECKING(for struct spwd)
7 AC_CACHE_VAL(ac_cv_struct_spwd, [
8 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
9 #include <pwd.h>
10 #ifdef HAVE_SHADOW_H
11 #include <shadow.h>
12 #endif]],[[struct spwd foo;]])],
13 [ac_cv_struct_spwd=yes],
14 [ac_cv_struct_spwd=no])
16 AC_MSG_RESULT($ac_cv_struct_spwd)
18 if test "$ac_cv_struct_spwd" = "yes"; then
19   AC_DEFINE(HAVE_STRUCT_SPWD, 1, [define if you have struct spwd])