From 8d4b8195833c9ace6b5a2259a7daaa567bc6eee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Fri, 14 Jan 2022 07:51:16 +0800 Subject: Use pthread when there's no C11 threads --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') 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]) -- cgit v1.2.3