cdown / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone
05ad79
From 43e53c69be2337b75e01919b14681e207ee05251 Mon Sep 17 00:00:00 2001
05ad79
From: Karel Zak <kzak@redhat.com>
05ad79
Date: Thu, 21 Mar 2019 13:54:19 +0100
05ad79
Subject: [PATCH 184/185] build-sys: add missing open_memstream() test
05ad79
05ad79
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1667942
05ad79
Signed-off-by: Karel Zak <kzak@redhat.com>
05ad79
---
05ad79
 configure.ac | 1 +
05ad79
 1 file changed, 1 insertion(+)
05ad79
05ad79
diff --git a/configure.ac b/configure.ac
05ad79
index 3f07df495..7381a9e5e 100644
05ad79
--- a/configure.ac
05ad79
+++ b/configure.ac
05ad79
@@ -358,6 +358,7 @@ AC_FUNC_FSEEKO
05ad79
 
05ad79
 AC_CHECK_FUNCS([openat fstatat unlinkat], [have_openat=yes], [have_openat=no])
05ad79
 AC_CHECK_FUNCS([ioperm iopl], [have_io=yes])
05ad79
+AC_CHECK_FUNCS([open_memstream], [have_open_memstream=yes],[have_open_memstream=no])
05ad79
 
05ad79
 AC_CHECK_MEMBER(struct sockaddr.sa_len,
05ad79
 		AC_DEFINE_UNQUOTED(HAVE_SA_LEN,1,[Define if struct sockaddr contains sa_len]),,
05ad79
-- 
05ad79
2.20.1
05ad79