From a865f6545a2330ce25c0767f7ab248971aeefcc5 Mon Sep 17 00:00:00 2001 From: "Alex-P. Natsios" Date: Sat, 14 May 2016 16:59:14 +0300 Subject: [PATCH] configure: check for shm_open() in OpenBSD In OpenBSD there is no "actual" librt that programs can link with, instead the system/base libc provides the functions one would customarily find there. https://bugzilla.gnome.org/show_bug.cgi?id=766441 --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 0d6851b..ce06ab6 100644 --- a/configure.ac +++ b/configure.ac @@ -1813,6 +1813,9 @@ AG_GST_CHECK_FEATURE(SHM, [POSIX shared memory source and sink], shm, [ AC_DEFINE(HAVE_OSX,[1],[Apple Mac OS X operating system detected]) HAVE_SHM=yes ;; + *-*-OpenBSD*) + HAVE_SHM=yes + ;; *) AC_CHECK_LIB([rt], [shm_open], AC_CHECK_DECL([MSG_NOSIGNAL], HAVE_SHM=yes, HAVE_SHM=no, [ -- 2.7.4