Fix short allocation in libc RTLD for static-compiled programs.
[dragonfly.git] / crypto / heimdal-0.6.3 / cf / krb-struct-spwd.m4
blob49d8efdbbe22af1b29342f4c9ca6fea8ce5dbaf9
1 dnl $Id: krb-struct-spwd.m4,v 1.3.32.1 2004/04/01 07:27:34 joda Exp $
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_TRY_COMPILE(
9 [#include <pwd.h>
10 #ifdef HAVE_SHADOW_H
11 #include <shadow.h>
12 #endif],
13 [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])