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
@ -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])
|
AC_DEFINE(HAVE_OSX,[1],[Apple Mac OS X operating system detected])
|
||||||
HAVE_SHM=yes
|
HAVE_SHM=yes
|
||||||
;;
|
;;
|
||||||
|
*-*-OpenBSD*)
|
||||||
|
HAVE_SHM=yes
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
AC_CHECK_LIB([rt], [shm_open],
|
AC_CHECK_LIB([rt], [shm_open],
|
||||||
AC_CHECK_DECL([MSG_NOSIGNAL], HAVE_SHM=yes, HAVE_SHM=no, [
|
AC_CHECK_DECL([MSG_NOSIGNAL], HAVE_SHM=yes, HAVE_SHM=no, [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user