Don't enable the Old JPEG when --disable-old-jpeg option given.

This commit is contained in:
Andrey Kiselev 2004-10-23 11:32:04 +00:00
parent 1f8ba2cb3b
commit 3de1b05f13
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -23672,7 +23672,7 @@ fi
# Check whether --enable-old-jpeg or --disable-old-jpeg was given.
if test "${enable_old_jpeg+set}" = set; then
enableval="$enable_old_jpeg"
HAVE_OJPEG=yes
HAVE_OJPEG=$enableval
else
HAVE_OJPEG=no
fi;

View File

@ -291,7 +291,7 @@ dnl ---------------------------------------------------------------------------
dnl Check for Old JPEG.
dnl ---------------------------------------------------------------------------
AC_ARG_ENABLE(old-jpeg, AS_HELP_STRING([--enable-old-jpeg], [enable support for Old JPEG compresson (read contrib/ojpeg/README first! Compilation fails with unpatched IJG JPEG library)]), [HAVE_OJPEG=yes], [HAVE_OJPEG=no])
AC_ARG_ENABLE(old-jpeg, AS_HELP_STRING([--enable-old-jpeg], [enable support for Old JPEG compresson (read contrib/ojpeg/README first! Compilation fails with unpatched IJG JPEG library)]), [HAVE_OJPEG=$enableval], [HAVE_OJPEG=no])
if test "$HAVE_JPEG" = "yes" -a "$HAVE_OJPEG" = "yes" ; then
AC_DEFINE(OJPEG_SUPPORT,1,[Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation fails with unpatched IJG JPEG library)])