+AC_ARG_WITH(magickpp,[
+ --without-magickpp Disable support for Magick++],[
+],[
+ with_magickpp="yes"
+])
+if test $with_magickpp = "yes" ; then {
+ AC_CHECK_HEADER([Magick++.h],[
+ MAGICKPP_LIBS="-lMagick++"
+ AC_DEFINE(HAVE_MAGICKPP,[], [ Define if Magick++ library is available ] )
+ AC_SUBST(MAGICKPP_LIBS)
+ AM_CONDITIONAL(HAVE_LIBMAGICKPP,true)
+ AC_CHECK_LIB(Magick,OptimizeImageTransparency,[
+ AC_DEFINE(HAVE_MAGICK_OPTIMIZE,[], [ Define if Magick++ defines OptimizeImageTransparency() ] )
+ AM_CONDITIONAL(HAVE_MAGICK_OPTIMIZE,true)
+ ],[
+ AC_MSG_RESULT([ *** OptimizeImageTransparency() not available - need ImageMagick 6.3 or newer ])
+ AM_CONDITIONAL(HAVE_MAGICK_OPTIMIZE,false)
+ ])
+ ],[
+ with_magickpp="no"
+ AC_MSG_RESULT([ *** Magick++ Output target disabled])
+ TARGET_MAGICKPP="no"
+ AM_CONDITIONAL(HAVE_LIBMAGICKPP,false)
+ AM_CONDITIONAL(HAVE_MAGICK_OPTIMIZE,false)
+ ])
+} else {
+ AM_CONDITIONAL(HAVE_LIBMAGICKPP,false)
+ AM_CONDITIONAL(HAVE_MAGICK_OPTIMIZE,false)
+} ; fi
+
+
+
+
AC_ARG_WITH(ffmpeg,[
--without-ffmpeg Disable support for FFMPEG],[
],[
AC_LIB_LTDL
-PKG_CHECK_MODULES(ETL, ETL,,[
- AC_MSG_ERROR([ ** You need to install the ETL.])
+PKG_CHECK_MODULES(ETL, [ETL >= 0.04.10],,[
+ AC_MSG_ERROR([ ** You need to install the ETL (version 0.04.10 or greater).])
])
CONFIG_DEPS="$CONFIG_DEPS ETL"
TARGET_TIF="yes"
TARGET_PNG="yes"
-TARGET_MNG="no"
+TARGET_MNG="yes"
TARGET_JPEG="yes"
if test "$TARGET_TIF" != "disabled" ; then
],[-lz -L${exec_prefix}/lib])
],[-lz -L${exec_prefix}/lib])
-#AC_CHECK_LIB(mng, mng_initialize,[
-# MNG_LIBS="-lmng -lz"
-# AC_DEFINE(HAVE_LIBMNG,[], [ Define if MNG library is available ] )
-# AC_SUBST(MNG_LIBS)
-# AM_CONDITIONAL(HAVE_LIBMNG,true)
-#],[
-# AC_MSG_RESULT([ *** MNG Output target disabled])
-# TARGET_MNG="no"
-# AM_CONDITIONAL(HAVE_LIBMNG,false)
-#],[-lz -L${exec_prefix}/lib])
+AC_CHECK_LIB(mng, mng_initialize,[
+ MNG_LIBS="-lmng -lz"
+ AC_DEFINE(HAVE_LIBMNG,[], [ Define if MNG library is available ] )
+ AC_SUBST(MNG_LIBS)
+ AM_CONDITIONAL(HAVE_LIBMNG,true)
+],[
+ AC_MSG_RESULT([ *** MNG Output target disabled])
+ TARGET_MNG="no"
+ AM_CONDITIONAL(HAVE_LIBMNG,false)
+],[-lz -L${exec_prefix}/lib])
AC_CHECK_LIB(jpeg, main,[
JPEG_LIBS="-ljpeg"
)]
-# src/modules/mod_mng/Makefile
-
AC_OUTPUT(
synfig-config
@PACKAGE_TARNAME@.pc
src/Makefile
src/synfig/Makefile
src/modules/Makefile
-src/modules/mod_filter/Makefile
-src/modules/mod_bmp/Makefile
-src/modules/mod_gif/Makefile
-src/modules/mod_ppm/Makefile
-src/modules/mod_png/Makefile
-src/modules/mod_jpeg/Makefile
+src/modules/lyr_freetype/Makefile
src/modules/lyr_std/Makefile
+src/modules/mod_bmp/Makefile
+src/modules/mod_dv/Makefile
+src/modules/mod_ffmpeg/Makefile
+src/modules/mod_filter/Makefile
src/modules/mod_geometry/Makefile
+src/modules/mod_gif/Makefile
src/modules/mod_gradient/Makefile
-src/modules/mod_noise/Makefile
-src/modules/lyr_freetype/Makefile
-src/modules/mod_ffmpeg/Makefile
-src/modules/mod_dv/Makefile
src/modules/mod_imagemagick/Makefile
-src/modules/mod_openexr/Makefile
+src/modules/mod_jpeg/Makefile
src/modules/mod_libavcodec/Makefile
-src/modules/mod_yuv420p/Makefile
+src/modules/mod_magickpp/Makefile
+src/modules/mod_mng/Makefile
+src/modules/mod_noise/Makefile
+src/modules/mod_openexr/Makefile
src/modules/mod_particle/Makefile
+src/modules/mod_png/Makefile
+src/modules/mod_ppm/Makefile
+src/modules/mod_yuv420p/Makefile
src/tool/Makefile
src/modules/synfig_modules.cfg
+examples/walk/Makefile
examples/Makefile
win32inst.nsi
pkg-info/macosx/synfig-core.info
libavcodec -----------------------> $with_libavcodec
vImage ---------------------------> $with_vimage
ImageMagick ----------------------> $with_imagemagick
+Magick++ -------------------------> $with_magickpp
FFMPEG ---------------------------> $with_ffmpeg
libdv ----------------------------> $with_libdv
OpenEXR --------------------------> $with_openexr