Checking PTHREAD

Checking PTHREAD in Autoconf