]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
cocoa needs a special implementation for read-only combo box
[wxWidgets.git] / configure.in
index e00e614b72f3f397e667d3697d5562d92c5b9a01..700c4ed76e16ebca7244709cfa806bbbad818a35 100644 (file)
@@ -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 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
         AC_CONFIG_SUBDIRS([src/tiff])
     fi
 fi