Pthreads detection on OpenBSD 3.x
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3106
Reference: http://sourceforge.net/tracker/index.php?func=detail&aid=559577&group_id=8825&atid=108825
Reported by Xavier Beaudouin, ISDnet kiwi@isdnet.net
Bugreports for CAMAS/Caudium about OpenBSD told us that the current autoconfigure from pike 7.2.339 fails to find the pthreads supports of OpenBSD 3.x branch.
Tinkering the machine.h help that detection.
It's maybe a good idea to update the autconf to handle that. OpenBSD one need the flag -pthreads (not -lpthreads as in most other variants), see http://www.openbsd.org/cgi-bin/man.cgi?query=pthreads. There for pike dosn't have the threads feature on OpenBSD.
Attached machine.h and config.status from that machine.