This patch fixes/adds two things in configure.in 1) add support for the "-pthread" CC flag . (Tested on NetBSD-current, should work on FreeBSD and Linux, too) 2) /bin/true isn't available on NetBSD, so check for it in different places.
Logged In: YES user_id=21627 I just noticed a problem with the entire -Kthread/-Kpthread approach: there are specific additional checks needed for pthreads, e.g. for SCOPE_SYSTEM, for various Solaris versions, etc. Those need to happen independently of the means to activate threads. Would you please revise your patch to address this issue as well?
Logged In: YES user_id=205 Seperated some pthread related checks. They're happen now after the detection of the thread library and only if "$posix_threads" = "yes".