Don't link with system lzma and jbig when using built-in libtiff

It doesn't make much sense to have dependencies on the system libraries when
using a built-in library as this makes the binaries using wxWidgets unportable
to the systems without the matching versions of these libraries which was
probably the goal if the built-in library is used.
This commit is contained in:
Vadim Zeitlin
2016-02-01 00:54:58 +01:00
parent 8581f6851e
commit a0548db9f5
2 changed files with 18 additions and 2 deletions

7
configure vendored
View File

@@ -4765,6 +4765,11 @@ $as_echo "builtin version" >&6; }
fi
if test "$wxUSE_LIBTIFF" = "builtin" ; then
wxUSE_LIBJBIG=no
wxUSE_LIBLZMA=no
else
withstring=without
defaultval=$wxUSE_ALL_FEATURES
if test -z "$defaultval"; then
@@ -4852,6 +4857,8 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
$as_echo "$result" >&6; }
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
$as_echo_n "checking for --with-libxpm... " >&6; }