From 76f35f988f37430e3d45e4d14fac68f0d0871cc4 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Fri, 7 Oct 2005 11:30:41 +0000 Subject: 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. --- gst/debug/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gst/debug') diff --git a/gst/debug/Makefile.am b/gst/debug/Makefile.am index b3b2911f..da3b3a29 100644 --- a/gst/debug/Makefile.am +++ b/gst/debug/Makefile.am @@ -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 -- cgit