X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0	tests=AWL,BAYES_00,FREEMAIL_FROM,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C6D4B34.2070107@alice.it>
Date: Thu, 19 Aug 2010 17:18:12 +0200
From: Angelo Graziosi <angelo.graziosi@alice.it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: Cygwin <cygwin@cygwin.com>
Subject: Re: ImageMagick: Still more insufficient package dependencies?
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Ken Brown wrote:
> This looks to me like an Emacs configuration problem, not a Cygwin problem. The code in image.c:7723 is guarded by #ifdef HAVE_MAGICKEXPORTIMAGEPIXELS, and configure reported "no" in the corresponding test.

If I understand this rightly,

...
checking for MagickExportImagePixels... no
...

is right, i.e. the Cygwin binaries of ImageMagick do not support the 
function 'MagickExportImagePixels', but Emacs 'configure' sets 
'HAVE_MAGICKEXPORTIMAGEPIXELS' to true in any case, so that the build 
enables the imagemagick support,

...
Does Emacs use imagemagick?       yes
...

but it fails, obviously, at link time. This seems to be confirmed by

$ grep -iR MagickExportImagePixe config.status
D["HAVE_MAGICKEXPORTIMAGEPIXELS"]=" 1"

$ grep -iR MagickExportImagePixe src/config.h
/* Define to 1 if you have the `MagickExportImagePixels' function. */
#define HAVE_MAGICKEXPORTIMAGEPIXELS 1

Thanks for clarification.

- Angelo

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

