summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2021-04-08 20:38:30 +0200
committerEmanuele Rocca <ema@debian.org>2023-10-06 13:16:57 +0200
commita18cac3aa419ff360ebaac82fe100f19903b48a3 (patch)
treedc86af268a0585fde5e490f8f2a657b494d8551d
parent8b8bf9ebf7fce1af5887c26718eb73545cdde691 (diff)
Fix FTCBFS. (Closes: #986653)
Gbp-Pq: Name fix-ftcbfs.-closes-986653.patch
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5c25486..3e8ac35 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,6 +146,9 @@ AC_SEARCH_LIBS([io_setup], [aio])
AC_CHECK_HEADERS([sys/shm.h])
AC_SEARCH_LIBS([shm_open], [rt])
+AC_CHECK_TYPE([pthread_barrier_t],[
+ AC_DEFINE(HAVE_PTHREAD_BARRIER, [1], [Define to 1 if the system has `pthread_barrier'.])
+],[],[#include <pthread.h>])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL