From 524d1ea641fb62349cebda558a64e6616f7634be Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 20 Jul 2012 13:32:34 -0400 Subject: [PATCH] Fixed pthread_np.h detection on OpenBSD. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 883c55c90..346a47d26 100644 --- a/configure.in +++ b/configure.in @@ -1826,7 +1826,7 @@ AC_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [[default=yes]]]) ]) AC_MSG_RESULT($has_pthread_spin_trylock) - AC_CHECK_HEADER(pthread_np.h, have_pthread_np_h=yes) + AC_CHECK_HEADER(pthread_np.h, have_pthread_np_h=yes, have_pthread_np_h=no, [ #include ]) if test x$have_pthread_np_h = xyes; then AC_DEFINE(HAVE_PTHREAD_NP_H, 1, [ ]) fi