[lxc-devel] [lxc/master] configure: check for getgrgid_r()

brauner on Github lxc-bot at linuxcontainers.org
Thu Jun 14 22:17:48 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180614/770a688e/attachment.bin>
-------------- next part --------------
From 3fe4e221e1033d58419dec84c91718253b5923b0 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Fri, 15 Jun 2018 00:17:01 +0200
Subject: [PATCH] configure: check for getgrgid_r()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 91e51d324..5086d6629 100644
--- a/configure.ac
+++ b/configure.ac
@@ -599,7 +599,7 @@ AC_CHECK_FUNCS([setns pivot_root sethostname unshare rand_r confstr faccessat ge
 AC_CHECK_LIB(pthread, main)
 AC_CHECK_FUNCS(statvfs)
 AC_CHECK_LIB(util, openpty)
-AC_CHECK_FUNCS([openpty hasmntopt setmntent endmntent utmpxname])
+AC_CHECK_FUNCS([openpty hasmntopt setmntent endmntent utmpxname getgrgid_r])
 AC_CHECK_FUNCS([getline],
 	AM_CONDITIONAL(HAVE_GETLINE, true)
 	AC_DEFINE(HAVE_GETLINE,1,[Have getline]),


More information about the lxc-devel mailing list