From 122dd4723fdd5ae745c88d32a6c45c9c1e5c07d5 Mon Sep 17 00:00:00 2001
From: Christophe Priouzeau <christophe.priouzeau@st.com>
Date: Mon, 17 Feb 2020 11:35:27 +0100
Subject: [PATCH 2/2] Correct X11 dependency

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
---
 contrib/test/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/test/Makefile.am b/contrib/test/Makefile.am
index 55e4ba0..c9a9d81 100644
--- a/contrib/test/Makefile.am
+++ b/contrib/test/Makefile.am
@@ -12,9 +12,11 @@ if HAVE_X11
 noinst_PROGRAMS += pixfmt-test
 endif
 
+if HAVE_X11
 if HAVE_GLU
 noinst_PROGRAMS += v4l2gl
 endif
+endif
 
 if HAVE_SDL
 if HAVE_JPEG
-- 
2.17.1

