summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-04-05 19:22:45 +1000
committerDarren Tucker <dtucker@zip.com.au>2005-04-05 19:22:45 +1000
commit9d2562cf201e82d14d10abdd34009d8ab16a9d25 (patch)
tree4b19b39a37fc666b4bf71ee750eb5865a7ab7c90 /configure.ac
parent69152291e7dd83db673a85aba6a6f8d265f1871b (diff)
- (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 95ace7983..d879e7d41 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.257 2005/03/21 11:46:34 dtucker Exp $ 1# $Id: configure.ac,v 1.258 2005/04/05 09:22:45 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -1020,7 +1020,9 @@ if test "x$ac_cv_func_getpeereid" != "xyes" ; then
1020 [#include <sys/types.h> 1020 [#include <sys/types.h>
1021 #include <sys/socket.h>], 1021 #include <sys/socket.h>],
1022 [int i = SO_PEERCRED;], 1022 [int i = SO_PEERCRED;],
1023 [AC_MSG_RESULT(yes)], 1023 [ AC_MSG_RESULT(yes)
1024 AC_DEFINE(HAVE_SO_PEERCRED, [], [Have PEERCRED socket option])
1025 ],
1024 [AC_MSG_RESULT(no) 1026 [AC_MSG_RESULT(no)
1025 NO_PEERCHECK=1] 1027 NO_PEERCHECK=1]
1026 ) 1028 )