10
8
if test "$pthread" = "auto" ; then
17
15
- if cc_check pthread.h -lpthread "pthread_create(0,0,0,0);" ; then
18
16
+ if cc_check pthread.h -lpthread "pthread_create(0,0,0,0); pthread_num_processors_np();" ; then
21
19
- elif cc_check pthread.h -lpthreadGC2 "pthread_create(0,0,0,0);" ; then
22
+ elif cc_check pthread.h -lpthreadGC2 "pthread_create(0,0,0,0); pthread_num_processors_np();" ; then
20
+ elif cc_check pthread.h -lpthreadGC2 "pthread_create(0,0,0,0); pthread_num_processors_np(); " ; then
24
22
libpthread="-lpthreadGC2"
25
23
- elif cc_check pthread.h "-lpthreadGC2 -lwsock32 -DPTW32_STATIC_LIB" "pthread_create(0,0,0,0);" ; then