That comma is wrong, and the configure won't find pthread.h because of this.
Merge pull request #272 from n0la/bugfix/comma-in-configure.ac

Wrong comma in configure.ac.