mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-06 14:32:31 +00:00
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.
This commit is contained in:
parent
0dd66648c3
commit
a6976b7e1b
1 changed files with 0 additions and 1 deletions
|
@ -1022,7 +1022,6 @@ fi
|
||||||
if test x$HAVE_JPEG = xyes; then
|
if test x$HAVE_JPEG = xyes; then
|
||||||
AC_DEFINE(HAVE_JPEG, [1], [Use libjpeg])
|
AC_DEFINE(HAVE_JPEG, [1], [Use libjpeg])
|
||||||
else
|
else
|
||||||
AC_DEFINE(HAVE_JPEG, [0], [Use libjpeg])
|
|
||||||
JPEG_LIBS=
|
JPEG_LIBS=
|
||||||
fi
|
fi
|
||||||
AC_SUBST(JPEG_LIBS)
|
AC_SUBST(JPEG_LIBS)
|
||||||
|
|
Loading…
Reference in a new issue