Include <ucred.h> if we have getpeerucred()
[heimdal.git] / cf / osfc2.m4
blobcb8768a0c1ee0b54b16699b4345b2156fa2c06dd
1 dnl $Id$
2 dnl
3 dnl enable OSF C2 stuff
5 AC_DEFUN([AC_CHECK_OSFC2],[
6 AC_ARG_ENABLE(osfc2,
7         AS_HELP_STRING([--enable-osfc2],[enable some OSF C2 support]))
8 LIB_security=
9 if test "$enable_osfc2" = yes; then
10         AC_DEFINE(HAVE_OSFC2, 1, [Define to enable basic OSF C2 support.])
11         LIB_security=-lsecurity
13 AC_SUBST(LIB_security)