configure: add pthread detection

adds a --disable-threading option to prevent the check.
uses AX_PTHREAD from:
git://git.savannah.gnu.org/autoconf-archive.git
100644 blob d90de34d14    ax_pthread.m4

Change-Id: Icf3ad1ebcf052748bc341706effcc9ba02a259e4
This commit is contained in:
James Zern
2012-07-12 15:56:41 -07:00
parent b5e9067a28
commit 1d40a8bce8
3 changed files with 329 additions and 0 deletions

View File

@ -8,6 +8,9 @@
// Multi-threaded worker
//
// Author: skal@google.com (Pascal Massimino)
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <assert.h>
#include <string.h> // for memset()