Use g_memdup2() where available and add fallback for older GLib versions
[platform/upstream/gstreamer.git] / tests / benchmarks / Makefile.am
index cb1c693..3d769f5 100644 (file)
@@ -1,3 +1,9 @@
+if !GST_DISABLE_GST_DEBUG
+TRACER_BENCH = tracerserialize
+else
+TRACER_BENCH =
+endif
+
 noinst_PROGRAMS = \
         caps \
         capsnego \
@@ -9,7 +15,7 @@ noinst_PROGRAMS = \
         gstpoolstress \
         gstclockstress \
         gstbufferstress \
-        tracerserialize
+        $(TRACER_BENCH)
 
 LDADD = $(GST_OBJ_LIBS)
 AM_CFLAGS = $(GST_OBJ_CFLAGS)