Disable the use of liblzma in libtiff if detecting it failed
We only disabled LZMA support in libtiff if --without-liblzma was explicitly specified, but we need to do it also if liblzma wasn't detected because libtiff configure might erroneously decide that it's available under macOS when using -isysroot, which would result in compilation errors later. And even if there were no such problem, it's still worth disabling LZMA support explicitly to skip unnecessary checking for it again in libtiff configure.
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -23371,7 +23371,7 @@ fi
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$HAVE_LZMA" = "no" -o "$wxUSE_LIBTIFF" = "builtin"; then
|
if test "$wxUSE_LIBLZMA" = "no" -a "$wxUSE_LIBTIFF" = "builtin"; then
|
||||||
ac_configure_args="$ac_configure_args --disable-lzma"
|
ac_configure_args="$ac_configure_args --disable-lzma"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@@ -2585,7 +2585,7 @@ dnl We need to disable the use of lzma in built-in libtiff explicitly, as
|
|||||||
dnl otherwise we'd depend on the system lzma library, which is typically
|
dnl otherwise we'd depend on the system lzma library, which is typically
|
||||||
dnl undesirable when using builtin libraries. We also disable the use of lzma
|
dnl undesirable when using builtin libraries. We also disable the use of lzma
|
||||||
dnl if it's not available anyhow, just to speed up libtiff configure a little.
|
dnl if it's not available anyhow, just to speed up libtiff configure a little.
|
||||||
if test "$HAVE_LZMA" = "no" -o "$wxUSE_LIBTIFF" = "builtin"; then
|
if test "$wxUSE_LIBLZMA" = "no" -a "$wxUSE_LIBTIFF" = "builtin"; then
|
||||||
ac_configure_args="$ac_configure_args --disable-lzma"
|
ac_configure_args="$ac_configure_args --disable-lzma"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user