Make --enable-old-jpeg working again.
This commit is contained in:
parent
514fb56f86
commit
04847f876d
2
configure
vendored
2
configure
vendored
@ -14824,7 +14824,7 @@ fi
|
||||
|
||||
# Check whether --enable-old-jpeg was given.
|
||||
if test "${enable_old_jpeg+set}" = set; then
|
||||
enableval=$enable_old_jpeg; HAVE_OJPEG=no
|
||||
enableval=$enable_old_jpeg; HAVE_OJPEG=${enableval}
|
||||
else
|
||||
HAVE_OJPEG=yes
|
||||
fi
|
||||
|
@ -392,7 +392,7 @@ dnl ---------------------------------------------------------------------------
|
||||
AC_ARG_ENABLE(old-jpeg,
|
||||
AS_HELP_STRING([--disable-old-jpeg],
|
||||
[disable support for Old JPEG compresson (read-only, enabled by default)]),
|
||||
[HAVE_OJPEG=no], [HAVE_OJPEG=yes])
|
||||
[HAVE_OJPEG=${enableval}], [HAVE_OJPEG=yes])
|
||||
|
||||
if test "$HAVE_JPEG" = "yes" -a "$HAVE_OJPEG" = "yes" ; then
|
||||
AC_DEFINE(OJPEG_SUPPORT, 1,
|
||||
|
Loading…
Reference in New Issue
Block a user