From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: [RFC] Correctly handling MinGW-w64 Date: Mon, 17 Nov 2014 16:42:37 +0100 Message-ID: <87a93prfyq.fsf@wanadoo.es> References: <87r3x2qyjg.fsf@wanadoo.es> <546973D0.7050306@cs.ucla.edu> <87ioieqxbb.fsf@wanadoo.es> <54697A45.1040505@cs.ucla.edu> <87egt1rhy4.fsf@wanadoo.es> <546A11D5.3090402@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1416239006 32228 80.91.229.3 (17 Nov 2014 15:43:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2014 15:43:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 17 16:43:19 2014 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 1XqOST-0007Wd-Rp for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2014 16:43:17 +0100 Original-Received: from localhost ([::1]:48517 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqOST-0000cg-Ga for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2014 10:43:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqOSB-0000U8-O4 for emacs-devel@gnu.org; Mon, 17 Nov 2014 10:43:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqOS5-0000AD-Sh for emacs-devel@gnu.org; Mon, 17 Nov 2014 10:42:59 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:34978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqOS5-0000A9-M4 for emacs-devel@gnu.org; Mon, 17 Nov 2014 10:42:53 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XqOS4-0007K4-FL for emacs-devel@gnu.org; Mon, 17 Nov 2014 16:42:52 +0100 Original-Received: from 132.red-79-158-48.staticip.rima-tde.net ([79.158.48.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Nov 2014 16:42:52 +0100 Original-Received: from ofv by 132.red-79-158-48.staticip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Nov 2014 16:42:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 132.red-79-158-48.staticip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:94ql7tnhTjKbKKDAvY6UvhtRoZk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:177424 Archived-At: Paul Eggert writes: > Óscar Fuentes wrote: >> I thought that this type of tasks are the raison d'être of `configure'. > > No, the point of 'configure' is to do things that ordinary C and > 'make' cannot. Here, we have something that ordinary C can do, so > 'configure' isn't needed. Ok. >> Doing that is a kludge. > > Perhaps, but doing it in 'configure' is a worse kludge. The stuff in > 'conf_post.h' is, by design, included everywhere, and it's the logical > place to put global things that don't need 'configure''s help. After looking at it, seems that 'conf_post.h' can do the job. But instead of placing the #define on some header that 'conf_post.h' includes, I'll like to put it in 'conf_post.h' itself. There are similar chunks of code there, so I guess that there is no problem. > More generally, it would be better yet [snip] Indeed.