openbsd-ports/devel/commoncpp/patches/patch-m4_ost_pthread_m4

13 lines
384 B
Plaintext
Raw Normal View History

2009-03-08 06:28:00 -04:00
$OpenBSD: patch-m4_ost_pthread_m4,v 1.2 2009/03/08 10:28:00 sthen Exp $
--- m4/ost_pthread.m4.orig Mon Sep 1 04:42:29 2008
+++ m4/ost_pthread.m4 Mon Sep 1 04:41:39 2008
@@ -239,6 +239,8 @@ AC_LANG_RESTORE
])
])
2009-03-08 06:28:00 -04:00
+ AC_CHECK_FUNCS(clock_nanosleep)
+
AC_CHECK_LIB(rt, mlockall,[
AC_DEFINE(HAVE_MLOCK, [1], [have mlock])
AC_DEFINE(HAVE_MLOCKALL, [1], [have memlockall])