diff options
| author | Mike Wey | 2014-03-01 20:11:43 +0100 |
|---|---|---|
| committer | Mike Wey | 2014-03-01 20:11:43 +0100 |
| commit | cb46d8ca8283b6e7c26c12c3eb2c450a6b41cbcf (patch) | |
| tree | f3356e678b808f93aa7966fe73616649c6b460e2 /GNUmakefile | |
| parent | 7e90fdd06f0e7982e4cc68edffa9a6b293acc5a7 (diff) | |
Correctly detect the Quantum depth with newer versions of convert.
Diffstat (limited to 'GNUmakefile')
| -rw-r--r-- | GNUmakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index d6946c6..94d2c7f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -53,7 +53,7 @@ MAGICKCORELIB=$(LINKERFLAG)$(lastword $(shell pkg-config --libs MagickCore)) AR=ar RANLIB=ranlib -QUANTUMDEPTH = $(word 5,$(shell convert --version)) +QUANTUMDEPTH = $(filter Q%,$(shell convert --version)) MAGICKVERSION = $(firstword $(subst -, ,$(subst .,,$(word 3,$(shell convert --version))))) HDRISUPPORT = $(findstring HDRI,$(shell convert --version | grep HDRI)) WRAPEDVERSION = $(subst 0x,,$(subst ;,,$(lastword $(shell grep "enum\ MagickLibVersion\ " dmagick/c/magickVersion.d)))) |
