From bc6fec4422ddc84541776b6f0cfca1542e28f350 Mon Sep 17 00:00:00 2001 From: Roman Bogorodskiy Date: Thu, 23 Feb 2017 09:52:38 +0400 Subject: build: check for getpeereid In common/unix-peer.c, we are checking if HAVE_GETPEEREID is defined, however, we never actually check if getpeereid() is available, so fix that by checking this function using AC_CHECK_FUNCS(). --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index ec2c259..12feff8 100644 --- a/configure.ac +++ b/configure.ac @@ -91,6 +91,7 @@ if test "$os_unix" = "yes"; then AC_CHECK_FUNCS([strnstr memdup strndup strerror_r]) AC_CHECK_FUNCS([fdwalk]) AC_CHECK_FUNCS([setenv]) + AC_CHECK_FUNCS([getpeereid]) # Required functions AC_CHECK_FUNCS([gmtime_r], -- cgit v1.1