From e2445e26ff7dd8e26910161e4e5cea5dd42c1a26 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Thu, 17 Mar 2011 15:27:39 -0400 Subject: [PATCH] shm: Check for MSG_NOSIGNAL macro Don't build the plugin is MSG_NOSIGNAL is not defined https://bugzilla.gnome.org/show_bug.cgi?id=645053 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5efaedf..d8230c0 100644 --- a/configure.ac +++ b/configure.ac @@ -537,7 +537,8 @@ AG_GST_CHECK_FEATURE(QUICKTIME, [QuickTime wrapper], qtwrapper, [ dnl check for shm_open (for shm plugin) translit(dnm, m, l) AM_CONDITIONAL(USE_SHM, true) AG_GST_CHECK_FEATURE(SHM, [POSIX shared memory source and sink], shm, [ - AC_CHECK_LIB(rt, shm_open, HAVE_SHM=yes, HAVE_SHM=no) + AC_CHECK_LIB(rt, shm_open, + AC_CHECK_DECL(MSG_NOSIGNAL, HAVE_SHM=yes, HAVE_SHM=no), HAVE_SHM=no) ]) dnl check for Video CD -- 2.7.4