diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2017-12-20 16:01:38 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2017-12-20 16:01:38 +0000 |
commit | a6976b7e1baceafdb62367af8548509dfec056fd (patch) | |
tree | f119630d743e191185a6aa79f6762a09b02f9f04 /m4 | |
parent | 0dd66648c3bab1dbfe571320fdda1d20c61ceb49 (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.m4 | 1 |
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) |