Make --enable-old-jpeg working again.

This commit is contained in:
Andrey Kiselev 2006-06-07 16:09:07 +00:00
parent 514fb56f86
commit 04847f876d
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -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

View File

@ -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,