diff options
| author | Mike Wey | 2013-08-27 23:16:32 +0200 |
|---|---|---|
| committer | Mike Wey | 2013-08-27 23:16:32 +0200 |
| commit | 5c00245e50d3c3f035b9b3783193a43b507bc7f5 (patch) | |
| tree | e4b6f2f2c02ad6cb177d32332c1134c64626f03f /GNUmakefile | |
| parent | 651b1a2c0486cbba412b287c3c67a5b78c47c954 (diff) | |
Add HDRI support.
Diffstat (limited to 'GNUmakefile')
| -rw-r--r-- | GNUmakefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index 23812e6..c1625e8 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -46,6 +46,7 @@ RANLIB=ranlib QUANTUMDEPTH = $(word 5,$(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)))) ifneq ("$(QUANTUMDEPTH)","Q16") @@ -56,6 +57,10 @@ ifneq ("$(MAGICKVERSION)","$(WRAPEDVERSION)") VERSIONS+= -version=MagickCore_$(MAGICKVERSION) endif +ifeq ("$(HDRISUPPORT)","HDRI") + VERSIONS+= -version=MagickCore_HDRI +endif + ifdef VERSIONS DCFLAGS+=$(VERSIONS) endif |
