projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dd6664
)
gl: fix build if libjpeg is not available
author
Tim-Philipp Müller
<tim@centricular.com>
Wed, 20 Dec 2017 16:01:38 +0000
(16:01 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Wed, 20 Dec 2017 16:01:38 +0000
(16:01 +0000)
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
patch
|
blob
|
history
diff --git
a/m4/gst-gl.m4
b/m4/gst-gl.m4
index f12ff7c290fca934e7e657bcb4cd6211a8f9a23c..fd28039352a70c578e755f811a9d297c32acf842 100644
(file)
--- 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)