summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorMike Wey2013-05-09 14:19:56 +0200
committerMike Wey2013-05-09 14:19:56 +0200
commita93742e0663b1ec4ff6d2aab4a69895d8618a970 (patch)
treee38aae7ed6c3b108340b7e79293d0b95afeef048 /GNUmakefile
parent4773d31f3481b5c977c726ef3528dfde85444899 (diff)
Updat the headers for ImageMagick 6.8.5.ImageMagick_6.8.5
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index bc9d5b1..23812e6 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -46,12 +46,13 @@ RANLIB=ranlib
QUANTUMDEPTH = $(word 5,$(shell convert --version))
MAGICKVERSION = $(firstword $(subst -, ,$(subst .,,$(word 3,$(shell convert --version)))))
+WRAPEDVERSION = $(subst 0x,,$(subst ;,,$(lastword $(shell grep "enum\ MagickLibVersion\ " dmagick/c/magickVersion.d))))
ifneq ("$(QUANTUMDEPTH)","Q16")
VERSIONS+= -version=$(subst Q,Quantum,$(QUANTUMDEPTH))
endif
-ifneq ("$(MAGICKVERSION)","684")
+ifneq ("$(MAGICKVERSION)","$(WRAPEDVERSION)")
VERSIONS+= -version=MagickCore_$(MAGICKVERSION)
endif