Lines Matching refs:threads
11 # This macro figures out how to build C programs using POSIX threads. It
12 # sets the PTHREAD_LIBS output variable to the threads library and linker
40 # ACTION-IF-FOUND is a list of shell commands to run if a threads library
100 # etcetera environment variables, and if threads linking works using
121 # We must check for the threads library under a number of different
137 # none: in case threads are in libc; should be tried before -Kthread and
139 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
140 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
143 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
157 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
174 # enable POSIX threads at all, so give the user a hint if this is
255 # supports has POSIX threads in a separate library. This tends not
259 # to get POSIX threads support; the API is always present and
278 # supported by AX_PTHREAD require exactly this for POSIX threads
478 ifelse([$1],,[AC_DEFINE([HAVE_PTHREAD],[1],[Define if you have POSIX threads libraries and header files.])],[$1])