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:
Vadim Zeitlin
2018-10-20 18:14:47 +02:00
parent ccd2862d23
commit 2242e98a4c
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@@ -23371,7 +23371,7 @@ 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"
fi