aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2021-02-22 00:25:17 +0100
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2021-02-22 14:17:24 +0100
commit584fd91d2d294883e6896dbd64a2176528e94581 (patch)
treee08052110d4bd71d68b3bfc96e9c931dcae64ba0 /configure.ac
parent828bb776d29cbdfad3937ba100c428e3244c652f (diff)
downloadbitcoin-584fd91d2d294883e6896dbd64a2176528e94581.tar.xz
init: only use pipe2 if availabile, check in configure
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c0e3b32e3b..426b184e5d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -925,6 +925,8 @@ AC_CHECK_DECLS([strnlen])
dnl Check for daemon(3), unrelated to --with-daemon (although used by it)
AC_CHECK_DECLS([daemon])
+AC_CHECK_DECLS([pipe2])
+
AC_CHECK_DECLS([le16toh, le32toh, le64toh, htole16, htole32, htole64, be16toh, be32toh, be64toh, htobe16, htobe32, htobe64],,,
[#if HAVE_ENDIAN_H
#include <endian.h>