Complete build options for Pthread API.

The configuration script "[AX_PTHREAD](http://www.gnu.org/software/autoconf-archive/ax_pthread.html "How to build C programs using POSIX threads?")" should be added to the build specification so that corresponding special parameters will be taken into account.

(I hope that I have selected the appropriate target branch this time.)