summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authordtucker <dtucker>2005-04-05 09:22:45 +0000
committerdtucker <dtucker>2005-04-05 09:22:45 +0000
commitfd63b555ce4d9a89a48adaf298856b39c391a3a6 (patch)
treee8d4cc465dc0a0309aa0efb5a29950cf1104e6b8 /configure.ac
parentcb2e5968a8bad3608d4cb47b1dff35dce6a7c831 (diff)
downloadopenssh-fd63b555ce4d9a89a48adaf298856b39c391a3a6.tar.gz
- (dtucker) [configure.ac] Define HAVE_SO_PEERCRED if we have it. ok djm@
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 95ace798..d879e7d4 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 <sys/types.h>
#include <sys/socket.h>],
[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]
)