summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-10-04 22:15:47 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-10-04 22:15:47 (GMT)
commitd1c54ade86e8cae6f0aa1bf1709941c70cea1af7 (patch)
tree376675e2ed78b5ad4eedb2c8f923b06c5d3c20b1
parentcedbad56db97718e7960f1e288a8f6ee68797e02 (diff)
downloadbuildroot-d1c54ade86e8cae6f0aa1bf1709941c70cea1af7.tar.gz
buildroot-d1c54ade86e8cae6f0aa1bf1709941c70cea1af7.tar.bz2
imagemagick: add optional fftw support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/imagemagick/imagemagick.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
index 0bb76f3..b2a65e1 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, \