From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: WINDRES Date: Mon, 01 Apr 2013 13:36:18 +0300 Message-ID: <83k3om35ct.fsf@gnu.org> References: <83mwti382v.fsf@gnu.org> <51595AA5.8050403@dancol.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1364812563 12853 80.91.229.3 (1 Apr 2013 10:36:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Apr 2013 10:36:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 01 12:36:30 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UMc6G-0001Sp-HM for ged-emacs-devel@m.gmane.org; Mon, 01 Apr 2013 12:36:28 +0200 Original-Received: from localhost ([::1]:39590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMc5r-0001pL-Vk for ged-emacs-devel@m.gmane.org; Mon, 01 Apr 2013 06:36:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMc5l-0001nz-MI for emacs-devel@gnu.org; Mon, 01 Apr 2013 06:36:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMc5k-00041h-0n for emacs-devel@gnu.org; Mon, 01 Apr 2013 06:35:57 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:43132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMc5j-00041K-NU for emacs-devel@gnu.org; Mon, 01 Apr 2013 06:35:55 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MKK00300O1JST00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Mon, 01 Apr 2013 13:35:50 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MKK003MRO3PN8H0@a-mtaout23.012.net.il>; Mon, 01 Apr 2013 13:35:50 +0300 (IDT) In-reply-to: <51595AA5.8050403@dancol.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158513 Archived-At: > Date: Mon, 01 Apr 2013 11:00:05 +0100 > From: Daniel Colascione > CC: emacs-devel@gnu.org > > On 4/1/13 10:37 AM, Eli Zaretskii wrote: > > The windres tool is looked up by the configure.ac using > > AC_CHECK_TOOL. Shouldn't that be AC_CHECK_TARGET_TOOL instead, to > > better support cross-compilation? > > That would be a fine change, but I haven't tested cross-compilation > of the cygw32 build at all, I'm not sure whether it works at all. Even if cross-compilation currently doesn't work (and I'm not sure either way), I think there's no harm removing one obstacle on its way. > Is there any particular reason you're wondering about windres right > now? I'm modifying the Emacs Posix configury to be able to produce the MinGW build. As a side effect, I'm reading the docs of every autoconf macro that I didn't use before (which is quite a lot ;-), to make sure I understand what I'm doing. In this case, I was surprised to see AC_CHECK_TOOL instead of AC_CHECK_PROG, so I looked it up. I will wait for autoconf experts here to chime in, before making the change to use AC_CHECK_TARGET_TOOL on the trunk.