Home | History | Annotate | Download | only in m4

Lines Matching full:threads

13 dnl @summary figure out how to build C programs using POSIX threads
15 dnl This macro figures out how to build C programs using POSIX threads.
16 dnl It sets the PTHREAD_LIBS output variable to the threads library and
31 dnl If you are only building threads programs, you may wish to use
42 dnl ACTION-IF-FOUND is a list of shell commands to run if a threads
74 # etcetera environment variables, and if threads linking works using
92 # We must check for the threads library under a number of different
108 # none: in case threads are in libc; should be tried before -Kthread and
110 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
111 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
113 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
116 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
356 ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1])