Fixed pthread_np.h detection on OpenBSD.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 20 Jul 2012 13:32:34 -0400
changeset 6374d4ed97e63c22
parent 6373 494e0436525f
child 6375 93f9a24d1c02
Fixed pthread_np.h detection on OpenBSD.
configure.in
     1.1 --- a/configure.in	Thu Jul 19 09:36:58 2012 -0700
     1.2 +++ b/configure.in	Fri Jul 20 13:32:34 2012 -0400
     1.3 @@ -1826,7 +1826,7 @@
     1.4              ])
     1.5              AC_MSG_RESULT($has_pthread_spin_trylock)
     1.6  
     1.7 -            AC_CHECK_HEADER(pthread_np.h, have_pthread_np_h=yes)
     1.8 +            AC_CHECK_HEADER(pthread_np.h, have_pthread_np_h=yes, have_pthread_np_h=no, [ #include <pthread.h> ])
     1.9              if test x$have_pthread_np_h = xyes; then
    1.10                  AC_DEFINE(HAVE_PTHREAD_NP_H, 1, [ ])
    1.11              fi