From: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Sat, 30 Sep 2023 13:41:35 +0000 (-0400)
Subject: * configure.ca (open_memstream): New checked function
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f7fd21b06865d20a16c11e20776e843db24d4b14;p=emacs.git

* configure.ca (open_memstream): New checked function
---

diff --git a/configure.ac b/configure.ac
index f63eb870ffb..6eb6d297987 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6263,7 +6263,7 @@ AC_FUNC_FORK
 
 dnl AC_CHECK_FUNCS_ONCE wouldn’t be right for snprintf, which needs
 dnl the current CFLAGS etc.
-AC_CHECK_FUNCS([snprintf])
+AC_CHECK_FUNCS([snprintf open_memstream])
 
 dnl posix_spawn.  The chdir and setsid functionality is relatively
 dnl recent, so we check for it specifically.