summaryrefslogtreecommitdiff
path: root/build_posix
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2012-12-11 15:38:50 +0000
committerKeith Bostic <keith@wiredtiger.com>2012-12-11 15:38:50 +0000
commit562ae1f058ab4872f7c811caebc4fe3e6ac03393 (patch)
treecba762800ae55fb8cfac9235111364151ea8cb48 /build_posix
parent454fdff954bfa62c67bf1dca8ce1d3495c0ccc4d (diff)
downloadmongo-562ae1f058ab4872f7c811caebc4fe3e6ac03393.tar.gz
Use the standard automake/autoconf structures for finding pthread_np.h,
that's where FreeBSD stores non-POSIX thread function prototypes (it's pthread.h for Linux, wrapped in __USE_GNU).
Diffstat (limited to 'build_posix')
-rw-r--r--build_posix/configure.ac.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/build_posix/configure.ac.in b/build_posix/configure.ac.in
index b06253a154d..8fd08fd0877 100644
--- a/build_posix/configure.ac.in
+++ b/build_posix/configure.ac.in
@@ -67,6 +67,7 @@ AM_TYPES
AC_PROG_INSTALL
+AC_CHECK_HEADERS([pthread_np.h])
AC_CHECK_LIB(pthread, pthread_create)
AC_CHECK_LIB(dl, dlopen)
AC_CHECK_LIB(rt, sched_yield)