From d1c54ade86e8cae6f0aa1bf1709941c70cea1af7 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 5 Oct 2011 00:15:47 +0200 Subject: imagemagick: add optional fftw support Signed-off-by: Peter Korsgaard --- package/imagemagick/imagemagick.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk index 0bb76f38e..b2a65e136 100644 --- a/package/imagemagick/imagemagick.mk +++ b/package/imagemagick/imagemagick.mk @@ -80,6 +80,15 @@ else IMAGEMAGICK_CONF_OPT += --without-tiff endif +ifeq ($(BR2_PACKAGE_FFTW),y) +# configure script misdetects these leading to build errors +IMAGEMAGICK_CONF_ENV += ac_cv_func_creal=yes ac_cv_func_cimag=yes +IMAGEMAGICK_CONF_OPT += --with-fftw +IMAGEMAGICK_DEPENDENCIES += fftw +else +IMAGEMAGICK_CONF_OPT += --without-fftw +endif + define IMAGEMAGICK_REMOVE_CONFIG_SCRIPTS $(RM) -f $(addprefix $(TARGET_DIR)/usr/bin/, \ $(addsuffix -config, \ -- cgit v1.2.3