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.
This commit is contained in:
Tim-Philipp Müller 2005-10-07 11:30:41 +00:00
parent 216762e86b
commit 76f35f988f
4 changed files with 20 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2005-10-07 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac:
Add check for mmap
* gst/debug/Makefile.am:
Only compile efence plugin on systems that have mmap.
2005-10-05 Tim-Philipp Müller <tim at centricular dot net> 2005-10-05 Tim-Philipp Müller <tim at centricular dot net>
* gst/debug/Makefile.am: * gst/debug/Makefile.am:

2
common

@ -1 +1 @@
Subproject commit 7d175466d3319fe55327608ea1f7a20619ab5634 Subproject commit fb4bd52a0a6e882bd8eb0ca836edd94d3fcaea42

View file

@ -302,6 +302,10 @@ AC_ARG_WITH(plugins,
AC_SUBST(GST_PLUGINS_SELECTED) 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 ==========================================================================
dnl ============================= sys plug-ins ================================ dnl ============================= sys plug-ins ================================
dnl ========================================================================== dnl ==========================================================================

View file

@ -1,4 +1,10 @@
plugin_LTLIBRARIES = libgstefence.la libgstdebug.la libgstnavigationtest.la if GST_HAVE_MMAP
EFENCE_PLUGIN=libgstefence.la
else
EFENCE_PLUGIN=
endif
plugin_LTLIBRARIES = $(EFENCE_PLUGIN) libgstdebug.la libgstnavigationtest.la
noinst_HEADERS = efence.h gstnavigationtest.h gstnavseek.h tests.h noinst_HEADERS = efence.h gstnavigationtest.h gstnavseek.h tests.h