summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlex-P. Natsios <drakevr@2f30.org>2016-05-14 16:59:14 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-05-14 17:10:27 +0300
commita865f6545a2330ce25c0767f7ab248971aeefcc5 (patch)
tree7b4c143861abb4b1c22660087ca973776e652ebd /configure.ac
parent7507b14dcd8302fcbedd9561c588ac5f44e2038f (diff)
downloadgstreamer-plugins-bad-a865f6545a2330ce25c0767f7ab248971aeefcc5.tar.gz
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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0d6851b94..ce06ab65f 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, [