cdown / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone

Blame SOURCES/0184-build-sys-add-missing-open_memstream-test.patch

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