From 9abb0a89ae66df0ead136ec6cc14eea302e6a074 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Wed, 17 Nov 2021 17:24:32 +0000 Subject: build: Stop linking pthread (#4695) Added on commit 137985136 ("Baseline firejail 0.9.28", 2015-08-08). See also commit ad6bb83fa ("consolidate makefiles", 2018-03-31). It is not used anywhere. And it looks like it has never been used anywhere: $ git log --oneline -Gpthread.h 137985136..master $ Issue mentioned by @rusty-snake: https://github.com/netblue30/firejail/issues/4642#issuecomment-955795463 --- configure.ac | 6 ------ 1 file changed, 6 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index fc5823143..5ef97cbd0 100644 --- a/configure.ac +++ b/configure.ac @@ -291,12 +291,6 @@ AS_IF([test "x$enable_lts" = "xyes"], [ AC_SUBST(HAVE_CONTRIB_INSTALL) ]) - - - -# checking pthread library -AC_CHECK_LIB([pthread], [main], [], AC_MSG_ERROR([*** POSIX thread support not installed ***])) -AC_CHECK_HEADER(pthread.h,,AC_MSG_ERROR([*** POSIX thread support not installed ***])) AC_CHECK_HEADER([linux/seccomp.h],,AC_MSG_ERROR([*** SECCOMP support is not installed (/usr/include/linux/seccomp.h missing) ***])) # set sysconfdir -- cgit v1.2.3-70-g09d2