From a6976b7e1baceafdb62367af8548509dfec056fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 20 Dec 2017 16:01:38 +0000 Subject: [PATCH] gl: fix build if libjpeg is not available If libjpeg is not available, leave HAVE_JPEG undefined in config.h, instead of defining it to 0. Fixes mismatch between autotools conditional and ifdefs in the code. --- m4/gst-gl.m4 | 1 - 1 file changed, 1 deletion(-) diff --git a/m4/gst-gl.m4 b/m4/gst-gl.m4 index f12ff7c290..fd28039352 100644 --- a/m4/gst-gl.m4 +++ b/m4/gst-gl.m4 @@ -1022,7 +1022,6 @@ fi if test x$HAVE_JPEG = xyes; then AC_DEFINE(HAVE_JPEG, [1], [Use libjpeg]) else - AC_DEFINE(HAVE_JPEG, [0], [Use libjpeg]) JPEG_LIBS= fi AC_SUBST(JPEG_LIBS)