From a93742e0663b1ec4ff6d2aab4a69895d8618a970 Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Thu, 9 May 2013 14:19:56 +0200 Subject: Updat the headers for ImageMagick 6.8.5. --- GNUmakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'GNUmakefile') 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 -- cgit v1.2.3