X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fconfigure.ac;h=f85285ab5099c99f87cb2ed42ffdd729d77f3ad0;hb=266ab43cb9d4953673773b7b47f3d3531e4de2dd;hp=41b522ff64c940acb839a1a249f6a7e0932967cc;hpb=9dfcb16de981999e51887810e8e4c5cd6e77cde7;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac index 41b522ff..f85285ab 100644 --- a/cinelerra-5.1/configure.ac +++ b/cinelerra-5.1/configure.ac @@ -445,6 +445,8 @@ CHECK_LIB([giflib], [gif], [DGifOpen]) CHECK_HEADERS([giflib], [gif lib headers], [gif_lib.h]) CHECK_LIB([fdk], [fdk-aac], [faacDecInit]) CHECK_HEADERS([fdk], [fdk headers], [fdk-aac/genericStds.h]) +CHECK_LIB([jbig], [jbig], [jbg_dec_init]) +CHECK_LIB([vdpau], [vdpau], [vdp_device_create_x11]) #if test "x$HAVE_mjpegtools" = "xyes"; then #CFG_CFLAGS+=" -I/usr/include/mjpegtools" @@ -677,6 +679,11 @@ echo " using: ladspa-build = $WANT_LADSPA_BUILD" echo "" # build extras +if test "x$HAVE_tiff" = "xyes"; then + if test "x$HAVE_jbig" = "xyes"; then + EXTRA_LIBS+=' -ljbig' + fi +fi if test "x$HAVE_NUMA" = "xyes"; then EXTRA_LIBS+=' -lnuma' fi @@ -794,3 +801,10 @@ echo "" echo "export thirdparty_libraries libraries" echo "export CFLAGS_ CXXFLAGS_ LDFLAGS_" echo "unexport CFLAGS CXXFLAGS LDFLAGS" + +if test "x$HAVE_tiff" = "xyes"; then + if test "x$HAVE_jbig" != "xyes"; then + echo "tiff.cfg_params+= --disable-jbig" + fi +fi +