diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-01-14 07:51:16 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-01-14 07:51:16 +0800 |
commit | 8d4b8195833c9ace6b5a2259a7daaa567bc6eee0 (patch) | |
tree | 39fa6d2e2f72728122146e5792b32b5eacde7259 /configure.ac | |
parent | 1acec3c9832401f703867d80e3bc598d56f44494 (diff) |
Use pthread when there's no C11 threads
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
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]) |