People recommend to use ACX_PTHREAD macro. I am attaching a (not tested for cross-platform conformity) patch to add it. The patch contains config.guess and
Message
pthread patch
2004-12-17 by Eugene Crosser
Yahoo Groups archive
Message
2004-12-17 by Eugene Crosser