Don't enable the Old JPEG when --disable-old-jpeg option given.
This commit is contained in:
parent
1f8ba2cb3b
commit
3de1b05f13
2
configure
vendored
2
configure
vendored
@ -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;
|
||||
|
@ -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)])
|
||||
|
Loading…
Reference in New Issue
Block a user