summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-12-20 16:01:38 +0000
committerTim-Philipp Müller <tim@centricular.com>2017-12-20 16:01:38 +0000
commita6976b7e1baceafdb62367af8548509dfec056fd (patch)
treef119630d743e191185a6aa79f6762a09b02f9f04 /m4
parent0dd66648c3bab1dbfe571320fdda1d20c61ceb49 (diff)
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.
Diffstat (limited to 'm4')
-rw-r--r--m4/gst-gl.m41
1 files changed, 0 insertions, 1 deletions
diff --git a/m4/gst-gl.m4 b/m4/gst-gl.m4
index f12ff7c29..fd2803935 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)