mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
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
This commit is contained in:
parent
7507b14dcd
commit
a865f6545a
1 changed files with 3 additions and 0 deletions
|
@ -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, [
|
||||
|
|
Loading…
Reference in a new issue