summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2005-10-07 11:30:41 +0000
committerTim-Philipp Müller <tim@centricular.net>2005-10-07 11:30:41 +0000
commit76f35f988f37430e3d45e4d14fac68f0d0871cc4 (patch)
treeb2e1fea751fb14bc77e2beb825276fb5854ebe58 /configure.ac
parent216762e86b8413d94204fb5d8ee23eb0ec360cb3 (diff)
configure.ac: Add check for mmap
Original commit message from CVS: * configure.ac: Add check for mmap * gst/debug/Makefile.am: Only compile efence plugin on systems that have mmap.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e05018f7..7bf8b675 100644
--- a/configure.ac
+++ b/configure.ac
@@ -302,6 +302,10 @@ AC_ARG_WITH(plugins,
AC_SUBST(GST_PLUGINS_SELECTED)
+dnl Check for mmap (needed by electricfence plugin)
+AC_FUNC_MMAP()
+AM_CONDITIONAL(GST_HAVE_MMAP, test "x$ac_cv_func_mmap_fixed_mapped" == "xyes")
+
dnl ==========================================================================
dnl ============================= sys plug-ins ================================
dnl ==========================================================================