comparison configure @ 14226:8de3c196a783

do not use pthreads on hpux (broken, hardly useful). For reference, I get the following when starting a version compiled with it: Pthread internal error: message: __libc_reinit() failed, file: /ux/core/kern/pthreads/pthread.c, line: 1093 Return Pointer is 0xc0e29273 Quit
author reimar
date Thu, 23 Dec 2004 15:36:00 +0000
parents 878f3e2a07da
children 17dd45302212
comparison
equal deleted inserted replaced
14225:878f3e2a07da 14226:8de3c196a783
2676 void* func(void *arg) { return arg; } 2676 void* func(void *arg) { return arg; }
2677 int main(void) { pthread_t tid; return pthread_create (&tid, 0, func, 0) == 0 ? 0 : 1; } 2677 int main(void) { pthread_t tid; return pthread_create (&tid, 0, func, 0) == 0 ? 0 : 1; }
2678 EOF 2678 EOF
2679 if mingw32 ; then 2679 if mingw32 ; then
2680 _ld_pthread='' 2680 _ld_pthread=''
2681 elif hpux ; then
2682 _ld_pthread=''
2681 elif ( cc_check && $TMPO ) ; then # QNX 2683 elif ( cc_check && $TMPO ) ; then # QNX
2682 _ld_pthread='' 2684 _ld_pthread=''
2683 elif ( cc_check -lpthread && $TMPO ) ; then 2685 elif ( cc_check -lpthread && $TMPO ) ; then
2684 _ld_pthread='-lpthread' 2686 _ld_pthread='-lpthread'
2685 elif ( cc_check -pthread && $TMPO ) ; then 2687 elif ( cc_check -pthread && $TMPO ) ; then