aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2021-02-21 02:56:13 +0100
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2021-02-22 14:17:40 +0100
commit9bac71350d98580cc7441957fc7c3fa2f4158553 (patch)
treeaa8a2c899a3f88a3f0d161ccf52d3cc5410af0ae /configure.ac
parent584fd91d2d294883e6896dbd64a2176528e94581 (diff)
build: make HAVE_O_CLOEXEC available outside LevelDB (bugfix)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 426b184e5d..ca4ee94843 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1151,6 +1151,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <fcntl.h>]],
[ AC_MSG_RESULT(yes); HAVE_O_CLOEXEC=1 ],
[ AC_MSG_RESULT(no); HAVE_O_CLOEXEC=0 ]
)
+AC_DEFINE_UNQUOTED([HAVE_O_CLOEXEC], [$HAVE_O_CLOEXEC], [Define to 1 if O_CLOEXEC flag is available.])
dnl crc32c platform checks
AC_MSG_CHECKING(for __builtin_prefetch)