From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: ImageMagick support on Cygwin Date: Sat, 21 Aug 2010 14:40:51 +0200 Message-ID: <4C6FC953.6020201@alice.it> References: <4C6DB4F8.9090003@alice.it> <8339u9r72y.fsf@gnu.org> <4C6F00AE.40500@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1282394474 10074 80.91.229.12 (21 Aug 2010 12:41:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 Aug 2010 12:41:14 +0000 (UTC) Cc: Ken Brown , joakim@verona.se To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 21 14:41:10 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 1OmnNl-0004az-NA for ged-emacs-devel@m.gmane.org; Sat, 21 Aug 2010 14:41:09 +0200 Original-Received: from localhost ([127.0.0.1]:54110 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmnNl-0005qu-8C for ged-emacs-devel@m.gmane.org; Sat, 21 Aug 2010 08:41:09 -0400 Original-Received: from [140.186.70.92] (port=39464 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmnNe-0005q8-34 for emacs-devel@gnu.org; Sat, 21 Aug 2010 08:41:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OmnNc-0003nU-Hz for emacs-devel@gnu.org; Sat, 21 Aug 2010 08:41:02 -0400 Original-Received: from smtp204.alice.it ([82.57.200.100]:52967) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmnNc-0003mw-Cz for emacs-devel@gnu.org; Sat, 21 Aug 2010 08:41:00 -0400 Original-Received: from [82.57.156.93] (82.57.156.93) by smtp204.alice.it (8.5.124.08) id 4C3B17590218CCCD; Sat, 21 Aug 2010 14:40:58 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Windows 98 (1) 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:128958 Archived-At: Ken brown wrote: > So the conditional '#ifdef HAVE_MAGICKEXPORTIMAGEPIXELS' in src/image.c is always true. Wouldn't the right fix be to simply delete the AC_DEFINE? Indeed, as I wrote, commenting it out, fixes the issue. For what I can understand about AC..., a google search, [*], shows that AC_CHECK_FUNCS_ONCE defines HAVE_function if 'function' is defined. So, from my point of view, AC_CHECK_FUNCS_ONCE is enough... Ciao, Angelo. --- [*] http://www.manpagez.com/info/autoconf/autoconf-2.64/autoconf_50.php