X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ca8f7ce2fef648a35cb036cb88ab7ed2b529a79..fde8374482bc51ca0539b2db8f449c62a0d0d7e4:/configure.in diff --git a/configure.in b/configure.in index e00e614b72..700c4ed76e 100644 --- a/configure.in +++ b/configure.in @@ -2700,6 +2700,14 @@ if test "$wxUSE_LIBTIFF" != "no" ; then dnl we need to hack around this ac_configure_args="$ac_configure_args --disable-jpeg" fi + + dnl If libtiff configure detects lzma library, it enables support for + dnl LZMA compression and using it requires linking with liblzma. + AC_CHECK_LIB(lzma, lzma_code, [LIBS="$LIBS -llzma"]) + + dnl Similarly for jbig + AC_CHECK_LIB(jbig, jbg_dec_init, [LIBS="$LIBS -ljbig"]) + AC_CONFIG_SUBDIRS([src/tiff]) fi fi