Commit a6976b7e authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

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.
parent 0dd66648
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment