[lxc-devel] [lxc/stable-2.0] TESTING

brauner on Github lxc-bot at linuxcontainers.org
Wed Feb 20 18:32:52 UTC 2019


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/20190220/a03cf999/attachment.bin>
-------------- next part --------------
From 9c177b33884d074e6f883c82b55abaa6e06ca76b Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Wed, 20 Feb 2019 19:32:04 +0100
Subject: [PATCH] TESTING

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 configure.ac | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4fc3932354..770c85e33d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -666,10 +666,9 @@ AC_CHECK_FUNCS(pthread_atfork)
 AC_CHECK_FUNCS(statvfs)
 AC_CHECK_LIB(util, openpty)
 AC_CHECK_FUNCS([openpty hasmntopt setmntent endmntent utmpxname])
-AC_CHECK_FUNCS([getgrgid_r],
-	AM_CONDITIONAL(HAVE_GETGRGID_R, true)
-	AC_DEFINE(HAVE_GETGRGID_R,1,[Have getgrgid_r]),
-	AM_CONDITIONAL(HAVE_GETGRGID_R, false))
+AC_CHECK_FUNCS([getgrgid_r], [have_getgrgid_r="yes"])
+AM_CONDITIONAL(HAVE_GETGRGID_R, test x$have_getgrgid_r = xyes)
+
 AC_CHECK_FUNCS([getline],
 	AM_CONDITIONAL(HAVE_GETLINE, true)
 	AC_DEFINE(HAVE_GETLINE,1,[Have getline]),


More information about the lxc-devel mailing list