diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/demuxers/Makefile.am | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index d623f4f7f..b89ec065d 100644 --- a/configure.ac +++ b/configure.ac @@ -2270,6 +2270,8 @@ dnl as long as neither autoconf nor automake offer an A[CM]_PROG_OBJC dnl check we will have to call it _AM_DEPENDENCIES([OBJC]) +AM_CONDITIONAL([BUILD_DMX_IMAGE], [test x"$have_imagemagick" = "xyes" -o x"$no_gdkpixbuf" != "xyes"]) + dnl --------------------------------------------- dnl Output configuration files diff --git a/src/demuxers/Makefile.am b/src/demuxers/Makefile.am index 0e5d210b0..7e15cda28 100644 --- a/src/demuxers/Makefile.am +++ b/src/demuxers/Makefile.am @@ -19,10 +19,7 @@ if HAVE_LIBMNG mng_module = xineplug_dmx_mng.la endif -if HAVE_WAND -image_module = xineplug_dmx_image.la -endif -if HAVE_GDK_PIXBUF +if BUILD_DMX_IMAGE image_module = xineplug_dmx_image.la endif |