summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-01-14 07:51:16 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-01-14 07:51:16 +0800
commit8d4b8195833c9ace6b5a2259a7daaa567bc6eee0 (patch)
tree39fa6d2e2f72728122146e5792b32b5eacde7259 /configure.ac
parent1acec3c9832401f703867d80e3bc598d56f44494 (diff)
Use pthread when there's no C11 threads
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 7ce3b34..7f4be42 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,6 +4,8 @@ AC_PROG_CC
AM_PROG_AR
LT_INIT
PKG_CHECK_MODULES([TIDY], [tidy])
+AC_CHECK_HEADERS([threads.h],
+ [AC_DEFINE([HAVE_THREADS_H])])
AC_CHECK_HEADER_STDBOOL
AC_C_INLINE
AC_CHECK_FUNCS([memset])