| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2011-05-21 07:38 UTC] vito@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 00:00:01 2025 UTC | 
Description: ------------ setCompressionQuality is not being enabled, even when GraphicsMagick 1.3.7 or greater is installed on the system. Reproduce code: --------------- The constant GMAGICK_LIB_MASK is not getting defined correctly because on line 4570 of ./configure the $GRAPHICSMAGICK_VERSION_MASK is escaped- $as_echo "#define GMAGICK_LIB_MASK \$GRAPHICSMAGICK_VERSION_MASK" >>confdefs.h I know configure is being generated by phpize and config.m4, and I'm not 100% familiar with Autoconf but I think you need to use: AC_DEFINE_UNQUOTED(GMAGICK_LIB_MASK,$GRAPHICSMAGICK_VERSION_MASK,[Version mask for comparisons]) instead of AC_DEFINE(GMAGICK_LIB_MASK,$GRAPHICSMAGICK_VERSION_MASK,[Version mask for comparisons]) on line 39 of config.m4