From 30e9ef21cea09fa5e880e979c9f5b39edccbb6f4 Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Fri, 18 Mar 2016 12:07:19 +0100
Subject: [PATCH] timefilter-test: Only compile timefilter-test if JACK is
 enabled

---
 libavdevice/Makefile       | 2 +-
 tests/fate/libavdevice.mak | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavdevice/Makefile b/libavdevice/Makefile
index e93d1ec9773..26cae5bbfa0 100644
--- a/libavdevice/Makefile
+++ b/libavdevice/Makefile
@@ -33,4 +33,4 @@ OBJS-$(HAVE_LIBC_MSVCRT)                 += file_open.o
 SKIPHEADERS-$(HAVE_ALSA_ASOUNDLIB_H)     += alsa.h
 SKIPHEADERS-$(HAVE_SNDIO_H)              += sndio.h
 
-TESTPROGS = timefilter
+TESTPROGS-$(CONFIG_JACK_INDEV)           += timefilter
diff --git a/tests/fate/libavdevice.mak b/tests/fate/libavdevice.mak
index cb6af5162f0..b30ae99779c 100644
--- a/tests/fate/libavdevice.mak
+++ b/tests/fate/libavdevice.mak
@@ -1,4 +1,4 @@
-FATE_LIBAVDEVICE-yes += fate-timefilter
+FATE_LIBAVDEVICE-$(CONFIG_JACK_INDEV) += fate-timefilter
 fate-timefilter: libavdevice/timefilter-test$(EXESUF)
 fate-timefilter: CMD = run libavdevice/timefilter-test
 
-- 
GitLab