ObjFW  Diff

Differences From Artifact [049df84b49]:

To Artifact [dfcebab81d]:


572
573
574
575
576
577
578
579


580
581
582
583
584
585
586
572
573
574
575
576
577
578

579
580
581
582
583
584
585
586
587







-
+
+








		AX_CHECK_COMPILER_FLAGS(-pthread, [
			CPPFLAGS="$CPPFLAGS -pthread"
		], [
			CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_THREAD_SAFE"
		])

		LIBS="$LIBS -lpthread"
		AC_CHECK_LIB(pthread, pthread_create, LIBS="$LIBS -lpthread")

		AC_TRY_LINK([
			#include <pthread.h>
		], [
			pthread_create(NULL, NULL, NULL, NULL);
		], [], [
			AC_MSG_ERROR(No supported threads found!)
		])