From 9d2562cf201e82d14d10abdd34009d8ab16a9d25 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 5 Apr 2005 19:22:45 +1000 Subject: - (dtucker) [configure.ac] Define HAVE_SO_PEERCRED if we have it. ok djm@ --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 95ace7983..d879e7d41 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.257 2005/03/21 11:46:34 dtucker Exp $ +# $Id: configure.ac,v 1.258 2005/04/05 09:22:45 dtucker Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -1020,7 +1020,9 @@ if test "x$ac_cv_func_getpeereid" != "xyes" ; then [#include #include ], [int i = SO_PEERCRED;], - [AC_MSG_RESULT(yes)], + [ AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_SO_PEERCRED, [], [Have PEERCRED socket option]) + ], [AC_MSG_RESULT(no) NO_PEERCHECK=1] ) -- cgit v1.2.3