PHP Extension Magickwand Compile
Created by: Lester Caine, Last modification: 10 Jun 2011 (23:05 BST)
The config.w32 for magickwand needs to be modified to use the current libraries
ARG_WITH("magickwand", "ImageMagick support", "no"); if (PHP_MAGICKWAND != "no") { if (CHECK_HEADER_ADD_INCLUDE("wand/magick-wand.h", "CFLAGS_MAGICKWAND", PHP_PHP_BUILD + "\\include" + PHP_MAGICKWAND) && CHECK_LIB("CORE_RL_wand_.lib", "magickwand", PHP_PHP_BUILD + "\\lib\\imagemagick;" + PHP_MAGICKWAND) && CHECK_LIB("CORE_RL_magick_.lib", "magickwand", PHP_PHP_BUILD + "\\lib\\imagemagick;" + PHP_MAGICKWAND) && CHECK_LIB("CORE_RL_Magick++_.lib", "magickwand", PHP_PHP_BUILD + "\\lib\\imagemagick;" + PHP_MAGICKWAND) && CHECK_LIB("Gdi32.lib", "magickwand") && CHECK_LIB("oleaut32.lib", "magickwand") ) { ADD_FLAG("CFLAGS_MAGICKWAND", "/D _VISUALC_ /D NeedFunctionPrototypes /D _LIB"); EXTENSION('magickwand', 'magickwand.c'); AC_DEFINE('HAVE_MAGICKWAND', 1); } else { WARNING("magickwand not enabled; libraries and headers not found."); } }