From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: ImageMagick support on Cygwin Date: Fri, 20 Aug 2010 14:40:17 +0200 Message-ID: References: <4C6DB4F8.9090003@alice.it> <8339u9r72y.fsf@gnu.org> <4C6E6CCA.4060103@cornell.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1282308054 7957 80.91.229.12 (20 Aug 2010 12:40:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Aug 2010 12:40:54 +0000 (UTC) Cc: Eli Zaretskii , "emacs-devel@gnu.org" To: Ken Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 20 14:40:52 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OmQtq-0000XT-SY for ged-emacs-devel@m.gmane.org; Fri, 20 Aug 2010 14:40:47 +0200 Original-Received: from localhost ([127.0.0.1]:40701 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmQtq-0005E9-EH for ged-emacs-devel@m.gmane.org; Fri, 20 Aug 2010 08:40:46 -0400 Original-Received: from [140.186.70.92] (port=37309 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmQtk-0005Dh-Oc for emacs-devel@gnu.org; Fri, 20 Aug 2010 08:40:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OmQtj-0002JC-Ld for emacs-devel@gnu.org; Fri, 20 Aug 2010 08:40:40 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:53603 helo=gate.verona.se) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmQte-0002Ge-Iv; Fri, 20 Aug 2010 08:40:34 -0400 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id o7KCeHsI022716; Fri, 20 Aug 2010 14:40:18 +0200 In-Reply-To: <4C6E6CCA.4060103@cornell.edu> (Ken Brown's message of "Fri, 20 Aug 2010 07:53:46 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128916 Archived-At: Ken Brown writes: > On 8/20/2010 5:01 AM, Eli Zaretskii wrote: >>> Date: Fri, 20 Aug 2010 00:49:28 +0200 >>> From: Angelo Graziosi >>> >>> Ken Brown wrote: >>>> I think the culprit is this line in configure.in: >>>> >>>> >>>> AC_DEFINE(HAVE_MAGICKEXPORTIMAGEPIXELS, 1, [Define to 1 if MagickExportImagePixels is defined.]) >>> >>> Commenting out it and regenerating 'configure' seems to fix the issue. >> >> Can you figure out why AC_DEFINE(HAVE_MAGICKEXPORTIMAGEPIXELS) causes >> trouble in Cygwin? What version of ImageMagick do you have? > > I don't think this is a Cygwin issue. I think it's a mistake in > configure.in, but I could be wrong. (I don't really understand the > syntax of this file.) The line I quoted seems to unconditionally > define HAVE_MAGICKEXPORTIMAGEPIXELS, making the next line irrelevant: > > AC_CHECK_FUNCS_ONCE(MagickExportImagePixels) > > What happens on Cygwin is that it doesn't have the > MagickExportImagePixels function, and AC_CHECK_FUNCS_ONCE correctly > detects this, but HAVE_MAGICKEXPORTIMAGEPIXELS is defined anyway. > > Cygwin's ImageMagick is 6.4.0.6, to answer your last question. This analysis is probably correct. I'll try to check in a fix. > Ken > --